mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
Changed slider background-color to background in css
This commit is contained in:
parent
34c0a6779e
commit
bcdd6e0e6d
@ -163,7 +163,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
|||||||
}
|
}
|
||||||
|
|
||||||
.track::before {
|
.track::before {
|
||||||
background-color: var(--_inactive-track-color);
|
background: var(--_inactive-track-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tickmarks::before {
|
.tickmarks::before {
|
||||||
@ -179,7 +179,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
|||||||
(1 / var(--_disabled-active-track-opacity)) *
|
(1 / var(--_disabled-active-track-opacity)) *
|
||||||
var(--_disabled-inactive-track-opacity)
|
var(--_disabled-inactive-track-opacity)
|
||||||
);
|
);
|
||||||
background-color: var(--_disabled-inactive-track-color);
|
background: var(--_disabled-inactive-track-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
// active-track
|
// active-track
|
||||||
@ -191,7 +191,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
|||||||
}
|
}
|
||||||
|
|
||||||
.track::after {
|
.track::after {
|
||||||
background-color: var(--_active-track-color);
|
background: var(--_active-track-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tickmarks::after {
|
.tickmarks::after {
|
||||||
@ -210,7 +210,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
|||||||
}
|
}
|
||||||
|
|
||||||
:host([disabled]) .track::after {
|
:host([disabled]) .track::after {
|
||||||
background-color: var(--_disabled-active-track-color);
|
background: var(--_disabled-active-track-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([disabled]) .tickmarks::before {
|
:host([disabled]) .tickmarks::before {
|
||||||
|
Loading…
Reference in New Issue
Block a user