@ardium-ui/ui 1.0.1 → 1.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/README.md +25 -25
- package/esm2022/lib/_internal/boolean-component.mjs +4 -4
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +4 -4
- package/esm2022/lib/_internal/clear-button/clear-button.module.mjs +5 -5
- package/esm2022/lib/_internal/disablable-component.mjs +4 -4
- package/esm2022/lib/_internal/focusable-component.mjs +4 -4
- 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 +4 -4
- package/esm2022/lib/_internal/queue.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +4 -4
- package/esm2022/lib/badge/badge.directive.mjs +4 -4
- package/esm2022/lib/badge/badge.module.mjs +5 -5
- package/esm2022/lib/badge/badge.types.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +4 -4
- package/esm2022/lib/buttons/button/button.component.mjs +4 -4
- package/esm2022/lib/buttons/button/button.module.mjs +5 -5
- package/esm2022/lib/buttons/fab/fab.component.mjs +4 -4
- package/esm2022/lib/buttons/fab/fab.module.mjs +5 -5
- package/esm2022/lib/buttons/general-button.types.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +4 -4
- package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +5 -5
- package/esm2022/lib/calendar/calendar.component.mjs +4 -4
- package/esm2022/lib/calendar/calendar.directives.mjs +25 -25
- package/esm2022/lib/calendar/calendar.helpers.mjs +1 -1
- package/esm2022/lib/calendar/calendar.module.mjs +5 -5
- package/esm2022/lib/calendar/calendar.types.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +25 -25
- package/esm2022/lib/card/card.component.mjs +7 -7
- package/esm2022/lib/card/card.module.mjs +5 -5
- package/esm2022/lib/card/card.types.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +4 -4
- package/esm2022/lib/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +4 -4
- package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +5 -5
- package/esm2022/lib/checkbox-list/checkbox-list.types.mjs +1 -1
- package/esm2022/lib/chip/chip.component.mjs +4 -4
- package/esm2022/lib/chip/chip.module.mjs +5 -5
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +4 -4
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +4 -4
- package/esm2022/lib/color/color-display/color-display.component.mjs +4 -4
- package/esm2022/lib/color/color-display/color-display.module.mjs +5 -5
- package/esm2022/lib/color/color-display/color-display.types.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.component.mjs +4 -4
- package/esm2022/lib/color/color-picker/color-picker.directives.mjs +13 -13
- package/esm2022/lib/color/color-picker/color-picker.module.mjs +5 -5
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +4 -4
- package/esm2022/lib/dialog/dialog.directives.mjs +4 -4
- package/esm2022/lib/dialog/dialog.module.mjs +5 -5
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/divider/divider.component.mjs +4 -4
- package/esm2022/lib/divider/divider.module.mjs +5 -5
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +4 -4
- package/esm2022/lib/dropdown-panel/dropdown-panel.module.mjs +5 -5
- package/esm2022/lib/dropdown-panel/dropdown-panel.types.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +4 -4
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.directives.mjs +10 -10
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +5 -5
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +4 -4
- package/esm2022/lib/file-inputs/file-input/file-input.directives.mjs +19 -19
- package/esm2022/lib/file-inputs/file-input/file-input.module.mjs +5 -5
- package/esm2022/lib/file-inputs/file-input-base.mjs +4 -4
- package/esm2022/lib/file-inputs/file-input-types.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +4 -4
- package/esm2022/lib/form-field-frame/form-field-frame.directives.mjs +7 -7
- package/esm2022/lib/form-field-frame/form-field-frame.module.mjs +5 -5
- package/esm2022/lib/icon/icon.component.mjs +4 -4
- package/esm2022/lib/icon/icon.module.mjs +5 -5
- package/esm2022/lib/icon/icon.pipe.mjs +4 -4
- package/esm2022/lib/inputs/color-input/color-input.component.mjs +4 -4
- package/esm2022/lib/inputs/color-input/color-input.directives.mjs +25 -25
- package/esm2022/lib/inputs/color-input/color-input.module.mjs +5 -5
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +4 -4
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +5 -5
- 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/hex-input/hex-input.component.mjs +4 -4
- package/esm2022/lib/inputs/hex-input/hex-input.directives.mjs +10 -10
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +5 -5
- package/esm2022/lib/inputs/hex-input.model.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +4 -4
- package/esm2022/lib/inputs/input/input.directives.mjs +16 -16
- package/esm2022/lib/inputs/input/input.module.mjs +5 -5
- package/esm2022/lib/inputs/input-transformers.mjs +1 -1
- package/esm2022/lib/inputs/input-types.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +4 -4
- package/esm2022/lib/inputs/number-input/number-input.directives.mjs +4 -4
- package/esm2022/lib/inputs/number-input/number-input.module.mjs +5 -5
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +4 -4
- package/esm2022/lib/inputs/password-input/password-input.directives.mjs +13 -13
- package/esm2022/lib/inputs/password-input/password-input.module.mjs +5 -5
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +4 -4
- package/esm2022/lib/inputs/simple-input/simple-input.directives.mjs +10 -10
- package/esm2022/lib/inputs/simple-input/simple-input.module.mjs +5 -5
- package/esm2022/lib/kbd/kbd.component.mjs +4 -4
- package/esm2022/lib/kbd/kbd.module.mjs +5 -5
- package/esm2022/lib/kbd/kbd.pipe.mjs +4 -4
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +4 -4
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.module.mjs +5 -5
- package/esm2022/lib/modal/modal.component.mjs +4 -4
- package/esm2022/lib/modal/modal.module.mjs +5 -5
- package/esm2022/lib/option/option.component.mjs +4 -4
- package/esm2022/lib/option/option.module.mjs +5 -5
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/lib/progress-bar/progress-bar.directive.mjs +4 -4
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +5 -5
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +4 -4
- package/esm2022/lib/progress-circle/progress-circle.directive.mjs +4 -4
- package/esm2022/lib/progress-circle/progress-circle.module.mjs +5 -5
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +4 -4
- package/esm2022/lib/radio/radio-group.component.mjs +4 -4
- package/esm2022/lib/radio/radio.module.mjs +5 -5
- package/esm2022/lib/search-functions.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +4 -4
- package/esm2022/lib/segment/segment.directives.mjs +4 -4
- package/esm2022/lib/segment/segment.module.mjs +5 -5
- package/esm2022/lib/segment/segment.types.mjs +1 -1
- package/esm2022/lib/select/select.component.mjs +4 -4
- package/esm2022/lib/select/select.directive.mjs +46 -46
- package/esm2022/lib/select/select.module.mjs +5 -5
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +4 -4
- package/esm2022/lib/slide-toggle/slide-toggle.module.mjs +5 -5
- package/esm2022/lib/slider/abstract-slider.mjs +4 -4
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +4 -4
- package/esm2022/lib/slider/range-slider/range-slider.module.mjs +5 -5
- package/esm2022/lib/slider/slider.component.mjs +4 -4
- package/esm2022/lib/slider/slider.directive.mjs +4 -4
- package/esm2022/lib/slider/slider.module.mjs +5 -5
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/index.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +4 -4
- package/esm2022/lib/snackbar/snackbar.service.mjs +4 -4
- package/esm2022/lib/snackbar/snackbar.token.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +4 -4
- package/esm2022/lib/spinner/spinner.module.mjs +5 -5
- package/esm2022/lib/star/star-button/star-button.component.mjs +4 -4
- package/esm2022/lib/star/star-button/star-button.module.mjs +5 -5
- package/esm2022/lib/star/star-display/star-display.component.mjs +4 -4
- package/esm2022/lib/star/star-display/star-display.module.mjs +5 -5
- package/esm2022/lib/star/star-input/star-input.component.mjs +4 -4
- package/esm2022/lib/star/star-input/star-input.module.mjs +5 -5
- package/esm2022/lib/star/star.component.mjs +4 -4
- package/esm2022/lib/star/star.module.mjs +5 -5
- package/esm2022/lib/star/star.types.mjs +1 -1
- package/esm2022/lib/statebox/statebox.component.mjs +4 -4
- package/esm2022/lib/statebox/statebox.module.mjs +5 -5
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/table/table-item-storage.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +4 -4
- package/esm2022/lib/table/table.directives.mjs +16 -16
- package/esm2022/lib/table/table.module.mjs +5 -5
- package/esm2022/lib/table/table.types.mjs +1 -1
- package/esm2022/lib/table/utils.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +4 -4
- package/esm2022/lib/table-from-csv/table-from-csv.module.mjs +5 -5
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +4 -4
- package/esm2022/lib/table-pagination/table-pagination.module.mjs +5 -5
- package/esm2022/lib/table-pagination/table-pagination.types.mjs +1 -1
- package/esm2022/lib/types/alignment.types.mjs +1 -1
- package/esm2022/lib/types/colors.types.mjs +1 -1
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/theming.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 +618 -618
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/package.json +7 -5
- package/themes/_variables.scss +121 -121
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/_coloring.scss +137 -137
- package/themes/default/_dropdown-arrow.scss +12 -12
- package/themes/default/_mixins.scss +70 -70
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/_button-mixins.scss +144 -144
- package/themes/default/buttons/button.scss +62 -62
- package/themes/default/buttons/fab.scss +72 -72
- package/themes/default/buttons/icon-button.scss +59 -59
- package/themes/default/calendar.scss +182 -182
- package/themes/default/card.scss +126 -126
- package/themes/default/checkbox-list.scss +83 -83
- package/themes/default/checkbox.scss +109 -109
- package/themes/default/chips.scss +206 -206
- package/themes/default/color-display.scss +41 -41
- package/themes/default/color-picker.scss +111 -111
- package/themes/default/core.scss +96 -96
- package/themes/default/dialog.scss +16 -16
- package/themes/default/divider.scss +13 -13
- package/themes/default/dropdown-panel.scss +45 -45
- package/themes/default/file-drop-area.scss +162 -162
- package/themes/default/form-field-frame.scss +78 -78
- package/themes/default/inputs/_shared.scss +46 -46
- package/themes/default/inputs/color-input.scss +46 -46
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +78 -78
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/inputs/input.scss +52 -52
- package/themes/default/inputs/number-input.scss +121 -121
- package/themes/default/inputs/password-input.scss +43 -43
- package/themes/default/inputs/search-bar.scss +19 -19
- package/themes/default/inputs/simple-input.scss +19 -19
- package/themes/default/kbd-shortcut.scss +13 -13
- package/themes/default/kbd.scss +20 -20
- package/themes/default/modal.scss +93 -93
- package/themes/default/progress-bar.scss +166 -166
- package/themes/default/progress-circle.scss +56 -56
- package/themes/default/radio.scss +112 -112
- package/themes/default/segment.scss +339 -339
- package/themes/default/select.scss +253 -253
- package/themes/default/slide-toggle.scss +151 -151
- package/themes/default/slider.scss +224 -224
- package/themes/default/snackbar.scss +60 -60
- package/themes/default/spinner.scss +21 -21
- package/themes/default/stars.scss +122 -122
- package/themes/default/statebox.scss +109 -109
- package/themes/default/table-pagination.scss +56 -56
- package/themes/default/table.scss +403 -403
|
@@ -1,403 +1,403 @@
|
|
|
1
|
-
@use './coloring' as CM;
|
|
2
|
-
@import '../variables';
|
|
3
|
-
|
|
4
|
-
.ard-table {
|
|
5
|
-
@include CM.typeColors();
|
|
6
|
-
border-collapse: collapse;
|
|
7
|
-
background: $bg;
|
|
8
|
-
|
|
9
|
-
.ard-table__body {
|
|
10
|
-
border: 1px solid $detail-ultralight;
|
|
11
|
-
}
|
|
12
|
-
.ard-table__header-cell,
|
|
13
|
-
.ard-table__body-cell {
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
|
|
16
|
-
> .ard-table__cell-container {
|
|
17
|
-
height: max-content;
|
|
18
|
-
max-height: 100%;
|
|
19
|
-
padding: 0 0.75rem;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
font-size: 0.875rem;
|
|
22
|
-
|
|
23
|
-
.ard-table__header-template-container {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
gap: 0.75rem;
|
|
27
|
-
|
|
28
|
-
.ard-table__header-content-container {
|
|
29
|
-
overflow-x: hidden;
|
|
30
|
-
text-overflow: ellipsis;
|
|
31
|
-
white-space: nowrap;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.ard-table__header-cell {
|
|
37
|
-
height: 3.375rem;
|
|
38
|
-
font-weight: 500;
|
|
39
|
-
letter-spacing: 0.25px;
|
|
40
|
-
}
|
|
41
|
-
.ard-table__body-cell {
|
|
42
|
-
height: 3rem;
|
|
43
|
-
transition: background-color 0.15s ease;
|
|
44
|
-
|
|
45
|
-
.ard-table__cell-container {
|
|
46
|
-
overflow-x: hidden;
|
|
47
|
-
text-overflow: ellipsis;
|
|
48
|
-
white-space: nowrap;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.ard-table__checkbox-cell {
|
|
52
|
-
> .ard-table__cell-container {
|
|
53
|
-
width: 3rem;
|
|
54
|
-
height: 3rem;
|
|
55
|
-
display: flex;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
align-items: center;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.ard-table__body-row .ard-table__body-cell {
|
|
61
|
-
border-bottom: 1px solid $detail-ultralight;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
//! empty rows
|
|
65
|
-
.ard-table__empty-row {
|
|
66
|
-
.ard-table__empty-cell {
|
|
67
|
-
height: 3rem;
|
|
68
|
-
}
|
|
69
|
-
&:not(:last-of-type) .ard-table__empty-cell {
|
|
70
|
-
border-bottom: 1px solid transparent;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
//! loading
|
|
75
|
-
&.ard-table-loading {
|
|
76
|
-
.ard-table__header,
|
|
77
|
-
.ard-table__body {
|
|
78
|
-
pointer-events: none;
|
|
79
|
-
}
|
|
80
|
-
.ard-table__body {
|
|
81
|
-
opacity: 40%;
|
|
82
|
-
}
|
|
83
|
-
.ard-table__header .ard-table__checkbox-cell {
|
|
84
|
-
opacity: 40%;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
//! sorting
|
|
89
|
-
.ard-table__sortable {
|
|
90
|
-
.ard-table__header-template-container.ard-sortable {
|
|
91
|
-
.ard-table__header-content-container {
|
|
92
|
-
border: none;
|
|
93
|
-
background: none;
|
|
94
|
-
color: inherit;
|
|
95
|
-
font: inherit;
|
|
96
|
-
width: 100%;
|
|
97
|
-
display: flex;
|
|
98
|
-
gap: 0.375rem;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
border-radius: 0.25rem;
|
|
101
|
-
outline-offset: 0.25rem;
|
|
102
|
-
|
|
103
|
-
&:focus-visible {
|
|
104
|
-
outline: 2px solid black;
|
|
105
|
-
}
|
|
106
|
-
.ard-table__header-sort-icon {
|
|
107
|
-
height: 1rem;
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
}
|
|
110
|
-
ard-icon {
|
|
111
|
-
font-size: 1rem;
|
|
112
|
-
font-weight: 900;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
//! caption
|
|
119
|
-
.ard-table__caption {
|
|
120
|
-
caption-side: bottom;
|
|
121
|
-
height: 3.125rem;
|
|
122
|
-
box-sizing: border-box;
|
|
123
|
-
color: $detail;
|
|
124
|
-
background: $bg;
|
|
125
|
-
border: 1px solid $detail-ultralight;
|
|
126
|
-
border-top: none;
|
|
127
|
-
padding: 0 0.75rem;
|
|
128
|
-
|
|
129
|
-
.ard-table__caption-container {
|
|
130
|
-
display: flex;
|
|
131
|
-
align-items: center;
|
|
132
|
-
height: 100%;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
//! footer
|
|
137
|
-
.ard-table__foot {
|
|
138
|
-
.ard-table__pagination-cell {
|
|
139
|
-
border: 1px solid $detail-ultralight;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
//! color
|
|
144
|
-
--ard-_table-header-border: var(--ard-cmpcl--border);
|
|
145
|
-
--ard-_table-header-border-light: var(--ard-cmpcl--border-light);
|
|
146
|
-
--ard-_table-border: $border;
|
|
147
|
-
--ard-_table-header-background: var(--ard-cmpcl--bg);
|
|
148
|
-
--ard-_table-header-background-light: var(--ard-cmpcl--bg-header);
|
|
149
|
-
--ard-_table-header-color: var(--ard-cmpcl--content);
|
|
150
|
-
--ard-_table-header-color-on-bg: var(--ard-cmpcl--on-bg);
|
|
151
|
-
--ard-_table-overlay: var(--ard-cmpcl--overlay-rgb);
|
|
152
|
-
--ard-_table-overlay-colorless: var(--ard-overlay-rgb);
|
|
153
|
-
|
|
154
|
-
//! appearances
|
|
155
|
-
&.ard-appearance-strong {
|
|
156
|
-
.ard-table__header {
|
|
157
|
-
border-bottom: 1px solid $detail-ultralight;
|
|
158
|
-
background-color: var(--ard-_table-header-background);
|
|
159
|
-
}
|
|
160
|
-
.ard-table__header-cell {
|
|
161
|
-
color: var(--ard-_table-header-color-on-bg);
|
|
162
|
-
border-bottom: 1px solid var(--ard-_table-header-border);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
&.ard-appearance-light {
|
|
166
|
-
.ard-table__header-cell {
|
|
167
|
-
color: var(--ard-_table-header-color);
|
|
168
|
-
}
|
|
169
|
-
.ard-table__header {
|
|
170
|
-
background-color: var(--ard-_table-header-background-light);
|
|
171
|
-
border: 1px solid var(--ard-_table-header-border-light);
|
|
172
|
-
}
|
|
173
|
-
.ard-table__header-row .ard-table__header-cell {
|
|
174
|
-
border-bottom: 1px solid var(--ard-_table-header-border-light);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
&.ard-appearance-colorless {
|
|
178
|
-
.ard-table__header-cell {
|
|
179
|
-
color: $text;
|
|
180
|
-
}
|
|
181
|
-
.ard-table__header {
|
|
182
|
-
border: 1px solid $detail-ultralight;
|
|
183
|
-
background-color: $bg;
|
|
184
|
-
}
|
|
185
|
-
.ard-table__header-row .ard-table__header-cell {
|
|
186
|
-
border-bottom: 1px solid $detail-ultralight;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
//! variants
|
|
190
|
-
&.ard-variant-rounded {
|
|
191
|
-
.ard-table,
|
|
192
|
-
.ard-table__header,
|
|
193
|
-
.ard-table__body {
|
|
194
|
-
border-radius: 8px;
|
|
195
|
-
}
|
|
196
|
-
.ard-table__header-row:first-child {
|
|
197
|
-
border-top-left-radius: 8px;
|
|
198
|
-
border-top-right-radius: 8px;
|
|
199
|
-
|
|
200
|
-
.ard-table__header-cell:first-child {
|
|
201
|
-
border-top-left-radius: 8px;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
.ard-table__header-row:first-child .ard-table__header-cell:last-child {
|
|
205
|
-
border-top-right-radius: 8px;
|
|
206
|
-
}
|
|
207
|
-
.ard-table__body-row:last-child .ard-table__body-cell:first-child {
|
|
208
|
-
border-bottom-left-radius: 8px;
|
|
209
|
-
}
|
|
210
|
-
.ard-table__body-row:last-child .ard-table__body-cell:last-child {
|
|
211
|
-
border-bottom-right-radius: 8px;
|
|
212
|
-
}
|
|
213
|
-
.ard-table__foot {
|
|
214
|
-
border-bottom-left-radius: 8px;
|
|
215
|
-
border-bottom-right-radius: 8px;
|
|
216
|
-
.ard-table__foot-row {
|
|
217
|
-
border-bottom-left-radius: 8px;
|
|
218
|
-
border-bottom-right-radius: 8px;
|
|
219
|
-
|
|
220
|
-
.ard-table__pagination-cell {
|
|
221
|
-
border-bottom-left-radius: 8px;
|
|
222
|
-
border-bottom-right-radius: 8px;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
.ard-table__caption {
|
|
227
|
-
border-bottom-left-radius: 8px;
|
|
228
|
-
border-bottom-right-radius: 8px;
|
|
229
|
-
|
|
230
|
-
+ .ard-table__body {
|
|
231
|
-
* {
|
|
232
|
-
border-radius: 0;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
~ .ard-table__foot {
|
|
236
|
-
* {
|
|
237
|
-
border-radius: 0;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
//! compact
|
|
244
|
-
&.ard-compact {
|
|
245
|
-
.ard-table__header-cell,
|
|
246
|
-
.ard-table__body-cell {
|
|
247
|
-
> .ard-table__cell-container {
|
|
248
|
-
padding: 0 0.625rem;
|
|
249
|
-
font-size: 0.875rem;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
.ard-table__header-cell {
|
|
253
|
-
height: 2.625rem;
|
|
254
|
-
|
|
255
|
-
> .ard-table__cell-container {
|
|
256
|
-
letter-spacing: 0.18px;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
.ard-table__body-cell {
|
|
260
|
-
height: 2.25rem;
|
|
261
|
-
}
|
|
262
|
-
.ard-table__checkbox-cell {
|
|
263
|
-
> .ard-table__cell-container {
|
|
264
|
-
width: 2.25rem;
|
|
265
|
-
height: 2.25rem;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
.ard-table__caption {
|
|
269
|
-
height: 2.25rem;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
//! zebra
|
|
274
|
-
&.ard-zebra-table {
|
|
275
|
-
.ard-table__body-row:nth-of-type(2n-1) {
|
|
276
|
-
background: $darken-overlay-ultralight;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
//! selected & selectable
|
|
281
|
-
&.ard-selectable-rows {
|
|
282
|
-
.ard-table__body-row .ard-table__body-cell {
|
|
283
|
-
cursor: pointer;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
.ard-table__body-row.ard-table__highlighted-row .ard-table__body-cell {
|
|
287
|
-
background: rgba(var(--ard-_table-overlay-colorless), 4%);
|
|
288
|
-
}
|
|
289
|
-
.ard-table__body-row.ard-table__selected-row .ard-table__body-cell {
|
|
290
|
-
background: rgba(var(--ard-_table-overlay), 8%);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
//! disabled
|
|
294
|
-
.ard-table__disabled-row {
|
|
295
|
-
pointer-events: none;
|
|
296
|
-
opacity: 50%;
|
|
297
|
-
user-select: none;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
//! bold
|
|
301
|
-
.ard-table__bold-row {
|
|
302
|
-
font-weight: 600;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
//! sticky header
|
|
306
|
-
&.ard-sticky-header {
|
|
307
|
-
.ard-table__header {
|
|
308
|
-
position: sticky;
|
|
309
|
-
top: 0;
|
|
310
|
-
z-index: 2;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
//! header aligns
|
|
315
|
-
&.ard-header-align-top-left,
|
|
316
|
-
&.ard-header-align-center-left,
|
|
317
|
-
&.ard-header-align-bottom-left {
|
|
318
|
-
.ard-table__header-cell > .ard-table__cell-container {
|
|
319
|
-
text-align: left;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
&.ard-header-align-top-center,
|
|
323
|
-
&.ard-header-align-center-center,
|
|
324
|
-
&.ard-header-align-bottom-center {
|
|
325
|
-
.ard-table__header-cell > .ard-table__cell-container {
|
|
326
|
-
text-align: center;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
&.ard-header-align-top-right,
|
|
330
|
-
&.ard-header-align-center-right,
|
|
331
|
-
&.ard-header-align-bottom-right {
|
|
332
|
-
.ard-table__header-cell > .ard-table__cell-container {
|
|
333
|
-
text-align: right;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
&.ard-header-align-top-left,
|
|
337
|
-
&.ard-header-align-top-center,
|
|
338
|
-
&.ard-header-align-top-right {
|
|
339
|
-
.ard-table__header-cell {
|
|
340
|
-
vertical-align: top;
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
&.ard-header-align-center-left,
|
|
344
|
-
&.ard-header-align-center-center,
|
|
345
|
-
&.ard-header-align-center-right {
|
|
346
|
-
.ard-table__header-cell {
|
|
347
|
-
vertical-align: middle;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
&.ard-header-align-bottom-left,
|
|
351
|
-
&.ard-header-align-bottom-center,
|
|
352
|
-
&.ard-header-align-bottom-right {
|
|
353
|
-
.ard-table__header-cell {
|
|
354
|
-
vertical-align: bottom;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
//! body aligns
|
|
358
|
-
&.ard-align-top-left,
|
|
359
|
-
&.ard-align-center-left,
|
|
360
|
-
&.ard-align-bottom-left {
|
|
361
|
-
.ard-table__body-cell > .ard-table__cell-container,
|
|
362
|
-
.ard-table__caption {
|
|
363
|
-
text-align: left;
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
&.ard-align-top-center,
|
|
367
|
-
&.ard-align-center-center,
|
|
368
|
-
&.ard-align-bottom-center {
|
|
369
|
-
.ard-table__body-cell > .ard-table__cell-container,
|
|
370
|
-
.ard-table__caption {
|
|
371
|
-
text-align: center;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
&.ard-align-top-right,
|
|
375
|
-
&.ard-align-center-right,
|
|
376
|
-
&.ard-align-bottom-right {
|
|
377
|
-
.ard-table__body-cell > .ard-table__cell-container,
|
|
378
|
-
.ard-table__caption {
|
|
379
|
-
text-align: right;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
&.ard-align-top-left,
|
|
383
|
-
&.ard-align-top-center,
|
|
384
|
-
&.ard-align-top-right {
|
|
385
|
-
.ard-table__body-cell {
|
|
386
|
-
vertical-align: top;
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
&.ard-align-center-left,
|
|
390
|
-
&.ard-align-center-center,
|
|
391
|
-
&.ard-align-center-right {
|
|
392
|
-
.ard-table__body-cell {
|
|
393
|
-
vertical-align: middle;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
&.ard-align-bottom-left,
|
|
397
|
-
&.ard-align-bottom-center,
|
|
398
|
-
&.ard-align-bottom-right {
|
|
399
|
-
.ard-table__body-cell {
|
|
400
|
-
vertical-align: bottom;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
}
|
|
1
|
+
@use './coloring' as CM;
|
|
2
|
+
@import '../variables';
|
|
3
|
+
|
|
4
|
+
.ard-table {
|
|
5
|
+
@include CM.typeColors();
|
|
6
|
+
border-collapse: collapse;
|
|
7
|
+
background: $bg;
|
|
8
|
+
|
|
9
|
+
.ard-table__body {
|
|
10
|
+
border: 1px solid $detail-ultralight;
|
|
11
|
+
}
|
|
12
|
+
.ard-table__header-cell,
|
|
13
|
+
.ard-table__body-cell {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
|
|
16
|
+
> .ard-table__cell-container {
|
|
17
|
+
height: max-content;
|
|
18
|
+
max-height: 100%;
|
|
19
|
+
padding: 0 0.75rem;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
font-size: 0.875rem;
|
|
22
|
+
|
|
23
|
+
.ard-table__header-template-container {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 0.75rem;
|
|
27
|
+
|
|
28
|
+
.ard-table__header-content-container {
|
|
29
|
+
overflow-x: hidden;
|
|
30
|
+
text-overflow: ellipsis;
|
|
31
|
+
white-space: nowrap;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.ard-table__header-cell {
|
|
37
|
+
height: 3.375rem;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
letter-spacing: 0.25px;
|
|
40
|
+
}
|
|
41
|
+
.ard-table__body-cell {
|
|
42
|
+
height: 3rem;
|
|
43
|
+
transition: background-color 0.15s ease;
|
|
44
|
+
|
|
45
|
+
.ard-table__cell-container {
|
|
46
|
+
overflow-x: hidden;
|
|
47
|
+
text-overflow: ellipsis;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.ard-table__checkbox-cell {
|
|
52
|
+
> .ard-table__cell-container {
|
|
53
|
+
width: 3rem;
|
|
54
|
+
height: 3rem;
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.ard-table__body-row .ard-table__body-cell {
|
|
61
|
+
border-bottom: 1px solid $detail-ultralight;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
//! empty rows
|
|
65
|
+
.ard-table__empty-row {
|
|
66
|
+
.ard-table__empty-cell {
|
|
67
|
+
height: 3rem;
|
|
68
|
+
}
|
|
69
|
+
&:not(:last-of-type) .ard-table__empty-cell {
|
|
70
|
+
border-bottom: 1px solid transparent;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
//! loading
|
|
75
|
+
&.ard-table-loading {
|
|
76
|
+
.ard-table__header,
|
|
77
|
+
.ard-table__body {
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
}
|
|
80
|
+
.ard-table__body {
|
|
81
|
+
opacity: 40%;
|
|
82
|
+
}
|
|
83
|
+
.ard-table__header .ard-table__checkbox-cell {
|
|
84
|
+
opacity: 40%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
//! sorting
|
|
89
|
+
.ard-table__sortable {
|
|
90
|
+
.ard-table__header-template-container.ard-sortable {
|
|
91
|
+
.ard-table__header-content-container {
|
|
92
|
+
border: none;
|
|
93
|
+
background: none;
|
|
94
|
+
color: inherit;
|
|
95
|
+
font: inherit;
|
|
96
|
+
width: 100%;
|
|
97
|
+
display: flex;
|
|
98
|
+
gap: 0.375rem;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
border-radius: 0.25rem;
|
|
101
|
+
outline-offset: 0.25rem;
|
|
102
|
+
|
|
103
|
+
&:focus-visible {
|
|
104
|
+
outline: 2px solid black;
|
|
105
|
+
}
|
|
106
|
+
.ard-table__header-sort-icon {
|
|
107
|
+
height: 1rem;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
}
|
|
110
|
+
ard-icon {
|
|
111
|
+
font-size: 1rem;
|
|
112
|
+
font-weight: 900;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
//! caption
|
|
119
|
+
.ard-table__caption {
|
|
120
|
+
caption-side: bottom;
|
|
121
|
+
height: 3.125rem;
|
|
122
|
+
box-sizing: border-box;
|
|
123
|
+
color: $detail;
|
|
124
|
+
background: $bg;
|
|
125
|
+
border: 1px solid $detail-ultralight;
|
|
126
|
+
border-top: none;
|
|
127
|
+
padding: 0 0.75rem;
|
|
128
|
+
|
|
129
|
+
.ard-table__caption-container {
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
height: 100%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
//! footer
|
|
137
|
+
.ard-table__foot {
|
|
138
|
+
.ard-table__pagination-cell {
|
|
139
|
+
border: 1px solid $detail-ultralight;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
//! color
|
|
144
|
+
--ard-_table-header-border: var(--ard-cmpcl--border);
|
|
145
|
+
--ard-_table-header-border-light: var(--ard-cmpcl--border-light);
|
|
146
|
+
--ard-_table-border: $border;
|
|
147
|
+
--ard-_table-header-background: var(--ard-cmpcl--bg);
|
|
148
|
+
--ard-_table-header-background-light: var(--ard-cmpcl--bg-header);
|
|
149
|
+
--ard-_table-header-color: var(--ard-cmpcl--content);
|
|
150
|
+
--ard-_table-header-color-on-bg: var(--ard-cmpcl--on-bg);
|
|
151
|
+
--ard-_table-overlay: var(--ard-cmpcl--overlay-rgb);
|
|
152
|
+
--ard-_table-overlay-colorless: var(--ard-overlay-rgb);
|
|
153
|
+
|
|
154
|
+
//! appearances
|
|
155
|
+
&.ard-appearance-strong {
|
|
156
|
+
.ard-table__header {
|
|
157
|
+
border-bottom: 1px solid $detail-ultralight;
|
|
158
|
+
background-color: var(--ard-_table-header-background);
|
|
159
|
+
}
|
|
160
|
+
.ard-table__header-cell {
|
|
161
|
+
color: var(--ard-_table-header-color-on-bg);
|
|
162
|
+
border-bottom: 1px solid var(--ard-_table-header-border);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
&.ard-appearance-light {
|
|
166
|
+
.ard-table__header-cell {
|
|
167
|
+
color: var(--ard-_table-header-color);
|
|
168
|
+
}
|
|
169
|
+
.ard-table__header {
|
|
170
|
+
background-color: var(--ard-_table-header-background-light);
|
|
171
|
+
border: 1px solid var(--ard-_table-header-border-light);
|
|
172
|
+
}
|
|
173
|
+
.ard-table__header-row .ard-table__header-cell {
|
|
174
|
+
border-bottom: 1px solid var(--ard-_table-header-border-light);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
&.ard-appearance-colorless {
|
|
178
|
+
.ard-table__header-cell {
|
|
179
|
+
color: $text;
|
|
180
|
+
}
|
|
181
|
+
.ard-table__header {
|
|
182
|
+
border: 1px solid $detail-ultralight;
|
|
183
|
+
background-color: $bg;
|
|
184
|
+
}
|
|
185
|
+
.ard-table__header-row .ard-table__header-cell {
|
|
186
|
+
border-bottom: 1px solid $detail-ultralight;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
//! variants
|
|
190
|
+
&.ard-variant-rounded {
|
|
191
|
+
.ard-table,
|
|
192
|
+
.ard-table__header,
|
|
193
|
+
.ard-table__body {
|
|
194
|
+
border-radius: 8px;
|
|
195
|
+
}
|
|
196
|
+
.ard-table__header-row:first-child {
|
|
197
|
+
border-top-left-radius: 8px;
|
|
198
|
+
border-top-right-radius: 8px;
|
|
199
|
+
|
|
200
|
+
.ard-table__header-cell:first-child {
|
|
201
|
+
border-top-left-radius: 8px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
.ard-table__header-row:first-child .ard-table__header-cell:last-child {
|
|
205
|
+
border-top-right-radius: 8px;
|
|
206
|
+
}
|
|
207
|
+
.ard-table__body-row:last-child .ard-table__body-cell:first-child {
|
|
208
|
+
border-bottom-left-radius: 8px;
|
|
209
|
+
}
|
|
210
|
+
.ard-table__body-row:last-child .ard-table__body-cell:last-child {
|
|
211
|
+
border-bottom-right-radius: 8px;
|
|
212
|
+
}
|
|
213
|
+
.ard-table__foot {
|
|
214
|
+
border-bottom-left-radius: 8px;
|
|
215
|
+
border-bottom-right-radius: 8px;
|
|
216
|
+
.ard-table__foot-row {
|
|
217
|
+
border-bottom-left-radius: 8px;
|
|
218
|
+
border-bottom-right-radius: 8px;
|
|
219
|
+
|
|
220
|
+
.ard-table__pagination-cell {
|
|
221
|
+
border-bottom-left-radius: 8px;
|
|
222
|
+
border-bottom-right-radius: 8px;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
.ard-table__caption {
|
|
227
|
+
border-bottom-left-radius: 8px;
|
|
228
|
+
border-bottom-right-radius: 8px;
|
|
229
|
+
|
|
230
|
+
+ .ard-table__body {
|
|
231
|
+
* {
|
|
232
|
+
border-radius: 0;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
~ .ard-table__foot {
|
|
236
|
+
* {
|
|
237
|
+
border-radius: 0;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
//! compact
|
|
244
|
+
&.ard-compact {
|
|
245
|
+
.ard-table__header-cell,
|
|
246
|
+
.ard-table__body-cell {
|
|
247
|
+
> .ard-table__cell-container {
|
|
248
|
+
padding: 0 0.625rem;
|
|
249
|
+
font-size: 0.875rem;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
.ard-table__header-cell {
|
|
253
|
+
height: 2.625rem;
|
|
254
|
+
|
|
255
|
+
> .ard-table__cell-container {
|
|
256
|
+
letter-spacing: 0.18px;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
.ard-table__body-cell {
|
|
260
|
+
height: 2.25rem;
|
|
261
|
+
}
|
|
262
|
+
.ard-table__checkbox-cell {
|
|
263
|
+
> .ard-table__cell-container {
|
|
264
|
+
width: 2.25rem;
|
|
265
|
+
height: 2.25rem;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.ard-table__caption {
|
|
269
|
+
height: 2.25rem;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
//! zebra
|
|
274
|
+
&.ard-zebra-table {
|
|
275
|
+
.ard-table__body-row:nth-of-type(2n-1) {
|
|
276
|
+
background: $darken-overlay-ultralight;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
//! selected & selectable
|
|
281
|
+
&.ard-selectable-rows {
|
|
282
|
+
.ard-table__body-row .ard-table__body-cell {
|
|
283
|
+
cursor: pointer;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
.ard-table__body-row.ard-table__highlighted-row .ard-table__body-cell {
|
|
287
|
+
background: rgba(var(--ard-_table-overlay-colorless), 4%);
|
|
288
|
+
}
|
|
289
|
+
.ard-table__body-row.ard-table__selected-row .ard-table__body-cell {
|
|
290
|
+
background: rgba(var(--ard-_table-overlay), 8%);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
//! disabled
|
|
294
|
+
.ard-table__disabled-row {
|
|
295
|
+
pointer-events: none;
|
|
296
|
+
opacity: 50%;
|
|
297
|
+
user-select: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
//! bold
|
|
301
|
+
.ard-table__bold-row {
|
|
302
|
+
font-weight: 600;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
//! sticky header
|
|
306
|
+
&.ard-sticky-header {
|
|
307
|
+
.ard-table__header {
|
|
308
|
+
position: sticky;
|
|
309
|
+
top: 0;
|
|
310
|
+
z-index: 2;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
//! header aligns
|
|
315
|
+
&.ard-header-align-top-left,
|
|
316
|
+
&.ard-header-align-center-left,
|
|
317
|
+
&.ard-header-align-bottom-left {
|
|
318
|
+
.ard-table__header-cell > .ard-table__cell-container {
|
|
319
|
+
text-align: left;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
&.ard-header-align-top-center,
|
|
323
|
+
&.ard-header-align-center-center,
|
|
324
|
+
&.ard-header-align-bottom-center {
|
|
325
|
+
.ard-table__header-cell > .ard-table__cell-container {
|
|
326
|
+
text-align: center;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
&.ard-header-align-top-right,
|
|
330
|
+
&.ard-header-align-center-right,
|
|
331
|
+
&.ard-header-align-bottom-right {
|
|
332
|
+
.ard-table__header-cell > .ard-table__cell-container {
|
|
333
|
+
text-align: right;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
&.ard-header-align-top-left,
|
|
337
|
+
&.ard-header-align-top-center,
|
|
338
|
+
&.ard-header-align-top-right {
|
|
339
|
+
.ard-table__header-cell {
|
|
340
|
+
vertical-align: top;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
&.ard-header-align-center-left,
|
|
344
|
+
&.ard-header-align-center-center,
|
|
345
|
+
&.ard-header-align-center-right {
|
|
346
|
+
.ard-table__header-cell {
|
|
347
|
+
vertical-align: middle;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
&.ard-header-align-bottom-left,
|
|
351
|
+
&.ard-header-align-bottom-center,
|
|
352
|
+
&.ard-header-align-bottom-right {
|
|
353
|
+
.ard-table__header-cell {
|
|
354
|
+
vertical-align: bottom;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
//! body aligns
|
|
358
|
+
&.ard-align-top-left,
|
|
359
|
+
&.ard-align-center-left,
|
|
360
|
+
&.ard-align-bottom-left {
|
|
361
|
+
.ard-table__body-cell > .ard-table__cell-container,
|
|
362
|
+
.ard-table__caption {
|
|
363
|
+
text-align: left;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
&.ard-align-top-center,
|
|
367
|
+
&.ard-align-center-center,
|
|
368
|
+
&.ard-align-bottom-center {
|
|
369
|
+
.ard-table__body-cell > .ard-table__cell-container,
|
|
370
|
+
.ard-table__caption {
|
|
371
|
+
text-align: center;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
&.ard-align-top-right,
|
|
375
|
+
&.ard-align-center-right,
|
|
376
|
+
&.ard-align-bottom-right {
|
|
377
|
+
.ard-table__body-cell > .ard-table__cell-container,
|
|
378
|
+
.ard-table__caption {
|
|
379
|
+
text-align: right;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
&.ard-align-top-left,
|
|
383
|
+
&.ard-align-top-center,
|
|
384
|
+
&.ard-align-top-right {
|
|
385
|
+
.ard-table__body-cell {
|
|
386
|
+
vertical-align: top;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
&.ard-align-center-left,
|
|
390
|
+
&.ard-align-center-center,
|
|
391
|
+
&.ard-align-center-right {
|
|
392
|
+
.ard-table__body-cell {
|
|
393
|
+
vertical-align: middle;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
&.ard-align-bottom-left,
|
|
397
|
+
&.ard-align-bottom-center,
|
|
398
|
+
&.ard-align-bottom-right {
|
|
399
|
+
.ard-table__body-cell {
|
|
400
|
+
vertical-align: bottom;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|