11@import ' ../../globalStyles.scss' ;
22
3- .field {
4- background : rgba (168 , 168 , 168 , 0.1 );
5- border : 1px solid #C9CBD0 ;
6- border-radius : 4px ;
7- }
3+ .field {
4+ background : rgba (168 , 168 , 168 , 0.1 );
5+ border : 1px solid #c9cbd0 ;
6+ border-radius : 4px ;
7+ }
88
9- .switch {
10- position : relative ;
11- display : inline-block ;
12- width : 38px ;
13- height : 20px ;
14- }
15-
16- .switch input {
17- opacity : 0 ;
18- width : 0 ;
19- height : 0 ;
20- }
21-
22- .slider {
23- position : absolute ;
24- cursor : pointer ;
25- top : 0 ;
26- left : 0 ;
27- right : 0 ;
28- bottom : 0 ;
29- background-color : #ccc ;
30- -webkit-transition : .4s ;
31- transition : .4s ;
32- }
33-
34- .slider :before {
35- position : absolute ;
36- content : " " ;
37- height : 17px ;
38- width : 17px ;
39- left : 1px ;
40- bottom : 2px ;
41- background-color : white ;
42- -webkit-transition : .4s ;
43- transition : .4s ;
44- }
45-
46- input :checked + .slider {
47- background-color : $primaryColor ;
48- }
49-
50- input :focus + .slider {
51- box-shadow : 0 0 1px $primaryColor ;
52- }
53-
54- input :checked + .slider :before {
55- -webkit-transform : translateX (19px );
56- -ms-transform : translateX (19px );
57- transform : translateX (19px );
58- }
59-
60- /* Rounded sliders */
61- .slider.round {
62- border-radius : 34px ;
9+ .switch {
10+ position : relative ;
11+ display : inline-block ;
12+ width : 38px ;
13+ height : 20px ;
14+ }
15+
16+ .switch input {
17+ opacity : 0 ;
18+ width : 0 ;
19+ height : 0 ;
20+ }
21+
22+ .slider {
23+ position : absolute ;
24+ cursor : pointer ;
25+ top : 0 ;
26+ left : 0 ;
27+ right : 0 ;
28+ bottom : 0 ;
29+ background-color : #ccc ;
30+ -webkit-transition : 0.4s ;
31+ transition : 0.4s ;
32+ }
33+
34+ .slider :before {
35+ position : absolute ;
36+ content : ' ' ;
37+ height : 17px ;
38+ width : 17px ;
39+ left : 1px ;
40+ bottom : 2px ;
41+ background-color : white ;
42+ -webkit-transition : 0.4s ;
43+ transition : 0.4s ;
44+ }
45+
46+ input :checked + .slider {
47+ background-color : $primaryColor ;
48+ }
49+
50+ input :focus + .slider {
51+ box-shadow : 0 0 1px $primaryColor ;
52+ }
53+
54+ input :checked + .slider :before {
55+ -webkit-transform : translateX (19px );
56+ -ms-transform : translateX (19px );
57+ transform : translateX (19px );
58+ }
59+
60+ /* Rounded sliders */
61+ .slider.round {
62+ border-radius : 34px ;
63+ }
64+
65+ .slider.round :before {
66+ border-radius : 50% ;
67+ }
68+
69+ .textArea {
70+ // background: $inputBgColor;
71+ border : 0px solid $inputBorderColor ;
72+ border-radius : $inputBorderRadius ;
73+ box-sizing : border-box ;
74+ display : flex ;
75+ min-height : 45px ;
76+ width : 100% ;
77+ height : 160px ;
78+ font-family : $fontFamilyNormal ;
79+ font-size : $inputFontSize ;
80+ color : #ccc ;
81+ padding : 10px ;
82+ & :focus {
83+ border : 1px solid $primaryColor ;
6384 }
64-
65- .slider.round :before {
66- border-radius : 50% ;
67- }
85+ }
0 commit comments