|
25 | 25 | }
|
26 | 26 |
|
27 | 27 | // Bring the "active" form control to the top of surrounding elements
|
28 |
| - > .date-picker.show, |
29 |
| - > .time-picker.show, |
30 |
| - > .form-multi-select.show, |
| 28 | + > .date-picker:focus-within, |
| 29 | + > .time-picker:focus-within, |
| 30 | + > .form-multi-select:focus-within, |
31 | 31 | > .form-control:focus,
|
32 | 32 | > .form-select:focus,
|
33 |
| - > .form-floating:focus-within { |
| 33 | + > .form-floating:focus-within, |
| 34 | + > .form-password:focus-within { |
34 | 35 | z-index: 5;
|
35 | 36 | }
|
36 | 37 |
|
|
107 | 108 | // stylelint-disable-next-line no-duplicate-selectors
|
108 | 109 | .input-group {
|
109 | 110 | &:not(.has-validation) {
|
110 |
| - > .date-picker > .date-picker-input-group, |
111 |
| - > .time-picker > .time-picker-input-group, |
112 |
| - > .form-multi-select > .form-multi-select-input-group, |
| 111 | + > .date-picker:not(:last-child) > .date-picker-input-group, |
| 112 | + > .time-picker:not(:last-child) > .time-picker-input-group, |
| 113 | + > .form-multi-select:not(:last-child) > .form-multi-select-input-group, |
113 | 114 | > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
114 | 115 | > .dropdown-toggle:nth-last-child(n + 3),
|
115 | 116 | > .form-floating:not(:last-child) > .form-control,
|
116 |
| - > .form-floating:not(:last-child) > .form-select { |
| 117 | + > .form-floating:not(:last-child) > .form-select, |
| 118 | + > .form-password:not(:last-child) > .form-control { |
117 | 119 | @include border-end-radius(0);
|
118 | 120 | }
|
119 | 121 | }
|
|
125 | 127 | > :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
|
126 | 128 | > .dropdown-toggle:nth-last-child(n + 4),
|
127 | 129 | > .form-floating:nth-last-child(n + 3) > .form-control,
|
128 |
| - > .form-floating:nth-last-child(n + 3) > .form-select { |
| 130 | + > .form-floating:nth-last-child(n + 3) > .form-select, |
| 131 | + > .form-password:nth-last-child(n + 3) > .form-control { |
129 | 132 | @include border-end-radius(0);
|
130 | 133 | }
|
131 | 134 | }
|
|
140 | 143 | @include border-start-radius(0);
|
141 | 144 | }
|
142 | 145 |
|
143 |
| - > .date-picker > .date-picker-input-group, |
144 |
| - > .time-picker > .time-picker-input-group, |
145 |
| - > .form-multi-select > .form-multi-select-input-group, |
| 146 | + > .date-picker:not(:first-child) > .date-picker-input-group, |
| 147 | + > .time-picker:not(:first-child) > .time-picker-input-group, |
| 148 | + > .form-multi-select:not(:first-child) > .form-multi-select-input-group, |
146 | 149 | > .form-floating:not(:first-child) > .form-control,
|
147 |
| - > .form-floating:not(:first-child) > .form-select { |
| 150 | + > .form-floating:not(:first-child) > .form-select, |
| 151 | + > .form-password:not(:first-child) > .form-control { |
148 | 152 | @include border-start-radius(0);
|
149 | 153 | }
|
150 | 154 | }
|
0 commit comments