@acorex/styles 6.5.81 → 6.5.82

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 (2) hide show
  1. package/package.json +1 -1
  2. package/scss/forms.scss +485 -480
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "6.5.81",
3
+ "version": "6.5.82",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/forms.scss CHANGED
@@ -1,518 +1,523 @@
1
- @import "./mixin.scss";
1
+ @import './mixin.scss';
2
2
  .ax {
3
- font-size: 0.875rem;
4
- &.form-control {
5
- &.disabled {
6
- background: var(--ax-gray-light-color) !important;
7
- .chips-container {
8
- background-color: var(--ax-gray-light-color-color);
9
- }
10
- }
3
+ font-size: 0.875rem;
4
+ &.form-control {
5
+ &.disabled {
6
+ background: var(--ax-gray-light-color) !important;
7
+ .chips-container {
8
+ background-color: var(--ax-gray-light-color-color);
9
+ }
11
10
  }
12
- &.items-wrapper {
13
- display: inline-flex;
14
- flex-direction: row;
15
- .form-item-icon {
16
- // position: absolute;
17
- height: 100%;
18
- // top: 0;
19
- // inset-inline-start: 0;
20
- display: flex;
21
- justify-content: center;
22
- align-items: center;
23
- width: 2.75em;
24
- color: var(--ax-gray-dark-color);
25
- background-color: var(--ax-white-color);
11
+ }
12
+ &.items-wrapper {
13
+ display: inline-flex;
14
+ flex-direction: row;
15
+ .form-item-icon {
16
+ // position: absolute;
17
+ height: 100%;
18
+ // top: 0;
19
+ // inset-inline-start: 0;
20
+ display: flex;
21
+ justify-content: center;
22
+ align-items: center;
23
+ width: 2.75em;
24
+ color: var(--ax-gray-dark-color);
25
+ background-color: var(--ax-white-color);
26
+ }
27
+ .button {
28
+ margin: 0 !important;
29
+ border-radius: 0 !important;
30
+ height: 100% !important;
31
+ border: none !important;
32
+ min-width: 40px;
33
+ }
34
+ .arrow-number {
35
+ display: flex;
36
+ flex-direction: column;
37
+ justify-content: space-between;
38
+ position: relative;
39
+ width: calc(var(--ax-base-size) * var(--ax-base-ratio));
40
+ height: 100%;
41
+ ax-button {
42
+ button {
43
+ height: 50% !important;
44
+ position: absolute;
26
45
  }
27
- .button {
28
- margin: 0 !important;
29
- border-radius: 0 !important;
30
- height: 100% !important;
31
- border: none !important;
32
- min-width: 40px;
46
+ &:first-child {
47
+ button {
48
+ top: 0;
49
+ }
33
50
  }
34
- .arrow-number {
35
- display: flex;
36
- flex-direction: column;
37
- justify-content: space-between;
38
- position: relative;
39
- width: calc(var(--ax-base-size) * var(--ax-base-ratio));
40
- height: 100%;
41
- ax-button {
42
- button {
43
- height: 50% !important;
44
- position: absolute;
45
- }
46
- &:first-child {
47
- button {
48
- top: 0;
49
- }
50
- }
51
- &:last-child {
52
- button {
53
- bottom: 0;
54
- }
55
- }
56
- }
51
+ &:last-child {
52
+ button {
53
+ bottom: 0;
54
+ }
57
55
  }
56
+ }
58
57
  }
59
- .currency {
60
- display: flex;
61
- align-items: center;
62
- padding: 0px 10px 0px 10px;
63
- background-color: var(--ax-primary-color);
64
- color: white;
58
+ }
59
+ .currency {
60
+ display: flex;
61
+ align-items: center;
62
+ padding: 0px 10px 0px 10px;
63
+ background-color: var(--ax-primary-color);
64
+ color: white;
65
+ }
66
+ &.error-state {
67
+ border-color: var(--ax-danger-color) !important;
68
+ & > input {
69
+ &::-webkit-input-placeholder {
70
+ color: var(--ax-danger-color) !important;
71
+ }
72
+ &:-ms-input-placeholder {
73
+ color: var(--ax-danger-color) !important;
74
+ }
75
+ &::placeholder {
76
+ color: var(--ax-danger-color) !important;
77
+ }
65
78
  }
66
- &.error-state {
67
- border-color: var(--ax-danger-color) !important;
68
- & > input {
69
- &::-webkit-input-placeholder {
70
- color: var(--ax-danger-color) !important;
71
- }
72
- &:-ms-input-placeholder {
73
- color: var(--ax-danger-color) !important;
74
- }
75
- &::placeholder {
76
- color: var(--ax-danger-color) !important;
77
- }
78
- }
79
+ }
80
+ &.error-text {
81
+ color: var(--ax-danger-color) !important;
82
+ }
83
+ &.input {
84
+ position: relative;
85
+ display: inline-flex;
86
+ color: var(--ax-dark-dark-color);
87
+
88
+ &.icon {
89
+ // input {
90
+ // padding-inline-start: 2.1rem;
91
+ // padding-inline-end: 0.5em;
92
+ // }
93
+ // .text-left {
94
+ // padding-inline-start: 0.5em !important;
95
+ // }
96
+ // .text-right {
97
+ // padding-inline-end: 0.5em !important;
98
+ // }
99
+ & > i.icon {
100
+ cursor: default;
101
+ position: absolute;
102
+ text-align: center;
103
+ top: 0;
104
+ inset-inline-start: 0;
105
+ margin: 0;
106
+ height: 100%;
107
+ width: 2.67142857em;
108
+ opacity: 0.5;
109
+ @include ax-border-radius(var(--ax-size-border-radius));
110
+ -webkit-transition: opacity 0.3s ease;
111
+ transition: opacity 0.3s ease;
112
+ }
79
113
  }
80
- &.error-text {
81
- color: var(--ax-danger-color) !important;
114
+ &.disabled {
115
+ & > input {
116
+ background: var(--ax-gray-light-color) !important;
117
+ color: var(--ax-gray-fore-color);
118
+ cursor: not-allowed !important;
119
+ }
82
120
  }
83
- &.input {
84
- position: relative;
85
- display: inline-flex;
86
- color: var(--ax-dark-dark-color);
121
+ & > input {
122
+ margin: 0;
123
+ max-width: 100%;
124
+ flex: 1 0 auto;
125
+ font-family: inherit;
126
+ font-size: 0.875rem;
127
+ outline: 0;
128
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
129
+ text-align: start;
130
+ background: var(--ax-white-color);
131
+ border: none !important;
132
+ color: rgba(0, 0, 0, 0.87);
133
+ box-shadow: none !important;
134
+ -webkit-appearance: none !important;
135
+ padding-inline-start: 0.75rem;
136
+ padding-inline-end: 0.5rem;
137
+ @include ax-border-radius(var(--ax-size-border-radius));
138
+ &::-webkit-input-placeholder {
139
+ color: var(--ax-gray-dark-color) !important;
140
+ }
141
+ &:-ms-input-placeholder {
142
+ color: var(--ax-gray-dark-color) !important;
143
+ }
144
+ &::placeholder {
145
+ color: var(--ax-gray-dark-color) !important;
146
+ }
87
147
 
88
- &.icon {
89
- // input {
90
- // padding-inline-start: 2.1rem;
91
- // padding-inline-end: 0.5em;
92
- // }
93
- // .text-left {
94
- // padding-inline-start: 0.5em !important;
95
- // }
96
- // .text-right {
97
- // padding-inline-end: 0.5em !important;
98
- // }
99
- & > i.icon {
100
- cursor: default;
101
- position: absolute;
102
- text-align: center;
103
- top: 0;
104
- inset-inline-start: 0;
105
- margin: 0;
106
- height: 100%;
107
- width: 2.67142857em;
108
- opacity: 0.5;
109
- @include ax-border-radius(var(--ax-size-border-radius));
110
- -webkit-transition: opacity 0.3s ease;
111
- transition: opacity 0.3s ease;
112
- }
148
+ // &.clear {
149
+ // margin-inline-end: 3em !important;
150
+ // }
151
+ &.text-left {
152
+ text-align: left !important;
153
+ direction: ltr !important;
154
+ &:placeholder {
155
+ text-align: left !important;
113
156
  }
114
- &.disabled {
115
- & > input {
116
- background: var(--ax-gray-light-color) !important;
117
- color: var(--ax-gray-fore-color);
118
- cursor: not-allowed !important;
119
- }
157
+ &::-webkit-input-placeholder {
158
+ text-align: left !important;
120
159
  }
121
- & > input {
122
- margin: 0;
123
- max-width: 100%;
124
- flex: 1 0 auto;
125
- font-family: inherit;
126
- font-size: 0.875rem;
127
- outline: 0;
128
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
129
- text-align: start;
130
- background: var(--ax-white-color);
131
- border: none !important;
132
- color: rgba(0, 0, 0, 0.87);
133
- box-shadow: none !important;
134
- -webkit-appearance: none !important;
135
- padding-inline-start: 0.75rem;
136
- padding-inline-end: 0.5rem;
137
- @include ax-border-radius(var(--ax-size-border-radius));
138
- &::-webkit-input-placeholder {
139
- color: var(--ax-gray-dark-color) !important;
140
- }
141
- &:-ms-input-placeholder {
142
- color: var(--ax-gray-dark-color) !important;
143
- }
144
- &::placeholder {
145
- color: var(--ax-gray-dark-color) !important;
146
- }
160
+ &:-moz-placeholder {
161
+ text-align: left !important;
162
+ }
163
+ &::-moz-placeholder {
164
+ text-align: left !important;
165
+ }
166
+ &:-ms-input-placeholder {
167
+ text-align: left !important;
168
+ }
169
+ &::-ms-input-placeholder {
170
+ text-align: left !important;
171
+ }
172
+ ::placeholder {
173
+ text-align: left !important;
174
+ }
175
+ }
176
+ &.text-right {
177
+ text-align: right !important;
178
+ direction: rtl !important;
179
+ &::-webkit-input-placeholder {
180
+ text-align: right !important;
181
+ }
182
+ &:-moz-placeholder {
183
+ text-align: right !important;
184
+ }
185
+ &::-moz-placeholder {
186
+ text-align: right !important;
187
+ }
188
+ &:-ms-input-placeholder {
189
+ text-align: right !important;
190
+ }
191
+ &::-ms-input-placeholder {
192
+ text-align: right !important;
193
+ }
194
+ &::placeholder {
195
+ text-align: right !important;
196
+ }
197
+ }
198
+ &:focus {
199
+ border-color: var(--ax-primary-color);
200
+ color: rgba(0, 0, 0, 0.8);
201
+ -webkit-box-shadow: none;
202
+ box-shadow: none;
203
+ @include ax-transition-all();
204
+ & + i.icon {
205
+ opacity: 1 !important;
206
+ color: var(--ax-primary-color);
207
+ }
208
+ }
209
+ }
210
+ }
211
+ &.form-group-label {
212
+ display: block;
213
+ font-size: 0.875rem;
214
+ font-weight: 500;
215
+ padding: 0.5rem 0;
216
+ }
217
+ &.form-group {
218
+ display: inline-flex;
219
+ flex-direction: column;
220
+ width: 100%;
221
+ }
222
+ &.form-item {
223
+ background-color: var(--ax-white-color);
224
+ position: relative;
225
+ display: flex;
226
+ flex-wrap: wrap;
227
+ align-items: stretch;
228
+ width: 100%;
229
+ overflow: hidden;
230
+ border: 1px solid;
231
+ border-color: var(--ax-border-color);
232
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
147
233
 
148
- // &.clear {
149
- // margin-inline-end: 3em !important;
150
- // }
151
- &.text-left {
152
- text-align: left !important;
153
- direction: ltr !important;
154
- &:placeholder {
155
- text-align: left !important;
156
- }
157
- &::-webkit-input-placeholder {
158
- text-align: left !important;
159
- }
160
- &:-moz-placeholder {
161
- text-align: left !important;
162
- }
163
- &::-moz-placeholder {
164
- text-align: left !important;
165
- }
166
- &:-ms-input-placeholder {
167
- text-align: left !important;
168
- }
169
- &::-ms-input-placeholder {
170
- text-align: left !important;
171
- }
172
- ::placeholder {
173
- text-align: left !important;
174
- }
175
- }
176
- &.text-right {
177
- text-align: right !important;
178
- direction: rtl !important;
179
- &::-webkit-input-placeholder {
180
- text-align: right !important;
181
- }
182
- &:-moz-placeholder {
183
- text-align: right !important;
184
- }
185
- &::-moz-placeholder {
186
- text-align: right !important;
187
- }
188
- &:-ms-input-placeholder {
189
- text-align: right !important;
190
- }
191
- &::-ms-input-placeholder {
192
- text-align: right !important;
193
- }
194
- &::placeholder {
195
- text-align: right !important;
196
- }
197
- }
198
- &:focus {
199
- border-color: var(--ax-primary-color);
200
- color: rgba(0, 0, 0, 0.8);
201
- -webkit-box-shadow: none;
202
- box-shadow: none;
203
- @include ax-transition-all();
204
- & + i.icon {
205
- opacity: 1 !important;
206
- color: var(--ax-primary-color);
207
- }
208
- }
234
+ box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000,
235
+ 0 1px 2px 0 rgba(0, 0, 0, 0.05);
236
+ &:focus-within {
237
+ border-color: var(--ax-primary-color);
238
+ box-shadow: 0px 0px 0px 1px var(--ax-primary-color);
239
+ .input {
240
+ i {
241
+ color: var(--ax-primary-color) !important;
209
242
  }
210
-
243
+ }
211
244
  }
212
- &.form-group-label {
213
- display: block;
214
- font-size: 0.875rem;
215
- font-weight: 500;
216
- padding: 0.5rem 0;
245
+
246
+ &.required-state {
247
+ border-inline-start-width: 2px;
248
+ border-inline-start-style: solid;
249
+ border-inline-start-color: var(--ax-warning-color) !important;
250
+ &:focus-within {
251
+ border-color: var(--ax-warning-color);
252
+ box-shadow: 0px 0px 0px 1px var(--ax-warning-color);
253
+ .input {
254
+ i {
255
+ color: var(--ax-warning-color) !important;
256
+ }
257
+ }
258
+ }
217
259
  }
218
- &.form-group {
219
- display: inline-flex;
220
- flex-direction: column;
221
- width: 100%;
260
+ &.success-state {
261
+ border-inline-start-width: 2px;
262
+ border-inline-start-style: solid;
263
+ border-inline-start-color: var(--ax-success-color) !important;
264
+ &:focus-within {
265
+ border-color: var(--ax-success-color);
266
+ box-shadow: 0px 0px 0px 1px var(--ax-success-color);
267
+ .input {
268
+ i {
269
+ color: var(--ax-success-color) !important;
270
+ }
271
+ }
272
+ }
222
273
  }
223
- &.form-item {
224
- background-color: var(--ax-white-color);
225
- position: relative;
226
- display: flex;
227
- flex-wrap: wrap;
228
- align-items: stretch;
229
- width: 100%;
230
- overflow: hidden;
231
- border: 1px solid;
232
- border-color: var(--ax-border-color);
233
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
274
+ &.error-state {
275
+ border-inline-start-width: 2px;
276
+ border-inline-start-style: solid;
277
+ border-inline-start-color: var(--ax-danger-color) !important;
278
+ &::before {
279
+ border-inline-start-color: var(--ax-danger-trans-dark-color);
280
+ }
281
+ &::after {
282
+ color: var(--ax-danger-dark-color);
283
+ }
284
+ &:focus-within {
285
+ border-color: var(--ax-danger-color);
286
+ box-shadow: 0px 0px 0px 1px var(--ax-danger-color);
287
+ .input {
288
+ i {
289
+ color: var(--ax-danger-color) !important;
290
+ }
291
+ }
292
+ }
293
+ }
294
+ @include ax-border-radius(var(--ax-size-border-radius));
295
+ &.disabled {
296
+ background: var(--ax-gray-light-color) !important;
297
+ cursor: not-allowed !important;
298
+ }
299
+ .readonly {
300
+ opacity: 0.8;
234
301
 
235
- box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(0, 0, 0, 0.05);
236
- &:focus-within {
237
- border-color: var(--ax-primary-color);
238
- box-shadow: 0px 0px 0px 1px var(--ax-primary-color);
239
- .input {
240
- i {
241
- color: var(--ax-primary-color) !important;
242
- }
243
- }
302
+ input {
303
+ cursor: no-drop;
304
+ }
305
+ .button {
306
+ &.disabled {
307
+ background: transparent !important;
244
308
  }
309
+ }
310
+ }
245
311
 
246
- &.required-state {
247
- border-inline-start-width: 2px;
248
- border-inline-start-style: solid;
249
- border-inline-start-color: var(--ax-warning-color) !important;
250
- &:focus-within {
251
- border-color: var(--ax-warning-color);
252
- box-shadow: 0px 0px 0px 1px var(--ax-warning-color);
253
- .input {
254
- i {
255
- color: var(--ax-warning-color) !important;
256
- }
257
- }
258
- }
312
+ .form-item {
313
+ &:not(.error) {
314
+ border: none;
315
+ box-shadow: none;
316
+ }
317
+ }
318
+ .content {
319
+ border: none;
320
+ position: relative;
321
+ flex: 1 1 auto;
322
+ width: 1%;
323
+ min-width: 0;
324
+ margin-bottom: 0;
325
+ .form-item {
326
+ border-radius: 0 !important;
327
+ }
328
+ .input {
329
+ width: 100%;
330
+ input {
331
+ border: none !important;
332
+ border-radius: 0;
333
+ height: 100%;
259
334
  }
260
- &.success-state {
261
- border-inline-start-width: 2px;
262
- border-inline-start-style: solid;
263
- border-inline-start-color: var(--ax-success-color) !important;
264
- &:focus-within {
265
- border-color: var(--ax-success-color);
266
- box-shadow: 0px 0px 0px 1px var(--ax-success-color);
267
- .input {
268
- i {
269
- color: var(--ax-success-color) !important;
270
- }
271
- }
335
+ textarea {
336
+ border: none !important;
337
+ width: 100%;
338
+ outline: transparent;
339
+ padding: 0.5em;
340
+ font-family: inherit;
341
+ font-size: 0.875rem;
342
+ height: 100%;
343
+ &.text-left {
344
+ text-align: left !important;
345
+ direction: ltr !important;
346
+ &:placeholder {
347
+ text-align: left !important;
272
348
  }
273
- }
274
- &.error-state {
275
- border-inline-start-width: 2px;
276
- border-inline-start-style: solid;
277
- border-inline-start-color: var(--ax-danger-color) !important;
278
- &::before {
279
- border-inline-start-color: var(--ax-danger-trans-dark-color);
349
+ &::-webkit-input-placeholder {
350
+ text-align: left !important;
280
351
  }
281
- &::after {
282
- color: var(--ax-danger-dark-color);
352
+ &:-moz-placeholder {
353
+ text-align: left !important;
283
354
  }
284
- &:focus-within {
285
- border-color: var(--ax-danger-color);
286
- box-shadow: 0px 0px 0px 1px var(--ax-danger-color);
287
- .input {
288
- i {
289
- color: var(--ax-danger-color) !important;
290
- }
291
- }
355
+ &::-moz-placeholder {
356
+ text-align: left !important;
292
357
  }
293
- }
294
- @include ax-border-radius(var(--ax-size-border-radius));
295
- &.disabled {
296
- background: var(--ax-gray-light-color) !important;
297
- cursor: not-allowed !important;
298
- }
299
- .readonly {
300
- opacity: 0.8;
301
-
302
- input {
303
- cursor: no-drop;
358
+ &:-ms-input-placeholder {
359
+ text-align: left !important;
304
360
  }
305
- .button {
306
- &.disabled {
307
- background: transparent !important;
308
- }
361
+ &::-ms-input-placeholder {
362
+ text-align: left !important;
309
363
  }
310
- }
311
-
312
- .form-item {
313
- &:not(.error) {
314
- border: none;
315
- box-shadow: none;
364
+ ::placeholder {
365
+ text-align: left !important;
316
366
  }
317
- }
318
- .content {
319
- border: none;
320
- position: relative;
321
- flex: 1 1 auto;
322
- width: 1%;
323
- min-width: 0;
324
- margin-bottom: 0;
325
- .form-item {
326
- border-radius: 0 !important;
367
+ }
368
+ &.text-right {
369
+ text-align: right !important;
370
+ direction: rtl !important;
371
+ &::-webkit-input-placeholder {
372
+ text-align: right !important;
327
373
  }
328
- .input {
329
- width: 100%;
330
- input {
331
- border: none !important;
332
- border-radius: 0;
333
- height: 100%;
334
- }
335
- textarea {
336
- border: none !important;
337
- width: 100%;
338
- outline: transparent;
339
- padding: 0.5em;
340
- font-family: inherit;
341
- font-size: 0.875rem;
342
- height: 100%;
343
- &.text-left {
344
- text-align: left !important;
345
- direction: ltr !important;
346
- &:placeholder {
347
- text-align: left !important;
348
- }
349
- &::-webkit-input-placeholder {
350
- text-align: left !important;
351
- }
352
- &:-moz-placeholder {
353
- text-align: left !important;
354
- }
355
- &::-moz-placeholder {
356
- text-align: left !important;
357
- }
358
- &:-ms-input-placeholder {
359
- text-align: left !important;
360
- }
361
- &::-ms-input-placeholder {
362
- text-align: left !important;
363
- }
364
- ::placeholder {
365
- text-align: left !important;
366
- }
367
- }
368
- &.text-right {
369
- text-align: right !important;
370
- direction: rtl !important;
371
- &::-webkit-input-placeholder {
372
- text-align: right !important;
373
- }
374
- &:-moz-placeholder {
375
- text-align: right !important;
376
- }
377
- &::-moz-placeholder {
378
- text-align: right !important;
379
- }
380
- &:-ms-input-placeholder {
381
- text-align: right !important;
382
- }
383
- &::-ms-input-placeholder {
384
- text-align: right !important;
385
- }
386
- &::placeholder {
387
- text-align: right !important;
388
- }
389
- }
390
- }
374
+ &:-moz-placeholder {
375
+ text-align: right !important;
391
376
  }
392
- }
393
- .button {
394
- border-radius: 0 !important;
395
- height: 100% !important;
396
- }
397
- }
398
- &.chips-container {
399
- display: flex;
400
- align-items: center;
401
- flex-wrap: nowrap;
402
- flex-grow: 1;
403
- overflow-x: hidden;
404
- overflow-y: hidden;
405
- &:hover {
406
- overflow-x: overlay;
407
- }
408
- &::-webkit-scrollbar {
409
- height: 3px;
410
- }
411
- /* Track */
412
- &::-webkit-scrollbar-track {
413
- background: #f1f1f1;
414
- }
415
- /* Handle */
416
- &::-webkit-scrollbar-thumb {
417
- background: #888;
418
- }
419
- /* Handle on hover */
420
- &::-webkit-scrollbar-thumb:hover {
421
- background: #555;
422
- }
423
- .search-wrapper {
424
- width: 30%;
425
- }
426
- .chips {
427
- display: inline-flex;
428
- overflow: hidden;
429
- background: rgba(0, 0, 0, 0.04);
430
- padding: 0.2rem 0.5rem;
431
- margin: 0 0.2rem;
432
- border-radius: var(--ax-size-border-radius);
433
- color: var(--ax-gray-fore-color);
434
- border: 1px solid var(--ax-border-color);
435
- flex: none;
436
- min-width: fit-content;
437
- max-width: 7rem;
438
- white-space: nowrap;
439
- .chips-text {
440
- display: inline-block;
441
- vertical-align: middle;
442
- overflow: hidden;
443
- white-space: nowrap;
444
- vertical-align: middle;
445
- text-overflow: ellipsis;
446
- font-size: 0.875rem;
447
- direction: inherit;
448
- text-align: inherit;
377
+ &::-moz-placeholder {
378
+ text-align: right !important;
449
379
  }
450
- .close-icon {
451
- vertical-align: middle;
452
- display: flex;
453
- align-items: center;
454
- margin-inline-start: 0.25rem;
455
- cursor: pointer;
380
+ &:-ms-input-placeholder {
381
+ text-align: right !important;
456
382
  }
457
- // font-size: inherit;
458
- // background: rgba(0, 0, 0, 0.04);
459
- // color: var(--ax-gray-fore-color);
460
- // border: 1px solid var(--ax-border-color);
461
- // padding: 0.2em 0.4em;
462
- // @include ax-border-radius(var(--ax-size-border-radius));
463
- // margin: 0 0.5em;
464
- // display: inline-block;
465
- // cursor: pointer;
466
- // flex: unset;
467
- // white-space: nowrap;
468
- // // overflow: hidden;
469
- // // text-overflow: ellipsis;
470
- // .chips-text {
471
- // display: inline-block;
472
- // vertical-align: middle;
473
- // overflow: hidden;
474
- // white-space: nowrap;
475
- // vertical-align: middle;
476
- // text-overflow: ellipsis;
477
- // font-size: 0.875rem;
478
- // min-width: fit-content;
479
- // max-width: 110px;
480
- // direction: inherit;
481
- // text-align: inherit;
482
- // }
483
- // .close-icon {
484
- // vertical-align: middle;
485
- // }
486
- // i {
487
- // color: var(--ax-gray-dark-color);
488
- // margin-inline-start: 0.3em;
489
- // @include ax-transition-all();
490
- // &:hover {
491
- // color: var(--ax-danger-color);
492
- // }
493
- // }
494
- &:hover {
495
- background-color: var(--ax-primary-trans-light-color);
496
- color: var(--ax-primary-color);
497
- i {
498
- color: var(--ax-primary-color);
499
- &:hover {
500
- color: var(--ax-danger-color);
501
- }
502
- }
383
+ &::-ms-input-placeholder {
384
+ text-align: right !important;
503
385
  }
504
- }
505
- .chips-blank {
506
- border: none;
507
- background-color:transparent;
508
- flex: unset;
509
- &:hover {
510
- border: none;
511
- background-color: transparent;
386
+ &::placeholder {
387
+ text-align: right !important;
512
388
  }
389
+ }
513
390
  }
514
- & > div {
515
- flex: 1 1 auto;
391
+ }
392
+ }
393
+ .button {
394
+ border-radius: 0 !important;
395
+ height: 100% !important;
396
+ }
397
+ }
398
+ &.chips-container {
399
+ display: flex;
400
+ align-items: center;
401
+ flex-wrap: nowrap;
402
+ flex-grow: 1;
403
+ overflow-x: hidden;
404
+ overflow-y: hidden;
405
+ &:hover {
406
+ overflow-x: overlay;
407
+ }
408
+ &::-webkit-scrollbar {
409
+ height: 3px;
410
+ }
411
+ /* Track */
412
+ &::-webkit-scrollbar-track {
413
+ background: #f1f1f1;
414
+ }
415
+ /* Handle */
416
+ &::-webkit-scrollbar-thumb {
417
+ background: #888;
418
+ }
419
+ /* Handle on hover */
420
+ &::-webkit-scrollbar-thumb:hover {
421
+ background: #555;
422
+ }
423
+ .search-wrapper {
424
+ width: 30%;
425
+ }
426
+ .chips {
427
+ display: inline-flex;
428
+ overflow: hidden;
429
+ background: rgba(0, 0, 0, 0.04);
430
+ padding: 0.2rem 0.5rem;
431
+ margin: 0 0.2rem;
432
+ border-radius: var(--ax-size-border-radius);
433
+ color: var(--ax-gray-fore-color);
434
+ border: 1px solid var(--ax-border-color);
435
+ flex: none;
436
+ min-width: fit-content;
437
+ max-width: 7rem;
438
+ white-space: nowrap;
439
+ .chips-text {
440
+ display: inline-block;
441
+ vertical-align: middle;
442
+ overflow: hidden;
443
+ white-space: nowrap;
444
+ vertical-align: middle;
445
+ text-overflow: ellipsis;
446
+ font-size: 0.875rem;
447
+ direction: inherit;
448
+ text-align: inherit;
449
+ }
450
+ .close-icon {
451
+ vertical-align: middle;
452
+ display: flex;
453
+ align-items: center;
454
+ margin-inline-start: 0.25rem;
455
+ cursor: pointer;
456
+ }
457
+ // font-size: inherit;
458
+ // background: rgba(0, 0, 0, 0.04);
459
+ // color: var(--ax-gray-fore-color);
460
+ // border: 1px solid var(--ax-border-color);
461
+ // padding: 0.2em 0.4em;
462
+ // @include ax-border-radius(var(--ax-size-border-radius));
463
+ // margin: 0 0.5em;
464
+ // display: inline-block;
465
+ // cursor: pointer;
466
+ // flex: unset;
467
+ // white-space: nowrap;
468
+ // // overflow: hidden;
469
+ // // text-overflow: ellipsis;
470
+ // .chips-text {
471
+ // display: inline-block;
472
+ // vertical-align: middle;
473
+ // overflow: hidden;
474
+ // white-space: nowrap;
475
+ // vertical-align: middle;
476
+ // text-overflow: ellipsis;
477
+ // font-size: 0.875rem;
478
+ // min-width: fit-content;
479
+ // max-width: 110px;
480
+ // direction: inherit;
481
+ // text-align: inherit;
482
+ // }
483
+ // .close-icon {
484
+ // vertical-align: middle;
485
+ // }
486
+ // i {
487
+ // color: var(--ax-gray-dark-color);
488
+ // margin-inline-start: 0.3em;
489
+ // @include ax-transition-all();
490
+ // &:hover {
491
+ // color: var(--ax-danger-color);
492
+ // }
493
+ // }
494
+ &:hover {
495
+ background-color: var(--ax-primary-trans-light-color);
496
+ color: var(--ax-primary-color);
497
+ i {
498
+ color: var(--ax-primary-color);
499
+ &:hover {
500
+ color: var(--ax-danger-color);
501
+ }
516
502
  }
503
+ }
517
504
  }
505
+ .chips-blank {
506
+ border: none;
507
+ background-color: transparent;
508
+ flex: unset;
509
+ &:hover {
510
+ border: none;
511
+ background-color: transparent;
512
+ }
513
+ }
514
+ & > div {
515
+ flex: 1 1 auto;
516
+ }
517
+ }
518
+
519
+ &.multiline {
520
+ flex-wrap: wrap !important;
521
+ gap: 0.5rem;
522
+ }
518
523
  }