@eui/styles 16.2.1 → 17.0.0-next.2

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 (68) hide show
  1. package/dist/styles/eui-legacy-bootstrap-utilities.css +2 -0
  2. package/dist/styles/eui-legacy-bootstrap-utilities.css.map +1 -0
  3. package/dist/styles/eui-showcase-all.css +1 -6
  4. package/dist/styles/eui-showcase-all.css.map +1 -1
  5. package/dist/styles/eui-utilities.css +2 -0
  6. package/dist/styles/eui-utilities.css.map +1 -0
  7. package/dist/styles/eui.css +1 -3
  8. package/dist/styles/eui.css.map +1 -1
  9. package/package.json +2 -2
  10. package/src/styles/02-base/mixins/_module.scss +3 -2
  11. package/src/styles/04-vendors/{_module-bootstrap.scss → _module-bootstrap-grid.scss} +1 -1
  12. package/src/styles/04-vendors/_module-bootstrap-utilities.scss +7 -0
  13. package/src/styles/04-vendors/libs-overrides/bootstrap/_bootstrap-grid.scss +12 -0
  14. package/src/styles/04-vendors/libs-overrides/bootstrap/{_bootstrap-light.scss → _bootstrap-utilities.scss} +0 -2
  15. package/src/styles/05-material/_module.scss +1 -0
  16. package/src/styles/06-shared/_eui-input-maxlength.scss +2 -1
  17. package/src/styles/06-shared/_module.scss +1 -3
  18. package/src/styles/08-themes/_module-compact.scss +2 -0
  19. package/src/styles/{eui-legacy-utilities.scss → eui-legacy-bootstrap-utilities.scss} +2 -2
  20. package/src/styles/eui-showcase-all-dev.scss +6 -5
  21. package/src/styles/eui-showcase-all.scss +6 -5
  22. package/src/styles/{eui-legacy-bootstrap.scss → eui-utilities.scss} +1 -1
  23. package/src/styles/eui.scss +16 -13
  24. package/dist/styles/eui-extra-utilities.css +0 -2
  25. package/dist/styles/eui-extra-utilities.css.map +0 -1
  26. package/dist/styles/eui-legacy-bootstrap.css +0 -2
  27. package/dist/styles/eui-legacy-bootstrap.css.map +0 -1
  28. package/dist/styles/eui-legacy-icons-font.css +0 -2
  29. package/dist/styles/eui-legacy-icons-font.css.map +0 -1
  30. package/dist/styles/eui-legacy-utilities.css +0 -2
  31. package/dist/styles/eui-legacy-utilities.css.map +0 -1
  32. package/dist/styles/eui-legacy.css +0 -6
  33. package/dist/styles/eui-legacy.css.map +0 -1
  34. package/src/styles/03-assets/_module-legacy-icons-font.scss +0 -2
  35. package/src/styles/04-vendors/_module-legacy.scss +0 -3
  36. package/src/styles/04-vendors/libs/hint/_hint.scss +0 -651
  37. package/src/styles/04-vendors/libs-overrides/hint/_hint.scss +0 -134
  38. package/src/styles/07-elements/_module-legacy.scss +0 -7
  39. package/src/styles/07-elements/legacy/_form-compact.scss +0 -70
  40. package/src/styles/07-elements/legacy/_form.scss +0 -62
  41. package/src/styles/07-elements/legacy/_old-to-review/_inputs.scss +0 -300
  42. package/src/styles/07-elements/legacy/_ux-form-group.scss +0 -62
  43. package/src/styles/07-elements/legacy/_ux-input-group.scss +0 -56
  44. package/src/styles/07-elements/legacy/_ux-input-maxlength.scss +0 -25
  45. package/src/styles/07-elements/legacy/_ux-input-placeholder.scss +0 -56
  46. package/src/styles/99-utilities/_module-base.scss +0 -1
  47. package/src/styles/99-utilities/_module-extras.scss +0 -1
  48. package/src/styles/99-utilities/_module-legacy.scss +0 -17
  49. package/src/styles/99-utilities/legacy/_ux-u-border-states.scss +0 -31
  50. package/src/styles/99-utilities/legacy/_ux-u-colors.scss +0 -53
  51. package/src/styles/99-utilities/legacy/_ux-u-cursors.scss +0 -43
  52. package/src/styles/99-utilities/legacy/_ux-u-display.scss +0 -24
  53. package/src/styles/99-utilities/legacy/_ux-u-font-sizes.scss +0 -35
  54. package/src/styles/99-utilities/legacy/_ux-u-font-styles.scss +0 -29
  55. package/src/styles/99-utilities/legacy/_ux-u-opacity.scss +0 -11
  56. package/src/styles/99-utilities/legacy/_ux-u-overflow.scss +0 -11
  57. package/src/styles/99-utilities/legacy/_ux-u-paddings.scss +0 -15
  58. package/src/styles/99-utilities/legacy/_ux-u-position.scss +0 -11
  59. package/src/styles/99-utilities/legacy/_ux-u-shadows.scss +0 -37
  60. package/src/styles/99-utilities/legacy/_ux-u-spacing.scss +0 -49
  61. package/src/styles/99-utilities/legacy/_ux-u-states.scss +0 -44
  62. package/src/styles/99-utilities/legacy/_ux-u-text.scss +0 -30
  63. package/src/styles/99-utilities/legacy/_ux-u-visibility.scss +0 -7
  64. package/src/styles/99-utilities/legacy/_ux-u-width.scss +0 -127
  65. package/src/styles/99-utilities/legacy/_ux-u-z-indexes.scss +0 -58
  66. package/src/styles/eui-extra-utilities.scss +0 -7
  67. package/src/styles/eui-legacy-icons-font.scss +0 -7
  68. package/src/styles/eui-legacy.scss +0 -14
