11@import " ./../variables" ;
2+
23/// /////////////////////////
34// <----- Trackbar -----> //
45/// /////////////////////////
5-
6+ // .sliderWrapper {
7+ // width: 500px;
8+ // margin: 300px 0 0;
9+ // transition: all 1s;
10+ // transform-origin: 50% 50%;
11+ // }
12+ // #sliderSun {
13+ // transition: transform 1s;
14+ // }
15+ // html:active .sliderWrapper {
16+ // transform: rotate(180deg);
17+ // }
18+ // html:active #sliderSun {
19+ // transform: rotate(-180deg);
20+ // }
21+ // input[type=range]:focus::-webkit-slider-thumb {
22+ // background: $moonGrey;
23+ // }
624input [type = range ] {
725 -webkit-appearance : none ;
8- width : 70 % ;
26+ width : 75 % ;
927 margin : 2.05px 0 ;
28+ background : transparent ;
29+
1030}
1131input [type = range ]:focus {
1232 outline : none ;
1333}
14- input [type = range ]::-webkit-slider-runnable-track {
15- width : 70% ;
16- height : 10.9px ;
17- cursor : pointer ;
18- background : $darkGrey ;
19- }
2034input [type = range ]::-webkit-slider-thumb {
2135 box-shadow : 0 0 0.1px $navFontColor , 0 0 0 $navFontColor ;
22- border : 0 solid rgba (0 , 0 , 0 , 0 );
2336 height : 8vw ;
2437 width : 8vw ;
2538 border-radius : 50% ;
@@ -28,29 +41,48 @@ input[type=range]::-webkit-slider-thumb {
2841 -webkit-appearance : none ;
2942 margin-top : 1.5em ;
3043}
31-
3244input [type = range ]::-moz-range-thumb {
3345 box-shadow : 0 0 0.1px $navFontColor , 0 0 0 $navFontColor ;
34- border : 0 solid rgba (0 , 0 , 0 , 0 );
3546 height : 8vw ;
3647 width : 8vw ;
3748 border-radius : 50% ;
3849 background : $sunYellow ;
3950 cursor : pointer ;
4051 margin-top : 1.5em ;
52+ }
53+ input [type = range ]::-ms-thumb {
54+ box-shadow : 0 0 0.1px $navFontColor , 0 0 0 $navFontColor ;
55+ height : 8vw ;
56+ width : 8vw ;
57+ border-radius : 50% ;
58+ background : $sunYellow ;
59+ cursor : pointer ;
60+ margin-top : 1.5em ;
61+ }
62+ input [type = range ]:focus ::-webkit-slider-runnable-track {
63+ // background: rgba(126, 126, 126, 0.9);
64+ background : transparent ;
4165
66+ -webkit-transition-timing-function : cubic-bezier (0 ,0 ,1 ,1 );
4267}
68+ input [type = range ]::-webkit-slider-runnable-track {
69+ width : 70% ;
70+ height : 10.9px ;
71+ cursor : pointer ;
72+ background : transparent ;
4373
44- input [ type = range ] :focus ::-webkit-slider-runnable-track {
45- background : rgba ( 126 , 126 , 126 , 0.9 );
74+ // background: $darkGrey;
75+ -webkit-transition-timing-function : cubic-bezier ( 0 , 0 , 1 , 1 );
4676}
4777input [type = range ]::-moz-range-track {
4878 width : 70% ;
4979 height : 10.9px ;
5080 cursor : pointer ;
51- box-shadow : 0 0 15px rgba (0 , 0 , 0 , 0 ), 0 0 0 rgba (13 , 13 , 13 , 0 );
52- background : $darkGrey ;
53- border : 2.6px solid rgba (152 , 152 , 152 , 0.3 ) rgba (152 , 152 , 152 , 0.3 );
81+ background : transparent ;
82+
83+ // box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
84+ // background: $darkGrey;
85+ // border: 2.6px solid rgba(152, 152, 152, 0.3) rgba(152, 152, 152, 0.3);
5486}
5587input [type = range ]::-ms-track {
5688 width : 70% ;
@@ -61,31 +93,29 @@ input[type=range]::-ms-track {
6193 color : transparent ;
6294}
6395input [type = range ]::-ms-fill-lower {
64- background : #000000 ;
65- border : 2.6px solid rgba (152 , 152 , 152 , 0.3 );
96+ // background: #000000;
97+ // border: 2.6px solid rgba(152, 152, 152, 0.3);
6698 border-radius : 13px ;
67- box-shadow : 0 0 15px rgba (0 , 0 , 0 , 0 ), 0 0 0 rgba (13 , 13 , 13 , 0 );
99+ background : transparent ;
100+
101+ // box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
68102}
69103input [type = range ]::-ms-fill-upper {
70- background : $darkGrey ;
71- border : 2.6px solid rgba (152 , 152 , 152 , 0.3 );
104+ // background: $darkGrey;
105+ // border: 2.6px solid rgba(152, 152, 152, 0.3);
72106 border-radius : 13px ;
73- box-shadow : 0 0 15px rgba (0 , 0 , 0 , 0 ), 0 0 0 rgba (13 , 13 , 13 , 0 );
74- }
75- input [type = range ]::-ms-thumb {
76- box-shadow : 0 0 0.1px $navFontColor , 0 0 0 $navFontColor ;
77- border : 0 solid rgba (0 , 0 , 0 , 0 );
78- height : 15px ;
79- width : 32px ;
80- border-radius : 5px ;
81- background : $darkBlue ;
82- cursor : pointer ;
83- height : 10.9px ;
107+ background : transparent ;
108+
109+ // box-shadow: 0 0 15px rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
84110}
85111input [type = range ]:focus ::-ms-fill-lower {
86- background : $darkGrey ;
112+ // background: $darkGrey;
113+ background : transparent ;
114+
87115}
88116input [type = range ]:focus ::-ms-fill-upper {
89- background : rgba (126 , 126 , 126 , 0.9 );
117+ // background: rgba(126, 126, 126, 0.9);
118+ background : transparent ;
119+
90120}
91121// end of trackbar...
0 commit comments