@ardium-ui/ui 5.0.0-alpha.22 → 5.0.0-alpha.24
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/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +46 -20
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +38 -18
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +33 -14
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/chips.css +1 -1
- package/prebuilt-themes/default/color-display.css +1 -1
- package/prebuilt-themes/default/core.css +3 -0
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +2 -2
- package/prebuilt-themes/default/inputs/date-input.css +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +3 -3
- package/prebuilt-themes/default/inputs/input.css +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +1 -1
- package/prebuilt-themes/default/inputs/search-bar.css +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +1 -1
- package/prebuilt-themes/default/kbd.css +1 -1
- package/prebuilt-themes/default/segment.css +1 -1
- package/prebuilt-themes/default/select.css +78 -38
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/statebox.css +1 -1
- package/prebuilt-themes/default/tabber.css +1 -1
- package/themes/default/buttons/_button-mixins.scss +29 -16
- package/themes/default/buttons/button.scss +41 -11
- package/themes/default/buttons/fab.scss +36 -9
- package/themes/default/buttons/icon-button.scss +31 -5
- package/themes/default/chips.scss +1 -1
- package/themes/default/color-display.scss +1 -1
- package/themes/default/core.scss +5 -0
- package/themes/default/form-field-frame.scss +1 -1
- package/themes/default/inputs/_shared.scss +1 -1
- package/themes/default/inputs/color-input.scss +1 -1
- package/themes/default/inputs/digit-input.scss +1 -1
- package/themes/default/inputs/hex-input.scss +2 -2
- package/themes/default/kbd-shortcut.scss +1 -1
- package/themes/default/kbd.scss +1 -1
- package/themes/default/segment.scss +1 -1
- package/themes/default/select.scss +84 -40
- package/themes/default/statebox.scss +1 -1
- package/themes/default/tabber.scss +1 -1
- package/prebuilt-themes/default/calendar-OLD.css +0 -294
- package/prebuilt-themes/default/calendar-OLD.css.map +0 -1
- package/themes/default/calendar-OLD.scss +0 -183
package/package.json
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ard-button-height: 2.5em;
|
|
3
|
+
--ard-button-height-compact: 2.25em;
|
|
4
|
+
--ard-button-margin: 0.125rem;
|
|
5
|
+
--ard-button-padding: 0 1.2em;
|
|
6
|
+
--ard-button-padding-compact: 0 0.9em;
|
|
7
|
+
--ard-button-padding-vertical: 0.3em 1em;
|
|
8
|
+
--ard-button-padding-vertical-compact: 0.2em 0.8em;
|
|
9
|
+
--ard-button-font-size: 0.875rem;
|
|
10
|
+
--ard-button-font-size-compact: 0.75rem;
|
|
11
|
+
--ard-button-font-weight: 500;
|
|
12
|
+
--ard-button-overlay-hover-opacity: 0.04;
|
|
13
|
+
--ard-button-overlay-focus-opacity: 0.12;
|
|
14
|
+
--ard-button-overlay-active-opacity: 0.18;
|
|
15
|
+
--ard-button-overlay-focus-visible-opacity: 0.24;
|
|
16
|
+
--ard-button-overlay-disabled-opacity: 0.2;
|
|
17
|
+
--ard-button-rounded-corner-radius: var(--ard-rounded-corner-radius, 0.375rem);
|
|
18
|
+
--ard-button-disabled-opacity: 0.6;
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
ard-button {
|
|
2
22
|
display: block;
|
|
3
23
|
width: max-content;
|
|
@@ -5,10 +25,12 @@ ard-button {
|
|
|
5
25
|
}
|
|
6
26
|
|
|
7
27
|
.ard-button {
|
|
8
|
-
font-family:
|
|
9
|
-
margin:
|
|
28
|
+
font-family: var(--ard-font-family);
|
|
29
|
+
margin: var(--ard-button-margin, 0.125rem);
|
|
30
|
+
padding: var(--ard-button-padding, 0 1.2em);
|
|
10
31
|
border: 1px solid transparent;
|
|
11
|
-
font-weight: 500;
|
|
32
|
+
font-weight: var(--ard-button-font-weight, 500);
|
|
33
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
12
34
|
display: inline-flex;
|
|
13
35
|
align-items: center;
|
|
14
36
|
position: relative;
|
|
@@ -16,14 +38,15 @@ ard-button {
|
|
|
16
38
|
outline: none;
|
|
17
39
|
background: transparent;
|
|
18
40
|
gap: 0.375rem;
|
|
19
|
-
font-size: 0.875rem;
|
|
20
|
-
height: 2.5em;
|
|
21
|
-
padding: 0 1.2em;
|
|
41
|
+
font-size: var(--ard-button-font-size, 0.875rem);
|
|
42
|
+
height: var(--ard-button-height, 2.5em);
|
|
43
|
+
padding: var(--ard-button-padding, 0 1.2em);
|
|
22
44
|
letter-spacing: 0.5px;
|
|
23
45
|
width: 100%;
|
|
24
46
|
min-width: max-content;
|
|
25
47
|
justify-content: center;
|
|
26
48
|
margin: 0;
|
|
49
|
+
user-select: none;
|
|
27
50
|
}
|
|
28
51
|
.ard-button.ard-color-none {
|
|
29
52
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
@@ -175,14 +198,17 @@ ard-button {
|
|
|
175
198
|
transition: opacity 0.2s ease;
|
|
176
199
|
background-color: var(--ard-cmpcl--overlay);
|
|
177
200
|
}
|
|
178
|
-
.ard-button:hover .ard-focus-overlay
|
|
179
|
-
opacity:
|
|
201
|
+
.ard-button:hover .ard-focus-overlay {
|
|
202
|
+
opacity: var(--ard-button-overlay-hover-opacity, 0.04);
|
|
203
|
+
}
|
|
204
|
+
.ard-button:focus .ard-focus-overlay {
|
|
205
|
+
opacity: var(--ard-button-overlay-focus-opacity, 0.12);
|
|
180
206
|
}
|
|
181
207
|
.ard-button.ard-active .ard-focus-overlay, .ard-button:active .ard-focus-overlay {
|
|
182
|
-
opacity:
|
|
208
|
+
opacity: var(--ard-button-overlay-active-opacity, 0.18);
|
|
183
209
|
}
|
|
184
210
|
.ard-button:focus-visible .ard-focus-overlay {
|
|
185
|
-
opacity:
|
|
211
|
+
opacity: var(--ard-button-overlay-focus-visible-opacity, 0.24);
|
|
186
212
|
}
|
|
187
213
|
.ard-button.ard-appearance-transparent, .ard-button.ard-appearance-raised {
|
|
188
214
|
background: transparent;
|
|
@@ -227,7 +253,7 @@ ard-button {
|
|
|
227
253
|
.ard-button.ard-appearance-flat, .ard-button.ard-appearance-raised-strong {
|
|
228
254
|
background: var(--ard-cmpcl--bg);
|
|
229
255
|
color: var(--ard-cmpcl--on-bg);
|
|
230
|
-
border:
|
|
256
|
+
border: 1px solid var(--ard-cmpcl--bg);
|
|
231
257
|
}
|
|
232
258
|
.ard-button.ard-appearance-flat .ard-focus-overlay, .ard-button.ard-appearance-raised-strong .ard-focus-overlay {
|
|
233
259
|
background: var(--ard-cmpcl--on-bg);
|
|
@@ -254,12 +280,12 @@ ard-button {
|
|
|
254
280
|
}
|
|
255
281
|
.ard-button.ard-button-vertical {
|
|
256
282
|
height: max-content;
|
|
257
|
-
padding: 0.3em 1em;
|
|
283
|
+
padding: var(--ard-button-padding-vertical, 0.3em 1em);
|
|
258
284
|
gap: 2px;
|
|
259
285
|
flex-direction: column;
|
|
260
286
|
}
|
|
261
287
|
.ard-button.ard-variant-rounded, .ard-button.ard-variant-pill.ard-button-vertical {
|
|
262
|
-
border-radius:
|
|
288
|
+
border-radius: var(--ard-button-rounded-corner-radius, 0.375rem);
|
|
263
289
|
}
|
|
264
290
|
.ard-button.ard-variant-pill:not(.ard-button-vertical) {
|
|
265
291
|
border-radius: 9999px;
|
|
@@ -268,28 +294,28 @@ ard-button {
|
|
|
268
294
|
border-radius: 0;
|
|
269
295
|
}
|
|
270
296
|
.ard-button.ard-compact {
|
|
271
|
-
font-size: 0.75rem;
|
|
272
|
-
height: 2.25em;
|
|
273
|
-
padding: 0 0.9em;
|
|
297
|
+
font-size: var(--ard-button-font-size-compact, 0.75rem);
|
|
298
|
+
height: var(--ard-button-height-compact, 2.25em);
|
|
299
|
+
padding: var(--ard-button-padding-compact, 0 0.9em);
|
|
274
300
|
}
|
|
275
301
|
.ard-button.ard-compact.ard-button-vertical {
|
|
276
302
|
height: max-content;
|
|
277
|
-
padding: 0.2em 0.8em;
|
|
303
|
+
padding: var(--ard-button-padding-vertical-compact, 0.2em 0.8em);
|
|
278
304
|
gap: 0;
|
|
279
305
|
}
|
|
280
306
|
|
|
281
307
|
ard-button.ard-disabled > .ard-button {
|
|
282
308
|
pointer-events: none;
|
|
283
|
-
opacity:
|
|
309
|
+
opacity: var(--ard-button-disabled-opacity, 0.6);
|
|
284
310
|
cursor: not-allowed;
|
|
285
311
|
}
|
|
286
312
|
ard-button.ard-disabled > .ard-button .ard-focus-overlay {
|
|
287
|
-
opacity:
|
|
313
|
+
opacity: var(--ard-button-overlay-disabled-opacity, 0.2);
|
|
288
314
|
transform: scale(1);
|
|
289
315
|
}
|
|
290
316
|
ard-button.ard-disabled > .ard-button.ard-color-none .ard-button-icon,
|
|
291
317
|
ard-button.ard-disabled > .ard-button.ard-color-none .ard-button-content {
|
|
292
|
-
opacity:
|
|
318
|
+
opacity: var(--ard-button-disabled-opacity, 0.6);
|
|
293
319
|
}
|
|
294
320
|
ard-button.ard-disabled > .ard-button.ard-color-none .ard-focus-overlay {
|
|
295
321
|
background: var(--ard-cmpcl--overlay);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;;;AAGF;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;ECbE;EACA,QDcE;ECbF,SDcE;ECbF;EACA,aDcE;ECbF,WDYE;ECXF;EACA;EACA;EACA;EACA;EDcA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AE9CA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AD1GF;EEzBA;EACA;EACA,yBACE;;AF0BF;EEnBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFYE;;AAGA;EACE,SDJF;;ACQA;EACE,SDRF;;ACaA;EACE,SDbF;;ACiBA;EACE,SDjBF;;ACqBF;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE,YGtEC;EHuED;EACA,YGvCY;;AHyCZ;EAEE,YG1CW;;AH4Cb;EACE,YG5CW;;AH+Cf;EACE,YGnFC;EHoFD;EACA;;AAEA;EACE;;AAGJ;EACE,YG5FC;EH6FD;EACA;EAMA;;AAJA;EACE;;AAIF;EAEE;EACA;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;AD1EJ;EACE;EACA;EACA;;AAIF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;EACA;EACA;;AAEF;EAEE;;AAEF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAMJ;ECkCA;EACA,SDlCkC;ECmClC;;AAEA;EACE,SDtCyE;ECuCzE;;AAKA;AAAA;EAEE,SD9C8B;;ACgDhC;EACE;;AD/CJ;EACE;;AAEA;EACE","file":"button.css"}
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ard-fab-size-standard: 3.5rem;
|
|
3
|
+
--ard-fab-size-small: 2.5rem;
|
|
4
|
+
--ard-fab-margin: 0.5rem;
|
|
5
|
+
--ard-fab-size-standard-font-size: 1.75rem;
|
|
6
|
+
--ard-fab-size-small-font-size: 1.375rem;
|
|
7
|
+
--ard-fab-font-weight: 900;
|
|
8
|
+
--ard-fab-overlay-hover-opacity: 0.04;
|
|
9
|
+
--ard-fab-overlay-focus-opacity: 0.12;
|
|
10
|
+
--ard-fab-overlay-active-opacity: 0.18;
|
|
11
|
+
--ard-fab-overlay-focus-visible-opacity: 0.24;
|
|
12
|
+
--ard-fab-overlay-disabled-opacity: 0.2;
|
|
13
|
+
--ard-fab-rounded-corner-radius: var(--ard-rounded-corner-radius, 0.375rem);
|
|
14
|
+
--ard-fab-disabled-opacity: 0.6;
|
|
15
|
+
}
|
|
16
|
+
|
|
1
17
|
ard-fab {
|
|
2
|
-
margin:
|
|
18
|
+
margin: var(--ard-fab-margin, 0.5rem);
|
|
3
19
|
display: block;
|
|
4
20
|
width: max-content;
|
|
5
21
|
height: max-content;
|
|
6
22
|
}
|
|
7
23
|
|
|
8
24
|
.ard-fab {
|
|
9
|
-
font-family:
|
|
10
|
-
margin:
|
|
25
|
+
font-family: var(--ard-font-family);
|
|
26
|
+
margin: 0;
|
|
27
|
+
padding: 0;
|
|
11
28
|
border: 1px solid transparent;
|
|
12
|
-
font-weight:
|
|
29
|
+
font-weight: var(--ard-fab-font-weight, 900);
|
|
30
|
+
font-size: unset;
|
|
13
31
|
display: inline-flex;
|
|
14
32
|
align-items: center;
|
|
15
33
|
position: relative;
|
|
@@ -17,9 +35,8 @@ ard-fab {
|
|
|
17
35
|
outline: none;
|
|
18
36
|
height: var(--ard-_fab-size);
|
|
19
37
|
width: var(--ard-_fab-size);
|
|
20
|
-
font-weight: 900;
|
|
21
38
|
user-select: none;
|
|
22
|
-
border-radius:
|
|
39
|
+
border-radius: 9999px;
|
|
23
40
|
justify-content: center;
|
|
24
41
|
margin: 0;
|
|
25
42
|
}
|
|
@@ -173,14 +190,17 @@ ard-fab {
|
|
|
173
190
|
transition: opacity 0.2s ease;
|
|
174
191
|
background-color: var(--ard-cmpcl--overlay);
|
|
175
192
|
}
|
|
176
|
-
.ard-fab:hover .ard-focus-overlay
|
|
177
|
-
opacity:
|
|
193
|
+
.ard-fab:hover .ard-focus-overlay {
|
|
194
|
+
opacity: var(--ard-fab-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04));
|
|
195
|
+
}
|
|
196
|
+
.ard-fab:focus .ard-focus-overlay {
|
|
197
|
+
opacity: var(--ard-fab-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12));
|
|
178
198
|
}
|
|
179
199
|
.ard-fab.ard-active .ard-focus-overlay, .ard-fab:active .ard-focus-overlay {
|
|
180
|
-
opacity:
|
|
200
|
+
opacity: var(--ard-fab-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18));
|
|
181
201
|
}
|
|
182
202
|
.ard-fab:focus-visible .ard-focus-overlay {
|
|
183
|
-
opacity:
|
|
203
|
+
opacity: var(--ard-fab-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24));
|
|
184
204
|
}
|
|
185
205
|
.ard-fab.ard-appearance-transparent, .ard-fab.ard-appearance-raised {
|
|
186
206
|
background: transparent;
|
|
@@ -225,7 +245,7 @@ ard-fab {
|
|
|
225
245
|
.ard-fab.ard-appearance-flat, .ard-fab.ard-appearance-raised-strong {
|
|
226
246
|
background: var(--ard-cmpcl--bg);
|
|
227
247
|
color: var(--ard-cmpcl--on-bg);
|
|
228
|
-
border:
|
|
248
|
+
border: 1px solid var(--ard-cmpcl--bg);
|
|
229
249
|
}
|
|
230
250
|
.ard-fab.ard-appearance-flat .ard-focus-overlay, .ard-fab.ard-appearance-raised-strong .ard-focus-overlay {
|
|
231
251
|
background: var(--ard-cmpcl--on-bg);
|
|
@@ -240,12 +260,12 @@ ard-fab {
|
|
|
240
260
|
background: var(--ard-cmpcl--overlay-colored-light);
|
|
241
261
|
}
|
|
242
262
|
.ard-fab.ard-fab-size-standard {
|
|
243
|
-
--ard-_fab-size: 3.5rem;
|
|
244
|
-
font-size: 1.75rem;
|
|
263
|
+
--ard-_fab-size: var(--ard-fab-size-standard, 3.5rem);
|
|
264
|
+
font-size: var(--ard-fab-size-standard-font-size, 1.75rem);
|
|
245
265
|
}
|
|
246
266
|
.ard-fab.ard-fab-size-small {
|
|
247
|
-
--ard-_fab-size: 2.5rem;
|
|
248
|
-
font-size: 1.375rem;
|
|
267
|
+
--ard-_fab-size: var(--ard-fab-size-small, 2.5rem);
|
|
268
|
+
font-size: var(--ard-fab-size-small-font-size, 1.375rem);
|
|
249
269
|
}
|
|
250
270
|
.ard-fab.ard-fab-extended {
|
|
251
271
|
min-width: var(--ard-_fab-size);
|
|
@@ -277,16 +297,16 @@ ard-fab {
|
|
|
277
297
|
|
|
278
298
|
ard-fab.ard-disabled > .ard-fab {
|
|
279
299
|
pointer-events: none;
|
|
280
|
-
opacity:
|
|
300
|
+
opacity: var(--ard-fab-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2));
|
|
281
301
|
cursor: not-allowed;
|
|
282
302
|
}
|
|
283
303
|
ard-fab.ard-disabled > .ard-fab .ard-focus-overlay {
|
|
284
|
-
opacity:
|
|
304
|
+
opacity: var(--ard-fab-disabled-opacity, var(--ard-button-disabled-opacity, 0.6));
|
|
285
305
|
transform: scale(1);
|
|
286
306
|
}
|
|
287
307
|
ard-fab.ard-disabled > .ard-fab.ard-color-none .ard-button-icon,
|
|
288
308
|
ard-fab.ard-disabled > .ard-fab.ard-color-none .ard-button-content {
|
|
289
|
-
opacity:
|
|
309
|
+
opacity: var(--ard-fab-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2));
|
|
290
310
|
}
|
|
291
311
|
ard-fab.ard-disabled > .ard-fab.ard-color-none .ard-focus-overlay {
|
|
292
312
|
background: var(--ard-cmpcl--overlay);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/fab.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAGA;EACE;EACA;EACA;EACA;;;AAGF;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/fab.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;ECXE;EACA,QDYE;ECXF,SDYE;ECXF;EACA,aDYE;ECXF,WDUE;ECTF;EACA;EACA;EACA;EACA;EDYA;EACA;EACA;EACA;EACA;EACA;;AEvCA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AD1GF;EEzBA;EACA;EACA,yBACE;;AF0BF;EEnBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFYE;;AAGA;EACE,SDNF;;ACUA;EACE,SDVF;;ACeA;EACE,SDfF;;ACmBA;EACE,SDnBF;;ACuBF;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE,YGtEC;EHuED;EACA,YGvCY;;AHyCZ;EAEE,YG1CW;;AH4Cb;EACE,YG5CW;;AH+Cf;EACE,YGnFC;EHoFD;EACA;;AAEA;EACE;;AAGJ;EACE,YG5FC;EH6FD;EACA;EAMA;;AAJA;EACE;;AAIF;EAEE;EACA;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;ADjFJ;EACE;EACA;;AAEF;EACE;EACA;;AAEF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AG/CJ;EACE;EAEA,YACE;;AAMF;EACE;;;AH8CJ;ECkDA;EACA,SDjDI;ECkDJ;;AAEA;EACE,SDpDE;ECqDF;;AAKA;AAAA;EAEE,SD7DA;;AC+DF;EACE;;AD5DJ;EACE;;AAEA;EACE;;;AAKN;EACE;IACE;;EAEF;IACE;;EAEF;IACE","file":"fab.css"}
|
|
@@ -1,17 +1,35 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ard-icon-button-height: 2.1875em;
|
|
3
|
+
--ard-icon-button-height-compact: 2.25em;
|
|
4
|
+
--ard-icon-button-margin: 0;
|
|
5
|
+
--ard-icon-button-font-size: 1rem;
|
|
6
|
+
--ard-icon-button-font-size-compact: 0.75rem;
|
|
7
|
+
--ard-icon-button-font-weight: 600;
|
|
8
|
+
--ard-icon-button-overlay-hover-opacity: var(--ard-button-overlay-hover-opacity, 0.04);
|
|
9
|
+
--ard-icon-button-overlay-focus-opacity: var(--ard-button-overlay-focus-opacity, 0.12);
|
|
10
|
+
--ard-icon-button-overlay-active-opacity: var(--ard-button-overlay-active-opacity, 0.18);
|
|
11
|
+
--ard-icon-button-overlay-focus-visible-opacity: var(--ard-button-overlay-focus-visible-opacity, 0.24);
|
|
12
|
+
--ard-icon-button-overlay-disabled-opacity: var(--ard-button-overlay-disabled-opacity, 0.2);
|
|
13
|
+
--ard-icon-button-disabled-opacity: var(--ard-button-disabled-opacity, 0.6);
|
|
14
|
+
}
|
|
15
|
+
|
|
1
16
|
ard-icon-button {
|
|
2
17
|
height: max-content;
|
|
3
18
|
width: max-content;
|
|
4
19
|
border-radius: 9999px;
|
|
5
20
|
aspect-ratio: 1;
|
|
6
21
|
display: inline-block;
|
|
7
|
-
|
|
22
|
+
margin: var(--ard-icon-button-margin, 0);
|
|
23
|
+
font-size: var(--ard-icon-button-font-size, 1rem);
|
|
8
24
|
}
|
|
9
25
|
|
|
10
26
|
.ard-icon-button {
|
|
11
|
-
font-family:
|
|
12
|
-
margin:
|
|
27
|
+
font-family: var(--ard-font-family);
|
|
28
|
+
margin: 0;
|
|
29
|
+
padding: 0;
|
|
13
30
|
border: 1px solid transparent;
|
|
14
|
-
font-weight:
|
|
31
|
+
font-weight: inherit;
|
|
32
|
+
font-size: inherit;
|
|
15
33
|
display: inline-flex;
|
|
16
34
|
align-items: center;
|
|
17
35
|
position: relative;
|
|
@@ -25,8 +43,6 @@ ard-icon-button {
|
|
|
25
43
|
justify-content: center;
|
|
26
44
|
padding: 0;
|
|
27
45
|
overflow: hidden;
|
|
28
|
-
font-weight: 600;
|
|
29
|
-
font-size: inherit;
|
|
30
46
|
color: var(--ard-cmpcl--bg-colored);
|
|
31
47
|
}
|
|
32
48
|
.ard-icon-button.ard-color-none {
|
|
@@ -179,14 +195,17 @@ ard-icon-button {
|
|
|
179
195
|
transition: opacity 0.2s ease;
|
|
180
196
|
background-color: var(--ard-cmpcl--overlay);
|
|
181
197
|
}
|
|
182
|
-
.ard-icon-button:hover .ard-focus-overlay
|
|
183
|
-
opacity:
|
|
198
|
+
.ard-icon-button:hover .ard-focus-overlay {
|
|
199
|
+
opacity: var(--ard-icon-button-overlay-hover-opacity, var(--ard-button-overlay-hover-opacity, 0.04));
|
|
200
|
+
}
|
|
201
|
+
.ard-icon-button:focus .ard-focus-overlay {
|
|
202
|
+
opacity: var(--ard-icon-button-overlay-focus-opacity, var(--ard-button-overlay-focus-opacity, 0.12));
|
|
184
203
|
}
|
|
185
204
|
.ard-icon-button.ard-active .ard-focus-overlay, .ard-icon-button:active .ard-focus-overlay {
|
|
186
|
-
opacity:
|
|
205
|
+
opacity: var(--ard-icon-button-overlay-active-opacity, var(--ard-button-overlay-active-opacity, 0.18));
|
|
187
206
|
}
|
|
188
207
|
.ard-icon-button:focus-visible .ard-focus-overlay {
|
|
189
|
-
opacity:
|
|
208
|
+
opacity: var(--ard-icon-button-overlay-focus-visible-opacity, var(--ard-button-overlay-focus-visible-opacity, 0.24));
|
|
190
209
|
}
|
|
191
210
|
.ard-icon-button.ard-appearance-transparent, .ard-icon-button.ard-appearance-raised {
|
|
192
211
|
background: transparent;
|
|
@@ -231,7 +250,7 @@ ard-icon-button {
|
|
|
231
250
|
.ard-icon-button.ard-appearance-flat, .ard-icon-button.ard-appearance-raised-strong {
|
|
232
251
|
background: var(--ard-cmpcl--bg);
|
|
233
252
|
color: var(--ard-cmpcl--on-bg);
|
|
234
|
-
border:
|
|
253
|
+
border: 1px solid var(--ard-cmpcl--bg);
|
|
235
254
|
}
|
|
236
255
|
.ard-icon-button.ard-appearance-flat .ard-focus-overlay, .ard-icon-button.ard-appearance-raised-strong .ard-focus-overlay {
|
|
237
256
|
background: var(--ard-cmpcl--on-bg);
|
|
@@ -263,16 +282,16 @@ ard-icon-button {
|
|
|
263
282
|
|
|
264
283
|
ard-icon-button.ard-disabled > .ard-icon-button {
|
|
265
284
|
pointer-events: none;
|
|
266
|
-
opacity:
|
|
285
|
+
opacity: var(--ard-icon-button-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2));
|
|
267
286
|
cursor: not-allowed;
|
|
268
287
|
}
|
|
269
288
|
ard-icon-button.ard-disabled > .ard-icon-button .ard-focus-overlay {
|
|
270
|
-
opacity:
|
|
289
|
+
opacity: var(--ard-icon-button-disabled-opacity, var(--ard-button-disabled-opacity, 0.6));
|
|
271
290
|
transform: scale(1);
|
|
272
291
|
}
|
|
273
292
|
ard-icon-button.ard-disabled > .ard-icon-button.ard-color-none .ard-button-icon,
|
|
274
293
|
ard-icon-button.ard-disabled > .ard-icon-button.ard-color-none .ard-button-content {
|
|
275
|
-
opacity:
|
|
294
|
+
opacity: var(--ard-icon-button-overlay-disabled-opacity, var(--ard-button-overlay-disabled-opacity, 0.2));
|
|
276
295
|
}
|
|
277
296
|
ard-icon-button.ard-disabled > .ard-icon-button.ard-color-none .ard-focus-overlay {
|
|
278
297
|
background: var(--ard-cmpcl--overlay);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/icon-button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/icon-button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;ECZE;EACA,QDaE;ECZF,SDaE;ECZF;EACA,aDaE;ECZF,WDWE;ECVF;EACA;EACA;EACA;EACA;EDaA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AE3CA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AD1GF;EEzBA;EACA;EACA,yBACE;;AF0BF;EEnBA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFYE;;AAGA;EACE,SDLF;;ACSA;EACE,SDTF;;ACcA;EACE,SDdF;;ACkBA;EACE,SDlBF;;ACsBF;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE,YGtEC;EHuED;EACA,YGvCY;;AHyCZ;EAEE,YG1CW;;AH4Cb;EACE,YG5CW;;AH+Cf;EACE,YGnFC;EHoFD;EACA;;AAEA;EACE;;AAGJ;EACE,YG5FC;EH6FD;EACA;EAMA;;AAJA;EACE;;AAIF;EAEE;EACA;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;AD7EJ;EACE;EACA;;AAEA;EACE;EACA;;AAKJ;EACE;EACA;;AAGF;EACE;;;AAKF;EC8DA;EACA,SD7DI;EC8DJ;;AAEA;EACE,SDhEE;ECiEF;;AAKA;AAAA;EAEE,SDzEA;;AC2EF;EACE;;ADxEF;EACE;;AAGJ;EACE;;AAEA;EACE","file":"icon-button.css"}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
border: 0.0625em solid transparent;
|
|
11
11
|
}
|
|
12
12
|
.ard-color-display-wrapper .ard-color-display-label {
|
|
13
|
-
font-family:
|
|
13
|
+
font-family: var(--ard-font-family-mono);
|
|
14
14
|
font-size: 1.15em;
|
|
15
15
|
}
|
|
16
16
|
.ard-color-display-wrapper.ard-appearance-rounded .ard-color-display {
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
--ard-darken-overlay-medium: rgba(0, 0, 0, 10%);
|
|
31
31
|
--ard-darken-overlay-light: rgba(0, 0, 0, 5%);
|
|
32
32
|
--ard-darken-overlay-ultralight: rgba(0, 0, 0, 3%);
|
|
33
|
+
--ard-font-family: "Roboto", sans-serif;
|
|
34
|
+
--ard-font-family-mono: monospace;
|
|
33
35
|
--ard-gold: #ffc107;
|
|
34
36
|
--ard-clear-button-size: 0.9rem;
|
|
35
37
|
--ard-dropdown-button-size: 0.4rem;
|
|
@@ -39,6 +41,7 @@
|
|
|
39
41
|
--ard-form-field-font-size-compact: 1rem;
|
|
40
42
|
--ard-form-field-padding: 0 0.375rem;
|
|
41
43
|
--ard-form-field-padding-compact: 0 0.375rem;
|
|
44
|
+
--ard-rounded-corner-radius: 0.375rem;
|
|
42
45
|
--ard-primary-50: 234, 235, 243;
|
|
43
46
|
--ard-primary-100: 159, 167, 228;
|
|
44
47
|
--ard-primary-300: 78, 99, 219;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/core.scss"],"names":[],"mappings":"AAEQ;AACA;AAER;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;AAAA;EAEA;AAAA;EAEA;AAAA;EAGA;EAEA;EACA;;;AAGF;EACE","file":"core.css"}
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/core.scss"],"names":[],"mappings":"AAEQ;AACA;AAER;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEA;AAAA;EAEA;AAAA;EAEA;AAAA;EAGA;EAEA;EACA;;;AAGF;EACE","file":"core.css"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
position: relative;
|
|
10
10
|
font-size: 1rem;
|
|
11
11
|
line-height: 1.25em;
|
|
12
|
-
font-family:
|
|
12
|
+
font-family: var(--ard-font-family);
|
|
13
13
|
border-radius: var(--ard-variant-border-radius);
|
|
14
14
|
background: var(--ard-appearance-background);
|
|
15
15
|
border: var(--ard-appearance-border);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
.ard-color-input {
|
|
5
5
|
position: relative;
|
|
6
|
-
font-family:
|
|
6
|
+
font-family: var(--ard-font-family);
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
justify-content: stretch;
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
pointer-events: none;
|
|
115
115
|
}
|
|
116
116
|
.ard-color-input .ard-input-container input {
|
|
117
|
-
font-family:
|
|
117
|
+
font-family: var(--ard-font-family-mono);
|
|
118
118
|
user-select: none;
|
|
119
119
|
}
|
|
120
120
|
.ard-color-input .ard-color-display-button {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
.ard-hex-input {
|
|
5
5
|
position: relative;
|
|
6
|
-
font-family:
|
|
6
|
+
font-family: var(--ard-font-family);
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
justify-content: stretch;
|
|
@@ -110,14 +110,14 @@
|
|
|
110
110
|
opacity: 15%;
|
|
111
111
|
}
|
|
112
112
|
.ard-hex-input .ard-input-container input {
|
|
113
|
-
font-family:
|
|
113
|
+
font-family: var(--ard-font-family-mono);
|
|
114
114
|
}
|
|
115
115
|
.ard-hex-input .ard-hash-container {
|
|
116
116
|
margin-right: -0.5rem;
|
|
117
117
|
color: var(--ard-text3);
|
|
118
118
|
opacity: 70%;
|
|
119
119
|
user-select: none;
|
|
120
|
-
font-family:
|
|
120
|
+
font-family: var(--ard-font-family-mono);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/*# sourceMappingURL=hex-input.css.map */
|