@ardium-ui/ui 2.0.2 → 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,74 +1,74 @@
|
|
|
1
|
-
@use './button-mixins' as shared;
|
|
2
|
-
@use '../mixins' as CM;
|
|
3
|
-
|
|
4
|
-
ard-fab {
|
|
5
|
-
margin: 8px;
|
|
6
|
-
display: block;
|
|
7
|
-
width: max-content;
|
|
8
|
-
height: max-content;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ard-fab {
|
|
12
|
-
@include shared.button;
|
|
13
|
-
height: var(--ard-_fab-size);
|
|
14
|
-
width: var(--ard-_fab-size);
|
|
15
|
-
font-weight: 900;
|
|
16
|
-
user-select: none;
|
|
17
|
-
border-radius: 999px;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
margin: 0;
|
|
20
|
-
|
|
21
|
-
&.ard-fab-size-standard {
|
|
22
|
-
--ard-_fab-size: 3.5rem;
|
|
23
|
-
font-size: 1.75rem;
|
|
24
|
-
}
|
|
25
|
-
&.ard-fab-size-small {
|
|
26
|
-
--ard-_fab-size: 2.5rem;
|
|
27
|
-
font-size: 0.875rem;
|
|
28
|
-
}
|
|
29
|
-
&.ard-fab-extended {
|
|
30
|
-
min-width: var(--ard-_fab-size);
|
|
31
|
-
width: max-content;
|
|
32
|
-
font-weight: unset;
|
|
33
|
-
|
|
34
|
-
.ard-button-content {
|
|
35
|
-
gap: 0.75em;
|
|
36
|
-
max-width: 10em;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.ard-button-content {
|
|
41
|
-
gap: 1em;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
justify-content: flex-start !important;
|
|
44
|
-
max-width: 1.5em;
|
|
45
|
-
overflow: hidden;
|
|
46
|
-
transition: max-width 0.5s ease;
|
|
47
|
-
|
|
48
|
-
ard-icon {
|
|
49
|
-
font-size: 1em;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.ard-appearance-transparent {
|
|
54
|
-
@include CM.focus-overlay-scale-addon();
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
ard-fab.ard-disabled {
|
|
59
|
-
> .ard-fab {
|
|
60
|
-
@include shared.button-disabled;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@keyframes maxWidth {
|
|
65
|
-
0% {
|
|
66
|
-
max-width: 1.5em;
|
|
67
|
-
}
|
|
68
|
-
99% {
|
|
69
|
-
max-width: 21em;
|
|
70
|
-
}
|
|
71
|
-
100% {
|
|
72
|
-
max-width: unset;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
1
|
+
@use './button-mixins' as shared;
|
|
2
|
+
@use '../mixins' as CM;
|
|
3
|
+
|
|
4
|
+
ard-fab {
|
|
5
|
+
margin: 8px;
|
|
6
|
+
display: block;
|
|
7
|
+
width: max-content;
|
|
8
|
+
height: max-content;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-fab {
|
|
12
|
+
@include shared.button;
|
|
13
|
+
height: var(--ard-_fab-size);
|
|
14
|
+
width: var(--ard-_fab-size);
|
|
15
|
+
font-weight: 900;
|
|
16
|
+
user-select: none;
|
|
17
|
+
border-radius: 999px;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
margin: 0;
|
|
20
|
+
|
|
21
|
+
&.ard-fab-size-standard {
|
|
22
|
+
--ard-_fab-size: 3.5rem;
|
|
23
|
+
font-size: 1.75rem;
|
|
24
|
+
}
|
|
25
|
+
&.ard-fab-size-small {
|
|
26
|
+
--ard-_fab-size: 2.5rem;
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
}
|
|
29
|
+
&.ard-fab-extended {
|
|
30
|
+
min-width: var(--ard-_fab-size);
|
|
31
|
+
width: max-content;
|
|
32
|
+
font-weight: unset;
|
|
33
|
+
|
|
34
|
+
.ard-button-content {
|
|
35
|
+
gap: 0.75em;
|
|
36
|
+
max-width: 10em;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ard-button-content {
|
|
41
|
+
gap: 1em;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
justify-content: flex-start !important;
|
|
44
|
+
max-width: 1.5em;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
transition: max-width 0.5s ease;
|
|
47
|
+
|
|
48
|
+
ard-icon {
|
|
49
|
+
font-size: 1em;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.ard-appearance-transparent {
|
|
54
|
+
@include CM.focus-overlay-scale-addon();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
ard-fab.ard-disabled {
|
|
59
|
+
> .ard-fab {
|
|
60
|
+
@include shared.button-disabled;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@keyframes maxWidth {
|
|
65
|
+
0% {
|
|
66
|
+
max-width: 1.5em;
|
|
67
|
+
}
|
|
68
|
+
99% {
|
|
69
|
+
max-width: 21em;
|
|
70
|
+
}
|
|
71
|
+
100% {
|
|
72
|
+
max-width: unset;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -1,59 +1,62 @@
|
|
|
1
|
-
@use './button-mixins' as shared;
|
|
2
|
-
|
|
3
|
-
ard-icon-button {
|
|
4
|
-
height: max-content;
|
|
5
|
-
width: max-content;
|
|
6
|
-
border-radius: 9999px;
|
|
7
|
-
aspect-ratio: 1;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ard-icon-button {
|
|
12
|
-
@include shared.button;
|
|
13
|
-
background: transparent;
|
|
14
|
-
height: 2.1875rem;
|
|
15
|
-
border-radius: 9999px;
|
|
16
|
-
aspect-ratio: 1;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
padding: 0;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
font-weight: 600;
|
|
22
|
-
color: var(--ard-cmpcl--bg-colored)
|
|
23
|
-
|
|
24
|
-
.ard-button-content {
|
|
25
|
-
font-size: 1.25rem;
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
|
|
29
|
-
> ard-icon {
|
|
30
|
-
font-weight: 500;
|
|
31
|
-
font-size: 1.5rem;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
@use './button-mixins' as shared;
|
|
2
|
+
|
|
3
|
+
ard-icon-button {
|
|
4
|
+
height: max-content;
|
|
5
|
+
width: max-content;
|
|
6
|
+
border-radius: 9999px;
|
|
7
|
+
aspect-ratio: 1;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-icon-button {
|
|
12
|
+
@include shared.button;
|
|
13
|
+
background: transparent;
|
|
14
|
+
height: 2.1875rem;
|
|
15
|
+
border-radius: 9999px;
|
|
16
|
+
aspect-ratio: 1;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
padding: 0;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
23
|
+
|
|
24
|
+
.ard-button-content {
|
|
25
|
+
font-size: 1.25rem;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
> ard-icon {
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
font-size: 1.5rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//! compact
|
|
36
|
+
&.ard-compact {
|
|
37
|
+
font-size: 0.75rem;
|
|
38
|
+
height: 1.6875rem;
|
|
39
|
+
|
|
40
|
+
.ard-button-content {
|
|
41
|
+
font-size: 1.0625rem;
|
|
42
|
+
|
|
43
|
+
> ard-icon {
|
|
44
|
+
font-size: 1.25rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//! light coloring
|
|
49
|
+
&.ard-light-coloring {
|
|
50
|
+
color: var(--ard-cmpcl--bg-colored-light);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
ard-icon-button.ard-disabled {
|
|
55
|
+
> .ard-icon-button {
|
|
56
|
+
@include shared.button-disabled;
|
|
57
|
+
|
|
58
|
+
.ard-focus-overlay {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
package/themes/default/card.scss
CHANGED
|
@@ -1,126 +1,129 @@
|
|
|
1
|
-
@import '../variables';
|
|
2
|
-
|
|
3
|
-
ard-card,
|
|
4
|
-
.ard-card {
|
|
5
|
-
position: relative;
|
|
6
|
-
background: $bg;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: max-content;
|
|
10
|
-
display: block;
|
|
11
|
-
|
|
12
|
-
//! appearances
|
|
13
|
-
&.ard-appearance-outlined {
|
|
14
|
-
border: 1px solid $border-light;
|
|
15
|
-
}
|
|
16
|
-
&.ard-appearance-raised {
|
|
17
|
-
box-shadow: $card-shadow;
|
|
18
|
-
}
|
|
19
|
-
//! variants
|
|
20
|
-
&.ard-variant-sharp {
|
|
21
|
-
border-radius: 0;
|
|
22
|
-
}
|
|
23
|
-
&.ard-variant-rounded {
|
|
24
|
-
border-radius: 8px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//! header
|
|
28
|
-
ard-card-header {
|
|
29
|
-
padding: 0.5em 1em 0 1em;
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
margin-bottom: 1em;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.ard-card-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
background-
|
|
80
|
-
background-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
border-top-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
border-bottom-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
&.ard-align-
|
|
119
|
-
justify-content:
|
|
120
|
-
}
|
|
121
|
-
&.ard-align-
|
|
122
|
-
justify-content:
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
3
|
+
ard-card,
|
|
4
|
+
.ard-card {
|
|
5
|
+
position: relative;
|
|
6
|
+
background: $bg;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: max-content;
|
|
10
|
+
display: block;
|
|
11
|
+
|
|
12
|
+
//! appearances
|
|
13
|
+
&.ard-appearance-outlined {
|
|
14
|
+
border: 1px solid $border-light;
|
|
15
|
+
}
|
|
16
|
+
&.ard-appearance-raised {
|
|
17
|
+
box-shadow: $card-shadow;
|
|
18
|
+
}
|
|
19
|
+
//! variants
|
|
20
|
+
&.ard-variant-sharp {
|
|
21
|
+
border-radius: 0;
|
|
22
|
+
}
|
|
23
|
+
&.ard-variant-rounded {
|
|
24
|
+
border-radius: 8px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//! header
|
|
28
|
+
ard-card-header {
|
|
29
|
+
padding: 0.5em 1em 0 1em;
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
margin-bottom: 1em;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
|
|
35
|
+
.ard-card-header-title-container {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:first-child {
|
|
42
|
+
padding-top: 1em;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.ard-card-title,
|
|
46
|
+
.ard-card-subtitle {
|
|
47
|
+
line-height: normal;
|
|
48
|
+
display: block;
|
|
49
|
+
margin: 0;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
}
|
|
52
|
+
.ard-card-title {
|
|
53
|
+
font-size: 1.375em;
|
|
54
|
+
letter-spacing: 0.0125em;
|
|
55
|
+
color: $text;
|
|
56
|
+
}
|
|
57
|
+
.ard-card-subtitle {
|
|
58
|
+
font-size: 1em;
|
|
59
|
+
letter-spacing: 0.0078125em;
|
|
60
|
+
color: $text3;
|
|
61
|
+
margin-top: 0.125rem;
|
|
62
|
+
}
|
|
63
|
+
.ard-card-avatar {
|
|
64
|
+
display: block;
|
|
65
|
+
width: 3em;
|
|
66
|
+
height: 3em;
|
|
67
|
+
border-radius: 9999px;
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
object-fit: cover;
|
|
70
|
+
|
|
71
|
+
~ .ard-card-header-title-container {
|
|
72
|
+
padding: 0 1em;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
//! image
|
|
76
|
+
.ard-card-image {
|
|
77
|
+
position: relative;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
background-repeat: no-repeat;
|
|
80
|
+
background-position: center;
|
|
81
|
+
background-size: cover;
|
|
82
|
+
max-width: 100%;
|
|
83
|
+
|
|
84
|
+
&:first-child {
|
|
85
|
+
border-top-left-radius: inherit;
|
|
86
|
+
border-top-right-radius: inherit;
|
|
87
|
+
}
|
|
88
|
+
&:last-child {
|
|
89
|
+
border-bottom-left-radius: inherit;
|
|
90
|
+
border-bottom-right-radius: inherit;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
//! content
|
|
94
|
+
.ard-card-content {
|
|
95
|
+
padding: 0 1em;
|
|
96
|
+
display: block;
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
|
|
99
|
+
&:first-child {
|
|
100
|
+
padding-top: 1em;
|
|
101
|
+
}
|
|
102
|
+
&:last-child {
|
|
103
|
+
padding-bottom: 1em;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
> :last-child {
|
|
107
|
+
margin-bottom: 0;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
//! action buttons
|
|
111
|
+
.ard-card-action-buttons {
|
|
112
|
+
padding: 0.5em;
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: row;
|
|
115
|
+
align-items: center;
|
|
116
|
+
max-width: 100%;
|
|
117
|
+
|
|
118
|
+
&.ard-align-left {
|
|
119
|
+
justify-content: flex-start;
|
|
120
|
+
}
|
|
121
|
+
&.ard-align-middle {
|
|
122
|
+
justify-content: center;
|
|
123
|
+
}
|
|
124
|
+
&.ard-align-right {
|
|
125
|
+
justify-content: flex-end;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
//! footer
|
|
129
|
+
//no styling needed
|