@ardium-ui/ui 5.0.0-alpha.76 → 5.0.0-alpha.78
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/package.json +1 -1
- package/prebuilt-themes/default/badge.css +15 -16
- package/prebuilt-themes/default/badge.css.map +1 -1
- package/prebuilt-themes/default/buttons/button.css +35 -36
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +31 -32
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +27 -28
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/calendar.css +36 -37
- package/prebuilt-themes/default/calendar.css.map +1 -1
- package/prebuilt-themes/default/card.css +22 -23
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/checkbox-list.css +16 -17
- package/prebuilt-themes/default/checkbox-list.css.map +1 -1
- package/prebuilt-themes/default/checkbox.css +11 -12
- package/prebuilt-themes/default/checkbox.css.map +1 -1
- package/prebuilt-themes/default/chips.css +41 -42
- package/prebuilt-themes/default/chips.css.map +1 -1
- package/prebuilt-themes/default/color-display.css +7 -8
- package/prebuilt-themes/default/color-display.css.map +1 -1
- package/prebuilt-themes/default/color-picker.css +1 -1
- package/prebuilt-themes/default/core.css +105 -107
- package/prebuilt-themes/default/core.css.map +1 -1
- package/prebuilt-themes/default/dialog.css +5 -6
- package/prebuilt-themes/default/dialog.css.map +1 -1
- package/prebuilt-themes/default/divider.css +12 -13
- package/prebuilt-themes/default/divider.css.map +1 -1
- package/prebuilt-themes/default/dropdown-panel.css +8 -9
- package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
- package/prebuilt-themes/default/file-drop-area.css +47 -48
- package/prebuilt-themes/default/file-drop-area.css.map +1 -1
- package/prebuilt-themes/default/form-field-frame.css +1 -1
- package/prebuilt-themes/default/form-field.css +22 -23
- package/prebuilt-themes/default/form-field.css.map +1 -1
- package/prebuilt-themes/default/inputs/autocomplete-input.css +21 -22
- package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/color-input.css +1 -1
- package/prebuilt-themes/default/inputs/date-input.css +10 -11
- package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/digit-input.css +11 -12
- package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/file-input.css +29 -30
- package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/hex-input.css +11 -12
- package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/input.css +10 -11
- package/prebuilt-themes/default/inputs/input.css.map +1 -1
- package/prebuilt-themes/default/inputs/number-input.css +10 -11
- package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
- package/prebuilt-themes/default/inputs/password-input.css +23 -24
- package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
- package/prebuilt-themes/default/kbd-shortcut.css +5 -6
- package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
- package/prebuilt-themes/default/kbd.css +10 -11
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +18 -19
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/progress-bar.css +20 -21
- package/prebuilt-themes/default/progress-bar.css.map +1 -1
- package/prebuilt-themes/default/progress-circle.css +9 -10
- package/prebuilt-themes/default/progress-circle.css.map +1 -1
- package/prebuilt-themes/default/radio.css +19 -20
- package/prebuilt-themes/default/radio.css.map +1 -1
- package/prebuilt-themes/default/segment.css +33 -34
- package/prebuilt-themes/default/segment.css.map +1 -1
- package/prebuilt-themes/default/select.css +29 -30
- package/prebuilt-themes/default/select.css.map +1 -1
- package/prebuilt-themes/default/slide-toggle.css +32 -33
- package/prebuilt-themes/default/slide-toggle.css.map +1 -1
- package/prebuilt-themes/default/slider.css +33 -34
- package/prebuilt-themes/default/slider.css.map +1 -1
- package/prebuilt-themes/default/snackbar.css +14 -15
- package/prebuilt-themes/default/snackbar.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +7 -8
- package/prebuilt-themes/default/spinner.css.map +1 -1
- package/prebuilt-themes/default/stars.css +14 -15
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/prebuilt-themes/default/tabber.css +18 -19
- package/prebuilt-themes/default/tabber.css.map +1 -1
- package/prebuilt-themes/default/table-pagination.css +12 -13
- package/prebuilt-themes/default/table-pagination.css.map +1 -1
- package/prebuilt-themes/default/table.css +31 -32
- package/prebuilt-themes/default/table.css.map +1 -1
- package/themes/default/badge.scss +23 -23
- package/themes/default/buttons/_button-mixins.scss +15 -15
- package/themes/default/buttons/button.scss +23 -23
- package/themes/default/buttons/fab.scss +18 -16
- package/themes/default/buttons/icon-button.scss +20 -20
- package/themes/default/calendar.scss +41 -41
- package/themes/default/card.scss +29 -29
- package/themes/default/checkbox-list.scss +16 -16
- package/themes/default/checkbox.scss +14 -14
- package/themes/default/chips.scss +49 -49
- package/themes/default/color-display.scss +10 -10
- package/themes/default/color-picker.scss +1 -1
- package/themes/default/core.scss +120 -122
- package/themes/default/dialog.scss +7 -7
- package/themes/default/divider.scss +15 -15
- package/themes/default/dropdown-panel.scss +13 -13
- package/themes/default/file-drop-area.scss +49 -49
- package/themes/default/form-field-frame.scss +1 -1
- package/themes/default/form-field.scss +27 -27
- package/themes/default/inputs/autocomplete-input.scss +39 -39
- package/themes/default/inputs/color-input.scss +1 -1
- package/themes/default/inputs/date-input.scss +26 -26
- package/themes/default/inputs/digit-input.scss +21 -21
- package/themes/default/inputs/file-input.scss +48 -48
- package/themes/default/inputs/hex-input.scss +28 -28
- package/themes/default/inputs/input.scss +26 -26
- package/themes/default/inputs/number-input.scss +27 -27
- package/themes/default/inputs/password-input.scss +40 -40
- package/themes/default/kbd-shortcut.scss +7 -7
- package/themes/default/kbd.scss +16 -16
- package/themes/default/modal.scss +28 -28
- package/themes/default/progress-bar.scss +25 -25
- package/themes/default/progress-circle.scss +12 -12
- package/themes/default/radio.scss +22 -22
- package/themes/default/segment.scss +38 -38
- package/themes/default/select.scss +50 -50
- package/themes/default/slide-toggle.scss +34 -34
- package/themes/default/slider.scss +42 -42
- package/themes/default/snackbar.scss +19 -19
- package/themes/default/spinner.scss +9 -9
- package/themes/default/stars.scss +16 -16
- package/themes/default/tabber.scss +21 -21
- package/themes/default/table-pagination.scss +14 -14
- package/themes/default/table.scss +41 -41
|
@@ -3,34 +3,34 @@
|
|
|
3
3
|
@use '../clear-button' as CB;
|
|
4
4
|
@use '../../variables' as ARD;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
6
|
+
@layer ard-ui {
|
|
7
|
+
// the variables are commented out intentionally
|
|
8
|
+
// read more in docs/dev/css-variables.md
|
|
9
|
+
:root {
|
|
10
|
+
// --ard-input-height: ;
|
|
11
|
+
// --ard-input-height-compact: ;
|
|
12
|
+
--ard-input-gap: 0.625rem;
|
|
13
|
+
// --ard-input-font-size: ;
|
|
14
|
+
// --ard-input-font-size-compact: ;
|
|
15
|
+
--ard-input-line-height: 1.25;
|
|
16
|
+
--ard-input-line-height-compact: 1;
|
|
17
|
+
--ard-input-font-weight: 400;
|
|
18
|
+
// --ard-input-padding-left: ;
|
|
19
|
+
// --ard-input-padding-right: ;
|
|
20
|
+
// --ard-input-padding-top: ;
|
|
21
|
+
// --ard-input-padding-bottom: ;
|
|
22
|
+
// --ard-input-padding-left-compact: ;
|
|
23
|
+
// --ard-input-padding-right-compact: ;
|
|
24
|
+
// --ard-input-padding-top-compact: ;
|
|
25
|
+
// --ard-input-padding-bottom-compact: ;
|
|
26
|
+
// --ard-input-color: ;
|
|
27
|
+
// --ard-input-placeholder-color: ;
|
|
28
|
+
--ard-input-placeholder-opacity: 60%;
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
30
|
+
--ard-input-min-width: 10rem;
|
|
31
|
+
--ard-input-max-width: 100%;
|
|
32
|
+
}
|
|
32
33
|
|
|
33
|
-
@layer ard-theme {
|
|
34
34
|
.ard-input {
|
|
35
35
|
@include inputMixin.genericInput(
|
|
36
36
|
var(--ard-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
@use '../mixins' as defaultMixins;
|
|
3
3
|
@use '../../variables' as ARD;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
5
|
+
@layer ard-ui {
|
|
6
|
+
// the variables are commented out intentionally
|
|
7
|
+
// read more in docs/dev/css-variables.md
|
|
8
|
+
:root {
|
|
9
|
+
// --ard-number-input-height: ;
|
|
10
|
+
// --ard-number-input-height-compact: ;
|
|
11
|
+
--ard-number-input-gap: 0.625rem;
|
|
12
|
+
// --ard-number-input-font-size: ;
|
|
13
|
+
// --ard-number-input-font-size-compact: ;
|
|
14
|
+
--ard-number-input-line-height: 1.25;
|
|
15
|
+
--ard-number-input-line-height-compact: 1;
|
|
16
|
+
--ard-number-input-font-weight: 400;
|
|
17
|
+
// --ard-number-input-padding-top: ;
|
|
18
|
+
// --ard-number-input-padding-right: ;
|
|
19
|
+
// --ard-number-input-padding-bottom: ;
|
|
20
|
+
// --ard-number-input-padding-left: ;
|
|
21
|
+
// --ard-number-input-padding-top-compact: ;
|
|
22
|
+
// --ard-number-input-padding-right-compact: ;
|
|
23
|
+
// --ard-number-input-padding-bottom-compact: ;
|
|
24
|
+
// --ard-number-input-padding-left-compact: ;
|
|
25
|
+
// --ard-number-input-color: ;
|
|
26
|
+
// --ard-number-input-placeholder-color: ;
|
|
27
|
+
--ard-number-input-placeholder-opacity: 60%;
|
|
28
|
+
--ard-number-input-disabled-opacity: 50%;
|
|
29
|
+
// --ard-number-input-width: ;
|
|
30
|
+
--ard-number-input-rounded-border-radius: 8px;
|
|
31
|
+
}
|
|
31
32
|
|
|
32
|
-
@layer ard-theme {
|
|
33
33
|
ard-number-input {
|
|
34
34
|
width: var(--ard-number-input-width, unset);
|
|
35
35
|
}
|
|
@@ -3,48 +3,48 @@
|
|
|
3
3
|
@use '../clear-button' as CB;
|
|
4
4
|
@use '../../variables' as ARD;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
6
|
+
@layer ard-ui {
|
|
7
|
+
// the variables are commented out intentionally
|
|
8
|
+
// read more in docs/dev/css-variables.md
|
|
9
|
+
:root {
|
|
10
|
+
// --ard-password-input-height: ;
|
|
11
|
+
// --ard-password-input-height-compact: ;
|
|
12
|
+
--ard-password-input-gap: 0.625rem;
|
|
13
|
+
// --ard-password-input-font-size: ;
|
|
14
|
+
// --ard-password-input-font-size-compact: ;
|
|
15
|
+
--ard-password-input-line-height: 1.25;
|
|
16
|
+
--ard-password-input-line-height-compact: 1;
|
|
17
|
+
--ard-password-input-font-weight: 400;
|
|
18
|
+
// --ard-password-input-padding-top: ;
|
|
19
|
+
// --ard-password-input-padding-right: ;
|
|
20
|
+
// --ard-password-input-padding-bottom: ;
|
|
21
|
+
// --ard-password-input-padding-left: ;
|
|
22
|
+
// --ard-password-input-padding-top-compact: ;
|
|
23
|
+
// --ard-password-input-padding-right-compact: ;
|
|
24
|
+
// --ard-password-input-padding-bottom-compact: ;
|
|
25
|
+
// --ard-password-input-padding-left-compact: ;
|
|
26
|
+
// --ard-password-input-color: ;
|
|
27
|
+
// --ard-password-input-placeholder-color: ;
|
|
28
|
+
--ard-password-input-placeholder-opacity: 60%;
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
30
|
+
--ard-password-input-min-width: 10rem;
|
|
31
|
+
--ard-password-input-max-width: 100%;
|
|
32
|
+
--ard-password-input-disabled-opacity: 50%;
|
|
33
|
+
--ard-password-input-reveal-button-margin: 0.125rem;
|
|
34
|
+
--ard-password-input-reveal-button-font-size: 0.8rem;
|
|
35
|
+
--ard-password-input-reveal-button-height: calc(100% - 0.25rem);
|
|
36
|
+
--ard-password-input-reveal-button-width: unset;
|
|
37
|
+
--ard-password-input-reveal-button-aspect-ratio: 1;
|
|
38
|
+
--ard-password-input-reveal-button-padding: 0;
|
|
39
|
+
// --ard-password-input-reveal-button-color: ;
|
|
40
|
+
--ard-password-input-reveal-button-border-radius: 9999px;
|
|
41
|
+
--ard-password-input-reveal-button-border: none;
|
|
42
|
+
--ard-password-input-reveal-button-background: transparent;
|
|
43
|
+
--ard-password-input-reveal-button-hover-background: rgba(0, 0, 0, 4%);
|
|
44
|
+
--ard-password-input-reveal-button-focus-background: rgba(0, 0, 0, 12%);
|
|
45
|
+
--ard-password-input-reveal-button-active-background: rgba(0, 0, 0, 20%);
|
|
46
|
+
}
|
|
46
47
|
|
|
47
|
-
@layer ard-theme {
|
|
48
48
|
.ard-password-input {
|
|
49
49
|
@include inputMixin.genericInput(
|
|
50
50
|
var(--ard-password-input-height, var(--ard-form-field-height, 2.3125rem)),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use '../variables' as ARD;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
@layer ard-ui {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
--ard-kbd-shortcut-font-size: 0.875em;
|
|
8
|
+
--ard-kbd-shortcut-transparent-font-size: 0.75em;
|
|
9
|
+
}
|
|
9
10
|
|
|
10
|
-
@layer ard-theme {
|
|
11
11
|
.ard-kbd-shortcut {
|
|
12
12
|
font-family: var(--ard-font-family-mono);
|
|
13
13
|
|
package/themes/default/kbd.scss
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
@use '../variables' as ARD;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
@layer ard-ui {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
// --ard-kbd-font-size: ;
|
|
8
|
+
--ard-kbd-border-radius: 0.1875em;
|
|
9
|
+
--ard-kbd-margin: 0 0.125em;
|
|
10
|
+
--ard-kbd-padding: 0.125em 0.375em;
|
|
11
|
+
--ard-kbd-border-width: 1px;
|
|
12
|
+
--ard-kbd-border-style: solid;
|
|
13
|
+
--ard-kbd-border-color: ;
|
|
14
|
+
--ard-kbd-box-shadow-settings: inset 0 -1px 0;
|
|
15
|
+
// --ard-kbd-box-shadow-color: ;
|
|
16
|
+
// --ard-kbd-bg: ;
|
|
17
|
+
// --ard-kbd-filled-bg: ;
|
|
18
|
+
}
|
|
18
19
|
|
|
19
|
-
@layer ard-theme {
|
|
20
20
|
.ard-kbd {
|
|
21
21
|
border-radius: var(--ard-kbd-border-radius, 0.1875em);
|
|
22
22
|
font-family: var(--ard-font-family-mono);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
@use '../variables' as ARD;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
3
|
+
@layer ard-ui {
|
|
4
|
+
// the variables are commented out intentionally
|
|
5
|
+
// read more in docs/dev/css-variables.md
|
|
6
|
+
:root {
|
|
7
|
+
// --ard-modal-width: ;
|
|
8
|
+
// --ard-modal-height: ;
|
|
9
|
+
// --ard-modal-min-width: ;
|
|
10
|
+
// --ard-modal-min-height: ;
|
|
11
|
+
// --ard-modal-max-width: ;
|
|
12
|
+
// --ard-modal-max-height: ;
|
|
13
|
+
--ard-modal-viewport-spacing: 2rem;
|
|
14
|
+
--ard-modal-padding: 1.25rem;
|
|
15
|
+
--ard-modal-padding-top: 1rem;
|
|
16
|
+
--ard-modal-gap: 1.5rem;
|
|
17
|
+
// --ard-modal-bg: ;
|
|
18
|
+
--ard-modal-no-heading-gap: 0.25rem;
|
|
19
|
+
--ard-modal-close-button-offset: 0.5rem;
|
|
20
|
+
--ard-modal-heading-padding-right: 2rem;
|
|
21
|
+
--ard-modal-heading-font-size: 1.25rem;
|
|
22
|
+
--ard-modal-heading-font-weight: 500;
|
|
23
|
+
// --ard-modal-heading-color: ;
|
|
24
|
+
--ard-modal-rounded-border-radius: 8px;
|
|
25
|
+
--ard-modal-font-size: 1rem;
|
|
26
|
+
--ard-modal-font-size-compact: 0.875rem;
|
|
27
|
+
--ard-modal-padding-compact: 0.75rem 2rem 1rem 2rem;
|
|
28
|
+
--ard-modal-gap-compact: 1rem;
|
|
29
|
+
--ard-modal-close-button-offset-compact: 0.25rem;
|
|
30
|
+
}
|
|
30
31
|
|
|
31
|
-
@layer ard-theme {
|
|
32
32
|
.ard-modal {
|
|
33
33
|
position: fixed;
|
|
34
34
|
top: 0;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
@use './coloring' as CM;
|
|
2
2
|
@use '../variables' as ARD;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
7
|
+
:root {
|
|
8
|
+
--ard-progress-bar-width: 100%;
|
|
9
|
+
--ard-progress-bar-height: 0.25rem;
|
|
10
|
+
--ard-progress-bar-margin: 0.5rem 0;
|
|
11
|
+
// --ard-progress-bar-foreground-color: ;
|
|
12
|
+
// --ard-progress-bar-background-color: ;
|
|
13
|
+
// --ard-progress-bar-buffer-color: ;
|
|
14
|
+
--ard-progress-bar-background-opacity: 30%;
|
|
15
|
+
--ard-progress-bar-buffer-opacity: 100%;
|
|
16
|
+
--ard-progress-bar-transition-duration: 0.1s;
|
|
17
|
+
--ard-progress-bar-indeterminate-animation-duration: 2.1s;
|
|
18
|
+
--ard-progress-bar-buffer-animation-distance: 0.5rem;
|
|
19
|
+
--ard-progress-bar-buffer-animation-duration: 0.4s;
|
|
20
|
+
--ard-progress-bar-currentColor-background-opacity: 22.5%;
|
|
21
|
+
--ard-progress-bar-currentColor-overlay-buffer-opacity: 30%;
|
|
22
|
+
}
|
|
22
23
|
|
|
23
|
-
@layer ard-theme {
|
|
24
24
|
.ard-progress-bar {
|
|
25
25
|
@include CM.typeColors();
|
|
26
26
|
width: var(--ard-progress-bar-width, 100%);
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
.ard-progress-bar__background,
|
|
31
31
|
.ard-progress-bar__overlay {
|
|
32
32
|
position: absolute;
|
|
33
|
-
background-color: var(--ard-progress-bar-foreground-color, var(--ard-
|
|
33
|
+
background-color: var(--ard-progress-bar-foreground-color, var(--ard-uicl--bg-colored));
|
|
34
34
|
top: 0;
|
|
35
35
|
bottom: 0;
|
|
36
36
|
left: 0;
|
|
37
37
|
}
|
|
38
38
|
.ard-progress-bar__background {
|
|
39
|
-
background-color: var(--ard-progress-bar-background-color, var(--ard-
|
|
39
|
+
background-color: var(--ard-progress-bar-background-color, var(--ard-uicl--bg-colored-light));
|
|
40
40
|
top: 0;
|
|
41
41
|
bottom: 0;
|
|
42
42
|
left: 0;
|
|
@@ -112,11 +112,11 @@
|
|
|
112
112
|
bottom: 0;
|
|
113
113
|
width: 9999px;
|
|
114
114
|
animation: buffer var(--ard-progress-bar-buffer-animation-duration, 0.4s) linear infinite;
|
|
115
|
-
border-bottom: var(--ard-progress-bar-height, 0.25rem) dotted var(--ard-
|
|
115
|
+
border-bottom: var(--ard-progress-bar-height, 0.25rem) dotted var(--ard-uicl--bg-colored);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
.ard-progress-bar__overlay-buffer {
|
|
119
|
-
background: var(--ard-progress-bar-buffer-color, var(--ard-
|
|
119
|
+
background: var(--ard-progress-bar-buffer-color, var(--ard-uicl--bg-colored-light));
|
|
120
120
|
opacity: var(--ard-progress-bar-buffer-opacity, 100%);
|
|
121
121
|
position: absolute;
|
|
122
122
|
left: 0;
|
|
@@ -140,11 +140,11 @@
|
|
|
140
140
|
&.ard-color-currentColor {
|
|
141
141
|
.ard-progress-bar__background {
|
|
142
142
|
opacity: var(--ard-progress-bar-currentColor-background-opacity, 22.5%);
|
|
143
|
-
background: var(--ard-
|
|
143
|
+
background: var(--ard-uicl--bg-colored);
|
|
144
144
|
}
|
|
145
145
|
.ard-progress-bar__overlay-buffer {
|
|
146
146
|
opacity: var(--ard-progress-bar-currentColor-overlay-buffer-opacity, 30%);
|
|
147
|
-
background: var(--ard-
|
|
147
|
+
background: var(--ard-uicl--bg-colored);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
@use './coloring' as coloringMixins;
|
|
2
2
|
@use '../variables' as ARD;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
@layer ard-ui {
|
|
5
|
+
// the variables are commented out intentionally
|
|
6
|
+
// read more in docs/dev/css-variables.md
|
|
7
|
+
:root {
|
|
8
|
+
--ard-progress-circle-size: 3em;
|
|
9
|
+
// --ard-progress-circle-colorless-background-color: ;
|
|
10
|
+
--ard-progress-circle-colorless-background-opacity: 100%;
|
|
11
|
+
--ard-progress-circle-colored-background-opacity: 100%;
|
|
12
|
+
--ard-progress-circle-value-font-size: 0.875em;
|
|
13
|
+
}
|
|
13
14
|
|
|
14
|
-
@layer ard-theme {
|
|
15
15
|
.ard-progress-circle {
|
|
16
16
|
@include coloringMixins.typeColors;
|
|
17
17
|
width: var(--ard-progress-circle-size, 3em);
|
|
18
18
|
height: var(--ard-progress-circle-size, 3em);
|
|
19
19
|
|
|
20
|
-
--ard-_progress-circle-fill-color: var(--ard-
|
|
20
|
+
--ard-_progress-circle-fill-color: var(--ard-uicl--bg-colored);
|
|
21
21
|
|
|
22
22
|
//! appearances
|
|
23
23
|
&.ard-appearance-transparent {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
&.ard-appearance-colored {
|
|
35
35
|
.ard-progress-circle-background {
|
|
36
36
|
opacity: var(--ard-progress-circle-colored-background-opacity, 100%);
|
|
37
|
-
background: var(--ard-
|
|
37
|
+
background: var(--ard-uicl--bg-colored);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
//! ring variant
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
@use './mixins' as GM;
|
|
3
3
|
@use '../variables' as ARD;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
5
|
+
@layer ard-ui {
|
|
6
|
+
// the variables are commented out intentionally
|
|
7
|
+
// read more in docs/dev/css-variables.md
|
|
8
|
+
:root {
|
|
9
|
+
// --ard-radio-font-size: ;
|
|
10
|
+
--ard-radio-group-gap: 0.5rem 1rem;
|
|
11
|
+
--ard-radio-gap: 0.75rem;
|
|
12
|
+
--ard-radio-size: 1.25em;
|
|
13
|
+
--ard-radio-outer-border-width: 0.125em;
|
|
14
|
+
--ard-radio-border-radius: 9999px;
|
|
15
|
+
--ard-radio-inner-circle-inset: 25%;
|
|
16
|
+
--ard-radio-focus-overlay-size: 0.375em;
|
|
17
|
+
--ard-radio-hitbox-offset: -0.375em;
|
|
18
|
+
--ard-radio-hover-overlay-opacity: 7.5%;
|
|
19
|
+
--ard-radio-focus-overlay-opacity: 15%;
|
|
20
|
+
--ard-radio-active-overlay-opacity: 25%;
|
|
21
|
+
--ard-radio-transition-duration: 0.2s;
|
|
22
|
+
--ard-radio-disabled-opacity: 50%;
|
|
23
|
+
}
|
|
23
24
|
|
|
24
|
-
@layer ard-theme {
|
|
25
25
|
ard-radio-group {
|
|
26
26
|
display: flex;
|
|
27
27
|
gap: var(--ard-radio-group-gap, 0.5rem 1rem);
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
right: var(--ard-radio-inner-circle-inset, 25%);
|
|
67
67
|
top: var(--ard-radio-inner-circle-inset, 25%);
|
|
68
68
|
bottom: var(--ard-radio-inner-circle-inset, 25%);
|
|
69
|
-
background: var(--ard-
|
|
69
|
+
background: var(--ard-uicl--bg-colored);
|
|
70
70
|
border-radius: var(--ard-radio-border-radius, 9999px);
|
|
71
71
|
transform: scale(0);
|
|
72
72
|
transition: transform var(--ard-radio-transition-duration, 0.2s) ARD.$timing-fn;
|
|
@@ -99,13 +99,13 @@
|
|
|
99
99
|
&.ard-radio-selected {
|
|
100
100
|
> .ard-radio-circles {
|
|
101
101
|
> .ard-radio-outer-circle {
|
|
102
|
-
border-color: var(--ard-
|
|
102
|
+
border-color: var(--ard-uicl--bg-colored);
|
|
103
103
|
}
|
|
104
104
|
> .ard-radio-inner-circle {
|
|
105
105
|
transform: scale(1);
|
|
106
106
|
}
|
|
107
107
|
> .ard-focus-overlay {
|
|
108
|
-
background-color: var(--ard-
|
|
108
|
+
background-color: var(--ard-uicl--bg-colored);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|