@agorapulse/ui-theme 20.1.18 → 20.1.19
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.19.tgz +0 -0
- package/assets/style/_table.scss +5 -5
- package/assets/style/css-ui/action-dropdown.css +172 -0
- package/assets/style/css-ui/avatar.css +199 -0
- package/assets/style/css-ui/badge.css +30 -0
- package/assets/style/css-ui/checkbox.css +170 -0
- package/assets/style/css-ui/counter.css +73 -0
- package/assets/style/css-ui/datepicker.css +294 -0
- package/assets/style/css-ui/dot-stepper.css +67 -0
- package/assets/style/css-ui/index.css +27 -0
- package/assets/style/css-ui/infobox.css +163 -0
- package/assets/style/css-ui/label.css +67 -0
- package/assets/style/css-ui/link.css +92 -0
- package/assets/style/css-ui/loader.css +247 -0
- package/assets/style/css-ui/pagination.css +161 -0
- package/assets/style/css-ui/select.css +664 -0
- package/assets/style/css-ui/snackbar.css +166 -0
- package/assets/style/css-ui/status.css +87 -0
- package/assets/style/css-ui/stepper.css +123 -0
- package/assets/style/css-ui/table.css +305 -0
- package/assets/style/css-ui/tabs.css +188 -0
- package/assets/style/css-ui/tag.css +171 -0
- package/assets/style/css-ui/textarea.css +158 -0
- package/assets/style/css-ui/tooltip.css +228 -0
- package/package.json +1 -1
- package/agorapulse-ui-theme-20.1.18.tgz +0 -0
- package/assets/style/lovable/tailwind.config.ts +0 -431
- /package/assets/style/{lovable/lovable-button.css → css-ui/button.css} +0 -0
- /package/assets/style/{lovable/lovable-input.css → css-ui/input.css} +0 -0
- /package/assets/style/{lovable/lovable-radio.css → css-ui/radio.css} +0 -0
- /package/assets/style/{lovable/lovable-toggle.css → css-ui/toggle.css} +0 -0
|
Binary file
|
package/assets/style/_table.scss
CHANGED
|
@@ -30,8 +30,8 @@ $cell-height-small: 40px;
|
|
|
30
30
|
border-radius: var(--ref-border-radius-md);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// When table has footer, adjust tbody height
|
|
34
|
-
&:has(tfoot > .cdk-footer-row) tbody {
|
|
33
|
+
// When table has visible footer, adjust tbody height
|
|
34
|
+
&:has(tfoot > .cdk-footer-row:not([hidden])) tbody {
|
|
35
35
|
height: calc(100% - 2 * $cell-height);
|
|
36
36
|
max-height: calc(100% - 2 * $cell-height);
|
|
37
37
|
}
|
|
@@ -50,8 +50,8 @@ $cell-height-small: 40px;
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
// Apply border radius to last row only when table has no footer
|
|
54
|
-
&:not(:has(tfoot > .cdk-footer-row)) tr[cdk-row]:last-child {
|
|
53
|
+
// Apply border radius to last row only when table has no visible footer
|
|
54
|
+
&:not(:has(tfoot > .cdk-footer-row:not([hidden]))) tr[cdk-row]:last-child {
|
|
55
55
|
td[cdk-cell]:first-child {
|
|
56
56
|
border-bottom-left-radius: var(--ref-border-radius-md);
|
|
57
57
|
}
|
|
@@ -110,7 +110,7 @@ $cell-height-small: 40px;
|
|
|
110
110
|
max-height: calc(100% - $cell-height-small);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
&:has(tfoot > .cdk-footer-row) tbody {
|
|
113
|
+
&:has(tfoot > .cdk-footer-row:not([hidden])) tbody {
|
|
114
114
|
height: calc(100% - 2 * $cell-height-small);
|
|
115
115
|
max-height: calc(100% - 2 * $cell-height-small);
|
|
116
116
|
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/* Agorapulse Action Dropdown Styles */
|
|
2
|
+
|
|
3
|
+
.ap-action-dropdown {
|
|
4
|
+
background-color: var(--comp-action-dropdown-background-color, var(--ref-color-white));
|
|
5
|
+
border-radius: var(--comp-action-dropdown-border-radius, var(--ref-border-radius-md));
|
|
6
|
+
box-shadow: var(--comp-action-dropdown-box-shadow, 0 4px 25px -2px rgba(52, 69, 99, 0.15), 0 4px 6px -2px rgba(52, 69, 99, 0.15));
|
|
7
|
+
padding: var(--comp-action-dropdown-padding, var(--ref-spacing-xxs));
|
|
8
|
+
outline: none;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
z-index: 1000;
|
|
11
|
+
width: 250px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ap-action-dropdown.large {
|
|
15
|
+
width: 340px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ap-action-dropdown:focus {
|
|
19
|
+
outline: 2px solid var(--comp-action-dropdown-item-background-color-focused, var(--ref-color-electric-blue-10));
|
|
20
|
+
outline-offset: 2px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Dropdown item */
|
|
24
|
+
.ap-action-dropdown-item {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 40px;
|
|
29
|
+
padding: var(--comp-action-dropdown-item-padding, var(--ref-spacing-xxs) var(--ref-spacing-xs));
|
|
30
|
+
border: none;
|
|
31
|
+
background: transparent;
|
|
32
|
+
color: var(--comp-action-dropdown-item-text-color, var(--ref-color-grey-100));
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
font-family: var(--ref-font-family);
|
|
35
|
+
font-size: var(--comp-action-dropdown-item-text-size, var(--ref-font-size-sm));
|
|
36
|
+
line-height: var(--comp-action-dropdown-item-text-line-height, var(--ref-line-height-sm));
|
|
37
|
+
text-align: left;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
border-radius: var(--ref-border-radius-sm);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ap-action-dropdown-item:hover {
|
|
43
|
+
background-color: var(--comp-action-dropdown-item-background-color-hover, var(--ref-color-grey-05));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ap-action-dropdown-item:focus {
|
|
47
|
+
outline: none;
|
|
48
|
+
background-color: var(--comp-action-dropdown-item-background-color-focused, var(--ref-color-electric-blue-10));
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ap-action-dropdown-item:disabled {
|
|
52
|
+
cursor: not-allowed;
|
|
53
|
+
opacity: 0.4;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ap-action-dropdown-item:disabled:hover {
|
|
57
|
+
background-color: transparent;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Item with description */
|
|
61
|
+
.ap-action-dropdown-item.has-description {
|
|
62
|
+
height: auto;
|
|
63
|
+
min-height: 50px;
|
|
64
|
+
align-items: flex-start;
|
|
65
|
+
padding: var(--ref-spacing-xs);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Focused state (keyboard navigation) */
|
|
69
|
+
.ap-action-dropdown-item.focused {
|
|
70
|
+
background-color: var(--comp-action-dropdown-item-background-color-focused, var(--ref-color-electric-blue-10));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Red mode (destructive action) */
|
|
74
|
+
.ap-action-dropdown-item.red-mode {
|
|
75
|
+
color: var(--comp-action-dropdown-item-text-color-red-mode, var(--ref-color-red-100));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.ap-action-dropdown-item.red-mode:hover {
|
|
79
|
+
background-color: var(--comp-action-dropdown-item-background-color-red-mode-hover, var(--ref-color-red-10));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ap-action-dropdown-item.red-mode:focus,
|
|
83
|
+
.ap-action-dropdown-item.red-mode.focused {
|
|
84
|
+
background-color: var(--comp-action-dropdown-item-background-color-red-mode-focused, var(--ref-color-red-10));
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Feature lock */
|
|
88
|
+
.ap-action-dropdown-item.feature-lock:hover {
|
|
89
|
+
background-color: var(--comp-action-dropdown-item-background-color-feature-lock-hover, var(--ref-color-purple-10));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ap-action-dropdown-item.feature-lock:focus,
|
|
93
|
+
.ap-action-dropdown-item.feature-lock.focused {
|
|
94
|
+
background-color: var(--comp-action-dropdown-item-background-color-feature-lock-focused, var(--ref-color-purple-10));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Start icon */
|
|
98
|
+
.ap-action-dropdown-item-start-icon {
|
|
99
|
+
margin-right: var(--comp-action-dropdown-item-icon-spacing, var(--ref-spacing-xs));
|
|
100
|
+
width: 16px;
|
|
101
|
+
height: 16px;
|
|
102
|
+
flex-shrink: 0;
|
|
103
|
+
color: var(--ref-color-grey-60);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ap-action-dropdown-item.red-mode .ap-action-dropdown-item-start-icon {
|
|
107
|
+
color: var(--ref-color-red-100);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* End icon */
|
|
111
|
+
.ap-action-dropdown-item-end-icon {
|
|
112
|
+
margin-left: var(--comp-action-dropdown-item-icon-spacing, var(--ref-spacing-xs));
|
|
113
|
+
width: 16px;
|
|
114
|
+
height: 16px;
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
color: var(--ref-color-grey-60);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Feature lock icon */
|
|
120
|
+
.ap-action-dropdown-item-lock-icon {
|
|
121
|
+
margin-left: var(--comp-action-dropdown-item-icon-spacing, var(--ref-spacing-xs));
|
|
122
|
+
width: 16px;
|
|
123
|
+
height: 16px;
|
|
124
|
+
flex-shrink: 0;
|
|
125
|
+
color: var(--ref-color-purple-100);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Text container */
|
|
129
|
+
.ap-action-dropdown-item-text {
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
flex: 1;
|
|
133
|
+
min-width: 0;
|
|
134
|
+
gap: var(--ref-spacing-xxxs);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Label container */
|
|
138
|
+
.ap-action-dropdown-item-label-container {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: var(--comp-action-dropdown-item-label-spacing, var(--ref-spacing-xs));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Label */
|
|
145
|
+
.ap-action-dropdown-item-label {
|
|
146
|
+
white-space: nowrap;
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
text-overflow: ellipsis;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ap-action-dropdown-item-label.bold {
|
|
152
|
+
font-weight: var(--ref-font-weight-bold);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Description */
|
|
156
|
+
.ap-action-dropdown-item-description {
|
|
157
|
+
color: var(--comp-action-dropdown-item-description-color, var(--ref-color-grey-60));
|
|
158
|
+
font-size: var(--comp-action-dropdown-item-description-size, var(--ref-font-size-xs));
|
|
159
|
+
line-height: var(--comp-action-dropdown-item-description-line-height, var(--ref-line-height-xs));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* Divider */
|
|
163
|
+
.ap-action-dropdown-divider {
|
|
164
|
+
height: 1px;
|
|
165
|
+
background-color: var(--comp-action-dropdown-divider-color, var(--ref-color-grey-10));
|
|
166
|
+
margin: var(--comp-action-dropdown-divider-margin, var(--ref-spacing-xxs) 0);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Badge within dropdown item */
|
|
170
|
+
.ap-action-dropdown-item .ap-badge {
|
|
171
|
+
flex-shrink: 0;
|
|
172
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/* Agorapulse Avatar Styles */
|
|
2
|
+
|
|
3
|
+
.ap-avatar {
|
|
4
|
+
--ap-avatar-size: 40px;
|
|
5
|
+
--ap-avatar-border-radius: 100%;
|
|
6
|
+
--ap-avatar-initials-size: 14px;
|
|
7
|
+
--ap-avatar-symbol-size: 20px;
|
|
8
|
+
--ap-avatar-network-size: 12px;
|
|
9
|
+
--ap-avatar-online-icon-size: 10px;
|
|
10
|
+
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
height: var(--ap-avatar-size);
|
|
15
|
+
min-height: var(--ap-avatar-size);
|
|
16
|
+
max-height: var(--ap-avatar-size);
|
|
17
|
+
width: var(--ap-avatar-size);
|
|
18
|
+
min-width: var(--ap-avatar-size);
|
|
19
|
+
max-width: var(--ap-avatar-size);
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
position: relative;
|
|
22
|
+
border-radius: var(--ap-avatar-border-radius);
|
|
23
|
+
background: var(--comp-avatar-background-color);
|
|
24
|
+
box-shadow: var(--comp-avatar-background-shadow);
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Size variants */
|
|
29
|
+
.ap-avatar.size-16 {
|
|
30
|
+
--ap-avatar-size: 16px;
|
|
31
|
+
--ap-avatar-initials-size: 8px;
|
|
32
|
+
--ap-avatar-symbol-size: 8px;
|
|
33
|
+
--ap-avatar-network-size: 8px;
|
|
34
|
+
--ap-avatar-online-icon-size: 6px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ap-avatar.size-24 {
|
|
38
|
+
--ap-avatar-size: 24px;
|
|
39
|
+
--ap-avatar-initials-size: 10px;
|
|
40
|
+
--ap-avatar-symbol-size: 12px;
|
|
41
|
+
--ap-avatar-network-size: 8px;
|
|
42
|
+
--ap-avatar-online-icon-size: 8px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ap-avatar.size-32 {
|
|
46
|
+
--ap-avatar-size: 32px;
|
|
47
|
+
--ap-avatar-initials-size: 12px;
|
|
48
|
+
--ap-avatar-symbol-size: 16px;
|
|
49
|
+
--ap-avatar-network-size: 10px;
|
|
50
|
+
--ap-avatar-online-icon-size: 8px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ap-avatar.size-36 {
|
|
54
|
+
--ap-avatar-size: 36px;
|
|
55
|
+
--ap-avatar-initials-size: 12px;
|
|
56
|
+
--ap-avatar-symbol-size: 18px;
|
|
57
|
+
--ap-avatar-network-size: 12px;
|
|
58
|
+
--ap-avatar-online-icon-size: 10px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ap-avatar.size-40 {
|
|
62
|
+
--ap-avatar-size: 40px;
|
|
63
|
+
--ap-avatar-initials-size: 14px;
|
|
64
|
+
--ap-avatar-symbol-size: 20px;
|
|
65
|
+
--ap-avatar-network-size: 12px;
|
|
66
|
+
--ap-avatar-online-icon-size: 10px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ap-avatar.size-48 {
|
|
70
|
+
--ap-avatar-size: 48px;
|
|
71
|
+
--ap-avatar-initials-size: 16px;
|
|
72
|
+
--ap-avatar-symbol-size: 24px;
|
|
73
|
+
--ap-avatar-network-size: 14px;
|
|
74
|
+
--ap-avatar-online-icon-size: 12px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ap-avatar.size-56 {
|
|
78
|
+
--ap-avatar-size: 56px;
|
|
79
|
+
--ap-avatar-initials-size: 18px;
|
|
80
|
+
--ap-avatar-symbol-size: 28px;
|
|
81
|
+
--ap-avatar-network-size: 16px;
|
|
82
|
+
--ap-avatar-online-icon-size: 16px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Square variant */
|
|
86
|
+
.ap-avatar.square {
|
|
87
|
+
--ap-avatar-border-radius: var(--sys-border-radius-sm);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* No background variant (when image is present) */
|
|
91
|
+
.ap-avatar.no-background {
|
|
92
|
+
background: transparent;
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Avatar image */
|
|
97
|
+
.ap-avatar-image {
|
|
98
|
+
width: 100%;
|
|
99
|
+
height: 100%;
|
|
100
|
+
object-fit: cover;
|
|
101
|
+
border-radius: var(--ap-avatar-border-radius);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Avatar initials */
|
|
105
|
+
.ap-avatar-initials {
|
|
106
|
+
font-weight: var(--comp-avatar-initials-weight);
|
|
107
|
+
font-size: var(--ap-avatar-initials-size);
|
|
108
|
+
font-family: 'Averta', sans-serif;
|
|
109
|
+
color: var(--comp-avatar-initials-color);
|
|
110
|
+
text-transform: uppercase;
|
|
111
|
+
user-select: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Avatar symbol/icon */
|
|
115
|
+
.ap-avatar-symbol {
|
|
116
|
+
display: flex;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
align-items: center;
|
|
119
|
+
color: var(--comp-avatar-symbol-color);
|
|
120
|
+
width: var(--ap-avatar-symbol-size);
|
|
121
|
+
height: var(--ap-avatar-symbol-size);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ap-avatar-symbol svg {
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* Network overlay badge */
|
|
130
|
+
.ap-avatar-network {
|
|
131
|
+
position: absolute;
|
|
132
|
+
bottom: 0;
|
|
133
|
+
right: 0;
|
|
134
|
+
height: var(--ap-avatar-network-size);
|
|
135
|
+
width: var(--ap-avatar-network-size);
|
|
136
|
+
min-height: var(--ap-avatar-network-size);
|
|
137
|
+
min-width: var(--ap-avatar-network-size);
|
|
138
|
+
max-height: var(--ap-avatar-network-size);
|
|
139
|
+
max-width: var(--ap-avatar-network-size);
|
|
140
|
+
overflow: hidden;
|
|
141
|
+
box-sizing: border-box;
|
|
142
|
+
box-shadow: var(--comp-avatar-background-shadow);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.ap-avatar-network.round {
|
|
146
|
+
border-radius: 100%;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ap-avatar-network.instagram {
|
|
150
|
+
border-radius: 28%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ap-avatar-network.linkedin {
|
|
154
|
+
border-radius: 6%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ap-avatar-network.google,
|
|
158
|
+
.ap-avatar-network.meta {
|
|
159
|
+
box-shadow: none;
|
|
160
|
+
border-radius: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.ap-avatar-network img {
|
|
164
|
+
width: 100%;
|
|
165
|
+
height: 100%;
|
|
166
|
+
object-fit: cover;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Online indicator */
|
|
170
|
+
.ap-avatar-online {
|
|
171
|
+
position: absolute;
|
|
172
|
+
bottom: 0;
|
|
173
|
+
right: 0;
|
|
174
|
+
height: var(--ap-avatar-online-icon-size);
|
|
175
|
+
width: var(--ap-avatar-online-icon-size);
|
|
176
|
+
min-height: var(--ap-avatar-online-icon-size);
|
|
177
|
+
min-width: var(--ap-avatar-online-icon-size);
|
|
178
|
+
max-height: var(--ap-avatar-online-icon-size);
|
|
179
|
+
max-width: var(--ap-avatar-online-icon-size);
|
|
180
|
+
border-radius: 100%;
|
|
181
|
+
border: 1px solid var(--comp-avatar-online-border-color);
|
|
182
|
+
background: var(--comp-avatar-online-background);
|
|
183
|
+
box-sizing: border-box;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Avatar group container */
|
|
187
|
+
.ap-avatar-group {
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.ap-avatar-group .ap-avatar {
|
|
193
|
+
margin-left: -8px;
|
|
194
|
+
border: 2px solid var(--ref-color-white);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ap-avatar-group .ap-avatar:first-child {
|
|
198
|
+
margin-left: 0;
|
|
199
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* Agorapulse Badge Styles */
|
|
2
|
+
|
|
3
|
+
.ap-badge {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
padding: 0 var(--comp-badge-padding-right) 0 var(--comp-badge-padding-left);
|
|
8
|
+
font-weight: var(--comp-badge-text-style-font-weight);
|
|
9
|
+
font-family: var(--comp-badge-text-style-font-family);
|
|
10
|
+
line-height: var(--comp-badge-text-style-line-height);
|
|
11
|
+
font-size: var(--comp-badge-text-style-size);
|
|
12
|
+
height: var(--comp-badge-height);
|
|
13
|
+
max-height: var(--comp-badge-height);
|
|
14
|
+
border-radius: 2px;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* Blue variant (default) */
|
|
20
|
+
.ap-badge.blue {
|
|
21
|
+
background-color: var(--comp-badge-blue-background-color);
|
|
22
|
+
color: var(--comp-badge-blue-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Orange variant */
|
|
26
|
+
.ap-badge.orange {
|
|
27
|
+
text-transform: uppercase;
|
|
28
|
+
background-color: var(--comp-badge-orange-background-color);
|
|
29
|
+
color: var(--comp-badge-orange-color);
|
|
30
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/* Agorapulse Checkbox Styles */
|
|
2
|
+
|
|
3
|
+
.ap-checkbox-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: var(--ref-spacing-xxs);
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ap-checkbox-container:has(input:disabled) {
|
|
11
|
+
cursor: default;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Label positioning */
|
|
15
|
+
.ap-checkbox-container.label-left {
|
|
16
|
+
flex-direction: row-reverse;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ap-checkbox-container.full-width {
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Native checkbox input (visually hidden but accessible) */
|
|
25
|
+
.ap-checkbox-input {
|
|
26
|
+
position: absolute;
|
|
27
|
+
clip: rect(0, 0, 0, 0);
|
|
28
|
+
width: 1px;
|
|
29
|
+
height: 1px;
|
|
30
|
+
margin: -1px;
|
|
31
|
+
padding: 0;
|
|
32
|
+
border: 0;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Focus state */
|
|
37
|
+
@media (hover: hover) {
|
|
38
|
+
.ap-checkbox-input:focus:not(:disabled) ~ .ap-checkbox-box {
|
|
39
|
+
outline: 3px solid var(--ref-color-electric-blue-100);
|
|
40
|
+
outline-offset: 1px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Custom checkbox visual */
|
|
45
|
+
.ap-checkbox-box {
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
width: 16px;
|
|
50
|
+
height: 16px;
|
|
51
|
+
min-width: 16px;
|
|
52
|
+
min-height: 16px;
|
|
53
|
+
max-width: 16px;
|
|
54
|
+
max-height: 16px;
|
|
55
|
+
border-radius: var(--sys-border-radius-sm);
|
|
56
|
+
border: 1px solid var(--ref-color-grey-60);
|
|
57
|
+
background: var(--ref-color-white);
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
transition: background-color 0.15s, border-color 0.15s;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Hover state */
|
|
64
|
+
.ap-checkbox-container:hover:not(:has(input:disabled)) .ap-checkbox-box {
|
|
65
|
+
border-color: var(--ref-color-grey-80);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Active state */
|
|
69
|
+
.ap-checkbox-container:active:not(:has(input:disabled)) .ap-checkbox-box {
|
|
70
|
+
border-color: var(--ref-color-grey-100);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Checked state */
|
|
74
|
+
.ap-checkbox-input:checked ~ .ap-checkbox-box {
|
|
75
|
+
background: var(--ref-color-electric-blue-100);
|
|
76
|
+
border-color: var(--ref-color-electric-blue-100);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Checked hover state */
|
|
80
|
+
.ap-checkbox-container:hover:not(:has(input:disabled)) .ap-checkbox-input:checked ~ .ap-checkbox-box {
|
|
81
|
+
background: var(--ref-color-electric-blue-80);
|
|
82
|
+
border-color: var(--ref-color-electric-blue-100);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Checked active state */
|
|
86
|
+
.ap-checkbox-container:active:not(:has(input:disabled)) .ap-checkbox-input:checked ~ .ap-checkbox-box {
|
|
87
|
+
background: var(--ref-color-electric-blue-60);
|
|
88
|
+
border-color: var(--ref-color-electric-blue-100);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Indeterminate state */
|
|
92
|
+
.ap-checkbox-box.indeterminate {
|
|
93
|
+
background: var(--ref-color-electric-blue-100);
|
|
94
|
+
border-color: var(--ref-color-electric-blue-100);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ap-checkbox-container:hover:not(:has(input:disabled)) .ap-checkbox-box.indeterminate {
|
|
98
|
+
background: var(--ref-color-electric-blue-80);
|
|
99
|
+
border-color: var(--ref-color-electric-blue-100);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Disabled state */
|
|
103
|
+
.ap-checkbox-input:disabled ~ .ap-checkbox-box {
|
|
104
|
+
background: var(--ref-color-grey-10);
|
|
105
|
+
border-color: var(--ref-color-grey-20);
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ap-checkbox-input:disabled:checked ~ .ap-checkbox-box,
|
|
110
|
+
.ap-checkbox-box.indeterminate.disabled {
|
|
111
|
+
background: var(--ref-color-grey-20);
|
|
112
|
+
border-color: var(--ref-color-grey-20);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Error state (for form validation) */
|
|
116
|
+
.ap-checkbox-container.error .ap-checkbox-box {
|
|
117
|
+
border-color: var(--ref-color-red-100);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Checkmark icon */
|
|
121
|
+
.ap-checkbox-icon {
|
|
122
|
+
width: 10px;
|
|
123
|
+
height: 10px;
|
|
124
|
+
color: var(--ref-color-white);
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ap-checkbox-input:checked ~ .ap-checkbox-box .ap-checkbox-icon-check {
|
|
129
|
+
display: block;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.ap-checkbox-box.indeterminate .ap-checkbox-icon-indeterminate {
|
|
133
|
+
display: block;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Indeterminate line */
|
|
137
|
+
.ap-checkbox-indeterminate-line {
|
|
138
|
+
width: 8px;
|
|
139
|
+
height: 1.5px;
|
|
140
|
+
background: var(--ref-color-white);
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ap-checkbox-box.indeterminate .ap-checkbox-indeterminate-line {
|
|
145
|
+
display: block;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/* Label styling */
|
|
149
|
+
.ap-checkbox-label {
|
|
150
|
+
display: flex;
|
|
151
|
+
align-items: center;
|
|
152
|
+
font-family: var(--comp-forms-label-font-family);
|
|
153
|
+
font-size: var(--comp-forms-label-size);
|
|
154
|
+
font-weight: var(--comp-forms-label-font-weight);
|
|
155
|
+
line-height: var(--comp-forms-label-line-height);
|
|
156
|
+
color: var(--comp-forms-label-text-color);
|
|
157
|
+
user-select: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ap-checkbox-label:empty {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.ap-checkbox-label.disabled {
|
|
165
|
+
color: var(--ref-color-grey-60);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.ap-checkbox-label.bold {
|
|
169
|
+
font-weight: var(--ref-font-weight-bold);
|
|
170
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* Agorapulse Counter Styles */
|
|
2
|
+
|
|
3
|
+
.ap-counter {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
width: fit-content;
|
|
8
|
+
border-radius: var(--comp-counter-border-radius);
|
|
9
|
+
padding: 0 2px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Normal size (default) */
|
|
14
|
+
.ap-counter.normal {
|
|
15
|
+
font-weight: var(--comp-counter-text-style-font-weight);
|
|
16
|
+
font-family: var(--comp-counter-text-style-font-family);
|
|
17
|
+
line-height: var(--comp-counter-text-style-line-height);
|
|
18
|
+
font-size: var(--comp-counter-text-style-size);
|
|
19
|
+
height: var(--comp-counter-height);
|
|
20
|
+
max-height: var(--comp-counter-height);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Big size */
|
|
24
|
+
.ap-counter.big {
|
|
25
|
+
font-weight: var(--comp-counter-big-text-style-font-weight);
|
|
26
|
+
font-family: var(--comp-counter-big-text-style-font-family);
|
|
27
|
+
line-height: var(--comp-counter-big-text-style-line-height);
|
|
28
|
+
font-size: var(--comp-counter-big-text-style-size);
|
|
29
|
+
height: var(--comp-counter-big-height);
|
|
30
|
+
max-height: var(--comp-counter-big-height);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Blue color */
|
|
34
|
+
.ap-counter.blue {
|
|
35
|
+
color: var(--comp-counter-blue-color);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ap-counter.blue.bg {
|
|
39
|
+
background-color: var(--comp-counter-blue-with-background-background-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* Orange color */
|
|
43
|
+
.ap-counter.orange {
|
|
44
|
+
color: var(--comp-counter-orange-color);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ap-counter.orange.bg {
|
|
48
|
+
color: var(--comp-counter-orange-with-background-color);
|
|
49
|
+
background-color: var(--comp-counter-orange-with-background-background-color);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Grey color */
|
|
53
|
+
.ap-counter.grey {
|
|
54
|
+
color: var(--comp-counter-grey-color);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ap-counter.grey.bg {
|
|
58
|
+
background-color: var(--comp-counter-grey-with-background-background-color);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Notification style */
|
|
62
|
+
.ap-counter.notif {
|
|
63
|
+
padding: 0 4px;
|
|
64
|
+
border-radius: var(--comp-counter-notif-border-radius);
|
|
65
|
+
font-size: var(--comp-counter-text-style-size);
|
|
66
|
+
font-weight: var(--comp-counter-text-style-font-weight);
|
|
67
|
+
font-family: var(--comp-counter-text-style-font-family);
|
|
68
|
+
line-height: var(--comp-counter-text-style-line-height);
|
|
69
|
+
min-width: var(--comp-counter-notif-min-width);
|
|
70
|
+
height: var(--comp-counter-notif-min-width);
|
|
71
|
+
color: var(--comp-counter-notif-color);
|
|
72
|
+
background-color: var(--comp-counter-notif-background-color);
|
|
73
|
+
}
|