|
118 | 118 | } |
119 | 119 | } |
120 | 120 |
|
| 121 | +@media print { |
| 122 | + .pretty:not(.toggle) input:not(:checked) + label i:before, |
| 123 | + .pretty > input[type='radio']:checked + label > i.default:before, |
| 124 | + .pretty i:after { |
| 125 | + -webkit-print-color-adjust: exact; |
| 126 | + print-color-adjust: exact; |
| 127 | + color: transparent !important; |
| 128 | + } |
| 129 | + .pretty input:checked + label i:before { |
| 130 | + -webkit-print-color-adjust: exact; |
| 131 | + print-color-adjust: exact; |
| 132 | + } |
| 133 | + .pretty.primary input:checked + label i:before { |
| 134 | + color: white !important; |
| 135 | + } |
| 136 | + .pretty.success input:checked + label i:before { |
| 137 | + color: white !important; |
| 138 | + } |
| 139 | + .pretty.info input:checked + label i:before { |
| 140 | + color: white !important; |
| 141 | + } |
| 142 | + .pretty.warning input:checked + label i:before { |
| 143 | + color: white !important; |
| 144 | + } |
| 145 | + .pretty.danger input:checked + label i:before { |
| 146 | + color: white !important; |
| 147 | + } |
| 148 | +} |
| 149 | + |
121 | 150 | .pretty { |
122 | 151 | position: relative; |
123 | 152 | line-height: 1; |
|
184 | 213 | } |
185 | 214 |
|
186 | 215 | .pretty > input[type='radio']:checked + label > i.default:before { |
187 | | - background: #aaa; |
| 216 | + background-color: #aaa !important; |
188 | 217 | } |
189 | 218 |
|
190 | 219 | .pretty > input[type='checkbox'][disabled], |
|
237 | 266 | } |
238 | 267 |
|
239 | 268 | .pretty.primary input:checked + label i:after { |
240 | | - background-color: #428bca; |
| 269 | + background-color: #428bca !important; |
241 | 270 | border-color: #428bca; |
242 | 271 | } |
243 | 272 |
|
244 | 273 | .pretty.primary input[type='radio']:checked + label i.default:before { |
245 | | - background-color: #428bca; |
| 274 | + background-color: #428bca !important; |
246 | 275 | color: transparent; |
247 | 276 | } |
248 | 277 |
|
249 | 278 | .pretty.primary input[type='radio']:checked + label i.default:after { |
250 | | - background-color: initial; |
| 279 | + background-color: initial !important; |
251 | 280 | border-color: #428bca; |
252 | 281 | } |
253 | 282 |
|
|
291 | 320 | } |
292 | 321 |
|
293 | 322 | .pretty.success input:checked + label i:after { |
294 | | - background-color: #5cb85c; |
| 323 | + background-color: #5cb85c !important; |
295 | 324 | border-color: #5cb85c; |
296 | 325 | } |
297 | 326 |
|
298 | 327 | .pretty.success input[type='radio']:checked + label i.default:before { |
299 | | - background-color: #5cb85c; |
| 328 | + background-color: #5cb85c !important; |
300 | 329 | color: transparent; |
301 | 330 | } |
302 | 331 |
|
303 | 332 | .pretty.success input[type='radio']:checked + label i.default:after { |
304 | | - background-color: initial; |
| 333 | + background-color: initial !important; |
305 | 334 | border-color: #5cb85c; |
306 | 335 | } |
307 | 336 |
|
|
345 | 374 | } |
346 | 375 |
|
347 | 376 | .pretty.info input:checked + label i:after { |
348 | | - background-color: #5bc0de; |
| 377 | + background-color: #5bc0de !important; |
349 | 378 | border-color: #5bc0de; |
350 | 379 | } |
351 | 380 |
|
352 | 381 | .pretty.info input[type='radio']:checked + label i.default:before { |
353 | | - background-color: #5bc0de; |
| 382 | + background-color: #5bc0de !important; |
354 | 383 | color: transparent; |
355 | 384 | } |
356 | 385 |
|
357 | 386 | .pretty.info input[type='radio']:checked + label i.default:after { |
358 | | - background-color: initial; |
| 387 | + background-color: initial !important; |
359 | 388 | border-color: #5bc0de; |
360 | 389 | } |
361 | 390 |
|
|
399 | 428 | } |
400 | 429 |
|
401 | 430 | .pretty.warning input:checked + label i:after { |
402 | | - background-color: #f0ad4e; |
| 431 | + background-color: #f0ad4e !important; |
403 | 432 | border-color: #f0ad4e; |
404 | 433 | } |
405 | 434 |
|
406 | 435 | .pretty.warning input[type='radio']:checked + label i.default:before { |
407 | | - background-color: #f0ad4e; |
| 436 | + background-color: #f0ad4e !important; |
408 | 437 | color: transparent; |
409 | 438 | } |
410 | 439 |
|
411 | 440 | .pretty.warning input[type='radio']:checked + label i.default:after { |
412 | | - background-color: initial; |
| 441 | + background-color: initial !important; |
413 | 442 | border-color: #f0ad4e; |
414 | 443 | } |
415 | 444 |
|
|
453 | 482 | } |
454 | 483 |
|
455 | 484 | .pretty.danger input:checked + label i:after { |
456 | | - background-color: #d9534f; |
| 485 | + background-color: #d9534f !important; |
457 | 486 | border-color: #d9534f; |
458 | 487 | } |
459 | 488 |
|
460 | 489 | .pretty.danger input[type='radio']:checked + label i.default:before { |
461 | | - background-color: #d9534f; |
| 490 | + background-color: #d9534f !important; |
462 | 491 | color: transparent; |
463 | 492 | } |
464 | 493 |
|
465 | 494 | .pretty.danger input[type='radio']:checked + label i.default:after { |
466 | | - background-color: initial; |
| 495 | + background-color: initial !important; |
467 | 496 | border-color: #d9534f; |
468 | 497 | } |
469 | 498 |
|
|
0 commit comments