@acorex/styles 7.24.5 → 16.0.1
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/fonts/font-awesome/fa-brands-400.eot +0 -0
- package/fonts/font-awesome/fa-brands-400.svg +3570 -0
- package/fonts/font-awesome/fa-brands-400.ttf +0 -0
- package/fonts/font-awesome/fa-brands-400.woff +0 -0
- package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- package/fonts/font-awesome/fa-duotone-900.eot +0 -0
- package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
- package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff +0 -0
- package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
- package/fonts/font-awesome/fa-light-300.eot +0 -0
- package/fonts/font-awesome/fa-light-300.svg +12330 -0
- package/fonts/font-awesome/fa-light-300.ttf +0 -0
- package/fonts/font-awesome/fa-light-300.woff +0 -0
- package/fonts/font-awesome/fa-light-300.woff2 +0 -0
- package/fonts/font-awesome/fa-regular-400.eot +0 -0
- package/fonts/font-awesome/fa-regular-400.svg +11256 -0
- package/fonts/font-awesome/fa-regular-400.ttf +0 -0
- package/fonts/font-awesome/fa-regular-400.woff +0 -0
- package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- package/fonts/font-awesome/fa-solid-900.eot +0 -0
- package/fonts/font-awesome/fa-solid-900.svg +9588 -0
- package/fonts/font-awesome/fa-solid-900.ttf +0 -0
- package/fonts/font-awesome/fa-solid-900.woff +0 -0
- package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- package/fonts/font-awesome/font-awesome.css +16960 -0
- package/package.json +11 -11
- package/scss/buttons.scss +69 -0
- package/scss/calendar.scss +144 -0
- package/scss/checkbox.scss +46 -0
- package/scss/context-menu.scss +75 -0
- package/scss/data-grid.scss +117 -0
- package/scss/drawer.scss +138 -0
- package/scss/fieldset.scss +23 -0
- package/scss/forms.scss +523 -0
- package/scss/list.scss +47 -0
- package/scss/master.scss +330 -0
- package/scss/menu.scss +130 -0
- package/scss/mixin.scss +12 -0
- package/scss/page.scss +54 -0
- package/scss/progress.scss +11 -0
- package/scss/selection-list.scss +104 -0
- package/scss/style.scss +47 -0
- package/scss/tab-strip.scss +31 -0
- package/scss/tab.scss +36 -0
- package/scss/toast.scss +46 -0
- package/scss/tooltip.scss +55 -0
- package/scss/treeview.scss +152 -0
- package/scss/upload.scss +170 -0
- package/scss/variables.scss +139 -0
- package/icons/fontawesome/fontawesome.scss +0 -68
- package/icons/index.scss +0 -207
- package/icons/material/material.scss +0 -73
- package/index.css +0 -2623
- package/index.min.css +0 -1
- package/index.scss +0 -9
- package/src/base/_preflight.scss +0 -417
- package/src/base/index.scss +0 -13
- package/src/mixins/_look.scss +0 -84
- package/src/mixins/_media.scss +0 -27
- package/src/mixins/_util.scss +0 -19
- package/src/mixins/index.scss +0 -3
- package/src/shared/_actionsheet.scss +0 -23
- package/src/shared/_check-box.scss +0 -59
- package/src/shared/_color-look.scss +0 -689
- package/src/shared/_drop-down.scss +0 -76
- package/src/shared/_editor-container.scss +0 -257
- package/src/shared/_general-button.scss +0 -87
- package/src/shared/_inputs.scss +0 -16
- package/src/shared/_list.scss +0 -211
- package/src/shared/_radio.scss +0 -56
- package/src/shared/_table.scss +0 -149
- package/src/shared/_utils.scss +0 -75
- package/src/shared/index.scss +0 -11
- package/src/utility/index.scss +0 -24
- package/src/variables/_colors.scss +0 -2
- package/src/variables/_degrees.scss +0 -1
- package/src/variables/index.scss +0 -2
- package/tailwind-base.js +0 -235
- package/themes/default.css +0 -1
- package/themes/default.scss +0 -141
package/scss/forms.scss
ADDED
@@ -0,0 +1,523 @@
|
|
1
|
+
@import './mixin.scss';
|
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
|
+
}
|
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;
|
45
|
+
}
|
46
|
+
&:first-child {
|
47
|
+
button {
|
48
|
+
top: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
&:last-child {
|
52
|
+
button {
|
53
|
+
bottom: 0;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
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
|
+
}
|
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
|
+
}
|
113
|
+
}
|
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
|
+
}
|
120
|
+
}
|
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
|
+
}
|
147
|
+
|
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
|
+
}
|
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);
|
233
|
+
|
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;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
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
|
+
}
|
259
|
+
}
|
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
|
+
}
|
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);
|
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;
|
301
|
+
|
302
|
+
input {
|
303
|
+
cursor: no-drop;
|
304
|
+
}
|
305
|
+
.button {
|
306
|
+
&.disabled {
|
307
|
+
background: transparent !important;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
|
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%;
|
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
|
+
}
|
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
|
+
}
|
502
|
+
}
|
503
|
+
}
|
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
|
+
}
|
523
|
+
}
|
package/scss/list.scss
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
.ax {
|
2
|
+
&.list-container {
|
3
|
+
.list-container-items{
|
4
|
+
max-height: 300px;
|
5
|
+
overflow-y: auto;
|
6
|
+
width: 100%;
|
7
|
+
background: var(--ax-white-color);
|
8
|
+
border: 1px solid var(--ax-border-color)
|
9
|
+
}
|
10
|
+
.list-group {
|
11
|
+
.group-header {
|
12
|
+
font-weight: bold;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
.list-item {
|
16
|
+
font-size: 0.875rem;
|
17
|
+
padding: 0.8rem;
|
18
|
+
cursor: pointer;
|
19
|
+
transition: all 0.3s;
|
20
|
+
position: relative;
|
21
|
+
border: 1px solid transparent;
|
22
|
+
// &:nth-child(odd) {
|
23
|
+
// background-color: var(--ax-light-light-color);
|
24
|
+
// }
|
25
|
+
&:last-child {
|
26
|
+
border-bottom: none !important;
|
27
|
+
}
|
28
|
+
&.ax-state-disabled {
|
29
|
+
background: var(--ax-gray-color);
|
30
|
+
color: var(--ax-gray-fore-color);
|
31
|
+
cursor: not-allowed;
|
32
|
+
}
|
33
|
+
&.selected {
|
34
|
+
background: var(--ax-primary-trans-dark-color) !important;
|
35
|
+
color: var(--ax-primary-color) !important;
|
36
|
+
border-bottom: 1px solid var(--ax-white-color);
|
37
|
+
}
|
38
|
+
&.focused
|
39
|
+
{
|
40
|
+
border: 1px solid var(--ax-border-dark-color);
|
41
|
+
}
|
42
|
+
&:hover:not(.ax-state-disabled) {
|
43
|
+
background-color: var(--ax-border-color);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|