@clayui/css 3.40.1 → 3.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/lib/css/atlas.css +1369 -1347
  2. package/lib/css/atlas.css.map +1 -1
  3. package/lib/css/base.css +1196 -1146
  4. package/lib/css/base.css.map +1 -1
  5. package/lib/css/bootstrap.css.map +1 -1
  6. package/lib/css/cadmin.css +1104 -1097
  7. package/lib/css/cadmin.css.map +1 -1
  8. package/lib/images/icons/date-time.svg +12 -0
  9. package/lib/images/icons/filter.svg +1 -1
  10. package/lib/images/icons/icons.svg +1 -1
  11. package/package.json +2 -2
  12. package/src/images/icons/date-time.svg +12 -0
  13. package/src/images/icons/filter.svg +1 -1
  14. package/src/scss/_mixins.scss +2 -0
  15. package/src/scss/atlas/variables/_application-bar.scss +32 -12
  16. package/src/scss/atlas/variables/_buttons.scss +2 -31
  17. package/src/scss/atlas/variables/_forms.scss +33 -1
  18. package/src/scss/atlas/variables/_globals.scss +13 -0
  19. package/src/scss/atlas/variables/_management-bar.scss +53 -21
  20. package/src/scss/atlas/variables/_navigation-bar.scss +104 -18
  21. package/src/scss/atlas/variables/_navs.scss +20 -15
  22. package/src/scss/atlas/variables/_pagination.scss +2 -0
  23. package/src/scss/atlas/variables/_sidebar.scss +1 -1
  24. package/src/scss/cadmin/components/_dropdowns.scss +4 -0
  25. package/src/scss/cadmin/components/_form-validation.scss +10 -237
  26. package/src/scss/cadmin/components/_input-groups.scss +12 -312
  27. package/src/scss/cadmin/components/_navs.scss +35 -113
  28. package/src/scss/cadmin/components/_pagination.scss +20 -236
  29. package/src/scss/cadmin/components/_popovers.scss +31 -252
  30. package/src/scss/cadmin/components/_reboot.scss +1 -8
  31. package/src/scss/cadmin/components/_toggle-switch.scss +20 -358
  32. package/src/scss/cadmin/components/_tooltip.scss +29 -167
  33. package/src/scss/cadmin/components/_utilities-functional-important.scss +4 -3
  34. package/src/scss/cadmin/variables/_alerts.scss +3 -2
  35. package/src/scss/cadmin/variables/_dropdowns.scss +31 -2
  36. package/src/scss/cadmin/variables/_forms.scss +719 -7
  37. package/src/scss/cadmin/variables/_globals.scss +14 -0
  38. package/src/scss/cadmin/variables/_management-bar.scss +70 -30
  39. package/src/scss/cadmin/variables/_navigation-bar.scss +118 -22
  40. package/src/scss/cadmin/variables/_navs.scss +270 -53
  41. package/src/scss/cadmin/variables/_pagination.scss +274 -68
  42. package/src/scss/cadmin/variables/_popovers.scss +410 -0
  43. package/src/scss/cadmin/variables/_sidebar.scss +17 -5
  44. package/src/scss/cadmin/variables/_toggle-switch.scss +404 -1
  45. package/src/scss/cadmin/variables/_tooltip.scss +299 -0
  46. package/src/scss/components/_button-groups.scss +6 -6
  47. package/src/scss/components/_buttons.scss +87 -49
  48. package/src/scss/components/_cards.scss +16 -116
  49. package/src/scss/components/_dropdowns.scss +4 -0
  50. package/src/scss/components/_form-validation.scss +8 -237
  51. package/src/scss/components/_input-groups.scss +12 -308
  52. package/src/scss/components/_multi-step-nav.scss +12 -8
  53. package/src/scss/components/_navs.scss +45 -128
  54. package/src/scss/components/_pagination.scss +18 -234
  55. package/src/scss/components/_popovers.scss +30 -237
  56. package/src/scss/components/_reboot.scss +1 -8
  57. package/src/scss/components/_toggle-switch.scss +36 -351
  58. package/src/scss/components/_tooltip.scss +29 -164
  59. package/src/scss/functions/_global-functions.scss +18 -0
  60. package/src/scss/functions/_lx-icons-generated.scss +3 -1
  61. package/src/scss/mixins/_buttons.scss +674 -472
  62. package/src/scss/mixins/_cards.scss +746 -560
  63. package/src/scss/mixins/_close.scss +0 -1
  64. package/src/scss/mixins/_custom-forms.scss +442 -409
  65. package/src/scss/mixins/_dropdown-menu.scss +483 -406
  66. package/src/scss/mixins/_forms.scss +751 -260
  67. package/src/scss/mixins/_globals.scss +7 -0
  68. package/src/scss/mixins/_input-groups.scss +405 -11
  69. package/src/scss/mixins/_labels.scss +320 -296
  70. package/src/scss/mixins/_links.scss +645 -414
  71. package/src/scss/mixins/_nav.scss +202 -131
  72. package/src/scss/mixins/_navbar.scss +791 -140
  73. package/src/scss/mixins/_pagination.scss +422 -0
  74. package/src/scss/mixins/_popovers.scss +90 -0
  75. package/src/scss/mixins/_toggle-switch.scss +1140 -14
  76. package/src/scss/mixins/_tooltip.scss +70 -0
  77. package/src/scss/variables/_alerts.scss +1 -0
  78. package/src/scss/variables/_application-bar.scss +18 -6
  79. package/src/scss/variables/_buttons.scss +26 -3
  80. package/src/scss/variables/_cards.scss +273 -1
  81. package/src/scss/variables/_dropdowns.scss +31 -2
  82. package/src/scss/variables/_forms.scss +700 -23
  83. package/src/scss/variables/_globals.scss +13 -0
  84. package/src/scss/variables/_management-bar.scss +45 -12
  85. package/src/scss/variables/_navigation-bar.scss +95 -14
  86. package/src/scss/variables/_navs.scss +266 -33
  87. package/src/scss/variables/_pagination.scss +261 -61
  88. package/src/scss/variables/_popovers.scss +392 -0
  89. package/src/scss/variables/_sidebar.scss +17 -5
  90. package/src/scss/variables/_toggle-switch.scss +404 -5
  91. package/src/scss/variables/_tooltip.scss +299 -0
