@@ -22,12 +22,108 @@ export default {
2222  flex-direction column ; 
2323  height 45vh  ; 
2424
25+   input [type = range ] { 
26+     margin 1.85px   0 ; 
27+     background-color transparent ; 
28+     -webkit-appearance none ; 
29+     color red ; 
30+   } 
31+   input [type = range ]:focus  { 
32+     outline none ; 
33+   } 
34+   input [type = range ]::-webkit-slider-runnable-track  { 
35+     background $border-color ; 
36+     border 0px   solid  $border-color ; 
37+     border 0 ; 
38+     border-radius 25px  ; 
39+     width 100%  ; 
40+     height 1.3px  ; 
41+     cursor : pointer ; 
42+   } 
43+   input [type = range ]::-webkit-slider-thumb  { 
44+     margin-top -1.85px  ; 
45+     width 43px  ; 
46+     height 5px  ; 
47+     background $color-primary ; 
48+     border 0px   solid  $border-color ; 
49+     border 0 ; 
50+     border-radius 50px  ; 
51+     cursor : pointer ; 
52+     -webkit-appearance none ; 
53+   } 
54+   input [type = range ]:focus ::-webkit-slider-runnable-track  { 
55+     background $border-color ; 
56+   } 
57+   input [type = range ]::-moz-range-track  { 
58+     background $border-color ; 
59+     border 0px   solid  $border-color ; 
60+     border 0 ; 
61+     border-radius 25px  ; 
62+     width 100%  ; 
63+     height 1.3px  ; 
64+     cursor : pointer ; 
65+   } 
66+   input [type = range ]::-moz-range-thumb  { 
67+     width 43px  ; 
68+     height 5px  ; 
69+     background $color-primary ; 
70+     border 0px   solid  $border-color ; 
71+     border 0 ; 
72+     border-radius 50px  ; 
73+     cursor : pointer ; 
74+   } 
75+   input [type = range ]::-ms-track  { 
76+     background transparent ; 
77+     border-color transparent ; 
78+     border-width 1.85px   0 ; 
79+     color transparent ; 
80+     width 100%  ; 
81+     height 1.3px  ; 
82+     cursor : pointer ; 
83+   } 
84+   input [type = range ]::-ms-fill-lower  { 
85+     background $border-color ; 
86+     border 0px   solid  $border-color ; 
87+     border 0 ; 
88+     border-radius 50px  ; 
89+   } 
90+   input [type = range ]::-ms-fill-upper  { 
91+     background $border-color ; 
92+     border 0px   solid  $border-color ; 
93+     border 0 ; 
94+     border-radius 50px  ; 
95+   } 
96+   input [type = range ]::-ms-thumb  { 
97+     width 43px  ; 
98+     height 5px  ; 
99+     background $color-primary ; 
100+     border 0 ; 
101+     border-radius 50px  ; 
102+     cursor : pointer ; 
103+     margin-top 0px  ; 
104+     /* Needed to keep the Edge thumb centred*/  
105+   } 
106+   input [type = range ]:focus ::-ms-fill-lower  { 
107+     background $border-color ; 
108+   } 
109+   input [type = range ]:focus ::-ms-fill-upper  { 
110+     background $border-color ; 
111+   } 
112+ 
113+   /* TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out 
114+   how to remove the virtical space around the range input in IE*/  
115+   @supports  (-ms-ime-align auto ) { 
116+     /*  Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */  
117+     input [type = range ] { 
118+       margin 0 ; 
119+       /* Edge starts the margin from the thumb, not the track as other browsers do*/  
120+     } 
121+   } 
122+ 
25123  input .pagination  { 
26-     writing-mode - lr; /*  IE */  
27-     -webkit-appearance - vertical; /*  WebKit */  
28-     width 1px  ; 
29-     padding 0  5px  ; 
30-     height 100%  ; 
124+     transform rotate (90deg  ); 
125+     transform-origin left ; 
126+     width 100%  ; 
31127  } 
32128} 
33129style >
0 commit comments