1 | md-slider-field input::-webkit-slider-runnable-track { |
2 | height: 0.25rem; |
3 | border-radius: 0.125rem; |
4 | } |
5 | |
6 | md-slider-field input::-webkit-slider-thumb { |
7 | -webkit-appearance: none; |
8 | background-color: var(--md-sys-color-primary); |
9 | width: 1.25rem; |
10 | height: 1.25rem; |
11 | border-radius: 0.625rem; |
12 | margin-top: -0.5625rem; |
13 | } |
14 | |
15 | md-slider-field input:hover::-webkit-slider-thumb { |
16 | box-shadow: 0 0 0 0.625rem color-mix(in srgb, var(--md-sys-color-primary), transparent var(--state-hover-transparency-percentage)); |
17 | } |
18 | |
19 | md-slider-field input:focus::-webkit-slider-thumb { |
20 | box-shadow: 0 0 0 0.625rem color-mix(in srgb, var(--md-sys-color-primary), transparent var(--state-focus-transparency-percentage)); |
21 | } |
22 | |
23 | md-slider-field input:active::-webkit-slider-thumb { |
24 | box-shadow: 0 0 0 0.625rem color-mix(in srgb, var(--md-sys-color-primary), transparent var(--state-pressed-transparency-percentage)) !important; |
25 | background-position: center; |
26 | background-image: |
27 | radial-gradient(circle, var(--md-sys-color-primary-container) 1%, transparent 1%); |
28 | background-size: 100%; |
29 | animation-name: md-ripple; |
30 | animation-duration: var(--md-sys-motion-duration-500); |
31 | } |
32 | |
33 | md-slider-field.material::-moz-range-track { |
34 | height: 0.25rem; |
35 | border-radius: 0.125rem; |
36 | } |
37 | |
38 | md-slider-field input::-moz-range-thumb { |
39 | -webkit-appearance: none; |
40 | appearance: none; |
41 | background-color: var(--md-sys-color-primary); |
42 | width: 1.25rem; |
43 | height: 1.25rem; |
44 | border: none; |
45 | border-radius: 0.625rem; |
46 | } |
47 | |
48 | md-slider-field input:hover::-moz-range-thumb { |
49 | box-shadow: 0 0 0 0.625rem color-mix(in srgb, var(--md-sys-color-primary), transparent var(--state-hover-transparency-percentage)); |
50 | } |
51 | |
52 | md-slider-field input:focus::-moz-range-thumb { |
53 | box-shadow: 0 0 0 0.625rem color-mix(in srgb, var(--md-sys-color-primary), transparent var(--state-focus-transparency-percentage)); |
54 | } |
55 | |
56 | md-slider-field input:active::-moz-range-thumb { |
57 | box-shadow: 0 0 0 0.625rem color-mix(in srgb, var(--md-sys-color-primary), transparent var(--state-pressed-transparency-percentage)) !important; |
58 | background-position: center; |
59 | background-image: |
60 | radial-gradient(circle, var(--md-sys-color-primary-container) 1%, transparent 1%); |
61 | background-size: 100%; |
62 | animation-name: md-ripple; |
63 | animation-duration: var(--md-sys-motion-duration-500); |
64 | } |