@allxsmith/bestax-bulma 5.67.5 → 5.67.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bestax.css +1 -1
- package/dist/bestax.css.map +1 -1
- package/dist/esm/components/Message.js +8 -1
- package/dist/esm/components/Message.js.map +1 -1
- package/dist/extras.css +1 -1
- package/dist/extras.css.map +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/types/components/Message.d.ts +5 -1
- package/dist/types-cjs/components/Message.d.ts +5 -1
- package/dist/versions/bestax-no-dark-mode.css +1 -1
- package/dist/versions/bestax-no-dark-mode.css.map +1 -1
- package/dist/versions/bestax-no-helpers-prefixed.css +1 -1
- package/dist/versions/bestax-no-helpers-prefixed.css.map +1 -1
- package/dist/versions/bestax-no-helpers.css +1 -1
- package/dist/versions/bestax-no-helpers.css.map +1 -1
- package/dist/versions/bestax-prefixed.css +1 -1
- package/dist/versions/bestax-prefixed.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/form/_slider.scss +50 -0
package/package.json
CHANGED
|
@@ -600,7 +600,46 @@ $slider-vertical-height: 200px !default;
|
|
|
600
600
|
|
|
601
601
|
// High Contrast Mode support
|
|
602
602
|
@media (forced-colors: active) {
|
|
603
|
+
// The track and the fill are a gradient, which forced colors drops, so a
|
|
604
|
+
// single-thumb slider showed only its thumb. The element that paints them
|
|
605
|
+
// opts out and paints them in the system's colors: the fill in Highlight,
|
|
606
|
+
// the rest of the track in CanvasText, and both in GrayText while
|
|
607
|
+
// disabled. The range slider's track paints the same gradient and had
|
|
608
|
+
// opted out with its own colors, so it takes these too.
|
|
609
|
+
.#{iv.$class-prefix}slider-input,
|
|
610
|
+
.#{iv.$class-prefix}slider.#{iv.$class-prefix}is-range .#{iv.$class-prefix}slider-track {
|
|
611
|
+
forced-color-adjust: none;
|
|
612
|
+
@include cv.register-vars(
|
|
613
|
+
(
|
|
614
|
+
"slider-fill-color": Highlight,
|
|
615
|
+
"slider-track-color": CanvasText,
|
|
616
|
+
)
|
|
617
|
+
);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.#{iv.$class-prefix}slider.#{iv.$class-prefix}is-disabled .#{iv.$class-prefix}slider-input,
|
|
621
|
+
.#{iv.$class-prefix}slider.#{iv.$class-prefix}is-disabled.#{iv.$class-prefix}is-range .#{iv.$class-prefix}slider-track {
|
|
622
|
+
@include cv.register-vars(
|
|
623
|
+
(
|
|
624
|
+
"slider-fill-color": GrayText,
|
|
625
|
+
"slider-track-color": GrayText,
|
|
626
|
+
)
|
|
627
|
+
);
|
|
628
|
+
}
|
|
629
|
+
|
|
603
630
|
.#{iv.$class-prefix}slider-input {
|
|
631
|
+
// The opt-out reaches the thumb too, and forced colors would have
|
|
632
|
+
// dropped its shadows, the focus ring's included. Its border shows focus.
|
|
633
|
+
&::-webkit-slider-thumb,
|
|
634
|
+
&:focus::-webkit-slider-thumb {
|
|
635
|
+
box-shadow: none;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
&::-moz-range-thumb,
|
|
639
|
+
&:focus::-moz-range-thumb {
|
|
640
|
+
box-shadow: none;
|
|
641
|
+
}
|
|
642
|
+
|
|
604
643
|
&::-webkit-slider-thumb {
|
|
605
644
|
background: ButtonText;
|
|
606
645
|
border-color: ButtonText;
|
|
@@ -611,6 +650,17 @@ $slider-vertical-height: 200px !default;
|
|
|
611
650
|
border-color: ButtonText;
|
|
612
651
|
}
|
|
613
652
|
|
|
653
|
+
// Hover would paint the border from the fill color, Highlight here, the
|
|
654
|
+
// same as focus. It keeps the rest color, and focus, later, still wins. A
|
|
655
|
+
// disabled thumb's rule below outranks both.
|
|
656
|
+
&::-webkit-slider-thumb:hover {
|
|
657
|
+
border-color: ButtonText;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
&::-moz-range-thumb:hover {
|
|
661
|
+
border-color: ButtonText;
|
|
662
|
+
}
|
|
663
|
+
|
|
614
664
|
&:focus::-webkit-slider-thumb {
|
|
615
665
|
border-color: Highlight;
|
|
616
666
|
}
|