1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,296 +0,0 @@ |
1 |
-/*! formstone v0.8.35 [checkbox.css] 2015-12-28 | MIT License | formstone.it */ |
|
2 |
- |
|
3 |
-/** |
|
4 |
- * @class |
|
5 |
- * @name .fs-checkbox-element |
|
6 |
- * @type element |
|
7 |
- * @description Target elmement |
|
8 |
- */ |
|
9 |
-/** |
|
10 |
- * @class |
|
11 |
- * @name .fs-checkbox |
|
12 |
- * @type element |
|
13 |
- * @description Base widget class |
|
14 |
- */ |
|
15 |
-/** |
|
16 |
- * @class |
|
17 |
- * @name .fs-checkbox.fs-checkbox-checked |
|
18 |
- * @type modifier |
|
19 |
- * @description Indicates checked state |
|
20 |
- */ |
|
21 |
-/** |
|
22 |
- * @class |
|
23 |
- * @name .fs-checkbox.fs-checkbox-radio |
|
24 |
- * @type modifier |
|
25 |
- * @description Indicates radio interface |
|
26 |
- */ |
|
27 |
-/** |
|
28 |
- * @class |
|
29 |
- * @name .fs-checkbox.fs-checkbox-toggle |
|
30 |
- * @type modifier |
|
31 |
- * @description Indicates toggle interface |
|
32 |
- */ |
|
33 |
-/** |
|
34 |
- * @class |
|
35 |
- * @name .fs-checkbox.fs-checkbox-focus |
|
36 |
- * @type modifier |
|
37 |
- * @description Indicates focused state |
|
38 |
- */ |
|
39 |
-/** |
|
40 |
- * @class |
|
41 |
- * @name .fs-checkbox.fs-checkbox-disabled |
|
42 |
- * @type modifier |
|
43 |
- * @description Indicates disabled state |
|
44 |
- */ |
|
45 |
-.fs-checkbox { |
|
46 |
- /** |
|
47 |
- * @class |
|
48 |
- * @name .fs-checkbox-enabled |
|
49 |
- * @type modifier |
|
50 |
- * @description Indicates enabled state |
|
51 |
- */ |
|
52 |
- /** |
|
53 |
- * @class |
|
54 |
- * @name .fs-checkbox-label |
|
55 |
- * @type element |
|
56 |
- * @description Label element |
|
57 |
- */ |
|
58 |
- /** |
|
59 |
- * @class |
|
60 |
- * @name .fs-checkbox-marker |
|
61 |
- * @type element |
|
62 |
- * @description Marker element |
|
63 |
- */ |
|
64 |
- /** |
|
65 |
- * @class |
|
66 |
- * @name .fs-checkbox-flag |
|
67 |
- * @type element |
|
68 |
- * @description Flag element |
|
69 |
- */ |
|
70 |
-} |
|
71 |
-.fs-checkbox.fs-checkbox-enabled { |
|
72 |
- cursor: pointer; |
|
73 |
- margin: 0 0 10px 0; |
|
74 |
- overflow: hidden; |
|
75 |
-} |
|
76 |
-.fs-checkbox.fs-checkbox-enabled:focus { |
|
77 |
- box-shadow: none; |
|
78 |
- outline: none; |
|
79 |
-} |
|
80 |
-.fs-checkbox, |
|
81 |
-.fs-checkbox:after, |
|
82 |
-.fs-checkbox:before, |
|
83 |
-.fs-checkbox *, |
|
84 |
-.fs-checkbox *:after, |
|
85 |
-.fs-checkbox *:before { |
|
86 |
- box-sizing: border-box; |
|
87 |
- -webkit-transition: none; |
|
88 |
- transition: none; |
|
89 |
- -webkit-user-select: none !important; |
|
90 |
- -moz-user-select: none !important; |
|
91 |
- -ms-user-select: none !important; |
|
92 |
- user-select: none !important; |
|
93 |
-} |
|
94 |
-.fs-checkbox-element_wrapper { |
|
95 |
- position: relative; |
|
96 |
- border: 0; |
|
97 |
- height: 0; |
|
98 |
- margin: 0; |
|
99 |
- opacity: 0; |
|
100 |
- overflow: hidden; |
|
101 |
- padding: 0; |
|
102 |
- width: 0; |
|
103 |
-} |
|
104 |
-.fs-checkbox-element { |
|
105 |
- position: absolute; |
|
106 |
- top: 0; |
|
107 |
- left: 0; |
|
108 |
- z-index: -1; |
|
109 |
- pointer-events: none; |
|
110 |
- -webkit-transition: none; |
|
111 |
- transition: none; |
|
112 |
-} |
|
113 |
-.fs-checkbox-label { |
|
114 |
- color: #666666; |
|
115 |
- cursor: pointer; |
|
116 |
- display: block; |
|
117 |
- font-size: 14px; |
|
118 |
- line-height: 20px; |
|
119 |
- overflow: hidden; |
|
120 |
- -webkit-user-select: none; |
|
121 |
- -moz-user-select: none; |
|
122 |
- -ms-user-select: none; |
|
123 |
- user-select: none; |
|
124 |
-} |
|
125 |
-.fs-checkbox-marker { |
|
126 |
- width: 20px; |
|
127 |
- height: 20px; |
|
128 |
- background: #ffffff; |
|
129 |
- border: 1px solid #cccccc; |
|
130 |
- border-radius: 3px; |
|
131 |
- cursor: pointer; |
|
132 |
- display: block; |
|
133 |
- float: left; |
|
134 |
- margin: 0 10px 0 0; |
|
135 |
-} |
|
136 |
-.fs-checkbox-flag { |
|
137 |
- width: 100%; |
|
138 |
- height: 100%; |
|
139 |
- margin: 0; |
|
140 |
-} |
|
141 |
-.fs-checkbox-flag:before { |
|
142 |
- width: 5px; |
|
143 |
- height: 10px; |
|
144 |
- border: 2px solid #999999; |
|
145 |
- border-top: 0; |
|
146 |
- border-left: 0; |
|
147 |
- content: ''; |
|
148 |
- display: block; |
|
149 |
- margin: 3px 0 0 6px; |
|
150 |
- -webkit-transition: -webkit-transform 0.15s ease; |
|
151 |
- transition: transform 0.15s ease; |
|
152 |
- -webkit-transform: rotate(45deg) scale(0); |
|
153 |
- -ms-transform: rotate(45deg) scale(0); |
|
154 |
- transform: rotate(45deg) scale(0); |
|
155 |
-} |
|
156 |
-.fs-checkbox-checked .fs-checkbox-flag:before { |
|
157 |
- -webkit-transform: rotate(45deg) scale(1); |
|
158 |
- -ms-transform: rotate(45deg) scale(1); |
|
159 |
- transform: rotate(45deg) scale(1); |
|
160 |
-} |
|
161 |
-.no-csstransforms .fs-checkbox-flag:before { |
|
162 |
- width: 100%; |
|
163 |
- height: 100%; |
|
164 |
- content: "\2713"; |
|
165 |
- display: none; |
|
166 |
- line-height: 1; |
|
167 |
- text-align: center; |
|
168 |
-} |
|
169 |
-.no-csstransforms .fs-checkbox-checked .fs-checkbox-flag:before { |
|
170 |
- display: block; |
|
171 |
-} |
|
172 |
-.fs-checkbox-radio .fs-checkbox-marker { |
|
173 |
- border-radius: 100%; |
|
174 |
-} |
|
175 |
-.fs-checkbox-radio .fs-checkbox-flag { |
|
176 |
- background: #999999; |
|
177 |
- border: 3px solid #ffffff; |
|
178 |
- border-radius: 100%; |
|
179 |
- -webkit-transform: scale(0); |
|
180 |
- -ms-transform: scale(0); |
|
181 |
- transform: scale(0); |
|
182 |
- -webkit-transition: -webkit-transform 0.15s ease; |
|
183 |
- transition: transform 0.15s ease; |
|
184 |
-} |
|
185 |
-.fs-checkbox-radio .fs-checkbox-flag:before { |
|
186 |
- display: none; |
|
187 |
-} |
|
188 |
-.fs-checkbox-radio.fs-checkbox-checked .fs-checkbox-flag { |
|
189 |
- -webkit-transform: scale(1); |
|
190 |
- -ms-transform: scale(1); |
|
191 |
- transform: scale(1); |
|
192 |
-} |
|
193 |
-.fs-checkbox-radio.fs-checkbox-checked .fs-checkbox-flag:before { |
|
194 |
- display: none; |
|
195 |
-} |
|
196 |
-.no-csstransforms .fs-checkbox-radio .fs-checkbox-flag:before { |
|
197 |
- display: none; |
|
198 |
-} |
|
199 |
-.no-csstransforms .fs-checkbox-radio.fs-checkbox-checked .fs-checkbox-flag:before { |
|
200 |
- display: block; |
|
201 |
-} |
|
202 |
-.fs-checkbox-focus .fs-checkbox-label { |
|
203 |
- color: #333333; |
|
204 |
-} |
|
205 |
-.fs-checkbox-focus .fs-checkbox-marker { |
|
206 |
- border-color: #999999; |
|
207 |
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); |
|
208 |
-} |
|
209 |
-.fs-checkbox-disabled { |
|
210 |
- cursor: default; |
|
211 |
- opacity: 0.5; |
|
212 |
-} |
|
213 |
-.fs-checkbox-disabled .fs-checkbox-label { |
|
214 |
- color: #666666; |
|
215 |
- cursor: default; |
|
216 |
-} |
|
217 |
-.fs-checkbox-disabled .fs-checkbox-marker { |
|
218 |
- border-color: #cccccc; |
|
219 |
- cursor: default; |
|
220 |
-} |
|
221 |
-.fs-checkbox-toggle { |
|
222 |
- position: relative; |
|
223 |
-} |
|
224 |
-.fs-checkbox-toggle .fs-checkbox-label { |
|
225 |
- line-height: 40px; |
|
226 |
-} |
|
227 |
-.fs-checkbox-toggle .fs-checkbox-marker { |
|
228 |
- width: 100px; |
|
229 |
- height: 40px; |
|
230 |
- position: relative; |
|
231 |
- border-radius: 3px; |
|
232 |
-} |
|
233 |
-.fs-checkbox-toggle .fs-checkbox-marker:after { |
|
234 |
- clear: both; |
|
235 |
- content: ''; |
|
236 |
- display: table; |
|
237 |
-} |
|
238 |
-.fs-checkbox-toggle .fs-checkbox-flag { |
|
239 |
- width: 50%; |
|
240 |
- height: 100%; |
|
241 |
- position: absolute; |
|
242 |
- top: 0; |
|
243 |
- left: 0; |
|
244 |
- background: #999999; |
|
245 |
- border: 2px solid #ffffff; |
|
246 |
- border-radius: 3px; |
|
247 |
- display: block; |
|
248 |
- margin: 0; |
|
249 |
- -webkit-transition: left 0.15s ease; |
|
250 |
- transition: left 0.15s ease; |
|
251 |
-} |
|
252 |
-.fs-checkbox-toggle .fs-checkbox-flag:before { |
|
253 |
- display: none; |
|
254 |
-} |
|
255 |
-.fs-checkbox-toggle .fs-checkbox-flag:after { |
|
256 |
- width: 2px; |
|
257 |
- height: 10px; |
|
258 |
- position: absolute; |
|
259 |
- top: 0; |
|
260 |
- right: 0; |
|
261 |
- bottom: 0; |
|
262 |
- left: 0; |
|
263 |
- background: #ffffff; |
|
264 |
- box-shadow: 3px 0 0 #ffffff, -3px 0 0 #ffffff; |
|
265 |
- content: ''; |
|
266 |
- margin: auto; |
|
267 |
- opacity: 0.75; |
|
268 |
-} |
|
269 |
-.no-touchevents .fs-checkbox-toggle:hover .fs-checkbox-flag:after { |
|
270 |
- opacity: 1; |
|
271 |
-} |
|
272 |
-.fs-checkbox-toggle.fs-checkbox-checked .fs-checkbox-flag { |
|
273 |
- left: 50%; |
|
274 |
-} |
|
275 |
-.fs-checkbox-toggle.fs-checkbox-checked .fs-checkbox-flag:before { |
|
276 |
- display: none; |
|
277 |
-} |
|
278 |
-.fs-checkbox-toggle.fs-checkbox-disabled .fs-checkbox-flag:after { |
|
279 |
- display: none; |
|
280 |
-} |
|
281 |
-.fs-checkbox-toggle .fs-checkbox-state { |
|
282 |
- width: 50%; |
|
283 |
- color: #666666; |
|
284 |
- display: block; |
|
285 |
- font-size: 12px; |
|
286 |
- line-height: 40px; |
|
287 |
- margin: 0; |
|
288 |
- text-align: center; |
|
289 |
- text-transform: uppercase; |
|
290 |
-} |
|
291 |
-.fs-checkbox-toggle .fs-checkbox-state_on { |
|
292 |
- float: left; |
|
293 |
-} |
|
294 |
-.fs-checkbox-toggle .fs-checkbox-state_off { |
|
295 |
- float: right; |
|
296 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,296 @@ |
1 |
+/*! formstone v0.8.35 [checkbox.css] 2015-12-28 | MIT License | formstone.it */ |
|
2 |
+ |
|
3 |
+/** |
|
4 |
+ * @class |
|
5 |
+ * @name .fs-checkbox-element |
|
6 |
+ * @type element |
|
7 |
+ * @description Target elmement |
|
8 |
+ */ |
|
9 |
+/** |
|
10 |
+ * @class |
|
11 |
+ * @name .fs-checkbox |
|
12 |
+ * @type element |
|
13 |
+ * @description Base widget class |
|
14 |
+ */ |
|
15 |
+/** |
|
16 |
+ * @class |
|
17 |
+ * @name .fs-checkbox.fs-checkbox-checked |
|
18 |
+ * @type modifier |
|
19 |
+ * @description Indicates checked state |
|
20 |
+ */ |
|
21 |
+/** |
|
22 |
+ * @class |
|
23 |
+ * @name .fs-checkbox.fs-checkbox-radio |
|
24 |
+ * @type modifier |
|
25 |
+ * @description Indicates radio interface |
|
26 |
+ */ |
|
27 |
+/** |
|
28 |
+ * @class |
|
29 |
+ * @name .fs-checkbox.fs-checkbox-toggle |
|
30 |
+ * @type modifier |
|
31 |
+ * @description Indicates toggle interface |
|
32 |
+ */ |
|
33 |
+/** |
|
34 |
+ * @class |
|
35 |
+ * @name .fs-checkbox.fs-checkbox-focus |
|
36 |
+ * @type modifier |
|
37 |
+ * @description Indicates focused state |
|
38 |
+ */ |
|
39 |
+/** |
|
40 |
+ * @class |
|
41 |
+ * @name .fs-checkbox.fs-checkbox-disabled |
|
42 |
+ * @type modifier |
|
43 |
+ * @description Indicates disabled state |
|
44 |
+ */ |
|
45 |
+.fs-checkbox { |
|
46 |
+ /** |
|
47 |
+ * @class |
|
48 |
+ * @name .fs-checkbox-enabled |
|
49 |
+ * @type modifier |
|
50 |
+ * @description Indicates enabled state |
|
51 |
+ */ |
|
52 |
+ /** |
|
53 |
+ * @class |
|
54 |
+ * @name .fs-checkbox-label |
|
55 |
+ * @type element |
|
56 |
+ * @description Label element |
|
57 |
+ */ |
|
58 |
+ /** |
|
59 |
+ * @class |
|
60 |
+ * @name .fs-checkbox-marker |
|
61 |
+ * @type element |
|
62 |
+ * @description Marker element |
|
63 |
+ */ |
|
64 |
+ /** |
|
65 |
+ * @class |
|
66 |
+ * @name .fs-checkbox-flag |
|
67 |
+ * @type element |
|
68 |
+ * @description Flag element |
|
69 |
+ */ |
|
70 |
+} |
|
71 |
+.fs-checkbox.fs-checkbox-enabled { |
|
72 |
+ cursor: pointer; |
|
73 |
+ margin: 0 0 10px 0; |
|
74 |
+ overflow: hidden; |
|
75 |
+} |
|
76 |
+.fs-checkbox.fs-checkbox-enabled:focus { |
|
77 |
+ box-shadow: none; |
|
78 |
+ outline: none; |
|
79 |
+} |
|
80 |
+.fs-checkbox, |
|
81 |
+.fs-checkbox:after, |
|
82 |
+.fs-checkbox:before, |
|
83 |
+.fs-checkbox *, |
|
84 |
+.fs-checkbox *:after, |
|
85 |
+.fs-checkbox *:before { |
|
86 |
+ box-sizing: border-box; |
|
87 |
+ -webkit-transition: none; |
|
88 |
+ transition: none; |
|
89 |
+ -webkit-user-select: none !important; |
|
90 |
+ -moz-user-select: none !important; |
|
91 |
+ -ms-user-select: none !important; |
|
92 |
+ user-select: none !important; |
|
93 |
+} |
|
94 |
+.fs-checkbox-element_wrapper { |
|
95 |
+ position: relative; |
|
96 |
+ border: 0; |
|
97 |
+ height: 0; |
|
98 |
+ margin: 0; |
|
99 |
+ opacity: 0; |
|
100 |
+ overflow: hidden; |
|
101 |
+ padding: 0; |
|
102 |
+ width: 0; |
|
103 |
+} |
|
104 |
+.fs-checkbox-element { |
|
105 |
+ position: absolute; |
|
106 |
+ top: 0; |
|
107 |
+ left: 0; |
|
108 |
+ z-index: -1; |
|
109 |
+ pointer-events: none; |
|
110 |
+ -webkit-transition: none; |
|
111 |
+ transition: none; |
|
112 |
+} |
|
113 |
+.fs-checkbox-label { |
|
114 |
+ color: #666666; |
|
115 |
+ cursor: pointer; |
|
116 |
+ display: block; |
|
117 |
+ font-size: 14px; |
|
118 |
+ line-height: 20px; |
|
119 |
+ overflow: hidden; |
|
120 |
+ -webkit-user-select: none; |
|
121 |
+ -moz-user-select: none; |
|
122 |
+ -ms-user-select: none; |
|
123 |
+ user-select: none; |
|
124 |
+} |
|
125 |
+.fs-checkbox-marker { |
|
126 |
+ width: 20px; |
|
127 |
+ height: 20px; |
|
128 |
+ background: #ffffff; |
|
129 |
+ border: 1px solid #cccccc; |
|
130 |
+ border-radius: 3px; |
|
131 |
+ cursor: pointer; |
|
132 |
+ display: block; |
|
133 |
+ float: left; |
|
134 |
+ margin: 0 10px 0 0; |
|
135 |
+} |
|
136 |
+.fs-checkbox-flag { |
|
137 |
+ width: 100%; |
|
138 |
+ height: 100%; |
|
139 |
+ margin: 0; |
|
140 |
+} |
|
141 |
+.fs-checkbox-flag:before { |
|
142 |
+ width: 5px; |
|
143 |
+ height: 10px; |
|
144 |
+ border: 2px solid #999999; |
|
145 |
+ border-top: 0; |
|
146 |
+ border-left: 0; |
|
147 |
+ content: ''; |
|
148 |
+ display: block; |
|
149 |
+ margin: 3px 0 0 6px; |
|
150 |
+ -webkit-transition: -webkit-transform 0.15s ease; |
|
151 |
+ transition: transform 0.15s ease; |
|
152 |
+ -webkit-transform: rotate(45deg) scale(0); |
|
153 |
+ -ms-transform: rotate(45deg) scale(0); |
|
154 |
+ transform: rotate(45deg) scale(0); |
|
155 |
+} |
|
156 |
+.fs-checkbox-checked .fs-checkbox-flag:before { |
|
157 |
+ -webkit-transform: rotate(45deg) scale(1); |
|
158 |
+ -ms-transform: rotate(45deg) scale(1); |
|
159 |
+ transform: rotate(45deg) scale(1); |
|
160 |
+} |
|
161 |
+.no-csstransforms .fs-checkbox-flag:before { |
|
162 |
+ width: 100%; |
|
163 |
+ height: 100%; |
|
164 |
+ content: "\2713"; |
|
165 |
+ display: none; |
|
166 |
+ line-height: 1; |
|
167 |
+ text-align: center; |
|
168 |
+} |
|
169 |
+.no-csstransforms .fs-checkbox-checked .fs-checkbox-flag:before { |
|
170 |
+ display: block; |
|
171 |
+} |
|
172 |
+.fs-checkbox-radio .fs-checkbox-marker { |
|
173 |
+ border-radius: 100%; |
|
174 |
+} |
|
175 |
+.fs-checkbox-radio .fs-checkbox-flag { |
|
176 |
+ background: #999999; |
|
177 |
+ border: 3px solid #ffffff; |
|
178 |
+ border-radius: 100%; |
|
179 |
+ -webkit-transform: scale(0); |
|
180 |
+ -ms-transform: scale(0); |
|
181 |
+ transform: scale(0); |
|
182 |
+ -webkit-transition: -webkit-transform 0.15s ease; |
|
183 |
+ transition: transform 0.15s ease; |
|
184 |
+} |
|
185 |
+.fs-checkbox-radio .fs-checkbox-flag:before { |
|
186 |
+ display: none; |
|
187 |
+} |
|
188 |
+.fs-checkbox-radio.fs-checkbox-checked .fs-checkbox-flag { |
|
189 |
+ -webkit-transform: scale(1); |
|
190 |
+ -ms-transform: scale(1); |
|
191 |
+ transform: scale(1); |
|
192 |
+} |
|
193 |
+.fs-checkbox-radio.fs-checkbox-checked .fs-checkbox-flag:before { |
|
194 |
+ display: none; |
|
195 |
+} |
|
196 |
+.no-csstransforms .fs-checkbox-radio .fs-checkbox-flag:before { |
|
197 |
+ display: none; |
|
198 |
+} |
|
199 |
+.no-csstransforms .fs-checkbox-radio.fs-checkbox-checked .fs-checkbox-flag:before { |
|
200 |
+ display: block; |
|
201 |
+} |
|
202 |
+.fs-checkbox-focus .fs-checkbox-label { |
|
203 |
+ color: #333333; |
|
204 |
+} |
|
205 |
+.fs-checkbox-focus .fs-checkbox-marker { |
|
206 |
+ border-color: #999999; |
|
207 |
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); |
|
208 |
+} |
|
209 |
+.fs-checkbox-disabled { |
|
210 |
+ cursor: default; |
|
211 |
+ opacity: 0.5; |
|
212 |
+} |
|
213 |
+.fs-checkbox-disabled .fs-checkbox-label { |
|
214 |
+ color: #666666; |
|
215 |
+ cursor: default; |
|
216 |
+} |
|
217 |
+.fs-checkbox-disabled .fs-checkbox-marker { |
|
218 |
+ border-color: #cccccc; |
|
219 |
+ cursor: default; |
|
220 |
+} |
|
221 |
+.fs-checkbox-toggle { |
|
222 |
+ position: relative; |
|
223 |
+} |
|
224 |
+.fs-checkbox-toggle .fs-checkbox-label { |
|
225 |
+ line-height: 40px; |
|
226 |
+} |
|
227 |
+.fs-checkbox-toggle .fs-checkbox-marker { |
|
228 |
+ width: 100px; |
|
229 |
+ height: 40px; |
|
230 |
+ position: relative; |
|
231 |
+ border-radius: 3px; |
|
232 |
+} |
|
233 |
+.fs-checkbox-toggle .fs-checkbox-marker:after { |
|
234 |
+ clear: both; |
|
235 |
+ content: ''; |
|
236 |
+ display: table; |
|
237 |
+} |
|
238 |
+.fs-checkbox-toggle .fs-checkbox-flag { |
|
239 |
+ width: 50%; |
|
240 |
+ height: 100%; |
|
241 |
+ position: absolute; |
|
242 |
+ top: 0; |
|
243 |
+ left: 0; |
|
244 |
+ background: #999999; |
|
245 |
+ border: 2px solid #ffffff; |
|
246 |
+ border-radius: 3px; |
|
247 |
+ display: block; |
|
248 |
+ margin: 0; |
|
249 |
+ -webkit-transition: left 0.15s ease; |
|
250 |
+ transition: left 0.15s ease; |
|
251 |
+} |
|
252 |
+.fs-checkbox-toggle .fs-checkbox-flag:before { |
|
253 |
+ display: none; |
|
254 |
+} |
|
255 |
+.fs-checkbox-toggle .fs-checkbox-flag:after { |
|
256 |
+ width: 2px; |
|
257 |
+ height: 10px; |
|
258 |
+ position: absolute; |
|
259 |
+ top: 0; |
|
260 |
+ right: 0; |
|
261 |
+ bottom: 0; |
|
262 |
+ left: 0; |
|
263 |
+ background: #ffffff; |
|
264 |
+ box-shadow: 3px 0 0 #ffffff, -3px 0 0 #ffffff; |
|
265 |
+ content: ''; |
|
266 |
+ margin: auto; |
|
267 |
+ opacity: 0.75; |
|
268 |
+} |
|
269 |
+.no-touchevents .fs-checkbox-toggle:hover .fs-checkbox-flag:after { |
|
270 |
+ opacity: 1; |
|
271 |
+} |
|
272 |
+.fs-checkbox-toggle.fs-checkbox-checked .fs-checkbox-flag { |
|
273 |
+ left: 50%; |
|
274 |
+} |
|
275 |
+.fs-checkbox-toggle.fs-checkbox-checked .fs-checkbox-flag:before { |
|
276 |
+ display: none; |
|
277 |
+} |
|
278 |
+.fs-checkbox-toggle.fs-checkbox-disabled .fs-checkbox-flag:after { |
|
279 |
+ display: none; |
|
280 |
+} |
|
281 |
+.fs-checkbox-toggle .fs-checkbox-state { |
|
282 |
+ width: 50%; |
|
283 |
+ color: #666666; |
|
284 |
+ display: block; |
|
285 |
+ font-size: 12px; |
|
286 |
+ line-height: 40px; |
|
287 |
+ margin: 0; |
|
288 |
+ text-align: center; |
|
289 |
+ text-transform: uppercase; |
|
290 |
+} |
|
291 |
+.fs-checkbox-toggle .fs-checkbox-state_on { |
|
292 |
+ float: left; |
|
293 |
+} |
|
294 |
+.fs-checkbox-toggle .fs-checkbox-state_off { |
|
295 |
+ float: right; |
|
296 |
+} |