2016-08-09 06:41:29 +00:00
|
|
|
.THEME_NAME {
|
|
|
|
|
.md-switch,
|
|
|
|
|
&.md-switch {
|
|
|
|
|
&.md-checked {
|
2016-08-17 01:38:18 +00:00
|
|
|
.md-switch-container {
|
|
|
|
|
background-color: #{'ACCENT-COLOR-500-0.5'};
|
|
|
|
|
}
|
|
|
|
|
|
2016-08-09 06:41:29 +00:00
|
|
|
.md-switch-thumb {
|
2016-08-17 01:38:18 +00:00
|
|
|
background-color: #{'ACCENT-COLOR'};
|
2016-08-09 06:41:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-ink-ripple {
|
2016-08-17 01:38:18 +00:00
|
|
|
color: #{'ACCENT-COLOR'};
|
2016-08-09 06:41:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-ripple {
|
|
|
|
|
opacity: .38;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-19 23:34:53 +00:00
|
|
|
&.md-checked.md-primary {
|
|
|
|
|
.md-switch-container {
|
|
|
|
|
background-color: #{'PRIMARY-COLOR-500-0.5'};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-switch-thumb {
|
|
|
|
|
background-color: #{'PRIMARY-COLOR'};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-ink-ripple {
|
|
|
|
|
color: #{'PRIMARY-COLOR'};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.md-checked.md-warn {
|
|
|
|
|
.md-switch-container {
|
|
|
|
|
background-color: #{'WARN-COLOR-500-0.5'};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-switch-thumb {
|
|
|
|
|
background-color: #{'WARN-COLOR'};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-ink-ripple {
|
|
|
|
|
color: #{'WARN-COLOR'};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.md-disabled,
|
|
|
|
|
&.md-disabled.md-checked {
|
2016-08-09 06:41:29 +00:00
|
|
|
.md-switch-container {
|
|
|
|
|
background-color: rgba(#000, .12);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.md-switch-thumb {
|
|
|
|
|
background-color: #bdbdbd;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|