77.scope-button {
88 max-width : var (--ds-search-form-scope-max-width );
99}
10+
11+ // Copied from https://getcssscan.com/css-checkboxes-examples
12+ .checkbox-wrapper-8 .tgl {
13+ display : none ;
14+ }
15+
16+ .checkbox-wrapper-8 .tgl ,
17+ .checkbox-wrapper-8 .tgl :after ,
18+ .checkbox-wrapper-8 .tgl :before ,
19+ .checkbox-wrapper-8 .tgl * ,
20+ .checkbox-wrapper-8 .tgl * :after ,
21+ .checkbox-wrapper-8 .tgl * :before ,
22+ .checkbox-wrapper-8 .tgl +.tgl-btn {
23+ box-sizing : border-box ;
24+ }
25+
26+ .checkbox-wrapper-8 .tgl ::-moz-selection ,
27+ .checkbox-wrapper-8 .tgl :after::-moz-selection ,
28+ .checkbox-wrapper-8 .tgl :before::-moz-selection ,
29+ .checkbox-wrapper-8 .tgl * ::-moz-selection ,
30+ .checkbox-wrapper-8 .tgl * :after::-moz-selection ,
31+ .checkbox-wrapper-8 .tgl * :before::-moz-selection ,
32+ .checkbox-wrapper-8 .tgl +.tgl-btn ::-moz-selection ,
33+ .checkbox-wrapper-8 .tgl ::selection ,
34+ .checkbox-wrapper-8 .tgl :after::selection ,
35+ .checkbox-wrapper-8 .tgl :before::selection ,
36+ .checkbox-wrapper-8 .tgl * ::selection ,
37+ .checkbox-wrapper-8 .tgl * :after::selection ,
38+ .checkbox-wrapper-8 .tgl * :before::selection ,
39+ .checkbox-wrapper-8 .tgl +.tgl-btn ::selection {
40+ background : none ;
41+ }
42+
43+ .checkbox-wrapper-8 .tgl +.tgl-btn {
44+ outline : 0 ;
45+ display : block ;
46+ width : 6em ;
47+ height : 100% ;
48+ position : relative ;
49+ cursor : pointer ;
50+ -webkit-user-select : none ;
51+ -moz-user-select : none ;
52+ -ms-user-select : none ;
53+ user-select : none ;
54+ }
55+
56+ .checkbox-wrapper-8 .tgl +.tgl-btn :after ,
57+ .checkbox-wrapper-8 .tgl +.tgl-btn :before {
58+ position : relative ;
59+ display : block ;
60+ content : " " ;
61+ width : 50% ;
62+ height : 100% ;
63+ }
64+
65+ .checkbox-wrapper-8 .tgl +.tgl-btn :after {
66+ left : 0 ;
67+ }
68+
69+ .checkbox-wrapper-8 .tgl +.tgl-btn :before {
70+ display : none ;
71+ }
72+
73+ .checkbox-wrapper-8 .tgl :checked +.tgl-btn :after {
74+ left : 50% ;
75+ }
76+
77+ .checkbox-wrapper-8 .tgl +.tgl-btn {
78+ overflow : hidden ;
79+ -webkit-backface-visibility : hidden ;
80+ backface-visibility : hidden ;
81+ transition : all 0.2s ease ;
82+ font-family : sans-serif ;
83+ background : #888 ;
84+ }
85+
86+ .checkbox-wrapper-8 .tgl +.tgl-btn :after ,
87+ .checkbox-wrapper-8 .tgl +.tgl-btn :before {
88+ display : inline-block ;
89+ transition : all 0.2s ease ;
90+ width : 100% ;
91+ text-align : center ;
92+ position : absolute ;
93+ line-height : 2em ;
94+ font-weight : bold ;
95+ color : #fff ;
96+ text-shadow : 0 1px 0 rgba (0 , 0 , 0 , 0.4 );
97+ }
98+
99+ .checkbox-wrapper-8 .tgl +.tgl-btn :after {
100+ left : 100% ;
101+ margin-top : 3px ;
102+ content : attr (data-tg-on );
103+ }
104+
105+ .checkbox-wrapper-8 .tgl +.tgl-btn :before {
106+ left : 0 ;
107+ margin-top : 3px ;
108+ content : attr (data-tg-off );
109+ }
110+
111+ .checkbox-wrapper-8 .tgl +.tgl-btn :active {
112+ background : #888 ;
113+ }
114+
115+ .checkbox-wrapper-8 .tgl +.tgl-btn :active :before {
116+ left : -10% ;
117+ }
118+
119+ .checkbox-wrapper-8 .tgl :checked +.tgl-btn {
120+ background : #86d993 ;
121+ }
122+
123+ .checkbox-wrapper-8 .tgl :checked +.tgl-btn :before {
124+ left : -100% ;
125+ }
126+
127+ .checkbox-wrapper-8 .tgl :checked +.tgl-btn :after {
128+ left : 0 ;
129+ }
130+
131+ .checkbox-wrapper-8 .tgl :checked +.tgl-btn :active :after {
132+ left : 10% ;
133+ }
0 commit comments