@clayui/css 3.104.0 → 3.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/css/atlas.css +351 -5
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +351 -5
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +310 -4
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/bookmarks-full.svg +9 -0
- package/lib/images/icons/bookmarks.svg +1 -2
- package/lib/images/icons/download.svg +2 -2
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/import-list.svg +2 -3
- package/lib/images/icons/import.svg +1 -2
- package/lib/images/icons/key.svg +9 -0
- package/lib/images/icons/upload-multiple.svg +2 -3
- package/lib/images/icons/upload.svg +1 -2
- package/package.json +2 -2
- package/src/images/icons/bookmarks-full.svg +9 -0
- package/src/images/icons/bookmarks.svg +1 -2
- package/src/images/icons/download.svg +2 -2
- package/src/images/icons/import-list.svg +2 -3
- package/src/images/icons/import.svg +1 -2
- package/src/images/icons/key.svg +9 -0
- package/src/images/icons/upload-multiple.svg +2 -3
- package/src/images/icons/upload.svg +1 -2
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/cadmin/components/_clay-color.scss +42 -0
- package/src/scss/cadmin/components/_custom-forms.scss +1 -2
- package/src/scss/cadmin/components/_input-groups.scss +4 -0
- package/src/scss/cadmin/variables/_clay-color.scss +157 -1
- package/src/scss/cadmin/variables/_custom-forms.scss +19 -0
- package/src/scss/cadmin/variables/_forms.scss +23 -0
- package/src/scss/cadmin/variables/_globals.scss +6 -0
- package/src/scss/components/_clay-color.scss +42 -0
- package/src/scss/components/_custom-forms.scss +1 -2
- package/src/scss/components/_input-groups.scss +4 -0
- package/src/scss/components/_range.scss +2 -2
- package/src/scss/functions/_lx-icons-generated.scss +10 -6
- package/src/scss/mixins/_forms.scss +220 -5
- package/src/scss/mixins/_input-groups.scss +5 -1
- package/src/scss/variables/_clay-color.scss +157 -1
- package/src/scss/variables/_custom-forms.scss +19 -0
- package/src/scss/variables/_forms.scss +31 -0
- package/src/scss/variables/_globals.scss +6 -0
- package/src/scss/variables/_range.scss +33 -1
|
@@ -299,8 +299,12 @@
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
&.focus {
|
|
302
|
+
@include clay-input-group-item-variant(map-get($map, focus));
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&:focus-within:has(input:focus) {
|
|
302
306
|
@include clay-input-group-item-variant(
|
|
303
|
-
map-
|
|
307
|
+
map-get($map, focus-within)
|
|
304
308
|
);
|
|
305
309
|
}
|
|
306
310
|
|
|
@@ -51,7 +51,7 @@ $clay-color-input-group-inset-item-before: map-merge(
|
|
|
51
51
|
$clay-color-dropdown-menu: () !default;
|
|
52
52
|
$clay-color-dropdown-menu: map-deep-merge(
|
|
53
53
|
(
|
|
54
|
-
max-height:
|
|
54
|
+
max-height: 500px,
|
|
55
55
|
max-width: none,
|
|
56
56
|
padding-bottom: 0,
|
|
57
57
|
padding-left: 1rem,
|
|
@@ -340,6 +340,162 @@ $clay-color-range-pointer: map-deep-merge(
|
|
|
340
340
|
$clay-color-range-pointer
|
|
341
341
|
);
|
|
342
342
|
|
|
343
|
+
// Clay Color Form Group
|
|
344
|
+
|
|
345
|
+
$clay-color-form-group: () !default;
|
|
346
|
+
$clay-color-form-group: map-deep-merge(
|
|
347
|
+
(
|
|
348
|
+
display: flex,
|
|
349
|
+
align-items: center,
|
|
350
|
+
margin-top: 0.25rem,
|
|
351
|
+
margin-bottom: 1rem,
|
|
352
|
+
clay-range: (
|
|
353
|
+
flex-grow: 1,
|
|
354
|
+
flex-shrink: 0,
|
|
355
|
+
margin-right: 1rem,
|
|
356
|
+
width: 144px,
|
|
357
|
+
),
|
|
358
|
+
form-control: (
|
|
359
|
+
padding-left: 0,
|
|
360
|
+
padding-right: 10%,
|
|
361
|
+
text-align: right,
|
|
362
|
+
),
|
|
363
|
+
input-group: (
|
|
364
|
+
input-group-inset-item-before: (
|
|
365
|
+
font-weight: $font-weight-semi-bold,
|
|
366
|
+
padding-left: 10%,
|
|
367
|
+
padding-right: 0,
|
|
368
|
+
min-width: 1.125rem,
|
|
369
|
+
),
|
|
370
|
+
),
|
|
371
|
+
),
|
|
372
|
+
$clay-color-form-group
|
|
373
|
+
);
|
|
374
|
+
|
|
375
|
+
// Clay Color Slider
|
|
376
|
+
|
|
377
|
+
$clay-color-slider: () !default;
|
|
378
|
+
$clay-color-slider: map-deep-merge(
|
|
379
|
+
(
|
|
380
|
+
clay-range-input: (
|
|
381
|
+
border-radius: 100px,
|
|
382
|
+
clay-range-track: (
|
|
383
|
+
border-radius: inherit,
|
|
384
|
+
height: 0.5rem,
|
|
385
|
+
margin-top: -0.25rem,
|
|
386
|
+
),
|
|
387
|
+
clay-range-progress: (
|
|
388
|
+
background-color: transparent,
|
|
389
|
+
border-radius: inherit,
|
|
390
|
+
height: 0.5rem,
|
|
391
|
+
margin-top: -0.25rem,
|
|
392
|
+
width: 100%,
|
|
393
|
+
),
|
|
394
|
+
ms-thumb: (
|
|
395
|
+
visibility: visible,
|
|
396
|
+
),
|
|
397
|
+
moz-range-thumb: (
|
|
398
|
+
height: 0.625rem,
|
|
399
|
+
visibility: visible,
|
|
400
|
+
width: 0.625rem,
|
|
401
|
+
),
|
|
402
|
+
webkit-slider-thumb: (
|
|
403
|
+
visibility: visible,
|
|
404
|
+
),
|
|
405
|
+
clay-range-thumb: (
|
|
406
|
+
background-color: currentColor,
|
|
407
|
+
border-width: 0,
|
|
408
|
+
box-shadow: 0 0 0 0.125rem $white,
|
|
409
|
+
height: 0.625rem,
|
|
410
|
+
margin-top: -0.3125rem,
|
|
411
|
+
transition:
|
|
412
|
+
clay-enable-transitions(box-shadow 0.15s ease-in-out),
|
|
413
|
+
visibility: hidden,
|
|
414
|
+
width: 0.625rem,
|
|
415
|
+
),
|
|
416
|
+
form-control-range: (
|
|
417
|
+
background-color: inherit,
|
|
418
|
+
border-radius: inherit,
|
|
419
|
+
color: inherit,
|
|
420
|
+
height: 0.5rem,
|
|
421
|
+
webkit-slider-runnable-track: (
|
|
422
|
+
-webkit-appearance: none,
|
|
423
|
+
appearance: none,
|
|
424
|
+
),
|
|
425
|
+
),
|
|
426
|
+
focus: (
|
|
427
|
+
clay-range-thumb: (
|
|
428
|
+
box-shadow: #{0 0 0 0.125rem $white,
|
|
429
|
+
0 0 0 0.25rem $primary-l1},
|
|
430
|
+
),
|
|
431
|
+
),
|
|
432
|
+
),
|
|
433
|
+
),
|
|
434
|
+
$clay-color-slider
|
|
435
|
+
);
|
|
436
|
+
|
|
437
|
+
$clay-color-slider-hue: () !default;
|
|
438
|
+
$clay-color-slider-hue: map-deep-merge(
|
|
439
|
+
(
|
|
440
|
+
clay-range-input: (
|
|
441
|
+
color: #26affd,
|
|
442
|
+
clay-range-track: (
|
|
443
|
+
background-image:
|
|
444
|
+
linear-gradient(
|
|
445
|
+
270deg,
|
|
446
|
+
#fc0d1b 0%,
|
|
447
|
+
#fc22d6 18.23%,
|
|
448
|
+
#1824fb 34.25%,
|
|
449
|
+
#2bf6fd 50.28%,
|
|
450
|
+
#2bfd2e 67.58%,
|
|
451
|
+
#fcfd37 81.22%,
|
|
452
|
+
#fc121b 100%
|
|
453
|
+
),
|
|
454
|
+
),
|
|
455
|
+
),
|
|
456
|
+
),
|
|
457
|
+
$clay-color-slider-hue
|
|
458
|
+
);
|
|
459
|
+
|
|
460
|
+
$clay-color-slider-alpha: () !default;
|
|
461
|
+
$clay-color-slider-alpha: map-deep-merge(
|
|
462
|
+
(
|
|
463
|
+
clay-range-input: (
|
|
464
|
+
color: $black,
|
|
465
|
+
clay-range-track: (
|
|
466
|
+
background-color: $white,
|
|
467
|
+
background-image: #{linear-gradient(
|
|
468
|
+
45deg,
|
|
469
|
+
#e7e7ed 25%,
|
|
470
|
+
transparent 25%
|
|
471
|
+
),
|
|
472
|
+
linear-gradient(
|
|
473
|
+
-45deg,
|
|
474
|
+
#e7e7ed 25%,
|
|
475
|
+
transparent 25%,
|
|
476
|
+
),
|
|
477
|
+
linear-gradient(
|
|
478
|
+
45deg,
|
|
479
|
+
transparent 75%,
|
|
480
|
+
#e7e7ed 75%,
|
|
481
|
+
),
|
|
482
|
+
linear-gradient(-45deg, transparent 75%, #e7e7ed 75%)},
|
|
483
|
+
background-position: #{0 0,
|
|
484
|
+
0 4px,
|
|
485
|
+
4px -4px,
|
|
486
|
+
-4px 0px},
|
|
487
|
+
background-size: 8px 8px,
|
|
488
|
+
),
|
|
489
|
+
form-control-range: (
|
|
490
|
+
background-image:
|
|
491
|
+
linear-gradient(90deg, transparent 0%, currentcolor 100%),
|
|
492
|
+
color: inherit,
|
|
493
|
+
),
|
|
494
|
+
),
|
|
495
|
+
),
|
|
496
|
+
$clay-color-slider-alpha
|
|
497
|
+
);
|
|
498
|
+
|
|
343
499
|
// Clay Color Sm
|
|
344
500
|
|
|
345
501
|
$clay-color-sm-input-group-inset-item-before: () !default;
|
|
@@ -5,6 +5,25 @@
|
|
|
5
5
|
$custom-forms-transition: background-color 0.15s ease-in-out,
|
|
6
6
|
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !default;
|
|
7
7
|
|
|
8
|
+
// Form File
|
|
9
|
+
|
|
10
|
+
$form-file: () !default;
|
|
11
|
+
$form-file: map-deep-merge(
|
|
12
|
+
(
|
|
13
|
+
border-radius: clay-enable-rounded($input-border-radius),
|
|
14
|
+
display: flex,
|
|
15
|
+
position: relative,
|
|
16
|
+
transition: clay-enable-transitions($input-transition),
|
|
17
|
+
focus-within: (
|
|
18
|
+
background-color: $input-focus-bg,
|
|
19
|
+
box-shadow: $input-focus-box-shadow,
|
|
20
|
+
outline: 0,
|
|
21
|
+
z-index: 1,
|
|
22
|
+
),
|
|
23
|
+
),
|
|
24
|
+
$form-file
|
|
25
|
+
);
|
|
26
|
+
|
|
8
27
|
// Custom Control Indicator
|
|
9
28
|
|
|
10
29
|
$custom-control-indicator-size: 1rem !default;
|
|
@@ -97,6 +97,12 @@ $input: map-deep-merge(
|
|
|
97
97
|
color: $input-placeholder-focus-color,
|
|
98
98
|
),
|
|
99
99
|
),
|
|
100
|
+
focus-within: (
|
|
101
|
+
background-color: $input-focus-bg,
|
|
102
|
+
border-color: $input-focus-border-color,
|
|
103
|
+
box-shadow: $input-focus-box-shadow,
|
|
104
|
+
color: $input-focus-color,
|
|
105
|
+
),
|
|
100
106
|
disabled: (
|
|
101
107
|
background-color: $input-disabled-bg,
|
|
102
108
|
border-color: $input-disabled-border-color,
|
|
@@ -1526,6 +1532,31 @@ $input-group-item-shrink: map-deep-merge(
|
|
|
1526
1532
|
$input-group-item-shrink
|
|
1527
1533
|
);
|
|
1528
1534
|
|
|
1535
|
+
// .input-group-item-focusable
|
|
1536
|
+
|
|
1537
|
+
$input-group-item-focusable: () !default;
|
|
1538
|
+
$input-group-item-focusable: map-deep-merge(
|
|
1539
|
+
(
|
|
1540
|
+
border-radius: clay-enable-rounded($input-border-radius),
|
|
1541
|
+
transition: clay-enable-transitions($input-transition),
|
|
1542
|
+
focus-within: (
|
|
1543
|
+
background-color: $input-focus-bg,
|
|
1544
|
+
box-shadow: $input-focus-box-shadow,
|
|
1545
|
+
outline: 0,
|
|
1546
|
+
z-index: 1,
|
|
1547
|
+
input-group-append: (
|
|
1548
|
+
border-top-left-radius: 0,
|
|
1549
|
+
border-bottom-left-radius: 0,
|
|
1550
|
+
),
|
|
1551
|
+
input-group-prepend: (
|
|
1552
|
+
border-top-right-radius: 0,
|
|
1553
|
+
border-bottom-right-radius: 0,
|
|
1554
|
+
),
|
|
1555
|
+
),
|
|
1556
|
+
),
|
|
1557
|
+
$input-group-item-focusable
|
|
1558
|
+
);
|
|
1559
|
+
|
|
1529
1560
|
// Input Group Inset
|
|
1530
1561
|
|
|
1531
1562
|
$input-group-inset-item-color: $input-group-addon-color !default;
|
|
@@ -587,13 +587,19 @@ $link-hover-decoration: underline !default;
|
|
|
587
587
|
$link: () !default;
|
|
588
588
|
$link: map-deep-merge(
|
|
589
589
|
(
|
|
590
|
+
border-radius: 1px,
|
|
590
591
|
color: $link-color,
|
|
591
592
|
text-decoration: $link-decoration,
|
|
592
593
|
text-underline-offset: 0.23em,
|
|
594
|
+
transition: clay-enable-transitions($component-transition),
|
|
593
595
|
hover: (
|
|
594
596
|
color: $link-hover-color,
|
|
595
597
|
text-decoration: $link-hover-decoration,
|
|
596
598
|
),
|
|
599
|
+
focus: (
|
|
600
|
+
box-shadow: $component-focus-box-shadow,
|
|
601
|
+
outline: 0,
|
|
602
|
+
),
|
|
597
603
|
),
|
|
598
604
|
$link
|
|
599
605
|
);
|
|
@@ -66,9 +66,17 @@ $clay-range-input: map-deep-merge(
|
|
|
66
66
|
position: absolute,
|
|
67
67
|
right: -0.75rem,
|
|
68
68
|
top: 50%,
|
|
69
|
-
visibility: hidden,
|
|
70
69
|
width: 1.5rem,
|
|
71
70
|
),
|
|
71
|
+
ms-thumb: (
|
|
72
|
+
visibility: hidden,
|
|
73
|
+
),
|
|
74
|
+
moz-range-thumb: (
|
|
75
|
+
visibility: hidden,
|
|
76
|
+
),
|
|
77
|
+
webkit-slider-thumb: (
|
|
78
|
+
visibility: hidden,
|
|
79
|
+
),
|
|
72
80
|
clay-range-track: (
|
|
73
81
|
appearance: none,
|
|
74
82
|
background-color: $gray-300,
|
|
@@ -172,3 +180,27 @@ $clay-range-input: map-deep-merge(
|
|
|
172
180
|
),
|
|
173
181
|
$clay-range-input
|
|
174
182
|
);
|
|
183
|
+
|
|
184
|
+
$clay-range-progress-none: () !default;
|
|
185
|
+
$clay-range-progress-none: map-deep-merge(
|
|
186
|
+
(
|
|
187
|
+
clay-range-input: (
|
|
188
|
+
ms-thumb: (
|
|
189
|
+
visibility: visible,
|
|
190
|
+
),
|
|
191
|
+
moz-range-thumb: (
|
|
192
|
+
visibility: visible,
|
|
193
|
+
),
|
|
194
|
+
webkit-slider-thumb: (
|
|
195
|
+
visibility: visible,
|
|
196
|
+
),
|
|
197
|
+
clay-range-thumb: (
|
|
198
|
+
visibility: hidden,
|
|
199
|
+
),
|
|
200
|
+
clay-range-progress: (
|
|
201
|
+
visibility: hidden,
|
|
202
|
+
),
|
|
203
|
+
),
|
|
204
|
+
),
|
|
205
|
+
$clay-range-progress-none
|
|
206
|
+
);
|