salix/front/core/styles/mdl-override.scss

49 lines
1.3 KiB
SCSS
Raw Normal View History

2019-02-06 10:24:29 +00:00
@import "variables";
/**
* Rewrited CSS rules from Material Design Lite.
* FIXME: don't use !important
*/
body {
line-height: initial;
font-size: 12pt;
}
.mdl-button {
font-weight: bolder;
2019-02-08 16:49:51 +00:00
color: $color-main;
}
.mdl-button--colored {
color: white !important;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label,
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label {
2019-02-08 16:49:51 +00:00
color: $color-main !important;
}
2019-02-20 13:34:16 +00:00
.mdl-checkbox.is-checked .mdl-checkbox__box-outline {
2019-02-08 16:49:51 +00:00
border: 2px solid $color-main;
}
fieldset[disabled] .mdl-checkbox .mdl-checkbox__box-outline, .mdl-checkbox.is-disabled .mdl-checkbox__box-outline {
border: 2px solid rgba(0,0,0,.26);
}
.mdl-checkbox.is-checked .mdl-checkbox__tick-outline {
2019-02-08 16:49:51 +00:00
background: $color-main;
}
.mdl-textfield__label::after{
2019-02-08 16:49:51 +00:00
background-color: $color-main !important;
}
.mdl-button--colored,
.mdl-button--colored:focus,
.mdl-button--colored:active {
2019-02-08 16:49:51 +00:00
background-color: $color-main !important;
}
.mdl-button--colored:hover,
.mdl-button--raised:hover {
2019-02-08 16:49:51 +00:00
background-color: $color-main !important;
}
.mdl-button--fab{
color: white !important;
2019-02-08 16:49:51 +00:00
background-color: $color-main !important;
}