|
612 | 612 | %bootstrap-file-focused, |
613 | 613 | %bootstrap-file-valid, |
614 | 614 | %bootstrap-file-warning, |
615 | | - %bootstrap-file-invalid, |
| 615 | + %bootstrap-file-invalid |
616 | 616 | { |
617 | 617 | %form-group-bundle { |
618 | 618 | border-radius: var-get($theme, 'box-border-radius'); |
|
670 | 670 | %form-group-bundle { |
671 | 671 | box-shadow: 0 0 0 rem(4px) var-get($theme, 'success-shadow-color'); |
672 | 672 | } |
| 673 | + |
| 674 | + %form-group-prefix:not(:first-child) { |
| 675 | + border-inline-start-color: var-get($theme, 'success-secondary-color'); |
| 676 | + } |
| 677 | + |
| 678 | + %form-group-suffix:not(:last-child) { |
| 679 | + border-inline-end-color: var-get($theme, 'success-secondary-color'); |
| 680 | + } |
673 | 681 | } |
674 | 682 |
|
675 | 683 | %bootstrap-file-warning-focused { |
676 | 684 | %form-group-bundle { |
677 | 685 | box-shadow: 0 0 0 rem(4px) color($color: 'warn', $variant: '500', $opacity: .38); |
| 686 | + |
| 687 | + %form-group-prefix:not(:first-child) { |
| 688 | + border-inline-start-color: var-get($theme, 'warning-secondary-color'); |
| 689 | + } |
| 690 | + |
| 691 | + %form-group-suffix:not(:last-child) { |
| 692 | + border-inline-end-color: var-get($theme, 'warning-secondary-color'); |
| 693 | + } |
678 | 694 | } |
679 | 695 | } |
680 | 696 |
|
681 | 697 | %bootstrap-file-invalid-focused { |
682 | 698 | %form-group-bundle { |
683 | 699 | box-shadow: 0 0 0 rem(4px) var-get($theme, 'error-shadow-color'); |
684 | 700 | } |
| 701 | + |
| 702 | + %form-group-prefix:not(:first-child) { |
| 703 | + border-inline-start-color: var-get($theme, 'error-secondary-color'); |
| 704 | + } |
| 705 | + |
| 706 | + %form-group-suffix:not(:last-child) { |
| 707 | + border-inline-end-color: var-get($theme, 'error-secondary-color'); |
| 708 | + } |
685 | 709 | } |
686 | 710 |
|
687 | 711 | @if $variant == 'bootstrap' { |
|
691 | 715 | %upload-button { |
692 | 716 | border-color: var-get($theme, 'focused-border-color'); |
693 | 717 | } |
| 718 | + |
| 719 | + %form-group-prefix:not(:first-child) { |
| 720 | + border-inline-start-color: var-get($theme, 'focused-border-color'); |
| 721 | + } |
| 722 | + |
| 723 | + %form-group-suffix:not(:last-child) { |
| 724 | + border-inline-end-color: var-get($theme, 'focused-border-color'); |
| 725 | + } |
694 | 726 | } |
695 | 727 | } |
696 | 728 |
|
|
2015 | 2047 | }; |
2016 | 2048 | } |
2017 | 2049 | } |
2018 | | - |
2019 | | - .igx-input-group__clear-icon + igx-suffix, |
2020 | | - .igx-input-group__clear-icon + [igxPrefix] { |
2021 | | - border-inline-start: rem(1px) solid var-get($theme, 'border-color'); |
2022 | | - } |
2023 | 2050 | } |
2024 | 2051 |
|
2025 | 2052 | %form-group-display--bootstrap-suffixed-focused { |
|
2284 | 2311 | border-color: var-get($theme, 'disabled-border-color'); |
2285 | 2312 | color: var-get($theme, 'disabled-text-color'); |
2286 | 2313 | } |
| 2314 | + |
| 2315 | + %form-group-prefix--disabled-bootstrap:not(:first-child) { |
| 2316 | + border-inline-start-color: var-get($theme, 'disabled-border-color'); |
| 2317 | + } |
| 2318 | + |
| 2319 | + %form-group-suffix--disabled-bootstrap:not(:last-child) { |
| 2320 | + border-inline-end-color: var-get($theme, 'disabled-border-color'); |
| 2321 | + } |
| 2322 | + |
| 2323 | + @if $variant == 'bootstrap' { |
| 2324 | + %form-group-prefix:not(:first-child) { |
| 2325 | + border-inline-start: rem(1px) solid var-get($theme, 'border-color'); |
| 2326 | + } |
| 2327 | + |
| 2328 | + %form-group-suffix:not(:last-child) { |
| 2329 | + border-inline-end: rem(1px) solid var-get($theme, 'border-color'); |
| 2330 | + } |
| 2331 | + } |
2287 | 2332 | } |
2288 | 2333 |
|
2289 | 2334 | /// Adds typography styles for the igx-input-group component. |
|
0 commit comments