|
| 1 | +@charset "UTF-8"; |
1 | 2 | .abc-checkbox {
|
2 |
| - padding-left: 20px; |
3 |
| -} |
| 3 | + padding-left: 20px; } |
4 | 4 | .abc-checkbox label {
|
5 | 5 | display: inline-block;
|
6 | 6 | vertical-align: middle;
|
7 | 7 | position: relative;
|
8 |
| - padding-left: 5px; |
9 |
| -} |
| 8 | + padding-left: 5px; } |
10 | 9 | .abc-checkbox label::before {
|
11 | 10 | content: "";
|
12 | 11 | display: inline-block;
|
|
15 | 14 | height: 17px;
|
16 | 15 | left: 0;
|
17 | 16 | margin-left: -20px;
|
18 |
| - border: 1px solid #cccccc; |
| 17 | + border: 1px solid #ccc; |
19 | 18 | border-radius: 3px;
|
20 |
| - background-color: #fff; |
21 |
| - -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; |
22 |
| - -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out; |
23 |
| - transition: border 0.15s ease-in-out, color 0.15s ease-in-out; |
24 |
| -} |
| 19 | + background-color: #fff; } |
25 | 20 | .abc-checkbox label::after {
|
26 | 21 | display: inline-block;
|
27 | 22 | position: absolute;
|
|
33 | 28 | padding-left: 3px;
|
34 | 29 | padding-top: 1px;
|
35 | 30 | font-size: 11px;
|
36 |
| - color: #555555; |
37 |
| -} |
| 31 | + color: #55595c; } |
38 | 32 | .abc-checkbox input[type="checkbox"],
|
39 | 33 | .abc-checkbox input[type="radio"] {
|
40 | 34 | opacity: 0;
|
41 |
| - z-index: 1; |
42 |
| -} |
| 35 | + z-index: 1; } |
43 | 36 | .abc-checkbox input[type="checkbox"]:focus + label::before,
|
44 | 37 | .abc-checkbox input[type="radio"]:focus + label::before {
|
45 | 38 | outline: thin dotted;
|
46 | 39 | outline: 5px auto -webkit-focus-ring-color;
|
47 |
| - outline-offset: -2px; |
48 |
| -} |
| 40 | + outline-offset: -2px; } |
49 | 41 | .abc-checkbox input[type="checkbox"]:checked + label::after,
|
50 | 42 | .abc-checkbox input[type="radio"]:checked + label::after {
|
51 | 43 | font-family: "FontAwesome";
|
52 |
| - content: "\f00c"; |
53 |
| -} |
| 44 | + content: ""; } |
54 | 45 | .abc-checkbox input[type="checkbox"]:indeterminate + label::after,
|
55 | 46 | .abc-checkbox input[type="radio"]:indeterminate + label::after {
|
56 | 47 | display: block;
|
|
60 | 51 | background-color: #555555;
|
61 | 52 | border-radius: 2px;
|
62 | 53 | margin-left: -16.5px;
|
63 |
| - margin-top: 7px; |
64 |
| -} |
| 54 | + margin-top: 7px; } |
65 | 55 | .abc-checkbox input[type="checkbox"]:disabled + label,
|
66 | 56 | .abc-checkbox input[type="radio"]:disabled + label {
|
67 |
| - opacity: 0.65; |
68 |
| -} |
| 57 | + opacity: 0.65; } |
69 | 58 | .abc-checkbox input[type="checkbox"]:disabled + label::before,
|
70 | 59 | .abc-checkbox input[type="radio"]:disabled + label::before {
|
71 |
| - background-color: #eeeeee; |
72 |
| - cursor: not-allowed; |
73 |
| -} |
| 60 | + background-color: #eceeef; |
| 61 | + cursor: not-allowed; } |
74 | 62 | .abc-checkbox.abc-checkbox-circle label::before {
|
75 |
| - border-radius: 50%; |
76 |
| -} |
77 |
| -.abc-checkbox.abc-checkbox-inline { |
78 |
| - margin-top: 0; |
79 |
| -} |
| 63 | + border-radius: 50%; } |
| 64 | +.abc-checkbox.checkbox-inline { |
| 65 | + margin-top: 0; } |
80 | 66 |
|
81 | 67 | .abc-checkbox-primary input[type="checkbox"]:checked + label::before,
|
82 | 68 | .abc-checkbox-primary input[type="radio"]:checked + label::before {
|
83 |
| - background-color: #337ab7; |
84 |
| - border-color: #337ab7; |
85 |
| -} |
| 69 | + background-color: #0275d8; |
| 70 | + border-color: #0275d8; } |
| 71 | + |
86 | 72 | .abc-checkbox-primary input[type="checkbox"]:checked + label::after,
|
87 | 73 | .abc-checkbox-primary input[type="radio"]:checked + label::after {
|
88 |
| - color: #fff; |
89 |
| -} |
| 74 | + color: #fff; } |
90 | 75 |
|
91 | 76 | .abc-checkbox-danger input[type="checkbox"]:checked + label::before,
|
92 | 77 | .abc-checkbox-danger input[type="radio"]:checked + label::before {
|
93 | 78 | background-color: #d9534f;
|
94 |
| - border-color: #d9534f; |
95 |
| -} |
| 79 | + border-color: #d9534f; } |
| 80 | + |
96 | 81 | .abc-checkbox-danger input[type="checkbox"]:checked + label::after,
|
97 | 82 | .abc-checkbox-danger input[type="radio"]:checked + label::after {
|
98 |
| - color: #fff; |
99 |
| -} |
| 83 | + color: #fff; } |
100 | 84 |
|
101 | 85 | .abc-checkbox-info input[type="checkbox"]:checked + label::before,
|
102 | 86 | .abc-checkbox-info input[type="radio"]:checked + label::before {
|
103 | 87 | background-color: #5bc0de;
|
104 |
| - border-color: #5bc0de; |
105 |
| -} |
| 88 | + border-color: #5bc0de; } |
| 89 | + |
106 | 90 | .abc-checkbox-info input[type="checkbox"]:checked + label::after,
|
107 | 91 | .abc-checkbox-info input[type="radio"]:checked + label::after {
|
108 |
| - color: #fff; |
109 |
| -} |
| 92 | + color: #fff; } |
110 | 93 |
|
111 | 94 | .abc-checkbox-warning input[type="checkbox"]:checked + label::before,
|
112 | 95 | .abc-checkbox-warning input[type="radio"]:checked + label::before {
|
113 | 96 | background-color: #f0ad4e;
|
114 |
| - border-color: #f0ad4e; |
115 |
| -} |
| 97 | + border-color: #f0ad4e; } |
| 98 | + |
116 | 99 | .abc-checkbox-warning input[type="checkbox"]:checked + label::after,
|
117 | 100 | .abc-checkbox-warning input[type="radio"]:checked + label::after {
|
118 |
| - color: #fff; |
119 |
| -} |
| 101 | + color: #fff; } |
120 | 102 |
|
121 | 103 | .abc-checkbox-success input[type="checkbox"]:checked + label::before,
|
122 | 104 | .abc-checkbox-success input[type="radio"]:checked + label::before {
|
123 | 105 | background-color: #5cb85c;
|
124 |
| - border-color: #5cb85c; |
125 |
| -} |
| 106 | + border-color: #5cb85c; } |
| 107 | + |
126 | 108 | .abc-checkbox-success input[type="checkbox"]:checked + label::after,
|
127 | 109 | .abc-checkbox-success input[type="radio"]:checked + label::after {
|
128 |
| - color: #fff; |
129 |
| -} |
| 110 | + color: #fff; } |
130 | 111 |
|
131 | 112 | .abc-checkbox-primary input[type="checkbox"]:indeterminate + label::before,
|
132 | 113 | .abc-checkbox-primary input[type="radio"]:indeterminate + label::before {
|
133 |
| - background-color: #337ab7; |
134 |
| - border-color: #337ab7; |
135 |
| -} |
| 114 | + background-color: #0275d8; |
| 115 | + border-color: #0275d8; } |
136 | 116 |
|
137 | 117 | .abc-checkbox-primary input[type="checkbox"]:indeterminate + label::after,
|
138 | 118 | .abc-checkbox-primary input[type="radio"]:indeterminate + label::after {
|
139 |
| - background-color: #fff; |
140 |
| -} |
| 119 | + background-color: #fff; } |
141 | 120 |
|
142 | 121 | .abc-checkbox-danger input[type="checkbox"]:indeterminate + label::before,
|
143 | 122 | .abc-checkbox-danger input[type="radio"]:indeterminate + label::before {
|
144 | 123 | background-color: #d9534f;
|
145 |
| - border-color: #d9534f; |
146 |
| -} |
| 124 | + border-color: #d9534f; } |
147 | 125 |
|
148 | 126 | .abc-checkbox-danger input[type="checkbox"]:indeterminate + label::after,
|
149 | 127 | .abc-checkbox-danger input[type="radio"]:indeterminate + label::after {
|
150 |
| - background-color: #fff; |
151 |
| -} |
| 128 | + background-color: #fff; } |
152 | 129 |
|
153 | 130 | .abc-checkbox-info input[type="checkbox"]:indeterminate + label::before,
|
154 | 131 | .abc-checkbox-info input[type="radio"]:indeterminate + label::before {
|
155 | 132 | background-color: #5bc0de;
|
156 |
| - border-color: #5bc0de; |
157 |
| -} |
| 133 | + border-color: #5bc0de; } |
158 | 134 |
|
159 | 135 | .abc-checkbox-info input[type="checkbox"]:indeterminate + label::after,
|
160 | 136 | .abc-checkbox-info input[type="radio"]:indeterminate + label::after {
|
161 |
| - background-color: #fff; |
162 |
| -} |
| 137 | + background-color: #fff; } |
163 | 138 |
|
164 | 139 | .abc-checkbox-warning input[type="checkbox"]:indeterminate + label::before,
|
165 | 140 | .abc-checkbox-warning input[type="radio"]:indeterminate + label::before {
|
166 | 141 | background-color: #f0ad4e;
|
167 |
| - border-color: #f0ad4e; |
168 |
| -} |
| 142 | + border-color: #f0ad4e; } |
169 | 143 |
|
170 | 144 | .abc-checkbox-warning input[type="checkbox"]:indeterminate + label::after,
|
171 | 145 | .abc-checkbox-warning input[type="radio"]:indeterminate + label::after {
|
172 |
| - background-color: #fff; |
173 |
| -} |
| 146 | + background-color: #fff; } |
174 | 147 |
|
175 | 148 | .abc-checkbox-success input[type="checkbox"]:indeterminate + label::before,
|
176 | 149 | .abc-checkbox-success input[type="radio"]:indeterminate + label::before {
|
177 | 150 | background-color: #5cb85c;
|
178 |
| - border-color: #5cb85c; |
179 |
| -} |
| 151 | + border-color: #5cb85c; } |
180 | 152 |
|
181 | 153 | .abc-checkbox-success input[type="checkbox"]:indeterminate + label::after,
|
182 | 154 | .abc-checkbox-success input[type="radio"]:indeterminate + label::after {
|
183 |
| - background-color: #fff; |
184 |
| -} |
| 155 | + background-color: #fff; } |
185 | 156 |
|
186 | 157 | .abc-radio {
|
187 |
| - padding-left: 20px; |
188 |
| -} |
| 158 | + padding-left: 20px; } |
189 | 159 | .abc-radio label {
|
190 | 160 | display: inline-block;
|
191 | 161 | vertical-align: middle;
|
192 | 162 | position: relative;
|
193 |
| - padding-left: 5px; |
194 |
| -} |
| 163 | + padding-left: 5px; } |
195 | 164 | .abc-radio label::before {
|
196 | 165 | content: "";
|
197 | 166 | display: inline-block;
|
|
200 | 169 | height: 17px;
|
201 | 170 | left: 0;
|
202 | 171 | margin-left: -20px;
|
203 |
| - border: 1px solid #cccccc; |
| 172 | + border: 1px solid #ccc; |
204 | 173 | border-radius: 50%;
|
205 |
| - background-color: #fff; |
206 |
| - -webkit-transition: border 0.15s ease-in-out; |
207 |
| - -o-transition: border 0.15s ease-in-out; |
208 |
| - transition: border 0.15s ease-in-out; |
209 |
| -} |
| 174 | + background-color: #fff; } |
210 | 175 | .abc-radio label::after {
|
211 | 176 | display: inline-block;
|
212 | 177 | position: absolute;
|
|
217 | 182 | top: 3px;
|
218 | 183 | margin-left: -20px;
|
219 | 184 | border-radius: 50%;
|
220 |
| - background-color: #555555; |
221 |
| - -webkit-transform: scale(0, 0); |
222 |
| - -ms-transform: scale(0, 0); |
223 |
| - -o-transform: scale(0, 0); |
| 185 | + background-color: #55595c; |
224 | 186 | transform: scale(0, 0);
|
225 |
| - -webkit-transition: -webkit-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); |
226 |
| - -moz-transition: -moz-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); |
227 |
| - -o-transition: -o-transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); |
228 |
| - transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); |
229 |
| -} |
| 187 | + transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33); } |
230 | 188 | .abc-radio input[type="radio"] {
|
231 | 189 | opacity: 0;
|
232 |
| - z-index: 1; |
233 |
| -} |
| 190 | + z-index: 1; } |
234 | 191 | .abc-radio input[type="radio"]:focus + label::before {
|
235 | 192 | outline: thin dotted;
|
236 | 193 | outline: 5px auto -webkit-focus-ring-color;
|
237 |
| - outline-offset: -2px; |
238 |
| -} |
| 194 | + outline-offset: -2px; } |
239 | 195 | .abc-radio input[type="radio"]:checked + label::after {
|
240 |
| - -webkit-transform: scale(1, 1); |
241 |
| - -ms-transform: scale(1, 1); |
242 |
| - -o-transform: scale(1, 1); |
243 |
| - transform: scale(1, 1); |
244 |
| -} |
| 196 | + transform: scale(1, 1); } |
245 | 197 | .abc-radio input[type="radio"]:disabled + label {
|
246 |
| - opacity: 0.65; |
247 |
| -} |
| 198 | + opacity: 0.65; } |
248 | 199 | .abc-radio input[type="radio"]:disabled + label::before {
|
249 |
| - cursor: not-allowed; |
250 |
| -} |
| 200 | + cursor: not-allowed; } |
251 | 201 | .abc-radio.radio-inline {
|
252 |
| - margin-top: 0; |
253 |
| -} |
| 202 | + margin-top: 0; } |
254 | 203 |
|
255 | 204 | .abc-radio-primary input[type="radio"] + label::after {
|
256 |
| - background-color: #337ab7; |
257 |
| -} |
| 205 | + background-color: #0275d8; } |
| 206 | + |
258 | 207 | .abc-radio-primary input[type="radio"]:checked + label::before {
|
259 |
| - border-color: #337ab7; |
260 |
| -} |
| 208 | + border-color: #0275d8; } |
| 209 | + |
261 | 210 | .abc-radio-primary input[type="radio"]:checked + label::after {
|
262 |
| - background-color: #337ab7; |
263 |
| -} |
| 211 | + background-color: #0275d8; } |
264 | 212 |
|
265 | 213 | .abc-radio-danger input[type="radio"] + label::after {
|
266 |
| - background-color: #d9534f; |
267 |
| -} |
| 214 | + background-color: #d9534f; } |
| 215 | + |
268 | 216 | .abc-radio-danger input[type="radio"]:checked + label::before {
|
269 |
| - border-color: #d9534f; |
270 |
| -} |
| 217 | + border-color: #d9534f; } |
| 218 | + |
271 | 219 | .abc-radio-danger input[type="radio"]:checked + label::after {
|
272 |
| - background-color: #d9534f; |
273 |
| -} |
| 220 | + background-color: #d9534f; } |
274 | 221 |
|
275 | 222 | .abc-radio-info input[type="radio"] + label::after {
|
276 |
| - background-color: #5bc0de; |
277 |
| -} |
| 223 | + background-color: #5bc0de; } |
| 224 | + |
278 | 225 | .abc-radio-info input[type="radio"]:checked + label::before {
|
279 |
| - border-color: #5bc0de; |
280 |
| -} |
| 226 | + border-color: #5bc0de; } |
| 227 | + |
281 | 228 | .abc-radio-info input[type="radio"]:checked + label::after {
|
282 |
| - background-color: #5bc0de; |
283 |
| -} |
| 229 | + background-color: #5bc0de; } |
284 | 230 |
|
285 | 231 | .abc-radio-warning input[type="radio"] + label::after {
|
286 |
| - background-color: #f0ad4e; |
287 |
| -} |
| 232 | + background-color: #f0ad4e; } |
| 233 | + |
288 | 234 | .abc-radio-warning input[type="radio"]:checked + label::before {
|
289 |
| - border-color: #f0ad4e; |
290 |
| -} |
| 235 | + border-color: #f0ad4e; } |
| 236 | + |
291 | 237 | .abc-radio-warning input[type="radio"]:checked + label::after {
|
292 |
| - background-color: #f0ad4e; |
293 |
| -} |
| 238 | + background-color: #f0ad4e; } |
294 | 239 |
|
295 | 240 | .abc-radio-success input[type="radio"] + label::after {
|
296 |
| - background-color: #5cb85c; |
297 |
| -} |
| 241 | + background-color: #5cb85c; } |
| 242 | + |
298 | 243 | .abc-radio-success input[type="radio"]:checked + label::before {
|
299 |
| - border-color: #5cb85c; |
300 |
| -} |
| 244 | + border-color: #5cb85c; } |
| 245 | + |
301 | 246 | .abc-radio-success input[type="radio"]:checked + label::after {
|
302 |
| - background-color: #5cb85c; |
303 |
| -} |
| 247 | + background-color: #5cb85c; } |
304 | 248 |
|
305 | 249 | input[type="checkbox"].styled:checked + label:after,
|
306 | 250 | input[type="radio"].styled:checked + label:after {
|
307 |
| - font-family: 'FontAwesome'; |
308 |
| - content: "\f00c"; |
309 |
| -} |
| 251 | + font-family: "FontAwesome"; |
| 252 | + content: ""; } |
| 253 | + |
310 | 254 | input[type="checkbox"] .styled:checked + label::before,
|
311 | 255 | input[type="radio"] .styled:checked + label::before {
|
312 |
| - color: #fff; |
313 |
| -} |
| 256 | + color: #fff; } |
| 257 | + |
314 | 258 | input[type="checkbox"] .styled:checked + label::after,
|
315 | 259 | input[type="radio"] .styled:checked + label::after {
|
316 |
| - color: #fff; |
317 |
| -} |
| 260 | + color: #fff; } |
0 commit comments