11.switch {
2- position : relative;
3- display : inline-block;
4- width : 50px ;
5- height : 20px ;
6- float : right;
2+ position : relative;
3+ display : inline-block;
4+ width : 50px ;
5+ height : 20px ;
6+ float : right;
77}
88
99.switch input {
10- opacity : 0 ;
11- width : 0 ;
12- height : 0 ;
10+ opacity : 0 ;
11+ width : 0 ;
12+ height : 0 ;
1313}
1414
1515.slider {
16- position : absolute;
17- cursor : pointer;
18- top : 0 ;
19- left : 0 ;
20- right : 0 ;
21- bottom : 0 ;
22- background-color : # ddd ;
23- -webkit-transition : .2s ;
24- transition : .2s ;
25- border : 1px solid # aaa ;
16+ position : absolute;
17+ cursor : pointer;
18+ top : 0 ;
19+ left : 0 ;
20+ right : 0 ;
21+ bottom : 0 ;
22+ background-color : # ddd ;
23+ -webkit-transition : 0.2s ;
24+ transition : 0.2s ;
25+ border : 1px solid # 37352f ;
26+ scale : 0.75 ;
2627}
2728
2829.slider : before {
29- position : absolute;
30- content : "" ;
31- height : 12px ;
32- width : 12px ;
33- left : 4px ;
34- bottom : 3px ;
35- background-color : white;
36- -webkit-transition : .2s ;
37- transition : .2s ;
30+ position : absolute;
31+ content : '' ;
32+ height : 12px ;
33+ width : 12px ;
34+ left : 4px ;
35+ bottom : 3px ;
36+ background-color : white;
37+ -webkit-transition : 0 .2s ;
38+ transition : 0 .2s ;
3839}
3940
4041input : checked + .slider {
41- background-color : # 0d6efd ;
42- border-color : # 0d6efd ;
42+ background-color : # 7c7c7c ;
43+ border-color : # 7c7c7c ;
4344}
4445
4546input : focus + .slider {
46- box-shadow : none;
47+ box-shadow : none;
4748}
4849
4950input : checked + .slider : before {
50- -webkit-transform : translateX (28px );
51- -ms-transform : translateX (28px );
52- transform : translateX (28px );
51+ -webkit-transform : translateX (28px );
52+ -ms-transform : translateX (28px );
53+ transform : translateX (28px );
5354}
5455
5556.slider .round {
56- border-radius : 25px ;
57+ border-radius : 25px ;
5758}
5859
5960.slider .round : before {
60- border-radius : 50% ;
61+ border-radius : 50% ;
6162}
6263
6364.viewmode-select {
6465 font-size : 100% ;
6566}
6667
6768.selected {
68- border : 1.5px solid black !important ;
69+ border : 1.5px solid black !important ;
6970}
7071
7172.button {
@@ -84,22 +85,31 @@ input:checked + .slider:before {
8485}
8586
8687.input-switch {
87- width : fit-content;
88+ align-items : center;
89+ width : 45% ;
90+ display : flex;
91+ justify-content : space-between;
8892}
8993
9094.input-switch label {
91- padding-right : 50 px ;
95+ padding-right : 30 px ;
9296 font-size : 14px ;
9397}
9498
9599.code {
96100 display : block;
97- background : none ;
101+ background : 0 ;
98102 white-space : pre;
99- -webkit-overflow-scrolling : touch;
100103 overflow-x : scroll;
101104 max-width : 100% ;
102105 min-width : 100px ;
103106 padding : 0 ;
104- }
107+ font-family : monospace;
108+ padding-top : 0.8571429em ;
109+ padding-right : 1.1428571em ;
110+ padding-bottom : 0.8571429em ;
111+ padding-left : 1.1428571em ;
112+ background : # 1f2937 ;
113+ color : # e5e7eb ;
114+ border-radius : 3px ;
105115}
0 commit comments