@@ -27,7 +27,6 @@ $border-radius: var-get($_theme, 'border-border-radius');
27
27
.igx-input-group__bundle-main {
28
28
border-start-start-radius : $border-radius ;
29
29
border-end-start-radius : $border-radius ;
30
-
31
30
}
32
31
}
33
32
@@ -44,20 +43,6 @@ $border-radius: var-get($_theme, 'border-border-radius');
44
43
border-radius : $border-radius ;
45
44
}
46
45
}
47
-
48
- igx-suffix + .igx-input-group__toggle-button ,
49
- [igxSuffix ] + .igx-input-group__toggle-button {
50
- // Add border between the toggle button and the rest of the suffixes
51
- border-inline-start : $border-size solid $border-color ;
52
- }
53
-
54
- igx-input-group :not (.igx-input-group--disabled ) {
55
- .igx-input-group__clear-icon + igx-suffix ,
56
- .igx-input-group__clear-icon + [igxSuffix ] {
57
- // Add border between the clear button and the rest of the suffixes
58
- border-inline-start : $border-size solid $border-color ;
59
- }
60
- }
61
46
}
62
47
}
63
48
@@ -186,6 +171,24 @@ $border-radius: var-get($_theme, 'border-border-radius');
186
171
}
187
172
}
188
173
174
+ @include m (prefixed, $not : (disabled )) {
175
+ @include e (bundle- start) {
176
+ igx-prefix :not (:first-child ),
177
+ [igxPrefix ]:not (:first-child ) {
178
+ border-inline-start : rem (1px ) solid var-get ($_theme , ' border-color' );
179
+ }
180
+ }
181
+ }
182
+
183
+ @include m (suffixed, $not : (disabled )) {
184
+ @include e (bundle- end) {
185
+ igx-suffix :not (:last-child ),
186
+ [igxSuffix ]:not (:last-child ) {
187
+ border-inline-end : rem (1px ) solid var-get ($_theme , ' border-color' );
188
+ }
189
+ }
190
+ }
191
+
189
192
@include m (suffixed) {
190
193
@include e (bundle- end) {
191
194
@extend %border-styles ;
@@ -344,16 +347,20 @@ $border-radius: var-get($_theme, 'border-border-radius');
344
347
345
348
@include e (bundle- start) {
346
349
border-color : var-get ($_theme , ' focused-border-color' );
350
+
351
+ igx-prefix :not (:first-child ),
352
+ [igxPrefix ]:not (:first-child ) {
353
+ border-inline-start : rem (1px ) solid var-get ($_theme , ' focused-border-color' );
354
+ }
347
355
}
348
356
349
357
@include e (bundle- end) {
350
358
border-color : var-get ($_theme , ' focused-border-color' );
351
- }
352
359
353
- .igx-input-group__clear-icon + igx-suffix ,
354
- .igx-input-group__clear-icon + [igxSuffix ] {
355
- // Add border between the clear button and the rest of the suffixes
356
- border-color : var-get ( $_theme , ' focused-border-color ' );
360
+ igx-suffix :not ( :last-child ) ,
361
+ [igxSuffix ]:not ( :last-child ) {
362
+ border-inline-end : rem ( 1 px ) solid var-get ( $_theme , ' focused-border-color ' );
363
+ }
357
364
}
358
365
}
359
366
@@ -364,16 +371,20 @@ $border-radius: var-get($_theme, 'border-border-radius');
364
371
365
372
@include e (bundle- start) {
366
373
border-color : var-get ($_theme , ' success-secondary-color' );
374
+
375
+ igx-prefix :not (:first-child ),
376
+ [igxPrefix ]:not (:first-child ) {
377
+ border-inline-start : rem (1px ) solid var-get ($_theme , ' success-secondary-color' );
378
+ }
367
379
}
368
380
369
381
@include e (bundle- end) {
370
382
border-color : var-get ($_theme , ' success-secondary-color' );
371
- }
372
383
373
- .igx-input-group__clear-icon + igx-suffix ,
374
- .igx-input-group__clear-icon + [igxSuffix ] {
375
- // Add border between the clear button and the rest of the suffixes
376
- border-color : var-get ( $_theme , ' success-secondary-color ' );
384
+ igx-suffix :not ( :last-child ) ,
385
+ [igxSuffix ]:not ( :last-child ) {
386
+ border-inline-end : rem ( 1 px ) solid var-get ( $_theme , ' success-secondary-color ' );
387
+ }
377
388
}
378
389
}
379
390
@@ -384,10 +395,20 @@ $border-radius: var-get($_theme, 'border-border-radius');
384
395
385
396
@include e (bundle- start) {
386
397
border-color : var-get ($_theme , ' error-secondary-color' );
398
+
399
+ igx-prefix :not (:first-child ),
400
+ [igxPrefix ]:not (:first-child ) {
401
+ border-inline-start : rem (1px ) solid var-get ($_theme , ' error-secondary-color' );
402
+ }
387
403
}
388
404
389
405
@include e (bundle- end) {
390
406
border-color : var-get ($_theme , ' error-secondary-color' );
407
+
408
+ igx-suffix :not (:last-child ),
409
+ [igxSuffix ]:not (:last-child ) {
410
+ border-inline-end : rem (1px ) solid var-get ($_theme , ' error-secondary-color' );
411
+ }
391
412
}
392
413
}
393
414
@@ -398,16 +419,20 @@ $border-radius: var-get($_theme, 'border-border-radius');
398
419
399
420
@include e (bundle- start) {
400
421
border-color : var-get ($_theme , ' warning-secondary-color' );
422
+
423
+ igx-prefix :not (:first-child ),
424
+ [igxPrefix ]:not (:first-child ) {
425
+ border-inline-start : rem (1px ) solid var-get ($_theme , ' warning-secondary-color' );
426
+ }
401
427
}
402
428
403
429
@include e (bundle- end) {
404
430
border-color : var-get ($_theme , ' warning-secondary-color' );
405
- }
406
431
407
- .igx-input-group__clear-icon + igx-suffix ,
408
- .igx-input-group__clear-icon + [igxSuffix ] {
409
- // Add border between the clear button and the rest of the suffixes
410
- border-color : var-get ( $_theme , ' warning-secondary-color ' );
432
+ igx-suffix :not ( :last-child ) ,
433
+ [igxSuffix ]:not ( :last-child ) {
434
+ border-inline-end : rem ( 1 px ) solid var-get ( $_theme , ' warning-secondary-color ' );
435
+ }
411
436
}
412
437
}
413
438
@@ -441,10 +466,20 @@ $border-radius: var-get($_theme, 'border-border-radius');
441
466
442
467
@include e (bundle- start) {
443
468
@extend %disabled-styles ;
469
+
470
+ igx-prefix :not (:first-child ),
471
+ [igxPrefix ]:not (:first-child ) {
472
+ border-inline-start : rem (1px ) solid var-get ($_theme , ' disabled-border-color' );
473
+ }
444
474
}
445
475
446
476
@include e (bundle- end) {
447
477
@extend %disabled-styles ;
478
+
479
+ igx-suffix :not (:last-child ),
480
+ [igxSuffix ]:not (:last-child ) {
481
+ border-inline-end : rem (1px ) solid var-get ($_theme , ' disabled-border-color' );
482
+ }
448
483
}
449
484
450
485
@include e (upload) {
0 commit comments