* Material theme (dev) initial release * fix CSP * fix CSP (#268) * fix icon font path * 相対パスの修正 (#269) * fix CSP * fix icon font path * 相対パスの修正 (#270) * fix CSP * fix icon font path * fix font path * Revert "相対パスの修正 (#270)" (#271) This reverts commit27998a80fe. * Revert "相対パスの修正 (#269)" (#272) This reverts commitf864de23f4. * fix relative path * fix override settings * Add variation Update material theme Co-authored-by: YoheiZuho <yuuman002@gmail.com>
78 lines
1.6 KiB
SCSS
78 lines
1.6 KiB
SCSS
@charset "UTF-8";
|
|
@import 'config';
|
|
@import 'mixins';
|
|
|
|
.icon-button {
|
|
color: $icon-button-color;
|
|
border-radius: 50%;
|
|
|
|
&.active {
|
|
color: $icon-button-active-color;
|
|
|
|
&:hover { color: $icon-button-active-hover-color }
|
|
}
|
|
|
|
&.disabled { color: $disabled-icon-color }
|
|
|
|
&.inverted {
|
|
color: $icon-button-color;
|
|
|
|
&:hover {
|
|
color: $icon-button-hover-color;
|
|
background-color: $icon-background-hover-color;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
color: $icon-button-hover-color;
|
|
background-color: $icon-background-hover-color;
|
|
}
|
|
|
|
&:active,
|
|
&:focus { background-color: transparent }
|
|
}
|
|
|
|
.text-icon-button {
|
|
color: $icon-button-color;
|
|
border-radius: 50%;
|
|
font-size: 12px;
|
|
|
|
&:hover {
|
|
background-color: $icon-background-hover-color;
|
|
color: $icon-button-hover-color;
|
|
}
|
|
}
|
|
|
|
.button,
|
|
.button:active,
|
|
.button:focus {
|
|
background-color: $contained-button-color;
|
|
border-radius: $button-radius;
|
|
}
|
|
|
|
.button:hover {
|
|
@include shadow-2dp;
|
|
background-color: $contained-button-hover-color;
|
|
}
|
|
|
|
.button.logo-button {
|
|
background: $contained-button-color;
|
|
margin: 2px;
|
|
|
|
&:hover { background: $contained-button-hover-color }
|
|
|
|
.button--destructive:hover { background: $contained-button-hover-color }
|
|
}
|
|
|
|
.button.button--block { margin: 8px 0 }
|
|
|
|
.button.confirmation-modal__cancel-button {
|
|
box-shadow: none;
|
|
background-color: transparent;
|
|
margin: 0 8px;
|
|
color: $text-button-color;
|
|
|
|
&:hover { background: $text-button-hover-color }
|
|
|
|
&:focus { background: $text-button-focus-color }
|
|
} |