mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
Merge pull request #5521 from TeamBusylj:md-slider-background
PiperOrigin-RevId: 615090991
This commit is contained in:
commit
8f7cb4c376
@ -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