@acorex/styles 3.0.27 → 3.0.31

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