@agorapulse/ui-theme 22.0.8 → 22.0.10
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-22.0.10.tgz +0 -0
- package/assets/desktop_variables.css +2 -0
- package/assets/mobile_variables.css +2 -0
- package/assets/style/_floating-arrow.scss +42 -0
- package/assets/style/{css-ui/_helpers.scss → _helpers.scss} +5 -10
- package/assets/style/{css-ui/_typography.scss → _typography.scss} +8 -41
- package/assets/style/theme.scss +3 -2
- package/package.json +2 -9
- package/src/tokens/system/elevation.json +12 -0
- package/agorapulse-ui-theme-22.0.8.tgz +0 -0
- package/assets/style/css-ui/_accordion.scss +0 -56
- package/assets/style/css-ui/_action-dropdown.scss +0 -163
- package/assets/style/css-ui/_avatar-group.scss +0 -61
- package/assets/style/css-ui/_avatar.scss +0 -191
- package/assets/style/css-ui/_badge.scss +0 -28
- package/assets/style/css-ui/_button.scss +0 -265
- package/assets/style/css-ui/_card.scss +0 -17
- package/assets/style/css-ui/_checkbox.scss +0 -191
- package/assets/style/css-ui/_counter.scss +0 -76
- package/assets/style/css-ui/_datepicker.scss +0 -309
- package/assets/style/css-ui/_dialog.scss +0 -74
- package/assets/style/css-ui/_dot-stepper.scss +0 -68
- package/assets/style/css-ui/_icon-button.scss +0 -200
- package/assets/style/css-ui/_infobox.scss +0 -181
- package/assets/style/css-ui/_input.scss +0 -128
- package/assets/style/css-ui/_label.scss +0 -95
- package/assets/style/css-ui/_link.scss +0 -86
- package/assets/style/css-ui/_list-panel.scss +0 -73
- package/assets/style/css-ui/_loader.scss +0 -228
- package/assets/style/css-ui/_mixins.scss +0 -50
- package/assets/style/css-ui/_pagination.scss +0 -177
- package/assets/style/css-ui/_radio-card.scss +0 -200
- package/assets/style/css-ui/_radio.scss +0 -106
- package/assets/style/css-ui/_select.scss +0 -658
- package/assets/style/css-ui/_selection-dropdown.scss +0 -183
- package/assets/style/css-ui/_snackbar.scss +0 -181
- package/assets/style/css-ui/_split-button.scss +0 -74
- package/assets/style/css-ui/_status.scss +0 -83
- package/assets/style/css-ui/_stepper.scss +0 -113
- package/assets/style/css-ui/_table.scss +0 -323
- package/assets/style/css-ui/_tabs.scss +0 -189
- package/assets/style/css-ui/_tag.scss +0 -181
- package/assets/style/css-ui/_textarea.scss +0 -117
- package/assets/style/css-ui/_toggle.scss +0 -131
- package/assets/style/css-ui/_tooltip.scss +0 -134
- package/assets/style/css-ui/font-face.css +0 -43
- package/assets/style/css-ui/index.css +0 -4943
- package/assets/style/css-ui/index.css.map +0 -1
- package/assets/style/css-ui/index.scss +0 -39
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
// Agorapulse Icon Button Styles
|
|
2
|
-
@use 'mixins' as m;
|
|
3
|
-
@use '../button-mixins' as btn;
|
|
4
|
-
|
|
5
|
-
.ap-icon-button {
|
|
6
|
-
&.ap-icon-button {
|
|
7
|
-
display: flex;
|
|
8
|
-
width: var(--comp-icon-button-width);
|
|
9
|
-
height: var(--comp-icon-button-height);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: center;
|
|
14
|
-
@include m.fixed-size(var(--comp-icon-button-width));
|
|
15
|
-
border-radius: var(--comp-icon-button-border-radius);
|
|
16
|
-
background: transparent;
|
|
17
|
-
border: none;
|
|
18
|
-
padding: var(--comp-icon-button-padding);
|
|
19
|
-
position: relative;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
transition:
|
|
22
|
-
border-color 0.25s,
|
|
23
|
-
background-color 0.25s;
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
|
|
26
|
-
> i {
|
|
27
|
-
color: var(--ref-color-grey-60);
|
|
28
|
-
font-size: calc(var(--comp-icon-button-height) - (var(--comp-icon-button-padding) * 2));
|
|
29
|
-
flex-shrink: 0;
|
|
30
|
-
line-height: 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Default hover/active (flat, no color)
|
|
34
|
-
&:hover:not(.stroked):not(.locked):not(:disabled) {
|
|
35
|
-
background: var(--ref-color-grey-05);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&:active:not(.stroked):not(.locked):not(:disabled) {
|
|
39
|
-
background: var(--ref-color-grey-10);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:focus:not(:disabled):not(:active) {
|
|
43
|
-
@include m.focus-ring;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:disabled {
|
|
47
|
-
pointer-events: none;
|
|
48
|
-
|
|
49
|
-
> i {
|
|
50
|
-
color: var(--ref-color-grey-20);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Color variants — flat
|
|
55
|
-
&.blue {
|
|
56
|
-
> i {
|
|
57
|
-
color: var(--ref-color-electric-blue-100);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:hover:not(.stroked):not(.locked):not(:disabled) {
|
|
61
|
-
background: var(--ref-color-electric-blue-05);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&:active:not(.stroked):not(.locked):not(:disabled) {
|
|
65
|
-
background: var(--ref-color-electric-blue-10);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:disabled > i {
|
|
69
|
-
color: var(--ref-color-electric-blue-20);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.green {
|
|
74
|
-
> i {
|
|
75
|
-
color: var(--ref-color-green-100);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&:hover:not(.stroked):not(.locked):not(:disabled) {
|
|
79
|
-
background: var(--ref-color-green-10);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&:active:not(.stroked):not(.locked):not(:disabled) {
|
|
83
|
-
background: var(--ref-color-green-20);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&:disabled > i {
|
|
87
|
-
color: var(--ref-color-green-20);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.red {
|
|
92
|
-
> i {
|
|
93
|
-
color: var(--ref-color-red-100);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&:hover:not(.stroked):not(.locked):not(:disabled) {
|
|
97
|
-
background: var(--ref-color-red-10);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&:active:not(.stroked):not(.locked):not(:disabled) {
|
|
101
|
-
background: var(--ref-color-red-20);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&:disabled > i {
|
|
105
|
-
color: var(--ref-color-red-20);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Stroked variant
|
|
110
|
-
&.stroked {
|
|
111
|
-
border: 1px solid var(--ref-color-grey-20);
|
|
112
|
-
background: var(--ref-color-white);
|
|
113
|
-
|
|
114
|
-
&:hover:not(.locked):not(:disabled) {
|
|
115
|
-
border-color: var(--ref-color-grey-40);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&:active:not(.locked):not(:disabled) {
|
|
119
|
-
border-color: var(--ref-color-grey-60);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&:disabled {
|
|
123
|
-
border-color: var(--ref-color-grey-20);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Stroked color variants
|
|
127
|
-
&.blue:not(.loading):not(.locked) {
|
|
128
|
-
border-color: var(--ref-color-electric-blue-100);
|
|
129
|
-
|
|
130
|
-
&:hover:not(:disabled) {
|
|
131
|
-
border-color: var(--ref-color-electric-blue-60);
|
|
132
|
-
}
|
|
133
|
-
&:active:not(:disabled) {
|
|
134
|
-
border-color: var(--ref-color-electric-blue-100);
|
|
135
|
-
}
|
|
136
|
-
&:disabled {
|
|
137
|
-
border-color: var(--ref-color-electric-blue-20);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&.green:not(.loading):not(.locked) {
|
|
142
|
-
border-color: var(--ref-color-green-100);
|
|
143
|
-
|
|
144
|
-
&:hover:not(:disabled) {
|
|
145
|
-
border-color: var(--ref-color-green-60);
|
|
146
|
-
}
|
|
147
|
-
&:active:not(:disabled) {
|
|
148
|
-
border-color: var(--ref-color-green-100);
|
|
149
|
-
}
|
|
150
|
-
&:disabled {
|
|
151
|
-
border-color: var(--ref-color-green-20);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&.red:not(.loading):not(.locked) {
|
|
156
|
-
border-color: var(--ref-color-red-100);
|
|
157
|
-
|
|
158
|
-
&:hover:not(:disabled) {
|
|
159
|
-
border-color: var(--ref-color-red-60);
|
|
160
|
-
}
|
|
161
|
-
&:active:not(:disabled) {
|
|
162
|
-
border-color: var(--ref-color-red-100);
|
|
163
|
-
}
|
|
164
|
-
&:disabled {
|
|
165
|
-
border-color: var(--ref-color-red-20);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
// Stroked transparent
|
|
171
|
-
&.stroked.transparent:not(.loading):not(.locked) {
|
|
172
|
-
background: transparent;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
// Loading state
|
|
176
|
-
&.loading {
|
|
177
|
-
background: var(--ref-color-grey-20);
|
|
178
|
-
border: none;
|
|
179
|
-
pointer-events: none;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
// Locked state — reuses .ap-locked-symbol from _button.scss
|
|
183
|
-
&.locked {
|
|
184
|
-
background: var(--ref-color-purple-10);
|
|
185
|
-
border: 1px solid var(--ref-color-purple-20);
|
|
186
|
-
overflow: visible;
|
|
187
|
-
|
|
188
|
-
> i {
|
|
189
|
-
color: var(--ref-color-purple-100);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&:hover {
|
|
193
|
-
border-color: var(--ref-color-purple-40);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&:active {
|
|
197
|
-
border-color: var(--ref-color-purple-60);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
// Agorapulse Infobox Styles
|
|
2
|
-
@use 'mixins' as m;
|
|
3
|
-
|
|
4
|
-
.ap-infobox {
|
|
5
|
-
container: infobox / inline-size;
|
|
6
|
-
display: flex;
|
|
7
|
-
width: 100%;
|
|
8
|
-
max-width: 100%;
|
|
9
|
-
font-size: var(--ref-font-size-sm);
|
|
10
|
-
line-height: var(--ref-font-line-height-sm);
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
color: var(--ref-color-grey-100);
|
|
13
|
-
padding: var(--comp-infobox-padding-top) var(--comp-infobox-padding-right) var(--comp-infobox-padding-bottom)
|
|
14
|
-
var(--comp-infobox-padding-left);
|
|
15
|
-
border-radius: var(--comp-infobox-border-radius);
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
font-family: var(--comp-infobox-text-title-font-family);
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
position: relative;
|
|
20
|
-
gap: var(--ref-spacing-xs);
|
|
21
|
-
|
|
22
|
-
// Left banner via pseudo-element (no HTML needed)
|
|
23
|
-
&::before {
|
|
24
|
-
content: '';
|
|
25
|
-
position: absolute;
|
|
26
|
-
left: 0;
|
|
27
|
-
top: 0;
|
|
28
|
-
width: var(--comp-infobox-border-width, 4px);
|
|
29
|
-
height: 100%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// Icon — direct <i> child, size defaulted to sm (no wrapper, no size class needed)
|
|
33
|
-
> i {
|
|
34
|
-
font-size: var(--sys-icon-css-sm);
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
margin-top: 1px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// With title — center icon vertically with the title+message block
|
|
40
|
-
&.has-title {
|
|
41
|
-
align-items: center;
|
|
42
|
-
|
|
43
|
-
> i {
|
|
44
|
-
margin-top: 0;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Variants — expected icons: ap-icon-info_fill, ap-icon-warning_fill, ap-icon-error_fill, ap-icon-rounded-check_fill, ap-icon-feature-lock
|
|
49
|
-
&.info {
|
|
50
|
-
background-color: var(--comp-infobox-info-background-color);
|
|
51
|
-
> i {
|
|
52
|
-
color: var(--comp-infobox-info-icon-color);
|
|
53
|
-
}
|
|
54
|
-
&::before {
|
|
55
|
-
background-color: var(--comp-infobox-info-border-left-color);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&.warning {
|
|
60
|
-
background-color: var(--comp-infobox-warning-background-color);
|
|
61
|
-
> i {
|
|
62
|
-
color: var(--comp-infobox-warning-icon-color);
|
|
63
|
-
}
|
|
64
|
-
&::before {
|
|
65
|
-
background-color: var(--comp-infobox-warning-border-left-color);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&.error {
|
|
70
|
-
background-color: var(--comp-infobox-error-background-color);
|
|
71
|
-
> i {
|
|
72
|
-
color: var(--comp-infobox-error-icon-color);
|
|
73
|
-
}
|
|
74
|
-
&::before {
|
|
75
|
-
background-color: var(--comp-infobox-error-border-left-color);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.success {
|
|
80
|
-
background-color: var(--comp-infobox-success-background-color);
|
|
81
|
-
> i {
|
|
82
|
-
color: var(--comp-infobox-success-icon-color);
|
|
83
|
-
}
|
|
84
|
-
&::before {
|
|
85
|
-
background-color: var(--comp-infobox-success-border-left-color);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&.feature-lock {
|
|
90
|
-
background-color: var(--comp-infobox-feature-lock-background-color);
|
|
91
|
-
> i {
|
|
92
|
-
color: var(--comp-infobox-feature-lock-icon-color);
|
|
93
|
-
}
|
|
94
|
-
&::before {
|
|
95
|
-
background-color: var(--comp-infobox-feature-lock-border-left-color);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Content wrapper
|
|
101
|
-
.ap-infobox-content {
|
|
102
|
-
display: flex;
|
|
103
|
-
flex-direction: column;
|
|
104
|
-
align-items: flex-start;
|
|
105
|
-
flex: 1;
|
|
106
|
-
justify-content: space-between;
|
|
107
|
-
gap: var(--ref-spacing-xxs);
|
|
108
|
-
min-width: 0;
|
|
109
|
-
|
|
110
|
-
> .ap-button {
|
|
111
|
-
width: unset;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// Text content
|
|
116
|
-
.ap-infobox-texts {
|
|
117
|
-
display: flex;
|
|
118
|
-
flex-direction: column;
|
|
119
|
-
overflow-wrap: anywhere;
|
|
120
|
-
width: 100%;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// Title
|
|
124
|
-
.ap-infobox-title {
|
|
125
|
-
font-weight: var(--comp-infobox-text-title-weight);
|
|
126
|
-
font-family: var(--comp-infobox-text-title-font-family);
|
|
127
|
-
font-size: var(--comp-infobox-text-title-size);
|
|
128
|
-
line-height: var(--comp-infobox-text-title-line-height);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// Message/Body text
|
|
132
|
-
.ap-infobox-message {
|
|
133
|
-
font-weight: var(--comp-infobox-text-content-weight);
|
|
134
|
-
font-family: var(--comp-infobox-text-content-font-family);
|
|
135
|
-
font-size: var(--comp-infobox-text-content-size);
|
|
136
|
-
line-height: var(--comp-infobox-text-content-line-height);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// Close button
|
|
140
|
-
.ap-infobox-close {
|
|
141
|
-
display: flex;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
align-items: center;
|
|
144
|
-
@include m.fixed-size(var(--comp-close-button-size));
|
|
145
|
-
border-radius: 50%;
|
|
146
|
-
background: transparent;
|
|
147
|
-
border: none;
|
|
148
|
-
padding: var(--comp-close-button-padding);
|
|
149
|
-
cursor: pointer;
|
|
150
|
-
flex-shrink: 0;
|
|
151
|
-
transition: background 0.25s;
|
|
152
|
-
|
|
153
|
-
@media (hover: hover) {
|
|
154
|
-
&:focus:not(:active) {
|
|
155
|
-
@include m.focus-ring;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&:hover {
|
|
160
|
-
background: var(--comp-close-button-hover-background);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
&:active {
|
|
164
|
-
background: var(--comp-close-button-active-background);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// Close icon (implicit > i)
|
|
168
|
-
> i {
|
|
169
|
-
color: var(--ref-color-grey-80);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// Wide layout via container query
|
|
174
|
-
// Threshold adjusted from 588px to 560px to compensate for infobox padding (28px)
|
|
175
|
-
// so the breakpoint triggers at the same visual width as the Angular component.
|
|
176
|
-
@container infobox (min-width: 560px) {
|
|
177
|
-
.ap-infobox-content {
|
|
178
|
-
flex-direction: row;
|
|
179
|
-
align-items: center;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
// Agorapulse Input Styles
|
|
2
|
-
@use 'mixins' as m;
|
|
3
|
-
@use 'ui-symbol/icons/build/ap-icons-data' as icons;
|
|
4
|
-
|
|
5
|
-
// Form field container
|
|
6
|
-
.ap-form-field {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
gap: var(--ref-spacing-xxs);
|
|
10
|
-
|
|
11
|
-
// Label — implicit > label
|
|
12
|
-
> label {
|
|
13
|
-
@include m.text-style('body');
|
|
14
|
-
color: var(--ref-color-grey-100);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Input group container
|
|
19
|
-
.ap-input-group {
|
|
20
|
-
width: 100%;
|
|
21
|
-
display: inline-flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
height: var(--comp-input-height);
|
|
24
|
-
border: 1px solid var(--comp-input-border-default-color);
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
border-radius: var(--comp-input-border-radius);
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
background-color: var(--comp-input-fill-color);
|
|
29
|
-
gap: var(--ref-spacing-xxs);
|
|
30
|
-
padding: 0 var(--ref-spacing-xs);
|
|
31
|
-
|
|
32
|
-
// Disabled input
|
|
33
|
-
&:has(input:disabled) {
|
|
34
|
-
background-color: var(--comp-input-fill-disabled-color);
|
|
35
|
-
color: var(--comp-input-text-disabled-color);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Hover state
|
|
39
|
-
&:hover:not(:has(input:disabled)) {
|
|
40
|
-
border-color: var(--comp-input-border-hover-color);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Focus state
|
|
44
|
-
&:focus-within:not(:has(input:disabled)) {
|
|
45
|
-
border-color: var(--comp-input-border-focused-color);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// Invalid state
|
|
49
|
-
&.invalid,
|
|
50
|
-
&:has(input.invalid) {
|
|
51
|
-
border-color: var(--comp-input-border-error-color);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Valid state
|
|
55
|
-
&.valid,
|
|
56
|
-
&:has(input.valid) {
|
|
57
|
-
border-color: var(--comp-input-border-success-color);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Input — implicit > input
|
|
61
|
-
> input {
|
|
62
|
-
flex: 1;
|
|
63
|
-
border: none;
|
|
64
|
-
outline: none;
|
|
65
|
-
background: transparent;
|
|
66
|
-
color: var(--comp-input-text-default-color);
|
|
67
|
-
font-family: var(--comp-input-text-font-family);
|
|
68
|
-
font-size: var(--comp-input-text-size);
|
|
69
|
-
font-weight: var(--comp-input-text-font-weight);
|
|
70
|
-
padding: 0;
|
|
71
|
-
min-width: 0;
|
|
72
|
-
|
|
73
|
-
&::placeholder {
|
|
74
|
-
color: var(--comp-input-text-placeholder-color);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:disabled {
|
|
78
|
-
color: var(--comp-input-text-disabled-color);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// Icon — implicit > i
|
|
83
|
-
> i {
|
|
84
|
-
flex-shrink: 0;
|
|
85
|
-
width: var(--comp-input-icon-size);
|
|
86
|
-
height: var(--comp-input-icon-size);
|
|
87
|
-
color: var(--comp-input-icon-color);
|
|
88
|
-
pointer-events: none;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Form message (error/success)
|
|
93
|
-
.ap-form-message {
|
|
94
|
-
font-size: var(--comp-forms-status-text-size);
|
|
95
|
-
font-weight: var(--comp-forms-status-text-font-weight);
|
|
96
|
-
line-height: var(--comp-forms-status-text-line-height);
|
|
97
|
-
font-family: var(--comp-forms-status-text-font-family);
|
|
98
|
-
margin: 0;
|
|
99
|
-
display: flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
gap: var(--ref-spacing-xxxs);
|
|
102
|
-
|
|
103
|
-
// Icon injected via ::before (no <i> needed in HTML)
|
|
104
|
-
&::before {
|
|
105
|
-
@include icons.icon-base;
|
|
106
|
-
width: var(--comp-forms-status-icon-size);
|
|
107
|
-
height: var(--comp-forms-status-icon-size);
|
|
108
|
-
flex-shrink: 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.error {
|
|
112
|
-
color: var(--comp-forms-status-text-error-color);
|
|
113
|
-
|
|
114
|
-
&::before {
|
|
115
|
-
@include icons.icon('error_fill');
|
|
116
|
-
color: var(--comp-forms-status-icon-error-color);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.success {
|
|
121
|
-
color: var(--comp-forms-status-text-success-color);
|
|
122
|
-
|
|
123
|
-
&::before {
|
|
124
|
-
@include icons.icon('rounded-check_fill');
|
|
125
|
-
color: var(--comp-forms-status-icon-success-color);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
// Agorapulse Label Styles
|
|
2
|
-
@use 'mixins' as m;
|
|
3
|
-
|
|
4
|
-
.ap-label {
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
background: var(--comp-label-background-color);
|
|
9
|
-
border-radius: var(--comp-label-border-radius);
|
|
10
|
-
padding: 0 var(--comp-label-padding-right) 0 var(--comp-label-padding-left);
|
|
11
|
-
height: var(--comp-label-height);
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
border: none;
|
|
14
|
-
|
|
15
|
-
// Text styles on container (span optional)
|
|
16
|
-
color: var(--comp-label-text-color);
|
|
17
|
-
font-family: var(--comp-label-text-style-font-family);
|
|
18
|
-
font-size: var(--comp-label-text-style-size);
|
|
19
|
-
font-weight: var(--comp-label-text-style-font-weight);
|
|
20
|
-
line-height: var(--comp-label-text-style-line-height);
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
|
|
24
|
-
// Auto-detect icon — add gap
|
|
25
|
-
&:has(> i) {
|
|
26
|
-
gap: var(--comp-label-closable-spacing);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
// Auto-detect close button — tighter padding + gap
|
|
30
|
-
&:has(> button) {
|
|
31
|
-
gap: var(--comp-label-closable-spacing);
|
|
32
|
-
padding: 0 var(--comp-label-closable-padding-right) 0 var(--ref-spacing-xxs);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Text truncation — use > span when combined with a close button
|
|
36
|
-
> span {
|
|
37
|
-
@include m.truncate;
|
|
38
|
-
max-width: 180px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Icon slot — implicit > i
|
|
42
|
-
> i {
|
|
43
|
-
width: 12px;
|
|
44
|
-
height: 12px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Close button with <i class="ap-icon-close"> inside
|
|
48
|
-
> button {
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
flex-shrink: 0;
|
|
53
|
-
width: calc(var(--comp-label-height) - 4px);
|
|
54
|
-
height: calc(var(--comp-label-height) - 4px);
|
|
55
|
-
min-width: calc(var(--comp-label-height) - 4px);
|
|
56
|
-
border: none;
|
|
57
|
-
background: transparent;
|
|
58
|
-
border-radius: 50%;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
padding: 0;
|
|
61
|
-
color: var(--comp-label-text-color);
|
|
62
|
-
transition: background-color 0.15s;
|
|
63
|
-
|
|
64
|
-
&:hover {
|
|
65
|
-
background: var(--ref-color-electric-blue-40);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:active {
|
|
69
|
-
background: var(--ref-color-electric-blue-60);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
> i {
|
|
73
|
-
width: 12px;
|
|
74
|
-
height: 12px;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// button.ap-label — focus ring for clickable labels
|
|
79
|
-
&:is(button) {
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
|
|
82
|
-
@media (hover: hover) {
|
|
83
|
-
&:focus:not(:disabled):not(:active) {
|
|
84
|
-
@include m.focus-ring;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// Label list container
|
|
91
|
-
.ap-label-list {
|
|
92
|
-
display: flex;
|
|
93
|
-
flex-wrap: wrap;
|
|
94
|
-
gap: var(--ref-spacing-xxs);
|
|
95
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// Agorapulse Link Styles
|
|
2
|
-
@use 'mixins' as m;
|
|
3
|
-
|
|
4
|
-
// Base link styling
|
|
5
|
-
.ap-link {
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
gap: var(--comp-link-spacing);
|
|
8
|
-
font-family: var(--comp-link-text-font-family);
|
|
9
|
-
font-weight: var(--comp-link-text-font-weight);
|
|
10
|
-
line-height: var(--comp-link-text-line-height);
|
|
11
|
-
font-size: var(--comp-link-text-size);
|
|
12
|
-
align-items: center;
|
|
13
|
-
text-decoration: underline;
|
|
14
|
-
-webkit-tap-highlight-color: transparent;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
color: var(--comp-link-default-color);
|
|
17
|
-
|
|
18
|
-
// Size variants
|
|
19
|
-
&.small {
|
|
20
|
-
font-family: var(--comp-link-small-text-style-font-family);
|
|
21
|
-
font-weight: var(--comp-link-small-text-style-font-weight);
|
|
22
|
-
line-height: var(--comp-link-small-text-style-line-height);
|
|
23
|
-
font-size: var(--comp-link-small-text-style-size);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.big {
|
|
27
|
-
font-family: var(--comp-link-big-text-style-font-family);
|
|
28
|
-
font-weight: var(--comp-link-big-text-style-font-weight);
|
|
29
|
-
line-height: var(--comp-link-big-text-style-line-height);
|
|
30
|
-
font-size: var(--comp-link-big-text-style-size);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// Standalone variant (no underline)
|
|
34
|
-
&.standalone {
|
|
35
|
-
text-decoration: none;
|
|
36
|
-
font-family: var(--comp-link-standalone-default-text-style-font-family);
|
|
37
|
-
font-weight: var(--comp-link-standalone-default-text-style-font-weight);
|
|
38
|
-
line-height: var(--comp-link-standalone-default-text-style-line-height);
|
|
39
|
-
font-size: var(--comp-link-standalone-default-text-style-size);
|
|
40
|
-
color: var(--comp-link-default-color);
|
|
41
|
-
|
|
42
|
-
&.small {
|
|
43
|
-
font-family: var(--comp-link-standalone-small-text-style-font-family);
|
|
44
|
-
font-weight: var(--comp-link-standalone-small-text-style-font-weight);
|
|
45
|
-
line-height: var(--comp-link-standalone-small-text-style-line-height);
|
|
46
|
-
font-size: var(--comp-link-standalone-small-text-style-size);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// States
|
|
51
|
-
&:hover {
|
|
52
|
-
color: var(--comp-link-hover-color);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&:active:not(:visited):not(.disabled) {
|
|
56
|
-
color: var(--comp-link-clicked-color);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&:visited:not(.standalone) {
|
|
60
|
-
color: var(--comp-link-visited-color);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Disabled state
|
|
64
|
-
&.disabled,
|
|
65
|
-
&[aria-disabled='true'] {
|
|
66
|
-
color: var(--comp-link-disabled-color);
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
cursor: default;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Focus state for accessibility
|
|
72
|
-
&:focus-visible {
|
|
73
|
-
@include m.focus-ring;
|
|
74
|
-
outline-offset: 2px;
|
|
75
|
-
border-radius: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// Icon sizing — implicit > i
|
|
79
|
-
> i {
|
|
80
|
-
min-width: var(--comp-link-icon-size);
|
|
81
|
-
min-height: var(--comp-link-icon-size);
|
|
82
|
-
max-width: var(--comp-link-icon-size);
|
|
83
|
-
max-height: var(--comp-link-icon-size);
|
|
84
|
-
flex-shrink: 0;
|
|
85
|
-
}
|
|
86
|
-
}
|