mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(range): use fully opaque base in color active bar (#16224)
This fixes a specificity issue where Material Design ranges with a color attribute wouldn't apply a fully opaque color to the active portion of the range bar.
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
font-size: $range-md-pin-font-size;
|
||||
}
|
||||
|
||||
:host(.ion-color) .range-bar {
|
||||
background: current-color(base, 0.26);
|
||||
}
|
||||
|
||||
:host(.ion-color) .range-bar-active,
|
||||
:host(.ion-color) .range-knob,
|
||||
:host(.ion-color) .range-pin,
|
||||
@@ -30,10 +34,6 @@
|
||||
color: current-color(contrast);
|
||||
}
|
||||
|
||||
:host(.ion-color) .range-bar {
|
||||
background: current-color(base, 0.26);
|
||||
}
|
||||
|
||||
// TODO: REVIEW
|
||||
// .range-md [slot="range-start"] {
|
||||
// @include margin(0, 12px, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user