@@ -1,134 +0,0 @@
1
- [class*="hint--"] {
2
- // display: block;
3
- }
4
-
5
-
6
- [class*="hint--"]:hover {
7
- text-decoration: none !important;
8
- }
9
-
10
- .hint--top:before {
11
- transition-property: none }
12
- /**
13
- * Error
14
- */
15
- .hint--error:after {
16
- background-color: v(eui-base-color-danger-110);
17
- text-shadow: 0 -1px 0px v(eui-base-color-danger-120); }
18
-
19
- .hint--error.hint--top-left:before {
20
- border-top-color: v(eui-base-color-danger-110); }
21
-
22
- .hint--error.hint--top-right:before {
23
- border-top-color: v(eui-base-color-danger-110); }
24
-
25
- .hint--error.hint--top:before {
26
- border-top-color: v(eui-base-color-danger-110); }
27
-
28
- .hint--error.hint--bottom-left:before {
29
- border-bottom-color: v(eui-base-color-danger-110); }
30
-
31
- .hint--error.hint--bottom-right:before {
32
- border-bottom-color: v(eui-base-color-danger-110); }
33
-
34
- .hint--error.hint--bottom:before {
35
- border-bottom-color: v(eui-base-color-danger-110); }
36
-
37
- .hint--error.hint--left:before {
38
- border-left-color: v(eui-base-color-danger-110); }
39
-
40
- .hint--error.hint--right:before {
41
- border-right-color: v(eui-base-color-danger-110); }
42
-
43
- /**
44
- * Warning
45
- */
46
- .hint--warning:after {
47
- background-color: v(eui-base-color-warning-110);
48
- text-shadow: 0 -1px 0px v(eui-base-color-warning-120); }
49
-
50
- .hint--warning.hint--top-left:before {
51
- border-top-color: v(eui-base-color-warning-110); }
52
-
53
- .hint--warning.hint--top-right:before {
54
- border-top-color: v(eui-base-color-warning-110); }
55
-
56
- .hint--warning.hint--top:before {
57
- border-top-color: v(eui-base-color-warning-110); }
58
-
59
- .hint--warning.hint--bottom-left:before {
60
- border-bottom-color: v(eui-base-color-warning-110); }
61
-
62
- .hint--warning.hint--bottom-right:before {
63
- border-bottom-color: v(eui-base-color-warning-110); }
64
-
65
- .hint--warning.hint--bottom:before {
66
- border-bottom-color: v(eui-base-color-warning-110); }
67
-
68
- .hint--warning.hint--left:before {
69
- border-left-color: v(eui-base-color-warning-110); }
70
-
71
- .hint--warning.hint--right:before {
72
- border-right-color: v(eui-base-color-warning-110); }
73
-
74
- /**
75
- * Info
76
- */
77
- .hint--info:after {
78
- background-color: v(eui-base-color-info-110);
79
- text-shadow: 0 -1px 0px v(eui-base-color-info-120); }
80
-
81
- .hint--info.hint--top-left:before {
82
- border-top-color: v(eui-base-color-info-120); }
83
-
84
- .hint--info.hint--top-right:before {
85
- border-top-color: v(eui-base-color-info-120); }
86
-
87
- .hint--info.hint--top:before {
88
- border-top-color: v(eui-base-color-info-120); }
89
-
90
- .hint--info.hint--bottom-left:before {
91
- border-bottom-color: v(eui-base-color-info-120); }
92
-
93
- .hint--info.hint--bottom-right:before {
94
- border-bottom-color: v(eui-base-color-info-120); }
95
-
96
- .hint--info.hint--bottom:before {
97
- border-bottom-color: v(eui-base-color-info-120); }
98
-
99
- .hint--info.hint--left:before {
100
- border-left-color: v(eui-base-color-info-120); }
101
-
102
- .hint--info.hint--right:before {
103
- border-right-color: v(eui-base-color-info-120); }
104
-
105
- /**
106
- * Success
107
- */
108
- .hint--success:after {
109
- background-color: v(eui-base-color-success-110);
110
- text-shadow: 0 -1px 0px v(eui-base-color-success-120); }
111
-
112
- .hint--success.hint--top-left:before {
113
- border-top-color: v(eui-base-color-success-110); }
114
-
115
- .hint--success.hint--top-right:before {
116
- border-top-color: v(eui-base-color-success-110); }
117
-
118
- .hint--success.hint--top:before {
119
- border-top-color: v(eui-base-color-success-110); }
120
-
121
- .hint--success.hint--bottom-left:before {
122
- border-bottom-color: v(eui-base-color-success-110); }
123
-
124
- .hint--success.hint--bottom-right:before {
125
- border-bottom-color: v(eui-base-color-success-110); }
126
-
127
- .hint--success.hint--bottom:before {
128
- border-bottom-color: v(eui-base-color-success-110); }
129
-
130
- .hint--success.hint--left:before {
131
- border-left-color: v(eui-base-color-success-110); }
132
-
133
- .hint--success.hint--right:before {
134
- border-right-color: v(eui-base-color-success-110); }
@@ -1,7 +0,0 @@
1
- // TODO v15, spillover over ECL
2
- @import 'legacy/form';
3
- @import 'legacy/form-compact';
4
- @import 'legacy/ux-input-placeholder';
5
- @import 'legacy/ux-input-maxlength';
6
- @import 'legacy/ux-form-group';
7
- @import 'legacy/ux-input-group';
@@ -1,70 +0,0 @@
1
- // FORM COMPACT
2
- .form--compact {
3
- // Exposed vars
4
- --font-scale-factor: 1; // Use 0.875 for 14px
5
- --spacing-scale-factor: 0.96;
6
-
7
- // Font setup
8
- --font-size: calc(16px * var(--font-scale-factor));
9
- // Base font override
10
- --eui-base-font-size: #{var(--font-size)};
11
- --eui-base-font-size-m: #{var(--font-size)};
12
-
13
- // Spacings setup
14
- --spacing-2xs: calc(0.25rem * var(--spacing-scale-factor));
15
- --spacing-xs: calc(0.5rem * var(--spacing-scale-factor));
16
- --spacing-s: calc(0.75rem * var(--spacing-scale-factor));
17
- --spacing-m: calc(1rem * var(--spacing-scale-factor));
18
- --spacing-l: calc(1.5rem * var(--spacing-scale-factor));
19
- --spacing-xl: calc(2rem * var(--spacing-scale-factor));
20
- --spacing-2xl: calc(2.5rem * var(--spacing-scale-factor));
21
- --spacing-3xl: calc(3rem * var(--spacing-scale-factor));
22
- --spacing-4xl: calc(4rem * var(--spacing-scale-factor));
23
- // Base spacings overrides
24
- --eui-base-spacing-none: 0;
25
- --eui-base-spacing: #{var(--spacing-m)};
26
- --eui-base-spacing-2xs: #{var(--spacing-2xs)};
27
- --eui-base-spacing-xs: #{var(--spacing-xs)};
28
- --eui-base-spacing-s: #{var(--spacing-s)};
29
- --eui-base-spacing-m: #{var(--spacing-m)};
30
- --eui-base-spacing-l: #{var(--spacing-l)};
31
- --eui-base-spacing-xl: #{var(--spacing-xl)};
32
- --eui-base-spacing-2xl: #{var(--spacing-2xl)};
33
- --eui-base-spacing-3xl: #{var(--spacing-3xl)};
34
- --eui-base-spacing-4xl: #{var(--spacing-4xl)};
35
-
36
- .ux-form-group {
37
- // Horizontal layout
38
- input[type=checkbox].ux-input__checkbox + label,
39
- input[type=radio].ux-input__radio + label {
40
- margin-top: 0;
41
- }
42
-
43
- // Vertical layout
44
- &.ux-form-group--vertical {
45
- input[type=checkbox].ux-input__checkbox + label,
46
- input[type=radio].ux-input__radio + label {
47
- margin-bottom: v(eui-base-spacing-2xs);
48
- margin-top: v(eui-base-spacing-2xs) !important;
49
- }
50
-
51
- .ux-datepicker--read-only {
52
- margin-bottom: 0 !important;
53
- }
54
- }
55
-
56
- .ux-form-group--read-only {
57
- height: auto;
58
- padding: v(eui-base-spacing-2xs) v(eui-base-spacing-s) v(eui-base-spacing-2xs) 0 !important;
59
- }
60
-
61
- .ux-datepicker--read-only {
62
- height: auto;
63
- padding: v(eui-base-spacing-2xs) 0 !important;
64
- }
65
-
66
- label {
67
- margin-bottom: 0;
68
- }
69
- }
70
- }
@@ -1,62 +0,0 @@
1
- // FORMS
2
- .form--large-labels {
3
- .ux-form-group__label, // DEPRECATED
4
- .eui-form-group__label,
5
- label:not(.radio-label):not(.checkbox-label) {
6
- font-size: v(eui-base-font-size);
7
- @include eui-font-family-bold;
8
- }
9
- }
10
-
11
- .form--bold-labels {
12
- .ux-form-group__label, // DEPRECATED
13
- .eui-form-group__label,
14
- label:not(.radio-label):not(.checkbox-label) {
15
- @include eui-font-family-bold;
16
- }
17
- }
18
-
19
- // BS group
20
- .form-group {
21
- margin-bottom: v(eui-base-spacing-m);
22
- }
23
-
24
- // BS inline form elements
25
- .form-inline {
26
- align-items: center;
27
- display: flex;
28
- flex-flow: row wrap;
29
- }
30
- @media (min-width: 576px) {
31
- .form-inline .form-control {
32
- display: inline-block;
33
- width: auto;
34
- vertical-align: middle;
35
- }
36
-
37
- .form-inline .custom-select,
38
- .form-inline .input-group {
39
- width: auto;
40
- }
41
- }
42
-
43
- .form-inline label {
44
- margin-right: v(eui-base-spacing-s);
45
- }
46
-
47
- // BS feedback
48
- .form-text {
49
- display: block;
50
- margin-top: v(eui-base-spacing-xs);
51
- }
52
-
53
- .col-form-label {
54
- padding-top: v(eui-base-spacing-s);
55
- text-align: right;
56
- }
57
- @include media($eui-bkp-mobile) {
58
- .col-form-label {
59
- padding-top: 0;
60
- text-align: left;
61
- }
62
- }
@@ -1,300 +0,0 @@
1
- // COMMONS
2
- input.ux-form-control,
3
- select.ux-form-control,
4
- textarea.ux-form-control {
5
- border: 1px solid v(eui-base-color-grey-20);
6
- border-radius: v(eui-base-border-radius);
7
- color: v(eui-base-color-grey-100);
8
- font-size: v(eui-base-font-size);
9
- font-style: normal;
10
- font-weight: normal;
11
- height: calc(#{v(eui-base-spacing-2xl)} + 2px);
12
- padding: v(eui-base-spacing-xs) v(eui-base-spacing-s);
13
- transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
14
-
15
- &:focus {
16
- border: 1px solid v(eui-base-color-primary-75);
17
- box-shadow: v(eui-base-shadow-1);
18
- }
19
- }
20
-
21
- input::-ms-clear { /* Remove IE default X */
22
- display: none;
23
- }
24
-
25
- // See: 02-base-mixins/_eui-clearable-input
26
- .ux-clearable-input-wrapper {
27
- @include eui-clearable-input;
28
- }
29
-
30
- ////////////////////////////////////////////////////////////////////////////////
31
- // eUI/ECL STYLE
32
- ////////////////////////////////////////////////////////////////////////////////
33
- // stylelint-disable no-descending-specificity
34
- // stylelint-disable no-duplicate-selectors
35
-
36
- input[type="checkbox"].ux-input__checkbox,
37
- input[type="radio"].ux-input__radio {
38
- box-shadow: none;
39
- // clip: auto !important;
40
- height: 20px !important;
41
- opacity: 1 !important;
42
- top: 6px;
43
- width: 20px !important;
44
-
45
- // Label for readonly checkbox / radio
46
- &[readonly] {
47
- + label:hover {
48
- cursor: not-allowed;
49
- }
50
- }
51
-
52
- // Label for disabled checkbox / radio
53
- &:disabled {
54
- + label {
55
- color: v(eui-base-color-text);
56
- cursor: not-allowed;
57
- }
58
-
59
- + label::before,
60
- &:checked + label::before {
61
- background-color: transparent;
62
- opacity: 0.65;
63
- }
64
- }
65
-
66
- &:focus {
67
- ::before {
68
- background-color: v(eui-base-color-white);
69
- @include eui-accessible-focus-outline();
70
- box-shadow: v(eui-base-shadow-2);
71
- }
72
-
73
- + label::before {
74
- background-color: v(eui-base-color-white);
75
- @include eui-accessible-focus-outline();
76
- box-shadow: v(eui-base-shadow-2);
77
- }
78
- }
79
-
80
- &:hover + label::before {
81
- background-color: v(eui-base-color-white);
82
- }
83
-
84
- &:active + label::before {
85
- transition-duration: 0s;
86
- }
87
-
88
- + label {
89
- cursor: pointer;
90
- margin-right: v(eui-base-spacing-m);
91
- margin-top: v(eui-base-spacing-2xs);
92
- // padding-left: v(eui-base-spacing-xl);
93
- position: relative;
94
- user-select: none;
95
- vertical-align: middle;
96
-
97
- &::before {
98
- background-color: white;
99
- border: 2px solid v(eui-base-color-grey-15);
100
- color: v(eui-base-color-primary-100);
101
- content: '';
102
- left: 0;
103
- position: absolute;
104
- text-align: center;
105
- }
106
-
107
- &::after {
108
- background-color: transparent;
109
- border-color: v(eui-base-color-white);
110
- content: '';
111
- left: v(eui-base-spacing-2xs);
112
- margin-top: -2px;
113
- position: absolute;
114
- }
115
- }
116
- }
117
-
118
- // CHECKBOX
119
- input[type="checkbox"].ux-input__checkbox {
120
- + label::after {
121
- background-color: transparent;
122
- border-color: v(eui-base-color-white);
123
- content: ''; // Overrides default
124
-
125
- .eui-t-compact & {
126
- top: 3px;
127
- }
128
- }
129
- }
130
-
131
- input[type="checkbox"].ux-input__checkbox {
132
- + .checkbox-label-indeterminate {
133
- &::after {
134
- background: transparent;
135
- color: v(eui-base-color-white);
136
- content: '–' !important;
137
- left: 6px;
138
- top: -6px;
139
- }
140
- }
141
- }
142
-
143
- input[type="checkbox"].ux-input__checkbox:checked + label::before {
144
- background: v(eui-base-color-primary-100);
145
- }
146
-
147
- // Readonly state
148
- input[type="checkbox"].ux-input__checkbox[readonly] + label::before,
149
- input[type="checkbox"].ux-input__checkbox[readonly]:checked + label::before {
150
- background: v(eui-base-color-grey-20);
151
- }
152
-
153
- // RADIO
154
- input[type="radio"].ux-input__radio {
155
- + label {
156
- cursor: pointer;
157
-
158
- &::after {
159
- border-width: 0;
160
- left: 5px;
161
- margin-top: -1px;
162
-
163
- .eui-t-compact & {
164
- height: 9px !important;
165
- left: 4px !important;
166
- width: 9px !important;
167
- }
168
- }
169
- }
170
-
171
- &:checked {
172
- // With label
173
- + label::after {
174
- background: v(eui-base-color-primary-100);
175
- border-width: 0;
176
- left: 5px;
177
- margin-top: -1px;
178
- }
179
-
180
- + label::before {
181
- background: v(eui-base-color-primary-100);
182
- border: 2px solid v(eui-base-color-grey-25);
183
- box-shadow: inset 0 0 2px 3px v(eui-base-color-white);
184
- }
185
- }
186
-
187
- &:focus {
188
- &::before {
189
- border: 2px solid transparent;
190
- border-color: v(eui-base-color-accent-120);
191
- border-radius: 50%;
192
- outline: none;
193
- box-shadow: v(eui-base-shadow-2);
194
- }
195
-
196
- + label::before {
197
- border: 2px solid transparent;
198
- border-color: v(eui-base-color-accent-120);
199
- border-radius: 50%;
200
- box-shadow: inset 0 0 0 3px v(eui-base-color-white), 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
201
- outline: none;
202
- }
203
- }
204
- }
205
-
206
- input[type="radio"].ux-input__radio + label::before,
207
- input[type="radio"].ux-input__radio + label::after {
208
- border-radius: 50%;
209
- }
210
-
211
- // Readonly state
212
- input[type="radio"][readonly].ux-input__radio + label::before,
213
- input[type="radio"][readonly].ux-input__radio + label::after,
214
- input[type="radio"][readonly].ux-input__radio:checked + label::before,
215
- input[type="radio"][readonly].ux-input__radio:checked + label::after {
216
- background: v(eui-base-color-grey-10);
217
- box-shadow: none;
218
- cursor: not-allowed;
219
- outline: none;
220
- }
221
-
222
- // RADIO ReadOnly layout
223
- input[type="radio"].ux-input__radio[readonly] {
224
- + label {
225
- color: v(eui-base-color-grey-90);
226
- padding: 0;
227
- @include eui-font-family-bold;
228
-
229
- &::after,
230
- &::before {
231
- display: none;
232
- }
233
- }
234
- }
235
-
236
- // RADIO Disabled layout
237
- input[type="radio"].ux-input__radio:disabled {
238
- opacity: v(eui-base-disabled-opacity);
239
- pointer-events: none;
240
-
241
- // Unchecked
242
- + label {
243
- color: v(eui-base-color-grey-25);
244
- pointer-events: none;
245
-
246
- &::before {
247
- background: v(eui-base-color-grey-10);
248
- border: 2px solid v(eui-base-color-grey-25);
249
- box-shadow: none;
250
- }
251
- }
252
- // Checked
253
- &:checked {
254
- pointer-events: none;
255
-
256
- + label {
257
- color: v(eui-base-color-grey-25);
258
- pointer-events: none;
259
-
260
- &::after {
261
- background: v(eui-base-color-primary-10);
262
- }
263
-
264
- &::before {
265
- background-color: v(eui-base-color-primary-100);
266
- border: 2px solid v(eui-base-color-grey-25);
267
- box-shadow: inset 0 0 2px 3px v(eui-base-color-white);
268
- opacity: v(eui-base-disabled-opacity);
269
- }
270
- }
271
- }
272
- }
273
-
274
- // Label for readonly checkbox / radio
275
- input[type="checkbox"].ux-input__checkbox[readonly],
276
- input[type="radio"].ux-input__radio[readonly] {
277
- + label {
278
- cursor: default;
279
- }
280
- }
281
- @keyframes borderscale {
282
- 50% {
283
- box-shadow: 0 0 0 2px v(eui-base-color-primary-110);
284
- }
285
- }
286
-
287
- // Harmonized dropdown selector (same style & icon for all browsers)
288
- select.ux-form-control:not([readonly]) {
289
- -webkit-appearance: none; // Webkit
290
- -moz-appearance: none; // FF
291
- -ms-appearance: none; // Edge
292
- appearance: none; // Future
293
- background-color: v(eui-base-color-white);
294
- background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 4 5" fill="black" xmlns="http://www.w3.org/2000/svg" name="arrow-up-down" aria-label="Close menu" role="img"><path d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
295
- // background-image: url('data:image/svg+xml;utf8, <svg focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" name="chevron-down" aria-label="Close menu" role="img"><path d="M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"/></svg>');
296
- background-position: calc(100% - #{v(eui-base-spacing-s)}) center;
297
- background-repeat: no-repeat;
298
- background-size: v(eui-base-spacing-xs);
299
- padding-right: v(eui-base-spacing-xl); // reserve right padding space for icon/svg
300
- }
@@ -1,62 +0,0 @@
1
- .ux-form-group {
2
- &--primary,
3
- &--info,
4
- &--success,
5
- &--danger {
6
- .ux-input-group-text {
7
- color: v(eui-base-color-white) !important;
8
- }
9
- }
10
-
11
- &--secondary,
12
- &--warning,
13
- &--accent {
14
- .ux-input-group-text {
15
- color: v(eui-base-color-black) !important;
16
- }
17
- }
18
-
19
- &--read-only {
20
- // For textarea
21
- pre {
22
- color: v(eui-base-color-grey-100);
23
- font-family: v(eui-base-font-family);
24
- font-size: v(eui-base-font-size);
25
- margin: 0;
26
- white-space: pre-line;
27
- word-break: break-word;
28
- @include eui-font-family-bold();
29
- }
30
- }
31
-
32
- &__loading-indicator {
33
- position: absolute;
34
- right: 0;
35
- top: calc(#{v(eui-base-spacing-m)} + #{v(eui-base-spacing-2xs)} + 2px);
36
-
37
- &.ux-icon-spin {
38
- animation: none;
39
- }
40
- }
41
-
42
- &--compact {
43
- // Horizontal layout
44
- input[type=checkbox].ux-input__checkbox + label,
45
- input[type=radio].ux-input__radio + label {
46
- margin-top: v(eui-base-spacing-2xs);
47
- }
48
-
49
- // Vertical layout
50
- &.ux-form-group--vertical {
51
- input[type=checkbox].ux-input__checkbox + label,
52
- input[type=radio].ux-input__radio + label {
53
- margin-bottom: v(eui-base-spacing-2xs);
54
- margin-top: v(eui-base-spacing-2xs) !important;
55
- }
56
-
57
- .ux-datepicker--read-only {
58
- margin-bottom: 0 !important;
59
- }
60
- }
61
- }
62
- }
@@ -1,56 +0,0 @@
1
- // APPEND & PREPEND
2
- .ux-input-group {
3
- align-items: stretch;
4
- display: flex;
5
- flex-wrap: nowrap; // for append & prepend options it must be nowrap
6
- position: relative;
7
- width: 100%;
8
-
9
- .ux-input-group-text {
10
- align-items: center;
11
- background-color: v(eui-base-color-grey-5);
12
- border: 1px solid v(eui-base-color-grey-20);
13
- border-radius: v(eui-base-border-radius);
14
- color: v(eui-base-color-grey-100);
15
- display: flex;
16
- font-size: v(eui-base-font-size);
17
- font-weight: 400;
18
- justify-content: center;
19
- line-height: v(eui-base-line-height);
20
- margin-bottom: 0;
21
- min-width: v(eui-base-spacing-2xl);
22
- padding: v(eui-base-spacing-2xs);
23
- text-align: center;
24
- white-space: nowrap;
25
- }
26
-
27
- .ux-input-group-prepend {
28
- display: flex;
29
- margin-right: -1px;
30
-
31
- .ux-input-group-text {
32
- border-bottom-right-radius: 0;
33
- border-top-right-radius: 0;
34
- }
35
- }
36
-
37
- .ux-input-group-append {
38
- display: flex;
39
- margin-left: -1px;
40
-
41
- .ux-input-group-text {
42
- border-bottom-left-radius: 0;
43
- border-top-left-radius: 0;
44
- }
45
- }
46
-
47
- .ux-form-control:not(:first-child) {
48
- border-bottom-left-radius: 0;
49
- border-top-left-radius: 0;
50
- }
51
-
52
- .ux-form-control:not(:last-child) {
53
- border-bottom-right-radius: 0;
54
- border-top-right-radius: 0;
55
- }
56
- }