|
409 | 409 |
|
410 | 410 | /* Active */
|
411 | 411 | .ui.slider.checkbox input:checked ~ label {
|
412 |
| - color: @sliderOnLabelColor !important; |
| 412 | + color: @sliderOnLabelColor; |
413 | 413 | }
|
414 | 414 | .ui.slider.checkbox input:checked ~ label::before {
|
415 |
| - background-color: @sliderOnLineColor !important; |
| 415 | + background-color: @sliderOnLineColor; |
416 | 416 | }
|
417 | 417 | .ui.slider.checkbox input:checked ~ label::after {
|
418 | 418 | left: @sliderTravelDistance;
|
419 | 419 | }
|
420 | 420 |
|
421 | 421 | /* Active Focus */
|
422 | 422 | .ui.slider.checkbox input:focus:checked ~ label {
|
423 |
| - color: @sliderOnFocusLabelColor !important; |
| 423 | + color: @sliderOnFocusLabelColor; |
424 | 424 | }
|
425 | 425 | .ui.slider.checkbox input:focus:checked ~ label::before {
|
426 |
| - background-color: @sliderOnFocusLineColor !important; |
| 426 | + background-color: @sliderOnFocusLineColor; |
427 | 427 | }
|
428 | 428 |
|
429 | 429 | & when (@variationCheckboxRightAligned) {
|
|
520 | 520 |
|
521 | 521 | /* Active */
|
522 | 522 | .ui.toggle.checkbox input:checked ~ label {
|
523 |
| - color: @toggleOnLabelColor !important; |
| 523 | + color: @toggleOnLabelColor; |
524 | 524 | }
|
525 | 525 | .ui.toggle.checkbox input:checked ~ label::before {
|
526 |
| - background-color: @toggleOnLaneColor !important; |
| 526 | + background-color: @toggleOnLaneColor; |
527 | 527 | }
|
528 | 528 | .ui.toggle.checkbox input:checked ~ label::after {
|
529 | 529 | left: @toggleOnOffset;
|
|
532 | 532 |
|
533 | 533 | /* Active Focus */
|
534 | 534 | .ui.toggle.checkbox input:focus:checked ~ label {
|
535 |
| - color: @toggleOnFocusLabelColor !important; |
| 535 | + color: @toggleOnFocusLabelColor; |
536 | 536 | }
|
537 | 537 | .ui.toggle.checkbox input:focus:checked ~ label::before {
|
538 |
| - background-color: @toggleOnFocusLaneColor !important; |
| 538 | + background-color: @toggleOnFocusLaneColor; |
539 | 539 | }
|
540 | 540 |
|
541 | 541 | & when (@variationCheckboxRightAligned) {
|
|
563 | 563 | Fitted
|
564 | 564 | --------------- */
|
565 | 565 |
|
566 |
| - .ui.fitted.checkbox label { |
567 |
| - padding-left: 0 !important; |
| 566 | + .ui.ui.fitted.checkbox label { |
| 567 | + padding-left: 0; |
568 | 568 | }
|
569 | 569 |
|
570 | 570 | .ui.fitted.toggle.checkbox {
|
|
580 | 580 | /* --------------
|
581 | 581 | Inverted
|
582 | 582 | --------------- */
|
583 |
| - .ui.inverted.checkbox label, |
584 |
| - .ui.inverted.checkbox + label { |
585 |
| - color: @invertedTextColor !important; |
| 583 | + .ui.ui.ui.inverted.checkbox label, |
| 584 | + .ui.ui.ui.inverted.checkbox + label { |
| 585 | + color: @invertedTextColor; |
586 | 586 | }
|
587 | 587 |
|
588 | 588 | /* Hover */
|
589 |
| - .ui.inverted.checkbox label:hover { |
590 |
| - color: @invertedHoveredTextColor !important; |
| 589 | + .ui.ui.inverted.checkbox label:hover { |
| 590 | + color: @invertedHoveredTextColor; |
591 | 591 | }
|
592 | 592 | .ui.inverted.checkbox label:hover::before {
|
593 | 593 | border-color: @strongSelectedBorderColor;
|
|
599 | 599 | }
|
600 | 600 |
|
601 | 601 | /* Slider Line */
|
602 |
| - .ui.inverted.slider.checkbox label::before { |
603 |
| - background-color: @invertedUnselectedTextColor !important; |
| 602 | + .ui.ui.inverted.slider.checkbox label::before { |
| 603 | + background-color: @invertedUnselectedTextColor; |
604 | 604 | }
|
605 | 605 |
|
606 | 606 | /* Slider Hover */
|
607 |
| - .ui.inverted.slider.checkbox label:hover::before { |
608 |
| - background: @invertedLightTextColor !important; |
| 607 | + .ui.ui.inverted.slider.checkbox label:hover::before { |
| 608 | + background: @invertedLightTextColor; |
609 | 609 | }
|
610 | 610 |
|
611 | 611 | /* Slider Active */
|
612 |
| - .ui.inverted.slider.checkbox input:checked ~ label { |
613 |
| - color: @invertedSelectedTextColor !important; |
| 612 | + .ui.ui.inverted.slider.checkbox input:checked ~ label { |
| 613 | + color: @invertedSelectedTextColor; |
614 | 614 | }
|
615 |
| - .ui.inverted.slider.checkbox input:checked ~ label::before { |
616 |
| - background-color: @selectedWhiteBorderColor !important; |
| 615 | + .ui.ui.inverted.slider.checkbox input:checked ~ label::before { |
| 616 | + background-color: @selectedWhiteBorderColor; |
617 | 617 | }
|
618 | 618 |
|
619 | 619 | /* Slider Active Focus */
|
620 |
| - .ui.inverted.slider.checkbox input:focus:checked ~ label { |
621 |
| - color: @invertedSelectedTextColor !important; |
| 620 | + .ui.ui.inverted.slider.checkbox input:focus:checked ~ label { |
| 621 | + color: @invertedSelectedTextColor; |
622 | 622 | }
|
623 |
| - .ui.inverted.slider.checkbox input:focus:checked ~ label::before { |
624 |
| - background-color: @selectedWhiteBorderColor !important; |
| 623 | + .ui.ui.inverted.slider.checkbox input:focus:checked ~ label::before { |
| 624 | + background-color: @selectedWhiteBorderColor; |
625 | 625 | }
|
626 | 626 | }
|
627 | 627 | & when (@variationCheckboxToggle) {
|
628 | 628 | /* Toggle Switch */
|
629 |
| - .ui.inverted.toggle.checkbox label::before { |
630 |
| - background-color: @invertedTextColor !important; |
| 629 | + .ui.ui.inverted.toggle.checkbox label::before { |
| 630 | + background-color: @invertedTextColor; |
631 | 631 | }
|
632 | 632 |
|
633 | 633 | /* Toggle Hover */
|
634 |
| - .ui.inverted.toggle.checkbox label:hover::before { |
635 |
| - background: @invertedHoveredTextColor !important; |
| 634 | + .ui.ui.inverted.toggle.checkbox label:hover::before { |
| 635 | + background: @invertedHoveredTextColor; |
636 | 636 | }
|
637 | 637 |
|
638 | 638 | /* Toggle Active */
|
639 |
| - .ui.inverted.toggle.checkbox input:checked ~ label { |
640 |
| - color: @invertedSelectedTextColor !important; |
| 639 | + .ui.ui.inverted.toggle.checkbox input:checked ~ label { |
| 640 | + color: @invertedSelectedTextColor; |
641 | 641 | }
|
642 |
| - .ui.inverted.toggle.checkbox input:checked ~ label::before { |
643 |
| - background-color: @toggleOnLaneColor !important; |
| 642 | + .ui.ui.inverted.toggle.checkbox input:checked ~ label::before { |
| 643 | + background-color: @toggleOnLaneColor; |
644 | 644 | }
|
645 | 645 |
|
646 | 646 | /* Toggle Active Focus */
|
647 |
| - .ui.inverted.toggle.checkbox input:focus:checked ~ label { |
648 |
| - color: @invertedSelectedTextColor !important; |
| 647 | + .ui.ui.inverted.toggle.checkbox input:focus:checked ~ label { |
| 648 | + color: @invertedSelectedTextColor; |
649 | 649 | }
|
650 |
| - .ui.inverted.toggle.checkbox input:focus:checked ~ label::before { |
651 |
| - background-color: @toggleOnFocusLaneColor !important; |
| 650 | + .ui.ui.inverted.toggle.checkbox input:focus:checked ~ label::before { |
| 651 | + background-color: @toggleOnFocusLaneColor; |
652 | 652 | }
|
653 | 653 | }
|
654 | 654 | }
|
|
0 commit comments