mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +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 {
|
||||
background-color: var(--_inactive-track-color);
|
||||
background: var(--_inactive-track-color);
|
||||
}
|
||||
|
||||
.tickmarks::before {
|
||||
@ -179,7 +179,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
||||
(1 / var(--_disabled-active-track-opacity)) *
|
||||
var(--_disabled-inactive-track-opacity)
|
||||
);
|
||||
background-color: var(--_disabled-inactive-track-color);
|
||||
background: var(--_disabled-inactive-track-color);
|
||||
}
|
||||
|
||||
// active-track
|
||||
@ -191,7 +191,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
||||
}
|
||||
|
||||
.track::after {
|
||||
background-color: var(--_active-track-color);
|
||||
background: var(--_active-track-color);
|
||||
}
|
||||
|
||||
.tickmarks::after {
|
||||
@ -210,7 +210,7 @@ $_md-sys-shape: tokens.md-sys-shape-values();
|
||||
}
|
||||
|
||||
:host([disabled]) .track::after {
|
||||
background-color: var(--_disabled-active-track-color);
|
||||
background: var(--_disabled-active-track-color);
|
||||
}
|
||||
|
||||
:host([disabled]) .tickmarks::before {
|
||||
|
Loading…
Reference in New Issue
Block a user