@ardium-ui/ui 5.0.0-alpha.74 → 5.0.0-alpha.76
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/fesm2022/ardium-ui-ui.mjs +106 -106
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/slider/range-slider/range-slider.component.d.ts +1 -1
- package/package.json +1 -1
- package/prebuilt-themes/default/badge.css +222 -221
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +305 -304
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +302 -303
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +290 -290
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +364 -364
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +130 -137
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +74 -72
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +339 -338
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +384 -383
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +28 -26
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +105 -103
- package/prebuilt-themes/default/color-picker.css.map +1 -1
- package/prebuilt-themes/default/core.css +13 -9
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +15 -15
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +73 -72
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +35 -34
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +286 -285
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +102 -102
- package/prebuilt-themes/default/form-field-frame.css.map +1 -1
- package/prebuilt-themes/default/form-field.css +127 -129
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +163 -162
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +99 -98
- package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +125 -125
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +110 -111
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +358 -359
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +140 -138
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +128 -126
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +204 -204
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +98 -97
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +10 -8
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +17 -15
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +79 -77
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +250 -234
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +172 -170
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +231 -232
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +414 -412
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +274 -275
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +294 -293
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +370 -369
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +173 -172
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +156 -155
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +259 -262
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +234 -233
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +46 -45
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +441 -439
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/badge.scss +92 -90
- package/themes/default/buttons/button.scss +70 -68
- package/themes/default/buttons/fab.scss +63 -61
- package/themes/default/buttons/icon-button.scss +56 -54
- package/themes/default/calendar.scss +215 -211
- package/themes/default/card.scss +133 -131
- package/themes/default/checkbox-list.scss +70 -68
- package/themes/default/checkbox.scss +55 -53
- package/themes/default/chips.scss +166 -159
- package/themes/default/color-display.scss +31 -29
- package/themes/default/color-picker.scss +95 -93
- package/themes/default/core.scss +14 -9
- package/themes/default/dialog.scss +15 -13
- package/themes/default/divider.scss +79 -77
- package/themes/default/dropdown-panel.scss +37 -35
- package/themes/default/file-drop-area.scss +152 -150
- package/themes/default/form-field-frame.scss +69 -67
- package/themes/default/form-field.scss +109 -107
- package/themes/default/inputs/autocomplete-input.scss +61 -59
- package/themes/default/inputs/color-input.scss +34 -32
- package/themes/default/inputs/date-input.scss +63 -61
- package/themes/default/inputs/digit-input.scss +83 -81
- package/themes/default/inputs/file-input.scss +113 -111
- package/themes/default/inputs/hex-input.scss +39 -37
- package/themes/default/inputs/input.scss +27 -25
- package/themes/default/inputs/number-input.scss +137 -135
- package/themes/default/inputs/password-input.scss +60 -58
- package/themes/default/kbd-shortcut.scss +9 -7
- package/themes/default/kbd.scss +19 -17
- package/themes/default/modal.scss +79 -77
- package/themes/default/progress-bar.scss +127 -103
- package/themes/default/progress-circle.scss +41 -39
- package/themes/default/radio.scss +92 -90
- package/themes/default/segment.scss +260 -255
- package/themes/default/select.scss +206 -204
- package/themes/default/slide-toggle.scss +146 -144
- package/themes/default/slider.scss +185 -179
- package/themes/default/snackbar.scss +32 -30
- package/themes/default/spinner.scss +16 -14
- package/themes/default/stars.scss +81 -79
- package/themes/default/tabber.scss +86 -84
- package/themes/default/table-pagination.scss +47 -46
- package/themes/default/table.scss +342 -340
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/table.scss","../../../../projects/ui/src/themes/default/_coloring.scss"],"names":[],"mappings":"AAKA;EAKE;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/table.scss","../../../../projects/ui/src/themes/default/_coloring.scss"],"names":[],"mappings":"AAKA;EAKE;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IAEE;IACA;IA8JA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EC5MF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDlGA;IACE;;EAGF;AAAA;IAEE;;EAEA;AAAA;IACE;IACA;IACA;IACA;IACA;;EAEA;AAAA;IACE;IACA;IACA;;EAEA;AAAA;IACE;IACA;IACA;;EAKR;IACE;IACA;IACA;;EAEF;IACE;IACA;;EAEA;IACE;IACA;IACA;;EAIF;IACE;IACA;IACA;IACA;IACA;;EAGJ;IACE;;EAKA;IACE;;EAEF;IACE;;EAMF;AAAA;IAEE;;EAEF;IACE;;EAEF;IACE;;EAGJ;IACE;IACA;IACA;IACA;;EAEA;IACE;;EAEA;IACE;IACA;IACA;;EAEA;IACE;;EASJ;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;;EAEF;IACE;IACA;;EAEF;IACE;IACA;;EAOR;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEA;IACE;IACA;IACA;;EAMF;IACE;;EAiBF;IACE;IACA;;EAEF;IACE;IACA;;EAIF;IACE;;EAEF;IACE;IACA;;EAEF;IACE;;EAIF;IACE;;EAEF;IACE;IACA;;EAEF;IACE;;EAKF;AAAA;AAAA;IAGE;;EAEF;IACE;IACA;;EACA;IACE;;EAGJ;IACE;;EAEF;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EACA;IACE;IACA;;EAEA;IACE;IACA;;EAIN;IACE;IACA;;EAGE;IACE;;EAIF;IACE;;EAUJ;AAAA;IACE;IACA;;EAGJ;IACE;;EAEA;IACE;;EAGJ;IACE;;EAGA;IACE;IACA;;EAGJ;IACE;;EAMF;IACE;;EAMF;IACE;;EAGJ;IACE;;EAEF;IACE;;EAIF;IACE;IACA;IACA;;EAIF;IACE;;EAKA;IACE;IACA;IACA;;EAQF;IACE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE;;EAOF;AAAA;AAAA;AAAA;IAEE;;EAMF;AAAA;AAAA;AAAA;IAEE;;EAMF;AAAA;AAAA;AAAA;IAEE;;EAMF;IACE;;EAMF;IACE;;EAMF;IACE","file":"table.css"}
|
|
@@ -24,104 +24,106 @@
|
|
|
24
24
|
--ard-badge-overlap-offset: 0.3em;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
@layer ard-theme {
|
|
28
|
+
.ard-badge-host {
|
|
29
|
+
position: relative;
|
|
30
|
+
}
|
|
31
|
+
.ard-badge {
|
|
32
|
+
@include CM.typeColors();
|
|
33
|
+
position: absolute;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
pointer-events: none;
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
//! colors
|
|
39
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
40
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
//! variants
|
|
43
|
+
&.ard-variant-pill {
|
|
44
|
+
border-radius: 9999px;
|
|
45
|
+
}
|
|
46
|
+
&.ard-variant-rounded {
|
|
47
|
+
border-radius: var(--ard-_badge-radius);
|
|
48
|
+
}
|
|
49
|
+
&.ard-variant-sharp {
|
|
50
|
+
border-radius: 0;
|
|
51
|
+
}
|
|
51
52
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
//! hidden
|
|
54
|
+
&.ard-badge-hidden {
|
|
55
|
+
display: none;
|
|
56
|
+
}
|
|
56
57
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
//! sizes
|
|
59
|
+
font-size: var(--ard-_badge-font-size);
|
|
60
|
+
min-width: var(--ard-_badge-size);
|
|
61
|
+
height: var(--ard-_badge-size);
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
.ard-badge-content {
|
|
64
|
+
padding: 0 var(--ard-_badge-padding);
|
|
65
|
+
}
|
|
65
66
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
67
|
+
&.ard-badge-size-small {
|
|
68
|
+
--ard-_badge-font-size: var(--ard-badge-small-font-size, 0.55rem);
|
|
69
|
+
--ard-_badge-size: var(--ard-badge-small-size, calc(var(--ard-badge-small-font-size) * 1.375));
|
|
70
|
+
--ard-_badge-padding: calc(var(--ard-badge-small-font-size) * 0.5);
|
|
71
|
+
--ard-_badge-radius: var(--ard-badge-small-rounded-radius, calc(var(--ard-badge-small-font-size) * 0.25));
|
|
72
|
+
font-weight: var(--ard-badge-small-font-weight, 400);
|
|
73
|
+
letter-spacing: var(--ard-badge-small-letter-spacing, 0.2px);
|
|
74
|
+
}
|
|
75
|
+
&.ard-badge-size-medium {
|
|
76
|
+
--ard-_badge-font-size: var(--ard-badge-medium-font-size, 0.667rem);
|
|
77
|
+
--ard-_badge-size: var(--ard-badge-medium-size, calc(var(--ard-badge-medium-font-size) * 1.375));
|
|
78
|
+
--ard-_badge-padding: calc(var(--ard-badge-medium-font-size) * 0.5);
|
|
79
|
+
--ard-_badge-radius: var(--ard-badge-medium-rounded-radius, calc(var(--ard-badge-medium-font-size) * 0.25));
|
|
80
|
+
font-weight: var(--ard-badge-medium-font-weight, 500);
|
|
81
|
+
letter-spacing: var(--ard-badge-medium-letter-spacing, 0.2px);
|
|
82
|
+
}
|
|
83
|
+
&.ard-badge-size-large {
|
|
84
|
+
--ard-_badge-font-size: var(--ard-badge-large-font-size, 0.8125rem);
|
|
85
|
+
--ard-_badge-size: var(--ard-badge-large-size, calc(var(--ard-badge-large-font-size) * 1.375));
|
|
86
|
+
--ard-_badge-padding: calc(var(--ard-badge-large-font-size) * 0.5);
|
|
87
|
+
--ard-_badge-radius: var(--ard-badge-large-rounded-radius, calc(var(--ard-badge-large-font-size) * 0.25));
|
|
88
|
+
font-weight: var(--ard-badge-large-font-weight, 600);
|
|
89
|
+
letter-spacing: var(--ard-badge-large-letter-spacing, 0.2px);
|
|
90
|
+
}
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
//! overlap
|
|
93
|
+
--ard-_badge-overlap-offset-x: var(--ard-badge-overlap-offset, 0.3em);
|
|
93
94
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
95
|
+
&.ard-badge-overlap {
|
|
96
|
+
--ard-_badge-overlap-offset-x: 50%;
|
|
97
|
+
}
|
|
98
|
+
&.ard-badge-position-above-before {
|
|
99
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
|
|
100
|
+
}
|
|
101
|
+
&.ard-badge-position-above-after {
|
|
102
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
|
|
103
|
+
}
|
|
104
|
+
&.ard-badge-position-below-after {
|
|
105
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
|
|
106
|
+
}
|
|
107
|
+
&.ard-badge-position-below-before {
|
|
108
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
|
|
109
|
+
}
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
111
|
+
//! positions
|
|
112
|
+
&.ard-badge-position-above-before,
|
|
113
|
+
&.ard-badge-position-below-before {
|
|
114
|
+
right: 100%;
|
|
115
|
+
}
|
|
116
|
+
&.ard-badge-position-above-after,
|
|
117
|
+
&.ard-badge-position-below-after {
|
|
118
|
+
left: 100%;
|
|
119
|
+
}
|
|
120
|
+
&.ard-badge-position-below-before,
|
|
121
|
+
&.ard-badge-position-below-after {
|
|
122
|
+
top: 100%;
|
|
123
|
+
}
|
|
124
|
+
&.ard-badge-position-above-before,
|
|
125
|
+
&.ard-badge-position-above-after {
|
|
126
|
+
bottom: 100%;
|
|
127
|
+
}
|
|
126
128
|
}
|
|
127
129
|
}
|
|
@@ -23,82 +23,84 @@
|
|
|
23
23
|
--ard-button-disabled-opacity: 0.6;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
ard-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
justify-content: stretch;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.ard-button {
|
|
34
|
-
@include shared.button(
|
|
35
|
-
var(--ard-button-margin, 0.125rem),
|
|
36
|
-
var(--ard-button-padding, 0 1.2em),
|
|
37
|
-
var(--ard-button-font-size, 0.875rem),
|
|
38
|
-
var(--ard-button-font-weight, 500),
|
|
39
|
-
var(--ard-button-overlay-hover-opacity, 0.04),
|
|
40
|
-
var(--ard-button-overlay-focus-opacity, 0.12),
|
|
41
|
-
var(--ard-button-overlay-active-opacity, 0.18),
|
|
42
|
-
var(--ard-button-overlay-focus-visible-opacity, 0.24)
|
|
43
|
-
);
|
|
44
|
-
background: transparent;
|
|
45
|
-
gap: var(--ard-button-gap, 0.375rem);
|
|
46
|
-
font-size: var(--ard-button-font-size, 0.875rem);
|
|
47
|
-
height: var(--ard-button-height, 2.5em);
|
|
48
|
-
padding: var(--ard-button-padding, 0 1.2em);
|
|
49
|
-
width: max-content;
|
|
50
|
-
min-width: max-content;
|
|
51
|
-
letter-spacing: 0.5px;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
margin: 0;
|
|
54
|
-
user-select: none;
|
|
55
|
-
text-decoration: none;
|
|
56
|
-
flex-grow: 1;
|
|
57
|
-
|
|
58
|
-
//! aligns
|
|
59
|
-
&.ard-align-left {
|
|
60
|
-
flex-direction: row;
|
|
61
|
-
}
|
|
62
|
-
&.ard-align-right {
|
|
63
|
-
flex-direction: row-reverse;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
//! button variants
|
|
67
|
-
&.ard-button-vertical {
|
|
26
|
+
@layer ard-theme {
|
|
27
|
+
ard-button {
|
|
28
|
+
display: flex;
|
|
29
|
+
width: max-content;
|
|
68
30
|
height: max-content;
|
|
69
|
-
|
|
70
|
-
gap: 2px;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
}
|
|
73
|
-
&.ard-variant-rounded,
|
|
74
|
-
&.ard-variant-pill.ard-button-vertical {
|
|
75
|
-
border-radius: var(--ard-button-rounded-corner-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
76
|
-
}
|
|
77
|
-
&.ard-variant-pill:not(.ard-button-vertical) {
|
|
78
|
-
border-radius: 9999px;
|
|
79
|
-
}
|
|
80
|
-
&.ard-variant-sharp {
|
|
81
|
-
border-radius: 0;
|
|
31
|
+
justify-content: stretch;
|
|
82
32
|
}
|
|
83
33
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
34
|
+
.ard-button {
|
|
35
|
+
@include shared.button(
|
|
36
|
+
var(--ard-button-margin, 0.125rem),
|
|
37
|
+
var(--ard-button-padding, 0 1.2em),
|
|
38
|
+
var(--ard-button-font-size, 0.875rem),
|
|
39
|
+
var(--ard-button-font-weight, 500),
|
|
40
|
+
var(--ard-button-overlay-hover-opacity, 0.04),
|
|
41
|
+
var(--ard-button-overlay-focus-opacity, 0.12),
|
|
42
|
+
var(--ard-button-overlay-active-opacity, 0.18),
|
|
43
|
+
var(--ard-button-overlay-focus-visible-opacity, 0.24)
|
|
44
|
+
);
|
|
45
|
+
background: transparent;
|
|
46
|
+
gap: var(--ard-button-gap, 0.375rem);
|
|
47
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
48
|
+
height: var(--ard-button-height, 2.5em);
|
|
49
|
+
padding: var(--ard-button-padding, 0 1.2em);
|
|
50
|
+
width: max-content;
|
|
51
|
+
min-width: max-content;
|
|
52
|
+
letter-spacing: 0.5px;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
margin: 0;
|
|
55
|
+
user-select: none;
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
flex-grow: 1;
|
|
89
58
|
|
|
59
|
+
//! aligns
|
|
60
|
+
&.ard-align-left {
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
}
|
|
63
|
+
&.ard-align-right {
|
|
64
|
+
flex-direction: row-reverse;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
//! button variants
|
|
90
68
|
&.ard-button-vertical {
|
|
91
69
|
height: max-content;
|
|
92
|
-
padding: var(--ard-button-padding-vertical
|
|
93
|
-
gap:
|
|
70
|
+
padding: var(--ard-button-padding-vertical, 0.3em 1em);
|
|
71
|
+
gap: 2px;
|
|
72
|
+
flex-direction: column;
|
|
94
73
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
74
|
+
&.ard-variant-rounded,
|
|
75
|
+
&.ard-variant-pill.ard-button-vertical {
|
|
76
|
+
border-radius: var(--ard-button-rounded-corner-radius, var(--ard-rounded-corner-radius, 0.375rem));
|
|
77
|
+
}
|
|
78
|
+
&.ard-variant-pill:not(.ard-button-vertical) {
|
|
79
|
+
border-radius: 9999px;
|
|
80
|
+
}
|
|
81
|
+
&.ard-variant-sharp {
|
|
82
|
+
border-radius: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
//! compact
|
|
86
|
+
&.ard-compact {
|
|
87
|
+
font-size: var(--ard-button-font-size-compact, 0.75rem);
|
|
88
|
+
height: var(--ard-button-height-compact, 2.25em);
|
|
89
|
+
padding: var(--ard-button-padding-compact, 0 0.9em);
|
|
90
|
+
|
|
91
|
+
&.ard-button-vertical {
|
|
92
|
+
height: max-content;
|
|
93
|
+
padding: var(--ard-button-padding-vertical-compact, 0.2em 0.8em);
|
|
94
|
+
gap: 0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
//! disabled
|
|
98
|
+
&.ard-disabled {
|
|
99
|
+
@include shared.button-disabled(var(--ard-button-disabled-opacity, 0.6), var(--ard-button-overlay-disabled-opacity, 0.2));
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
&.ard-button-with-pointer-events-when-disabled {
|
|
102
|
+
pointer-events: all;
|
|
103
|
+
}
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
106
|
}
|
|
@@ -17,74 +17,76 @@
|
|
|
17
17
|
--ard-fab-disabled-opacity: 0.6;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
ard-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
height: max-content;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ard-fab {
|
|
28
|
-
@include shared.button(
|
|
29
|
-
0,
|
|
30
|
-
0,
|
|
31
|
-
unset,
|
|
32
|
-
var(--ard-fab-font-weight, 900),
|
|
33
|
-
var(--ard-fab-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04)),
|
|
34
|
-
var(--ard-fab-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12)),
|
|
35
|
-
var(--ard-fab-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18)),
|
|
36
|
-
var(--ard-fab-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24))
|
|
37
|
-
);
|
|
38
|
-
height: var(--ard-_fab-size);
|
|
39
|
-
width: var(--ard-_fab-size);
|
|
40
|
-
max-height: var(--ard-_fab-size);
|
|
41
|
-
max-width: var(--ard-_fab-size);
|
|
42
|
-
min-height: var(--ard-_fab-size);
|
|
43
|
-
min-width: var(--ard-_fab-size);
|
|
44
|
-
user-select: none;
|
|
45
|
-
border-radius: 9999px;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
margin: 0;
|
|
48
|
-
font-weight: 500;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
transition: max-width 0.5s ease;
|
|
51
|
-
|
|
52
|
-
&.ard-fab-size-standard {
|
|
53
|
-
--ard-_fab-size: var(--ard-fab-size-standard, 3.5rem);
|
|
54
|
-
font-size: var(--ard-fab-size-standard-font-size, 1.75rem);
|
|
55
|
-
}
|
|
56
|
-
&.ard-fab-size-small {
|
|
57
|
-
--ard-_fab-size: var(--ard-fab-size-small, 2.5rem);
|
|
58
|
-
font-size: var(--ard-fab-size-small-font-size, 1.375rem);
|
|
59
|
-
}
|
|
60
|
-
&.ard-fab-extended {
|
|
61
|
-
min-width: var(--ard-_fab-size);
|
|
20
|
+
@layer ard-theme {
|
|
21
|
+
ard-fab {
|
|
22
|
+
margin: var(--ard-fab-margin, 0.5rem);
|
|
23
|
+
display: block;
|
|
62
24
|
width: max-content;
|
|
63
|
-
|
|
64
|
-
gap: var(--ard-fab-extended-gap, 1em);
|
|
65
|
-
max-width: 10em;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
ard-icon {
|
|
69
|
-
font-size: 1em;
|
|
25
|
+
height: max-content;
|
|
70
26
|
}
|
|
71
|
-
&.ard-appearance-transparent {
|
|
72
|
-
@include CM.focus-overlay-scale-addon();
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
27
|
|
|
76
|
-
ard-fab
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
28
|
+
.ard-fab {
|
|
29
|
+
@include shared.button(
|
|
30
|
+
0,
|
|
31
|
+
0,
|
|
32
|
+
unset,
|
|
33
|
+
var(--ard-fab-font-weight, 900),
|
|
34
|
+
var(--ard-fab-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04)),
|
|
35
|
+
var(--ard-fab-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12)),
|
|
36
|
+
var(--ard-fab-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18)),
|
|
37
|
+
var(--ard-fab-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24))
|
|
81
38
|
);
|
|
39
|
+
height: var(--ard-_fab-size);
|
|
40
|
+
width: var(--ard-_fab-size);
|
|
41
|
+
max-height: var(--ard-_fab-size);
|
|
42
|
+
max-width: var(--ard-_fab-size);
|
|
43
|
+
min-height: var(--ard-_fab-size);
|
|
44
|
+
min-width: var(--ard-_fab-size);
|
|
45
|
+
user-select: none;
|
|
46
|
+
border-radius: 9999px;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
margin: 0;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
transition: max-width 0.5s ease;
|
|
52
|
+
|
|
53
|
+
&.ard-fab-size-standard {
|
|
54
|
+
--ard-_fab-size: var(--ard-fab-size-standard, 3.5rem);
|
|
55
|
+
font-size: var(--ard-fab-size-standard-font-size, 1.75rem);
|
|
56
|
+
}
|
|
57
|
+
&.ard-fab-size-small {
|
|
58
|
+
--ard-_fab-size: var(--ard-fab-size-small, 2.5rem);
|
|
59
|
+
font-size: var(--ard-fab-size-small-font-size, 1.375rem);
|
|
60
|
+
}
|
|
61
|
+
&.ard-fab-extended {
|
|
62
|
+
min-width: var(--ard-_fab-size);
|
|
63
|
+
width: max-content;
|
|
64
|
+
font-weight: unset;
|
|
65
|
+
gap: var(--ard-fab-extended-gap, 1em);
|
|
66
|
+
max-width: 10em;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
ard-icon {
|
|
70
|
+
font-size: 1em;
|
|
71
|
+
}
|
|
72
|
+
&.ard-appearance-transparent {
|
|
73
|
+
@include CM.focus-overlay-scale-addon();
|
|
74
|
+
}
|
|
82
75
|
}
|
|
83
|
-
&.ard-button-with-pointer-events-when-disabled {
|
|
84
|
-
pointer-events: all;
|
|
85
76
|
|
|
86
|
-
|
|
77
|
+
ard-fab.ard-disabled {
|
|
78
|
+
> .ard-fab {
|
|
79
|
+
@include shared.button-disabled(
|
|
80
|
+
var(--ard-fab-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2)),
|
|
81
|
+
var(--ard-fab-disabled-opacity, var(--ard-button-disabled-opacity, 0.6))
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
&.ard-button-with-pointer-events-when-disabled {
|
|
87
85
|
pointer-events: all;
|
|
86
|
+
|
|
87
|
+
> .ard-button {
|
|
88
|
+
pointer-events: all;
|
|
89
|
+
}
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
}
|
|
@@ -18,68 +18,70 @@
|
|
|
18
18
|
// --ard-icon-button-disabled-opacity: ;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
ard-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
.ard-icon-button {
|
|
32
|
-
@include shared.button(
|
|
33
|
-
0,
|
|
34
|
-
0,
|
|
35
|
-
inherit,
|
|
36
|
-
inherit,
|
|
37
|
-
var(--ard-icon-button-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04)),
|
|
38
|
-
var(--ard-icon-button-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12)),
|
|
39
|
-
var(--ard-icon-button-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18)),
|
|
40
|
-
var(--ard-icon-button-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24))
|
|
41
|
-
);
|
|
42
|
-
background: transparent;
|
|
43
|
-
height: var(--ard-icon-button-height, 2.1875em);
|
|
44
|
-
aspect-ratio: 1;
|
|
45
|
-
border-radius: 9999px;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
padding: 0;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
color: var(--ard-cmpcl--bg-colored);
|
|
51
|
-
|
|
52
|
-
> ard-icon {
|
|
53
|
-
font-weight: 500;
|
|
54
|
-
font-size: var(--ard-icon-button-icon-font-size);
|
|
21
|
+
@layer ard-theme {
|
|
22
|
+
ard-icon-button {
|
|
23
|
+
height: max-content;
|
|
24
|
+
width: max-content;
|
|
25
|
+
border-radius: 9999px;
|
|
26
|
+
aspect-ratio: 1;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
margin: var(--ard-icon-button-margin, 0);
|
|
29
|
+
font-size: var(--ard-icon-button-font-size, 1rem);
|
|
55
30
|
}
|
|
56
|
-
//! compact
|
|
57
|
-
&.ard-compact {
|
|
58
|
-
height: var(--ard-icon-button-height-compact, 2.25em);
|
|
59
|
-
font-size: var(--ard-icon-button-font-size-compact, 0.75rem);
|
|
60
|
-
}
|
|
61
|
-
//! light coloring
|
|
62
|
-
&.ard-light-coloring {
|
|
63
|
-
color: var(--ard-cmpcl--bg-colored-light);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
31
|
|
|
67
|
-
ard-icon-button
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
32
|
+
.ard-icon-button {
|
|
33
|
+
@include shared.button(
|
|
34
|
+
0,
|
|
35
|
+
0,
|
|
36
|
+
inherit,
|
|
37
|
+
inherit,
|
|
38
|
+
var(--ard-icon-button-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04)),
|
|
39
|
+
var(--ard-icon-button-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12)),
|
|
40
|
+
var(--ard-icon-button-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18)),
|
|
41
|
+
var(--ard-icon-button-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24))
|
|
72
42
|
);
|
|
43
|
+
background: transparent;
|
|
44
|
+
height: var(--ard-icon-button-height, 2.1875em);
|
|
45
|
+
aspect-ratio: 1;
|
|
46
|
+
border-radius: 9999px;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
padding: 0;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
73
52
|
|
|
74
|
-
|
|
75
|
-
|
|
53
|
+
> ard-icon {
|
|
54
|
+
font-weight: 500;
|
|
55
|
+
font-size: var(--ard-icon-button-icon-font-size);
|
|
56
|
+
}
|
|
57
|
+
//! compact
|
|
58
|
+
&.ard-compact {
|
|
59
|
+
height: var(--ard-icon-button-height-compact, 2.25em);
|
|
60
|
+
font-size: var(--ard-icon-button-font-size-compact, 0.75rem);
|
|
61
|
+
}
|
|
62
|
+
//! light coloring
|
|
63
|
+
&.ard-light-coloring {
|
|
64
|
+
color: var(--ard-cmpcl--bg-colored-light);
|
|
76
65
|
}
|
|
77
66
|
}
|
|
78
|
-
&.ard-button-with-pointer-events-when-disabled {
|
|
79
|
-
pointer-events: all;
|
|
80
67
|
|
|
81
|
-
|
|
68
|
+
ard-icon-button.ard-disabled {
|
|
69
|
+
> .ard-icon-button {
|
|
70
|
+
@include shared.button-disabled(
|
|
71
|
+
var(--ard-icon-button-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2)),
|
|
72
|
+
var(--ard-icon-button-disabled-opacity, var(--ard-button-disabled-opacity, 0.6))
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
.ard-focus-overlay {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
&.ard-button-with-pointer-events-when-disabled {
|
|
82
80
|
pointer-events: all;
|
|
81
|
+
|
|
82
|
+
> .ard-button {
|
|
83
|
+
pointer-events: all;
|
|
84
|
+
}
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
}
|