@agorapulse/ui-theme 20.1.19 → 20.1.21
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/agorapulse-ui-theme-20.1.21.tgz +0 -0
- package/assets/desktop_variables.css +10 -0
- package/assets/mobile_variables.css +10 -0
- package/assets/style/_tooltip.scss +6 -1
- package/assets/style/css-ui/_accordion.scss +54 -0
- package/assets/style/css-ui/_action-dropdown.scss +163 -0
- package/assets/style/css-ui/_avatar-group.scss +61 -0
- package/assets/style/css-ui/_avatar.scss +183 -0
- package/assets/style/css-ui/{badge.css → _badge.scss} +10 -12
- package/assets/style/css-ui/_button.scss +258 -0
- package/assets/style/css-ui/_card.scss +17 -0
- package/assets/style/css-ui/_checkbox.scss +164 -0
- package/assets/style/css-ui/_counter.scss +76 -0
- package/assets/style/css-ui/_datepicker.scss +307 -0
- package/assets/style/css-ui/_dialog.scss +74 -0
- package/assets/style/css-ui/_dot-stepper.scss +68 -0
- package/assets/style/{_helpers.scss → css-ui/_helpers.scss} +14 -13
- package/assets/style/css-ui/_icon-button.scss +162 -0
- package/assets/style/css-ui/_infobox.scss +154 -0
- package/assets/style/css-ui/_input.scss +129 -0
- package/assets/style/css-ui/_label.scss +95 -0
- package/assets/style/css-ui/_link.scss +86 -0
- package/assets/style/css-ui/_list-panel.scss +73 -0
- package/assets/style/css-ui/_loader.scss +173 -0
- package/assets/style/css-ui/_mixins.scss +50 -0
- package/assets/style/css-ui/_pagination.scss +177 -0
- package/assets/style/css-ui/_radio-card.scss +200 -0
- package/assets/style/css-ui/_radio.scss +107 -0
- package/assets/style/css-ui/{select.css → _select.scss} +290 -298
- package/assets/style/css-ui/_selection-dropdown.scss +183 -0
- package/assets/style/css-ui/_snackbar.scss +161 -0
- package/assets/style/css-ui/_split-button.scss +74 -0
- package/assets/style/css-ui/_status.scss +71 -0
- package/assets/style/css-ui/_stepper.scss +113 -0
- package/assets/style/css-ui/_table.scss +325 -0
- package/assets/style/css-ui/_tabs.scss +182 -0
- package/assets/style/css-ui/_tag.scss +169 -0
- package/assets/style/css-ui/_textarea.scss +121 -0
- package/assets/style/css-ui/_toggle.scss +132 -0
- package/assets/style/css-ui/_tooltip.scss +122 -0
- package/assets/style/{_mat-typography.scss → css-ui/_typography.scss} +34 -26
- package/assets/style/css-ui/font-face.css +43 -0
- package/assets/style/css-ui/index.css +4907 -27
- package/assets/style/css-ui/index.css.map +1 -0
- package/assets/style/css-ui/index.scss +39 -0
- package/assets/style/theme.scss +9 -2
- package/package.json +17 -2
- package/src/tokens/system/icon.json +33 -0
- package/agorapulse-ui-theme-20.1.19.tgz +0 -0
- package/assets/style/css-ui/action-dropdown.css +0 -172
- package/assets/style/css-ui/avatar.css +0 -199
- package/assets/style/css-ui/button.css +0 -446
- package/assets/style/css-ui/checkbox.css +0 -170
- package/assets/style/css-ui/counter.css +0 -73
- package/assets/style/css-ui/datepicker.css +0 -294
- package/assets/style/css-ui/dot-stepper.css +0 -67
- package/assets/style/css-ui/infobox.css +0 -163
- package/assets/style/css-ui/input.css +0 -119
- package/assets/style/css-ui/label.css +0 -67
- package/assets/style/css-ui/link.css +0 -92
- package/assets/style/css-ui/loader.css +0 -247
- package/assets/style/css-ui/pagination.css +0 -161
- package/assets/style/css-ui/radio.css +0 -109
- package/assets/style/css-ui/snackbar.css +0 -166
- package/assets/style/css-ui/status.css +0 -87
- package/assets/style/css-ui/stepper.css +0 -123
- package/assets/style/css-ui/table.css +0 -305
- package/assets/style/css-ui/tabs.css +0 -188
- package/assets/style/css-ui/tag.css +0 -171
- package/assets/style/css-ui/textarea.css +0 -158
- package/assets/style/css-ui/toggle.css +0 -161
- package/assets/style/css-ui/tooltip.css +0 -228
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
/* Agorapulse Snackbar Styles */
|
|
2
|
-
|
|
3
|
-
/* Snackbar thread container */
|
|
4
|
-
.ap-snackbar-thread {
|
|
5
|
-
position: fixed;
|
|
6
|
-
top: 68px;
|
|
7
|
-
right: var(--ref-spacing-lg);
|
|
8
|
-
width: var(--comp-snackbar-width);
|
|
9
|
-
z-index: 999999999;
|
|
10
|
-
gap: var(--comp-snackbar-spacing);
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Individual snackbar */
|
|
16
|
-
.ap-snackbar {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
height: auto;
|
|
20
|
-
padding: var(--comp-snackbar-padding-vertical) var(--comp-snackbar-padding-horizontal);
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
box-shadow: var(--comp-snackbar-shadow);
|
|
23
|
-
border-radius: var(--comp-snackbar-border-radius);
|
|
24
|
-
flex-direction: row;
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
gap: var(--comp-snackbar-spacing);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Success variant */
|
|
30
|
-
.ap-snackbar.success {
|
|
31
|
-
background-color: var(--comp-snackbar-success-background-color);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* Error variant */
|
|
35
|
-
.ap-snackbar.error {
|
|
36
|
-
background-color: var(--comp-snackbar-error-background-color);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Left side (icon + text) */
|
|
40
|
-
.ap-snackbar-left {
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
gap: var(--comp-snackbar-spacing);
|
|
44
|
-
flex: 1;
|
|
45
|
-
min-width: 0;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* Snackbar icon */
|
|
49
|
-
.ap-snackbar-icon {
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
flex-shrink: 0;
|
|
54
|
-
width: 20px;
|
|
55
|
-
height: 20px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ap-snackbar-icon svg {
|
|
59
|
-
width: 100%;
|
|
60
|
-
height: 100%;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ap-snackbar.success .ap-snackbar-icon {
|
|
64
|
-
color: var(--comp-snackbar-success-icon-color);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.ap-snackbar.error .ap-snackbar-icon {
|
|
68
|
-
color: var(--comp-snackbar-error-icon-color);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* Snackbar text */
|
|
72
|
-
.ap-snackbar-text {
|
|
73
|
-
display: flex;
|
|
74
|
-
font-family: var(--comp-snackbar-text-style-font-family);
|
|
75
|
-
font-size: var(--comp-snackbar-text-style-size);
|
|
76
|
-
font-weight: var(--comp-snackbar-text-style-font-weight);
|
|
77
|
-
line-height: var(--comp-snackbar-text-style-line-height);
|
|
78
|
-
justify-content: flex-start;
|
|
79
|
-
align-items: center;
|
|
80
|
-
overflow-wrap: anywhere;
|
|
81
|
-
color: var(--comp-snackbar-text-color);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Right side (actions) */
|
|
85
|
-
.ap-snackbar-right {
|
|
86
|
-
display: flex;
|
|
87
|
-
align-items: center;
|
|
88
|
-
gap: var(--comp-snackbar-spacing);
|
|
89
|
-
flex-shrink: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* Snackbar link/action */
|
|
93
|
-
.ap-snackbar-link {
|
|
94
|
-
width: max-content;
|
|
95
|
-
font-family: var(--comp-snackbar-text-style-font-family);
|
|
96
|
-
font-size: var(--comp-snackbar-text-style-size);
|
|
97
|
-
font-weight: var(--ref-font-weight-semibold);
|
|
98
|
-
line-height: var(--comp-snackbar-text-style-line-height);
|
|
99
|
-
color: var(--ref-color-electric-blue-100);
|
|
100
|
-
text-decoration: none;
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
background: none;
|
|
103
|
-
border: none;
|
|
104
|
-
padding: 0;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.ap-snackbar-link:hover {
|
|
108
|
-
text-decoration: underline;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* Close button */
|
|
112
|
-
.ap-snackbar-close {
|
|
113
|
-
display: flex;
|
|
114
|
-
align-items: center;
|
|
115
|
-
justify-content: center;
|
|
116
|
-
width: 20px;
|
|
117
|
-
height: 20px;
|
|
118
|
-
padding: 0;
|
|
119
|
-
border: none;
|
|
120
|
-
background: transparent;
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
color: var(--ref-color-grey-60);
|
|
123
|
-
border-radius: 50%;
|
|
124
|
-
transition: background-color 0.15s;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.ap-snackbar-close:hover {
|
|
128
|
-
background: var(--ref-color-grey-10);
|
|
129
|
-
color: var(--ref-color-grey-80);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.ap-snackbar-close svg {
|
|
133
|
-
width: 12px;
|
|
134
|
-
height: 12px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/* Animation for snackbar appearance */
|
|
138
|
-
@keyframes ap-snackbar-slide-in {
|
|
139
|
-
from {
|
|
140
|
-
transform: translateX(100%);
|
|
141
|
-
opacity: 0;
|
|
142
|
-
}
|
|
143
|
-
to {
|
|
144
|
-
transform: translateX(0);
|
|
145
|
-
opacity: 1;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@keyframes ap-snackbar-slide-out {
|
|
150
|
-
from {
|
|
151
|
-
transform: translateX(0);
|
|
152
|
-
opacity: 1;
|
|
153
|
-
}
|
|
154
|
-
to {
|
|
155
|
-
transform: translateX(100%);
|
|
156
|
-
opacity: 0;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.ap-snackbar.animate-in {
|
|
161
|
-
animation: ap-snackbar-slide-in 0.3s ease-out forwards;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.ap-snackbar.animate-out {
|
|
165
|
-
animation: ap-snackbar-slide-out 0.3s ease-in forwards;
|
|
166
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* Agorapulse Status Styles */
|
|
2
|
-
|
|
3
|
-
.ap-status {
|
|
4
|
-
--dot-size: 8px;
|
|
5
|
-
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
padding: 0 var(--comp-status-padding-horizontal);
|
|
10
|
-
gap: var(--comp-status-spacing);
|
|
11
|
-
width: fit-content;
|
|
12
|
-
height: var(--comp-status-height);
|
|
13
|
-
border-radius: var(--comp-status-height);
|
|
14
|
-
color: var(--comp-status-color);
|
|
15
|
-
font-family: var(--comp-status-font-family);
|
|
16
|
-
font-size: var(--comp-status-font-size);
|
|
17
|
-
line-height: var(--comp-status-line-height);
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* Status dot */
|
|
23
|
-
.ap-status-dot {
|
|
24
|
-
display: flex;
|
|
25
|
-
width: var(--dot-size);
|
|
26
|
-
min-width: var(--dot-size);
|
|
27
|
-
max-width: var(--dot-size);
|
|
28
|
-
height: var(--dot-size);
|
|
29
|
-
min-height: var(--dot-size);
|
|
30
|
-
max-height: var(--dot-size);
|
|
31
|
-
border-radius: 100%;
|
|
32
|
-
flex-shrink: 0;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/* Blue variant */
|
|
36
|
-
.ap-status.blue {
|
|
37
|
-
background-color: var(--comp-status-blue-background-color);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.ap-status.blue .ap-status-dot {
|
|
41
|
-
background-color: var(--comp-status-blue-dot-background-color);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* Green variant */
|
|
45
|
-
.ap-status.green {
|
|
46
|
-
background-color: var(--comp-status-green-background-color);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.ap-status.green .ap-status-dot {
|
|
50
|
-
background-color: var(--comp-status-green-dot-background-color);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* Orange variant */
|
|
54
|
-
.ap-status.orange {
|
|
55
|
-
background-color: var(--comp-status-orange-background-color);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.ap-status.orange .ap-status-dot {
|
|
59
|
-
background-color: var(--comp-status-orange-dot-background-color);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* Tag Orange variant */
|
|
63
|
-
.ap-status.tagOrange {
|
|
64
|
-
background-color: var(--comp-status-tag-orange-background-color);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.ap-status.tagOrange .ap-status-dot {
|
|
68
|
-
background-color: var(--comp-status-tag-orange-dot-background-color);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* Grey variant */
|
|
72
|
-
.ap-status.grey {
|
|
73
|
-
background-color: var(--comp-status-grey-background-color);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.ap-status.grey .ap-status-dot {
|
|
77
|
-
background-color: var(--comp-status-grey-dot-background-color);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* Red variant */
|
|
81
|
-
.ap-status.red {
|
|
82
|
-
background-color: var(--comp-status-red-background-color);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.ap-status.red .ap-status-dot {
|
|
86
|
-
background-color: var(--comp-status-red-dot-background-color);
|
|
87
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/* Agorapulse Stepper Styles */
|
|
2
|
-
|
|
3
|
-
.ap-stepper {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: flex-start;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* Stepper item */
|
|
9
|
-
.ap-stepper-item {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
height: fit-content;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* Step number circle */
|
|
16
|
-
.ap-stepper-number {
|
|
17
|
-
display: inline-flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: 24px;
|
|
21
|
-
height: 24px;
|
|
22
|
-
min-width: 24px;
|
|
23
|
-
border-radius: 24px;
|
|
24
|
-
font-family: var(--ref-font-family);
|
|
25
|
-
font-size: var(--ref-font-size-sm);
|
|
26
|
-
font-weight: var(--ref-font-weight-regular);
|
|
27
|
-
line-height: 24px;
|
|
28
|
-
text-align: center;
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Active step (current) */
|
|
33
|
-
.ap-stepper-number.active {
|
|
34
|
-
background-color: var(--ref-color-electric-blue-100);
|
|
35
|
-
color: var(--ref-color-white);
|
|
36
|
-
box-shadow: 0 0 0 1.5px var(--ref-color-electric-blue-10);
|
|
37
|
-
border: 1.5px solid var(--ref-color-electric-blue-10);
|
|
38
|
-
line-height: 21px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* Completed step */
|
|
42
|
-
.ap-stepper-number.completed {
|
|
43
|
-
background-color: var(--ref-color-electric-blue-10);
|
|
44
|
-
color: var(--ref-color-electric-blue-100);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Pending step (not yet reached) */
|
|
48
|
-
.ap-stepper-number.pending {
|
|
49
|
-
background-color: transparent;
|
|
50
|
-
color: var(--ref-color-electric-blue-100);
|
|
51
|
-
border: 1px solid var(--ref-color-electric-blue-10);
|
|
52
|
-
line-height: 22px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* Step text label */
|
|
56
|
-
.ap-stepper-text {
|
|
57
|
-
padding-left: var(--ref-spacing-xs);
|
|
58
|
-
height: fit-content;
|
|
59
|
-
margin: auto;
|
|
60
|
-
line-height: 24px;
|
|
61
|
-
vertical-align: middle;
|
|
62
|
-
font-family: var(--ref-font-family);
|
|
63
|
-
font-size: var(--ref-font-size-sm);
|
|
64
|
-
color: var(--ref-color-grey-100);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.ap-stepper-text.active {
|
|
68
|
-
font-weight: var(--ref-font-weight-bold);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.ap-stepper-text.clickable {
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.ap-stepper-text.clickable:hover {
|
|
76
|
-
color: var(--ref-color-electric-blue-100);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* Separator between steps */
|
|
80
|
-
.ap-stepper-separator {
|
|
81
|
-
display: inline-flex;
|
|
82
|
-
align-items: center;
|
|
83
|
-
margin: auto 10px;
|
|
84
|
-
color: var(--ref-color-grey-60);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ap-stepper-separator-icon {
|
|
88
|
-
width: 16px;
|
|
89
|
-
height: 16px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* Vertical stepper variant */
|
|
93
|
-
.ap-stepper.vertical {
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
gap: var(--ref-spacing-sm);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.ap-stepper.vertical .ap-stepper-item {
|
|
99
|
-
flex-direction: row;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.ap-stepper.vertical .ap-stepper-separator {
|
|
103
|
-
display: none;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/* Stepper with line connector */
|
|
107
|
-
.ap-stepper.with-line .ap-stepper-item {
|
|
108
|
-
position: relative;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.ap-stepper.with-line .ap-stepper-item:not(:last-child)::after {
|
|
112
|
-
content: '';
|
|
113
|
-
position: absolute;
|
|
114
|
-
left: 12px;
|
|
115
|
-
top: 28px;
|
|
116
|
-
width: 1px;
|
|
117
|
-
height: calc(100% - 4px);
|
|
118
|
-
background-color: var(--ref-color-grey-20);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.ap-stepper.with-line .ap-stepper-item.completed:not(:last-child)::after {
|
|
122
|
-
background-color: var(--ref-color-electric-blue-100);
|
|
123
|
-
}
|
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
/* Agorapulse Table Styles */
|
|
2
|
-
|
|
3
|
-
.ap-table {
|
|
4
|
-
--ap-table-cell-height: 52px;
|
|
5
|
-
--ap-table-cell-height-small: 40px;
|
|
6
|
-
|
|
7
|
-
width: 100%;
|
|
8
|
-
overflow-x: auto;
|
|
9
|
-
font-family: var(--ref-font-family);
|
|
10
|
-
border-radius: var(--ref-border-radius-md);
|
|
11
|
-
border-collapse: separate;
|
|
12
|
-
border-spacing: 0;
|
|
13
|
-
background-color: var(--ref-color-white);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Table body */
|
|
17
|
-
.ap-table tbody {
|
|
18
|
-
height: calc(100% - var(--ap-table-cell-height));
|
|
19
|
-
max-height: calc(100% - var(--ap-table-cell-height));
|
|
20
|
-
width: 100%;
|
|
21
|
-
overflow-y: auto;
|
|
22
|
-
border-radius: var(--ref-border-radius-md);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Table row */
|
|
26
|
-
.ap-table-row {
|
|
27
|
-
background-color: var(--ref-color-white);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ap-table-row.selected {
|
|
31
|
-
background-color: var(--ref-color-soft-blue-10);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ap-table-row:last-child .ap-table-cell {
|
|
35
|
-
border-bottom: none;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* Border radius for last row when no footer */
|
|
39
|
-
.ap-table:not(:has(.ap-table-footer-row)) .ap-table-row:last-child .ap-table-cell:first-child {
|
|
40
|
-
border-bottom-left-radius: var(--ref-border-radius-md);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ap-table:not(:has(.ap-table-footer-row)) .ap-table-row:last-child .ap-table-cell:last-child {
|
|
44
|
-
border-bottom-right-radius: var(--ref-border-radius-md);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/* Scrollable table */
|
|
48
|
-
.ap-table.scrollable {
|
|
49
|
-
display: block;
|
|
50
|
-
table-layout: fixed;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.ap-table.scrollable tbody {
|
|
54
|
-
display: block;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ap-table.scrollable thead,
|
|
58
|
-
.ap-table.scrollable tbody tr,
|
|
59
|
-
.ap-table.scrollable tfoot {
|
|
60
|
-
display: table;
|
|
61
|
-
width: 100%;
|
|
62
|
-
table-layout: fixed;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Outer border variant */
|
|
66
|
-
.ap-table.outer-border {
|
|
67
|
-
border: 1px solid var(--ref-color-grey-20);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* Header background variant */
|
|
71
|
-
.ap-table.header-background .ap-table-header-cell {
|
|
72
|
-
background-color: var(--ref-color-grey-05);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* Striped variant */
|
|
76
|
-
.ap-table.striped tbody .ap-table-row:nth-child(even) {
|
|
77
|
-
background-color: var(--ref-color-grey-bg);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.ap-table.striped tbody .ap-table-row.selected {
|
|
81
|
-
background-color: var(--ref-color-soft-blue-10);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Small variant */
|
|
85
|
-
.ap-table.small .ap-table-header-cell,
|
|
86
|
-
.ap-table.small .ap-table-cell,
|
|
87
|
-
.ap-table.small .ap-table-footer-cell {
|
|
88
|
-
height: var(--ap-table-cell-height-small);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ap-table.small tbody {
|
|
92
|
-
height: calc(100% - var(--ap-table-cell-height-small));
|
|
93
|
-
max-height: calc(100% - var(--ap-table-cell-height-small));
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ap-table.small .ap-table-header-cell.checkbox,
|
|
97
|
-
.ap-table.small .ap-table-cell.checkbox {
|
|
98
|
-
width: var(--ap-table-cell-height-small);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* Header cells */
|
|
102
|
-
.ap-table-header-cell {
|
|
103
|
-
height: var(--ap-table-cell-height);
|
|
104
|
-
padding: var(--ref-spacing-xxs) var(--ref-spacing-xs);
|
|
105
|
-
text-align: left;
|
|
106
|
-
font-size: var(--ref-font-size-xs);
|
|
107
|
-
font-weight: var(--ref-font-weight-bold);
|
|
108
|
-
color: var(--ref-color-grey-100);
|
|
109
|
-
border: none;
|
|
110
|
-
border-bottom: 1px solid var(--ref-color-grey-10);
|
|
111
|
-
background-color: var(--ref-color-white);
|
|
112
|
-
position: sticky;
|
|
113
|
-
top: 0;
|
|
114
|
-
z-index: 1;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.ap-table-header-cell:first-child {
|
|
118
|
-
border-top-left-radius: var(--ref-border-radius-md);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.ap-table-header-cell:last-child {
|
|
122
|
-
border-top-right-radius: var(--ref-border-radius-md);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.ap-table-header-cell.right {
|
|
126
|
-
text-align: right;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.ap-table-header-cell.sortable {
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ap-table-header-cell.sortable .ap-table-sort-icon {
|
|
134
|
-
opacity: 0;
|
|
135
|
-
transition: opacity 0.15s ease;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.ap-table-header-cell.sortable:hover .ap-table-sort-icon {
|
|
139
|
-
opacity: 1;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.ap-table-header-cell.sorted {
|
|
143
|
-
color: var(--ref-color-electric-blue-150);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.ap-table-header-cell.sorted .ap-table-sort-icon {
|
|
147
|
-
opacity: 1;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.ap-table-header-cell.checkbox {
|
|
151
|
-
width: var(--ap-table-cell-height);
|
|
152
|
-
text-align: center;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/* Body cells */
|
|
156
|
-
.ap-table-cell {
|
|
157
|
-
padding: 0 var(--ref-spacing-xs);
|
|
158
|
-
font-size: var(--ref-font-size-sm);
|
|
159
|
-
color: var(--ref-color-grey-100);
|
|
160
|
-
border: none;
|
|
161
|
-
border-bottom: 1px solid var(--ref-color-grey-10);
|
|
162
|
-
height: var(--ap-table-cell-height);
|
|
163
|
-
vertical-align: middle;
|
|
164
|
-
font-family: var(--ref-font-family);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.ap-table-cell.right {
|
|
168
|
-
text-align: right;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.ap-table-cell.right .ap-table-cell-content {
|
|
172
|
-
justify-content: flex-end;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.ap-table-cell.checkbox {
|
|
176
|
-
width: var(--ap-table-cell-height);
|
|
177
|
-
text-align: center;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.ap-table-cell.drag {
|
|
181
|
-
padding: 0 var(--ref-spacing-sm);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/* Footer cells */
|
|
185
|
-
.ap-table-footer-cell {
|
|
186
|
-
padding: 0 var(--ref-spacing-xs);
|
|
187
|
-
font-size: var(--ref-font-size-sm);
|
|
188
|
-
color: var(--ref-color-grey-100);
|
|
189
|
-
border: none;
|
|
190
|
-
border-top: 1px solid var(--ref-color-grey-10);
|
|
191
|
-
height: var(--ap-table-cell-height);
|
|
192
|
-
vertical-align: middle;
|
|
193
|
-
font-family: var(--ref-font-family);
|
|
194
|
-
position: sticky;
|
|
195
|
-
bottom: 0;
|
|
196
|
-
z-index: 1;
|
|
197
|
-
background-color: var(--ref-color-white);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.ap-table-footer-cell.right {
|
|
201
|
-
text-align: right;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.ap-table-footer-cell.right .ap-table-cell-content {
|
|
205
|
-
justify-content: flex-end;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.ap-table-footer-cell:first-child {
|
|
209
|
-
border-bottom-left-radius: var(--ref-border-radius-md);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.ap-table-footer-cell:last-child {
|
|
213
|
-
border-bottom-right-radius: var(--ref-border-radius-md);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* Header content */
|
|
217
|
-
.ap-table-header-content {
|
|
218
|
-
display: flex;
|
|
219
|
-
align-items: center;
|
|
220
|
-
gap: var(--ref-spacing-xxxs);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/* Cell content */
|
|
224
|
-
.ap-table-cell-content {
|
|
225
|
-
display: flex;
|
|
226
|
-
align-items: center;
|
|
227
|
-
gap: var(--ref-spacing-xxs);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.ap-table-cell-content.items {
|
|
231
|
-
flex-wrap: wrap;
|
|
232
|
-
gap: var(--ref-spacing-xxxs);
|
|
233
|
-
padding: var(--ref-spacing-xxs) 0;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/* Cell text container */
|
|
237
|
-
.ap-table-cell-text-container {
|
|
238
|
-
display: flex;
|
|
239
|
-
flex-direction: column;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/* Cell text */
|
|
243
|
-
.ap-table-cell-text {
|
|
244
|
-
color: var(--ref-color-grey-100);
|
|
245
|
-
font-size: var(--ref-font-size-sm);
|
|
246
|
-
line-height: var(--ref-line-height-sm);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.ap-table-cell-text.bold {
|
|
250
|
-
font-weight: var(--ref-font-weight-bold);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/* Cell description */
|
|
254
|
-
.ap-table-cell-description {
|
|
255
|
-
color: var(--ref-color-grey-80);
|
|
256
|
-
font-size: var(--ref-font-size-xs);
|
|
257
|
-
line-height: var(--ref-line-height-xs);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
/* Cell actions */
|
|
261
|
-
.ap-table-cell-actions {
|
|
262
|
-
display: flex;
|
|
263
|
-
align-items: center;
|
|
264
|
-
justify-content: flex-end;
|
|
265
|
-
gap: var(--ref-spacing-xxxs);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/* Drag handle */
|
|
269
|
-
.ap-table-drag-handle {
|
|
270
|
-
cursor: move;
|
|
271
|
-
color: var(--ref-color-grey-40);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
/* Sort icon */
|
|
275
|
-
.ap-table-sort-icon {
|
|
276
|
-
width: 12px;
|
|
277
|
-
height: 12px;
|
|
278
|
-
flex-shrink: 0;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/* Empty state */
|
|
282
|
-
.ap-table-empty {
|
|
283
|
-
padding: var(--ref-spacing-xl);
|
|
284
|
-
text-align: center;
|
|
285
|
-
color: var(--ref-color-grey-60);
|
|
286
|
-
font-size: var(--ref-font-size-sm);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/* Loading state */
|
|
290
|
-
.ap-table-loading {
|
|
291
|
-
position: relative;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.ap-table-loading::after {
|
|
295
|
-
content: '';
|
|
296
|
-
position: absolute;
|
|
297
|
-
top: 0;
|
|
298
|
-
left: 0;
|
|
299
|
-
right: 0;
|
|
300
|
-
bottom: 0;
|
|
301
|
-
background-color: rgba(255, 255, 255, 0.7);
|
|
302
|
-
display: flex;
|
|
303
|
-
align-items: center;
|
|
304
|
-
justify-content: center;
|
|
305
|
-
}
|