@ardium-ui/ui 2.0.1 → 2.0.3
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/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +3 -3
- package/esm2022/lib/_internal/disablable-component.mjs +1 -1
- package/esm2022/lib/_internal/focusable-component.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/models/pagination.model.mjs +1 -1
- package/esm2022/lib/_internal/ngmodel-component.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
- package/esm2022/lib/badge/badge.directive.mjs +1 -1
- package/esm2022/lib/badge/index.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +1 -1
- package/esm2022/lib/buttons/button/button.component.mjs +5 -3
- package/esm2022/lib/buttons/button/index.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +5 -3
- package/esm2022/lib/buttons/fab/index.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +5 -3
- package/esm2022/lib/buttons/icon-button/index.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +1 -1
- package/esm2022/lib/card/index.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/checkbox/index.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +3 -3
- package/esm2022/lib/checkbox-list/index.mjs +1 -1
- package/esm2022/lib/chip/chip.component.mjs +3 -3
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +3 -3
- package/esm2022/lib/chip/index.mjs +1 -1
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +3 -3
- package/esm2022/lib/color/color-display/color-display.component.mjs +3 -3
- package/esm2022/lib/color/color-display/index.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +3 -3
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/dialog/index.mjs +1 -1
- package/esm2022/lib/divider/divider.component.mjs +1 -1
- package/esm2022/lib/divider/index.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +4 -4
- package/esm2022/lib/dropdown-panel/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +3 -3
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +3 -3
- package/esm2022/lib/file-inputs/file-input/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +3 -3
- package/esm2022/lib/form-field-frame/index.mjs +1 -1
- package/esm2022/lib/icon/icon.component.mjs +3 -3
- package/esm2022/lib/icon/index.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +3 -3
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/index.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +3 -3
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/index.mjs +1 -1
- package/esm2022/lib/inputs/hex-input.model.mjs +1 -1
- package/esm2022/lib/inputs/input/index.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +3 -3
- package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
- package/esm2022/lib/inputs/input/input.module.mjs +1 -1
- package/esm2022/lib/inputs/input-transformers.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/index.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +3 -3
- package/esm2022/lib/inputs/password-input/index.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/index.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +3 -3
- package/esm2022/lib/kbd/index.mjs +1 -1
- package/esm2022/lib/kbd/kbd.component.mjs +3 -3
- package/esm2022/lib/kbd-shortcut/index.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +3 -3
- package/esm2022/lib/modal/index.mjs +1 -1
- package/esm2022/lib/modal/modal.component.mjs +3 -3
- package/esm2022/lib/option/index.mjs +1 -1
- package/esm2022/lib/option/option.component.mjs +1 -1
- package/esm2022/lib/progress-bar/index.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/index.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +3 -3
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/index.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +3 -3
- package/esm2022/lib/radio/radio-group.component.mjs +1 -1
- package/esm2022/lib/search-functions.mjs +1 -1
- package/esm2022/lib/segment/index.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +3 -3
- package/esm2022/lib/segment/segment.directives.mjs +1 -1
- package/esm2022/lib/select/index.mjs +1 -1
- package/esm2022/lib/select/select.component.mjs +3 -3
- package/esm2022/lib/select/select.directive.mjs +1 -1
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/index.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +3 -3
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
- package/esm2022/lib/slider/index.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +3 -3
- package/esm2022/lib/slider/slider.component.mjs +3 -3
- package/esm2022/lib/slider/slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
- package/esm2022/lib/snackbar/snackbar.service.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/star/index.mjs +1 -1
- package/esm2022/lib/star/star-button/index.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +3 -3
- package/esm2022/lib/star/star-display/index.mjs +1 -1
- package/esm2022/lib/star/star-display/star-display.component.mjs +3 -3
- package/esm2022/lib/star/star-input/index.mjs +1 -1
- package/esm2022/lib/star/star-input/star-input.component.mjs +3 -3
- package/esm2022/lib/star/star.component.mjs +3 -3
- package/esm2022/lib/statebox/index.mjs +1 -1
- package/esm2022/lib/statebox/statebox.component.mjs +3 -3
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +1 -1
- package/esm2022/lib/tabber/tab/tab.component.mjs +3 -3
- package/esm2022/lib/tabber/tabber.component.mjs +3 -3
- package/esm2022/lib/tabber/tabber.module.mjs +1 -1
- package/esm2022/lib/table/index.mjs +1 -1
- package/esm2022/lib/table/table-item-storage.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +3 -3
- package/esm2022/lib/table/table.directives.mjs +1 -1
- package/esm2022/lib/table-from-csv/index.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +3 -3
- package/esm2022/lib/table-pagination/index.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +3 -3
- package/esm2022/lib/types/button.types.mjs +6 -0
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/ardium-ui-ui.mjs +102 -93
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/buttons/button/button.component.d.ts +3 -1
- package/lib/buttons/fab/fab.component.d.ts +3 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +3 -1
- package/lib/types/button.types.d.ts +6 -0
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +9 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +4 -2
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/card.css +3 -0
- package/prebuilt-themes/default/card.css.map +1 -1
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/button.scss +72 -62
- package/themes/default/buttons/fab.scss +74 -74
- package/themes/default/buttons/icon-button.scss +62 -59
- package/themes/default/card.scss +129 -126
- package/themes/default/chips.scss +200 -200
- package/themes/default/core.scss +99 -99
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +85 -85
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/modal.scss +93 -93
- package/themes/default/segment.scss +340 -340
- package/themes/default/select.scss +255 -255
- package/themes/default/snackbar.scss +58 -58
- package/themes/default/tabber.scss +86 -86
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
@use '../coloring' as CM;
|
|
2
|
-
@import '../../variables';
|
|
3
|
-
|
|
4
|
-
ard-digit-input {
|
|
5
|
-
font-family: 'Roboto', sans-serif;
|
|
6
|
-
font-weight: 500;
|
|
7
|
-
color: $text;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ard-digit-input,
|
|
11
|
-
.ard-digit-input__item,
|
|
12
|
-
.ard-digit-input__input,
|
|
13
|
-
.ard-digit-input__static {
|
|
14
|
-
font: inherit;
|
|
15
|
-
color: inherit;
|
|
16
|
-
}
|
|
17
|
-
.ard-digit-input {
|
|
18
|
-
display: flex;
|
|
19
|
-
gap: 0.5em;
|
|
20
|
-
|
|
21
|
-
.ard-digit-input__item {
|
|
22
|
-
height: max-content;
|
|
23
|
-
display: flex;
|
|
24
|
-
|
|
25
|
-
.ard-digit-input__input {
|
|
26
|
-
width: 2.0625em;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
text-align: center;
|
|
29
|
-
caret-color: $text3;
|
|
30
|
-
|
|
31
|
-
&:not(.ard-digit-input__input-empty) {
|
|
32
|
-
caret-color: transparent;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.ard-digit-input__static {
|
|
36
|
-
width: max-content;
|
|
37
|
-
white-space: nowrap;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
&.ard-shape-square {
|
|
41
|
-
.ard-digit-input__item {
|
|
42
|
-
.ard-digit-input__input {
|
|
43
|
-
height: 2.0625em;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
&.ard-shape-rectangle {
|
|
48
|
-
.ard-digit-input__item {
|
|
49
|
-
.ard-digit-input__input {
|
|
50
|
-
font-size: 1.2em;
|
|
51
|
-
width: calc(2.0625em / 1.2);
|
|
52
|
-
height: calc(2.0625em * 1.3 / 1.2);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
@use '../coloring' as CM;
|
|
2
|
+
@import '../../variables';
|
|
3
|
+
|
|
4
|
+
ard-digit-input {
|
|
5
|
+
font-family: 'Roboto', sans-serif;
|
|
6
|
+
font-weight: 500;
|
|
7
|
+
color: $text;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ard-digit-input,
|
|
11
|
+
.ard-digit-input__item,
|
|
12
|
+
.ard-digit-input__input,
|
|
13
|
+
.ard-digit-input__static {
|
|
14
|
+
font: inherit;
|
|
15
|
+
color: inherit;
|
|
16
|
+
}
|
|
17
|
+
.ard-digit-input {
|
|
18
|
+
display: flex;
|
|
19
|
+
gap: 0.5em;
|
|
20
|
+
|
|
21
|
+
.ard-digit-input__item {
|
|
22
|
+
height: max-content;
|
|
23
|
+
display: flex;
|
|
24
|
+
|
|
25
|
+
.ard-digit-input__input {
|
|
26
|
+
width: 2.0625em;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
text-align: center;
|
|
29
|
+
caret-color: $text3;
|
|
30
|
+
|
|
31
|
+
&:not(.ard-digit-input__input-empty) {
|
|
32
|
+
caret-color: transparent;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.ard-digit-input__static {
|
|
36
|
+
width: max-content;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&.ard-shape-square {
|
|
41
|
+
.ard-digit-input__item {
|
|
42
|
+
.ard-digit-input__input {
|
|
43
|
+
height: 2.0625em;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
&.ard-shape-rectangle {
|
|
48
|
+
.ard-digit-input__item {
|
|
49
|
+
.ard-digit-input__input {
|
|
50
|
+
font-size: 1.2em;
|
|
51
|
+
width: calc(2.0625em / 1.2);
|
|
52
|
+
height: calc(2.0625em * 1.3 / 1.2);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
@use './shared' as inputMixin;
|
|
2
|
-
@use '../mixins' as defaultMixins;
|
|
3
|
-
@use '../clear-button' as CB;
|
|
4
|
-
@use '../coloring' as CM;
|
|
5
|
-
@import '../../variables';
|
|
6
|
-
|
|
7
|
-
.ard-file-input-form-field-frame {
|
|
8
|
-
.ard-form-field-overlay {
|
|
9
|
-
display: none;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
.ard-file-input {
|
|
13
|
-
@include CM.typeColors();
|
|
14
|
-
@include inputMixin.genericInput();
|
|
15
|
-
padding: 0 0 0 0.375rem;
|
|
16
|
-
min-width: 10rem;
|
|
17
|
-
max-width: 100%;
|
|
18
|
-
gap: 0.125rem;
|
|
19
|
-
cursor: default;
|
|
20
|
-
border-radius: var(--ard-variant-border-radius);
|
|
21
|
-
|
|
22
|
-
*:not(button):not(ard-clear-button) {
|
|
23
|
-
pointer-events: none;
|
|
24
|
-
user-select: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.ard-state-dragover {
|
|
28
|
-
outline: 2px solid var(--ard-cmpcl--content-light);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ard-file-input__value {
|
|
32
|
-
font-size: 92%;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
max-height: 1.25rem;
|
|
36
|
-
}
|
|
37
|
-
.ard-browse-button {
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
height: calc(100% - 0.25rem);
|
|
40
|
-
margin: 0.125rem;
|
|
41
|
-
aspect-ratio: 1;
|
|
42
|
-
border: none;
|
|
43
|
-
background: none;
|
|
44
|
-
padding: 0;
|
|
45
|
-
position: relative;
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
align-items: center;
|
|
49
|
-
outline: none;
|
|
50
|
-
|
|
51
|
-
.ard-focus-overlay {
|
|
52
|
-
@include defaultMixins.focus-overlay();
|
|
53
|
-
background: $overlay;
|
|
54
|
-
border-radius: 9999px;
|
|
55
|
-
}
|
|
56
|
-
&:hover {
|
|
57
|
-
.ard-focus-overlay {
|
|
58
|
-
opacity: 4%;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
&:focus {
|
|
62
|
-
.ard-focus-overlay {
|
|
63
|
-
opacity: 8%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
&:active {
|
|
67
|
-
.ard-focus-overlay {
|
|
68
|
-
opacity: 12%;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
&:focus-visible {
|
|
72
|
-
.ard-focus-overlay {
|
|
73
|
-
opacity: 16%;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@include CB.clearButton();
|
|
79
|
-
}
|
|
80
|
-
.ard-disabled {
|
|
81
|
-
.ard-input {
|
|
82
|
-
pointer-events: none;
|
|
83
|
-
opacity: 50%;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
4
|
+
@use '../coloring' as CM;
|
|
5
|
+
@import '../../variables';
|
|
6
|
+
|
|
7
|
+
.ard-file-input-form-field-frame {
|
|
8
|
+
.ard-form-field-overlay {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.ard-file-input {
|
|
13
|
+
@include CM.typeColors();
|
|
14
|
+
@include inputMixin.genericInput();
|
|
15
|
+
padding: 0 0 0 0.375rem;
|
|
16
|
+
min-width: 10rem;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
gap: 0.125rem;
|
|
19
|
+
cursor: default;
|
|
20
|
+
border-radius: var(--ard-variant-border-radius);
|
|
21
|
+
|
|
22
|
+
*:not(button):not(ard-clear-button) {
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
user-select: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.ard-state-dragover {
|
|
28
|
+
outline: 2px solid var(--ard-cmpcl--content-light);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ard-file-input__value {
|
|
32
|
+
font-size: 92%;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
text-overflow: ellipsis;
|
|
35
|
+
max-height: 1.25rem;
|
|
36
|
+
}
|
|
37
|
+
.ard-browse-button {
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
height: calc(100% - 0.25rem);
|
|
40
|
+
margin: 0.125rem;
|
|
41
|
+
aspect-ratio: 1;
|
|
42
|
+
border: none;
|
|
43
|
+
background: none;
|
|
44
|
+
padding: 0;
|
|
45
|
+
position: relative;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
outline: none;
|
|
50
|
+
|
|
51
|
+
.ard-focus-overlay {
|
|
52
|
+
@include defaultMixins.focus-overlay();
|
|
53
|
+
background: $overlay;
|
|
54
|
+
border-radius: 9999px;
|
|
55
|
+
}
|
|
56
|
+
&:hover {
|
|
57
|
+
.ard-focus-overlay {
|
|
58
|
+
opacity: 4%;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
&:focus {
|
|
62
|
+
.ard-focus-overlay {
|
|
63
|
+
opacity: 8%;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
&:active {
|
|
67
|
+
.ard-focus-overlay {
|
|
68
|
+
opacity: 12%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
&:focus-visible {
|
|
72
|
+
.ard-focus-overlay {
|
|
73
|
+
opacity: 16%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@include CB.clearButton();
|
|
79
|
+
}
|
|
80
|
+
.ard-disabled {
|
|
81
|
+
.ard-input {
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
opacity: 50%;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
@use './shared' as inputMixin;
|
|
2
|
-
@use '../mixins' as defaultMixins;
|
|
3
|
-
@use '../clear-button' as CB;
|
|
4
|
-
@import '../../variables';
|
|
5
|
-
|
|
6
|
-
.ard-hex-input {
|
|
7
|
-
@include inputMixin.genericInput();
|
|
8
|
-
padding: 0 0.375rem;
|
|
9
|
-
min-width: 10rem;
|
|
10
|
-
max-width: 100%;
|
|
11
|
-
|
|
12
|
-
@include CB.clearButton();
|
|
13
|
-
|
|
14
|
-
.ard-input-container {
|
|
15
|
-
input {
|
|
16
|
-
font-family: monospace;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ard-hash-container {
|
|
21
|
-
margin-right: -0.5rem;
|
|
22
|
-
color: $text3;
|
|
23
|
-
opacity: 70%;
|
|
24
|
-
user-select: none;
|
|
25
|
-
font-family: monospace;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
@use './shared' as inputMixin;
|
|
2
|
+
@use '../mixins' as defaultMixins;
|
|
3
|
+
@use '../clear-button' as CB;
|
|
4
|
+
@import '../../variables';
|
|
5
|
+
|
|
6
|
+
.ard-hex-input {
|
|
7
|
+
@include inputMixin.genericInput();
|
|
8
|
+
padding: 0 0.375rem;
|
|
9
|
+
min-width: 10rem;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
|
|
12
|
+
@include CB.clearButton();
|
|
13
|
+
|
|
14
|
+
.ard-input-container {
|
|
15
|
+
input {
|
|
16
|
+
font-family: monospace;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ard-hash-container {
|
|
21
|
+
margin-right: -0.5rem;
|
|
22
|
+
color: $text3;
|
|
23
|
+
opacity: 70%;
|
|
24
|
+
user-select: none;
|
|
25
|
+
font-family: monospace;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
@import '../variables';
|
|
2
|
-
|
|
3
|
-
.ard-modal {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
display: grid;
|
|
10
|
-
place-items: center;
|
|
11
|
-
|
|
12
|
-
&.ard-modal-backdrop {
|
|
13
|
-
background: $darken-overlay-strong;
|
|
14
|
-
}
|
|
15
|
-
.ard-modal-panel {
|
|
16
|
-
padding: 1.25rem 3rem 1.5rem 3rem;
|
|
17
|
-
background: $bg;
|
|
18
|
-
max-width: calc(100vw - 4rem);
|
|
19
|
-
position: relative;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
align-items: flex-start;
|
|
23
|
-
gap: 1.5rem;
|
|
24
|
-
|
|
25
|
-
&.ard-modal-no-heading-text {
|
|
26
|
-
gap: 0.25rem;
|
|
27
|
-
|
|
28
|
-
.ard-modal-close-button {
|
|
29
|
-
position: absolute;
|
|
30
|
-
right: 0.5rem;
|
|
31
|
-
top: 0.5rem;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
&.ard-modal-has-close-button {
|
|
35
|
-
.ard-modal-heading {
|
|
36
|
-
padding-right: 1rem;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
.ard-modal-heading {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: flex-start;
|
|
43
|
-
justify-content: space-between;
|
|
44
|
-
|
|
45
|
-
.ard-modal-heading-text {
|
|
46
|
-
font-size: 1.25rem;
|
|
47
|
-
color: $text;
|
|
48
|
-
font-weight: 500;
|
|
49
|
-
font-family: Roboto;
|
|
50
|
-
}
|
|
51
|
-
.ard-modal-close-button {
|
|
52
|
-
position: absolute;
|
|
53
|
-
right: 0.5rem;
|
|
54
|
-
top: 0.5rem;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
//! appearances
|
|
58
|
-
&.ard-appearance-raised {
|
|
59
|
-
.ard-modal-panel {
|
|
60
|
-
box-shadow: $simple-shadow2;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
//! variants
|
|
64
|
-
&.ard-variant-rounded {
|
|
65
|
-
.ard-modal-panel {
|
|
66
|
-
border-radius: 8px;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
&.ard-variant-sharp {
|
|
70
|
-
.ard-modal-panel {
|
|
71
|
-
border-radius: 0;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
//! compact
|
|
76
|
-
&.ard-compact {
|
|
77
|
-
.ard-modal-panel {
|
|
78
|
-
font-size: 90%;
|
|
79
|
-
padding: 0.75rem 2rem 1rem 2rem;
|
|
80
|
-
gap: 1rem;
|
|
81
|
-
|
|
82
|
-
&.ard-modal-no-heading-text {
|
|
83
|
-
gap: 0.25rem;
|
|
84
|
-
|
|
85
|
-
.ard-modal-close-button {
|
|
86
|
-
position: absolute;
|
|
87
|
-
right: 0.25rem;
|
|
88
|
-
top: 0.25rem;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
.ard-modal {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
display: grid;
|
|
10
|
+
place-items: center;
|
|
11
|
+
|
|
12
|
+
&.ard-modal-backdrop {
|
|
13
|
+
background: $darken-overlay-strong;
|
|
14
|
+
}
|
|
15
|
+
.ard-modal-panel {
|
|
16
|
+
padding: 1.25rem 3rem 1.5rem 3rem;
|
|
17
|
+
background: $bg;
|
|
18
|
+
max-width: calc(100vw - 4rem);
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
align-items: flex-start;
|
|
23
|
+
gap: 1.5rem;
|
|
24
|
+
|
|
25
|
+
&.ard-modal-no-heading-text {
|
|
26
|
+
gap: 0.25rem;
|
|
27
|
+
|
|
28
|
+
.ard-modal-close-button {
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: 0.5rem;
|
|
31
|
+
top: 0.5rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&.ard-modal-has-close-button {
|
|
35
|
+
.ard-modal-heading {
|
|
36
|
+
padding-right: 1rem;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.ard-modal-heading {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: flex-start;
|
|
43
|
+
justify-content: space-between;
|
|
44
|
+
|
|
45
|
+
.ard-modal-heading-text {
|
|
46
|
+
font-size: 1.25rem;
|
|
47
|
+
color: $text;
|
|
48
|
+
font-weight: 500;
|
|
49
|
+
font-family: Roboto;
|
|
50
|
+
}
|
|
51
|
+
.ard-modal-close-button {
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 0.5rem;
|
|
54
|
+
top: 0.5rem;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//! appearances
|
|
58
|
+
&.ard-appearance-raised {
|
|
59
|
+
.ard-modal-panel {
|
|
60
|
+
box-shadow: $simple-shadow2;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
//! variants
|
|
64
|
+
&.ard-variant-rounded {
|
|
65
|
+
.ard-modal-panel {
|
|
66
|
+
border-radius: 8px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
&.ard-variant-sharp {
|
|
70
|
+
.ard-modal-panel {
|
|
71
|
+
border-radius: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
//! compact
|
|
76
|
+
&.ard-compact {
|
|
77
|
+
.ard-modal-panel {
|
|
78
|
+
font-size: 90%;
|
|
79
|
+
padding: 0.75rem 2rem 1rem 2rem;
|
|
80
|
+
gap: 1rem;
|
|
81
|
+
|
|
82
|
+
&.ard-modal-no-heading-text {
|
|
83
|
+
gap: 0.25rem;
|
|
84
|
+
|
|
85
|
+
.ard-modal-close-button {
|
|
86
|
+
position: absolute;
|
|
87
|
+
right: 0.25rem;
|
|
88
|
+
top: 0.25rem;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|