@@ -106,8 +106,8 @@
106
106
  // Makes .btn narrower
107
107
 
108
108
  .dropdown-toggle-split {
109
- padding-left: $btn-padding-x * 0.75;
110
- padding-right: $btn-padding-x * 0.75;
109
+ padding-left: calc(#{$btn-padding-x} * 0.75);
110
+ padding-right: calc(#{$btn-padding-x} * 0.75);
111
111
 
112
112
  @if ($enable-caret) {
113
113
  &::after,
@@ -123,13 +123,13 @@
123
123
  }
124
124
 
125
125
  .btn-sm + .dropdown-toggle-split {
126
- padding-right: $btn-padding-x-sm * 0.75;
127
- padding-left: $btn-padding-x-sm * 0.75;
126
+ padding-right: calc(#{$btn-padding-x-sm} * 0.75);
127
+ padding-left: calc(#{$btn-padding-x-sm} * 0.75);
128
128
  }
129
129
 
130
130
  .btn-lg + .dropdown-toggle-split {
131
- padding-right: $btn-padding-x-lg * 0.75;
132
- padding-left: $btn-padding-x-lg * 0.75;
131
+ padding-right: calc(#{$btn-padding-x-lg} * 0.75);
132
+ padding-left: calc(#{$btn-padding-x-lg} * 0.75);
133
133
  }
134
134
 
135
135
  // Button Group Vertical
@@ -18,20 +18,26 @@ fieldset:disabled a.btn {
18
18
 
19
19
  // Button Sizes
20
20
 
21
- %clay-btn-lg {
22
- @include clay-button-variant($btn-lg);
23
- }
24
-
25
- .btn-lg {
26
- @extend %clay-btn-lg !optional;
27
- }
28
-
29
- %clay-btn-sm {
30
- @include clay-button-variant($btn-sm);
31
- }
21
+ @each $size, $value in $btn-sizes {
22
+ $placeholder: if(
23
+ starts-with($size, 'btn-'),
24
+ '%clay-#{$size}',
25
+ '%#{str-slice($size, 2)}'
26
+ );
27
+
28
+ $selector: if(
29
+ starts-with($size, 'btn-'),
30
+ clay-str-replace($size, 'btn-', '.btn-'),
31
+ $size
32
+ );
33
+
34
+ #{$placeholder} {
35
+ @include clay-button-variant($value);
36
+ }
32
37
 
33
- .btn-sm {
34
- @extend %clay-btn-sm !optional;
38
+ #{$selector} {
39
+ @extend #{$placeholder} !optional;
40
+ }
35
41
  }
36
42
 
37
43
  // Button Block
@@ -67,65 +73,97 @@ input[type='button'] {
67
73
 
68
74
  // Button Monospaced
69
75
 
70
- .btn-monospaced {
71
- @include clay-button-variant($btn-monospaced);
72
-
73
- &.btn .lexicon-icon {
74
- margin-top: 0;
76
+ @each $size, $value in $btn-monospaced-sizes {
77
+ $placeholder: if(
78
+ starts-with($size, 'btn-monospaced'),
79
+ '%clay-#{$size}',
80
+ '%#{str-slice($size, 2)}'
81
+ );
82
+
83
+ $selector: if(
84
+ starts-with($size, 'btn-monospaced-'),
85
+ clay-str-replace($size, 'btn-monospaced', '.btn-monospaced.btn'),
86
+ if(
87
+ $size == 'btn-monospaced',
88
+ clay-str-replace($size, 'btn-monospaced', '.btn-monospaced'),
89
+ $size
90
+ )
91
+ );
92
+
93
+ #{$placeholder} {
94
+ @include clay-button-variant($value);
75
95
  }
76
- }
77
96
 
78
- %clay-btn-monospaced-lg {
79
- @include clay-button-variant($btn-monospaced-lg);
80
- }
81
-
82
- .btn-monospaced.btn-lg {
83
- @extend %clay-btn-monospaced-lg !optional;
84
- }
85
-
86
- %clay-btn-monospaced-sm {
87
- @include clay-button-variant($btn-monospaced-sm);
88
- }
89
-
90
- .btn-monospaced.btn-sm {
91
- @extend %clay-btn-monospaced-sm !optional;
97
+ #{$selector} {
98
+ @extend #{$placeholder} !optional;
99
+ }
92
100
  }
93
101
 
94
102
  // Button Variants
95
103
 
96
104
  @each $color, $value in $btn-palette {
97
- %btn-#{$color} {
105
+ $placeholder: if(
106
+ starts-with($color, '.') or starts-with($color, '#'),
107
+ '%#{str-slice($color, 2)}',
108
+ '%btn-#{$color}'
109
+ );
110
+
111
+ $placeholder-focus: if(
112
+ starts-with($color, '.') or starts-with($color, '#'),
113
+ '%#{str-slice($color, 2)}-focus',
114
+ '%btn-#{$color}-focus'
115
+ );
116
+
117
+ $selector: if(
118
+ starts-with($color, '.') or starts-with($color, '#'),
119
+ $color,
120
+ str-insert($color, '.btn-', 1)
121
+ );
122
+
123
+ #{$placeholder} {
98
124
  @include clay-button-variant($value);
99
125
  }
100
126
 
101
- .btn-#{$color} {
102
- @extend %btn-#{$color} !optional;
127
+ #{$selector} {
128
+ @extend #{$placeholder} !optional;
103
129
  }
104
130
 
105
- %btn-#{$color}-focus {
106
- background-color: map-get($value, focus-bg);
107
- border-color: map-get($value, focus-border-color);
108
- box-shadow: map-get($value, focus-box-shadow);
109
- color: map-get($value, focus-color);
131
+ #{$placeholder-focus} {
132
+ @include clay-button-variant(map-get($value, focus));
110
133
  }
111
134
  }
112
135
 
113
136
  // Button Outline Variants
114
137
 
115
138
  @each $color, $value in $btn-outline-palette {
116
- %btn-outline-#{$color} {
139
+ $placeholder: if(
140
+ starts-with($color, '.') or starts-with($color, '#'),
141
+ '%#{str-slice($color, 2)}',
142
+ '%btn-outline-#{$color}'
143
+ );
144
+
145
+ $placeholder-focus: if(
146
+ starts-with($color, '.') or starts-with($color, '#'),
147
+ '%#{str-slice($color, 2)}-focus',
148
+ '%btn-outline-#{$color}-focus'
149
+ );
150
+
151
+ $selector: if(
152
+ starts-with($color, '.') or starts-with($color, '#'),
153
+ $color,
154
+ str-insert($color, '.btn-outline-', 1)
155
+ );
156
+
157
+ #{$placeholder} {
117
158
  @include clay-button-variant($value);
118
159
  }
119
160
 
120
- .btn-outline-#{$color} {
121
- @extend %btn-outline-#{$color} !optional;
161
+ #{$selector} {
162
+ @extend #{$placeholder} !optional;
122
163
  }
123
164
 
124
- %btn-outline-#{$color}-focus {
125
- background-color: map-get($value, focus-bg);
126
- border-color: map-get($value, focus-border-color);
127
- box-shadow: map-get($value, focus-box-shadow);
128
- color: map-get($value, focus-color);
165
+ #{$placeholder-focus} {
166
+ @include clay-button-variant(map-get($value, focus));
129
167
  }
130
168
  }
131
169
 
@@ -567,75 +567,18 @@
567
567
  // Checkbox and Radio Cards
568
568
 
569
569
  .form-check-card {
570
- margin-bottom: $card-margin-bottom;
571
- margin-top: 0;
572
- padding-left: 0;
573
-
574
- .card {
575
- margin-bottom: 0;
576
- }
577
-
578
- .custom-control {
579
- display: inline;
580
- margin-right: 0;
581
- position: static;
582
-
583
- > label {
584
- font-weight: $font-weight-normal;
585
- padding-left: 0;
586
- }
587
- }
588
-
589
- .custom-control-input {
590
- z-index: 2;
591
- }
570
+ @include clay-form-check-card-variant($form-check-card);
592
571
 
593
- .custom-control-label {
594
- position: absolute;
595
- z-index: 1;
596
-
597
- &::before,
598
- &::after {
599
- top: 0;
600
- }
601
- }
602
-
603
- .form-check-input {
604
- margin-left: 0;
605
- margin-top: 0;
606
- position: absolute;
607
- z-index: 1;
608
- }
609
-
610
- .form-check-label {
611
- color: $body-color;
612
- display: inline;
613
- font-weight: $font-weight-normal;
614
- padding-left: 0;
615
- position: static;
616
- }
617
-
618
- &.active .card,
619
- .custom-control-input:checked ~ .card,
620
572
  .form-check-input:checked ~ .card {
621
- box-shadow: $form-check-card-checked-box-shadow;
622
- }
623
- }
624
-
625
- .form-check-card {
626
- &:hover {
627
- .card {
628
- box-shadow: $form-check-card-checked-box-shadow;
629
- }
630
- }
631
- }
632
-
633
- .custom-control-input,
634
- .form-check-input {
635
- &:hover {
636
- ~ .card {
637
- box-shadow: $form-check-card-checked-box-shadow;
638
- }
573
+ @include clay-card-variant(
574
+ map-deep-get(
575
+ $form-check-card,
576
+ custom-control,
577
+ custom-control-input,
578
+ checked,
579
+ card
580
+ )
581
+ );
639
582
  }
640
583
  }
641
584
 
@@ -660,70 +603,27 @@
660
603
  }
661
604
 
662
605
  .form-check-bottom-left {
663
- .custom-control-input,
664
- .custom-control-label,
665
- .form-check-input {
666
- bottom: $checkbox-position;
667
- left: $checkbox-position;
668
- top: auto;
669
- transform: none;
670
- }
606
+ @include clay-form-check-card-variant($form-check-bottom-left);
671
607
  }
672
608
 
673
609
  .form-check-bottom-right {
674
- .custom-control-input,
675
- .custom-control-label,
676
- .form-check-input {
677
- bottom: $checkbox-position;
678
- left: auto;
679
- right: $checkbox-position;
680
- top: auto;
681
- transform: none;
682
- }
610
+ @include clay-form-check-card-variant($form-check-bottom-right);
683
611
  }
684
612
 
685
613
  .form-check-middle-left {
686
- .custom-control-input,
687
- .custom-control-label,
688
- .form-check-input {
689
- left: $checkbox-position;
690
- margin-top: 0;
691
- top: 50%;
692
- transform: translateY(-50%);
693
- }
614
+ @include clay-form-check-card-variant($form-check-middle-left);
694
615
  }
695
616
 
696
617
  .form-check-middle-right {
697
- .custom-control-input,
698
- .custom-control-label,
699
- .form-check-input {
700
- left: auto;
701
- margin-top: 0;
702
- right: $checkbox-position;
703
- top: 50%;
704
- transform: translateY(-50%);
705
- }
618
+ @include clay-form-check-card-variant($form-check-middle-right);
706
619
  }
707
620
 
708
621
  .form-check-top-left {
709
- .custom-control-input,
710
- .custom-control-label,
711
- .form-check-input {
712
- left: $checkbox-position;
713
- top: $checkbox-position;
714
- transform: none;
715
- }
622
+ @include clay-form-check-card-variant($form-check-top-left);
716
623
  }
717
624
 
718
625
  .form-check-top-right {
719
- .custom-control-input,
720
- .custom-control-label,
721
- .form-check-input {
722
- left: auto;
723
- right: $checkbox-position;
724
- top: $checkbox-position;
725
- transform: none;
726
- }
626
+ @include clay-form-check-card-variant($form-check-top-right);
727
627
  }
728
628
 
729
629
  // Card Page
@@ -424,6 +424,10 @@
424
424
 
425
425
  // Dropdown Menu Width
426
426
 
427
+ .dropdown-menu-width-shrink {
428
+ @include clay-dropdown-menu-variant($dropdown-menu-width-shrink);
429
+ }
430
+
427
431
  .dropdown-menu-width-full {
428
432
  @include clay-css($dropdown-menu-width-full);
429
433
  }
@@ -25,33 +25,23 @@
25
25
  // Form Feedback
26
26
 
27
27
  .form-feedback-group {
28
- width: 100%;
29
- word-wrap: break-word;
28
+ @include clay-css($form-feedback-group);
30
29
  }
31
30
 
32
31
  .form-feedback-item {
33
- font-size: $form-feedback-font-size;
34
- font-weight: $form-feedback-font-weight;
35
- margin-top: $form-feedback-margin-top;
36
- word-wrap: break-word;
32
+ @include clay-css($form-feedback-item);
37
33
  }
38
34
 
39
35
  .form-feedback-indicator {
40
- margin-left: $form-feedback-indicator-margin-x;
41
- margin-right: $form-feedback-indicator-margin-x;
36
+ @include clay-css($form-feedback-indicator);
42
37
 
43
38
  &:first-child {
44
- margin-left: 0;
39
+ @include clay-css(map-get($form-feedback-indicator, first-child));
45
40
  }
46
41
  }
47
42
 
48
43
  .form-text {
49
- color: $form-text-color;
50
- display: block;
51
- font-size: $form-text-font-size;
52
- font-weight: $form-text-font-weight;
53
- margin-top: $form-text-margin-top;
54
- word-wrap: break-word;
44
+ @include clay-css($form-text);
55
45
  }
56
46
 
57
47
  @if ($enable-bs4-deprecated) {
@@ -89,232 +79,13 @@
89
79
  // Non HTML5 Form Validator
90
80
 
91
81
  .has-error {
92
- label {
93
- color: $input-danger-label-color;
94
- }
95
-
96
- .custom-control-label,
97
- .form-check-label {
98
- color: $input-danger-checkbox-label-color;
99
- }
100
-
101
- .form-control {
102
- @include clay-form-control-variant($input-danger);
103
- }
104
-
105
- .form-control[readonly] {
106
- @include clay-form-control-variant($input-danger-readonly);
107
- }
108
-
109
- .form-feedback-item {
110
- color: $form-feedback-invalid-color;
111
- }
112
-
113
- select.form-control {
114
- @include clay-select-variant($input-danger-select);
115
-
116
- &[size] {
117
- @include clay-select-variant($input-danger-select-size);
118
- }
119
-
120
- &[multiple] {
121
- @include clay-select-variant($input-danger-select-multiple);
122
- }
123
- }
124
-
125
- .input-group-item {
126
- &.focus {
127
- box-shadow: setter(
128
- $input-danger-focus-box-shadow,
129
- $input-danger-box-shadow
130
- );
131
-
132
- .form-control,
133
- .input-group-inset-item {
134
- background-color: setter(
135
- $input-danger-focus-bg,
136
- $input-danger-bg
137
- );
138
- border-color: setter(
139
- $input-danger-focus-border-color,
140
- $input-danger-border-color
141
- );
142
- }
143
- }
144
-
145
- .input-group-inset:focus {
146
- box-shadow: none;
147
-
148
- ~ .input-group-inset-item {
149
- background-color: setter(
150
- $input-danger-focus-bg,
151
- $input-danger-bg
152
- );
153
- border-color: setter(
154
- $input-danger-focus-border-color,
155
- $input-danger-border-color
156
- );
157
- }
158
- }
159
- }
160
-
161
- .input-group .input-group-inset-item {
162
- background-color: $input-danger-bg;
163
- border-color: $input-danger-border-color;
164
- box-shadow: $input-danger-box-shadow;
165
- }
82
+ @include clay-form-validation-variant($has-error);
166
83
  }
167
84
 
168
85
  .has-warning {
169
- label {
170
- color: $input-warning-label-color;
171
- }
172
-
173
- .custom-control-label,
174
- .form-check-label {
175
- color: $input-warning-checkbox-label-color;
176
- }
177
-
178
- .form-control {
179
- @include clay-form-control-variant($input-warning);
180
- }
181
-
182
- .form-control[readonly] {
183
- @include clay-form-control-variant($input-warning-readonly);
184
- }
185
-
186
- .form-feedback-item {
187
- color: $form-feedback-warning-color;
188
- }
189
-
190
- select.form-control {
191
- @include clay-select-variant($input-warning-select);
192
-
193
- &[size] {
194
- @include clay-select-variant($input-warning-select-size);
195
- }
196
-
197
- &[multiple] {
198
- @include clay-select-variant($input-warning-select-multiple);
199
- }
200
- }
201
-
202
- .input-group-item {
203
- &.focus {
204
- box-shadow: setter(
205
- $input-warning-focus-box-shadow,
206
- $input-warning-box-shadow
207
- );
208
-
209
- .form-control,
210
- .input-group-inset-item {
211
- background-color: setter(
212
- $input-warning-focus-bg,
213
- $input-warning-bg
214
- );
215
- border-color: setter(
216
- $input-warning-focus-border-color,
217
- $input-warning-border-color
218
- );
219
- }
220
- }
221
-
222
- .input-group-inset:focus {
223
- box-shadow: none;
224
-
225
- ~ .input-group-inset-item {
226
- background-color: setter(
227
- $input-warning-focus-bg,
228
- $input-warning-bg
229
- );
230
- border-color: setter(
231
- $input-warning-focus-border-color,
232
- $input-warning-border-color
233
- );
234
- }
235
- }
236
- }
237
-
238
- .input-group .input-group-inset-item {
239
- background-color: $input-warning-bg;
240
- border-color: $input-warning-border-color;
241
- box-shadow: $input-warning-box-shadow;
242
- }
86
+ @include clay-form-validation-variant($has-warning);
243
87
  }
244
88
 
245
89
  .has-success {
246
- label {
247
- color: $input-success-label-color;
248
- }
249
-
250
- .custom-control-label,
251
- .form-check-label {
252
- color: $input-success-checkbox-label-color;
253
- }
254
-
255
- .form-control {
256
- @include clay-form-control-variant($input-success);
257
- }
258
-
259
- .form-control[readonly] {
260
- @include clay-form-control-variant($input-success-readonly);
261
- }
262
-
263
- .form-feedback-item {
264
- color: $form-feedback-valid-color;
265
- }
266
-
267
- select.form-control {
268
- @include clay-select-variant($input-success-select);
269
-
270
- &[size] {
271
- @include clay-select-variant($input-success-select-size);
272
- }
273
-
274
- &[multiple] {
275
- @include clay-select-variant($input-success-select-multiple);
276
- }
277
- }
278
-
279
- .input-group-item {
280
- &.focus {
281
- box-shadow: setter(
282
- $input-success-focus-box-shadow,
283
- $input-success-box-shadow
284
- );
285
-
286
- .form-control,
287
- .input-group-inset-item {
288
- background-color: setter(
289
- $input-success-focus-bg,
290
- $input-success-bg
291
- );
292
- border-color: setter(
293
- $input-success-focus-border-color,
294
- $input-success-border-color
295
- );
296
- }
297
- }
298
-
299
- .input-group-inset:focus {
300
- box-shadow: none;
301
-
302
- ~ .input-group-inset-item {
303
- background-color: setter(
304
- $input-success-focus-bg,
305
- $input-success-bg
306
- );
307
- border-color: setter(
308
- $input-success-focus-border-color,
309
- $input-success-border-color
310
- );
311
- }
312
- }
313
- }
314
-
315
- .input-group .input-group-inset-item {
316
- background-color: $input-success-bg;
317
- border-color: $input-success-border-color;
318
- box-shadow: $input-success-box-shadow;
319
- }
90
+ @include clay-form-validation-variant($has-success);
320
91
  }