@inchurch/matcha-theme 21.3.3 → 22.0.0
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/abstracts/_colors.scss +236 -229
- package/abstracts/_elevation.scss +108 -108
- package/abstracts/_functions.scss +321 -321
- package/abstracts/_media-breakpoint.scss +26 -26
- package/abstracts/_theme-api.scss +219 -219
- package/abstracts/_typography.scss +128 -128
- package/base/_reset.scss +445 -432
- package/components/app-page-header.scss +260 -260
- package/components/matcha-accordion.scss +293 -293
- package/components/matcha-audio-player.scss +31 -31
- package/components/matcha-autocomplete.scss +145 -145
- package/components/matcha-avatar.scss +440 -301
- package/components/matcha-badge.scss +120 -120
- package/components/matcha-breadcrumb.scss +231 -231
- package/components/matcha-button-toggle.scss +384 -384
- package/components/matcha-buttons.scss +913 -913
- package/components/matcha-calendar.scss +218 -218
- package/components/matcha-cards.scss +230 -230
- package/components/matcha-chart-card.scss +53 -53
- package/components/matcha-checkbox.scss +255 -255
- package/components/matcha-chip.scss +292 -292
- package/components/matcha-color-pick.scss +34 -34
- package/components/matcha-command-palette.scss +316 -316
- package/components/matcha-crop.scss +406 -406
- package/components/matcha-date.scss +81 -81
- package/components/matcha-divider.scss +100 -100
- package/components/matcha-draggable.scss +23 -23
- package/components/matcha-drawer.scss +376 -376
- package/components/matcha-drop-image.scss +14 -14
- package/components/matcha-drop-list.scss +430 -430
- package/components/matcha-emoji.scss +69 -69
- package/components/matcha-empty-state.scss +230 -230
- package/components/matcha-file-uploader.scss +471 -471
- package/components/matcha-flag.scss +103 -103
- package/components/matcha-footer.scss +91 -91
- package/components/matcha-form-field.scss +606 -606
- package/components/matcha-form-section.scss +100 -100
- package/components/matcha-header.scss +135 -135
- package/components/matcha-highlight.scss +164 -164
- package/components/matcha-hint-text.scss +90 -90
- package/components/matcha-horizontal-tree.scss +316 -316
- package/components/matcha-icon.scss +98 -98
- package/components/matcha-image.scss +61 -61
- package/components/matcha-list.scss +211 -211
- package/components/matcha-menu.scss +99 -99
- package/components/matcha-modal.scss +210 -210
- package/components/matcha-nav.scss +581 -581
- package/components/matcha-notification.scss +413 -413
- package/components/matcha-option.scss +170 -170
- package/components/matcha-page-builder.scss +4196 -4196
- package/components/matcha-paginator.scss +689 -689
- package/components/matcha-panel.scss +194 -194
- package/components/matcha-profile-card.scss +50 -50
- package/components/matcha-progress-bar.scss +313 -313
- package/components/matcha-radio.scss +320 -320
- package/components/matcha-ripple.scss +7 -7
- package/components/matcha-scrollbar.scss +33 -33
- package/components/matcha-scrollbox-shadow.scss +120 -120
- package/components/matcha-section.scss +102 -102
- package/components/matcha-select-multiple.scss +56 -56
- package/components/matcha-select.scss +667 -667
- package/components/matcha-skeleton.scss +155 -155
- package/components/matcha-slide-toggle.scss +369 -369
- package/components/matcha-slider.scss +285 -285
- package/components/matcha-snack-bar.scss +259 -259
- package/components/matcha-spin.scss +164 -164
- package/components/matcha-spinner.scss +97 -97
- package/components/matcha-status-pill.scss +38 -18
- package/components/matcha-stepper.scss +376 -376
- package/components/matcha-table-cell.scss +74 -41
- package/components/matcha-table.scss +579 -578
- package/components/matcha-tabs.scss +600 -600
- package/components/matcha-text-editor.scss +105 -105
- package/components/matcha-time.scss +33 -33
- package/components/matcha-timepicker.scss +13 -13
- package/components/matcha-toolbar.scss +359 -359
- package/components/matcha-tooltip.scss +224 -224
- package/components/matcha-tree-view.scss +257 -212
- package/layout/matcha-page-layout.scss +778 -778
- package/main.scss +329 -329
- package/package.json +1 -1
- package/tokens/_animations-tokens.scss +37 -37
- package/tokens/_breakpoints-tokens.scss +35 -35
- package/tokens/_color-tokens.scss +274 -261
- package/tokens/_elevation-tokens.scss +33 -33
- package/tokens/_emit-tokens.scss +324 -324
- package/tokens/_material-palette.scss +1149 -1149
- package/tokens/_primitives.scss +98 -98
- package/tokens/_semantic-aliases.scss +120 -120
- package/tokens/_spacing-tokens.scss +94 -94
- package/tokens/_static-tokens.scss +137 -137
- package/tokens/_typography-tokens.scss +65 -65
- package/vendors/charts.scss +90 -90
|
@@ -1,260 +1,260 @@
|
|
|
1
|
-
@use "../abstracts/media-breakpoint" as *;
|
|
2
|
-
@use "sass:map";
|
|
3
|
-
|
|
4
|
-
// =============================================================================
|
|
5
|
-
// app-page-header.scss
|
|
6
|
-
//
|
|
7
|
-
// Legacy `.matcha-header__*` — page-header da APP design-system (NÃO é o lib
|
|
8
|
-
// component matcha-header). Mantido pra back-compat enquanto a app não migra
|
|
9
|
-
// pro lib `<matcha-header>` com slots.
|
|
10
|
-
//
|
|
11
|
-
// Usado por:
|
|
12
|
-
// • src/app/layout/header/page-header.component.{html,scss}
|
|
13
|
-
// • src/app/pages/page-matcha-header (demos legacy)
|
|
14
|
-
// • src/app/pages/page-matcha-menu (demo de profile card)
|
|
15
|
-
//
|
|
16
|
-
// Para o componente canônico Figma DSV3 1:1, ver `matcha-header.scss`.
|
|
17
|
-
// =============================================================================
|
|
18
|
-
|
|
19
|
-
@mixin app-page-header-theme($theme) {
|
|
20
|
-
|
|
21
|
-
.matcha-header {
|
|
22
|
-
&__content {
|
|
23
|
-
background: var(--matcha-color-surface);
|
|
24
|
-
|
|
25
|
-
&__title__icon {
|
|
26
|
-
color: var(--matcha-color-text-label);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&__options {
|
|
30
|
-
background: var(--matcha-color-surface);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.matcha-header-church-id {
|
|
35
|
-
color: var(--matcha-color-text-placeholder);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.matcha-header-user-name {
|
|
39
|
-
color: var(--matcha-color-fg);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@include media-breakpoint('gt-sm') {
|
|
43
|
-
&__content {
|
|
44
|
-
background: var(--matcha-color-surface);
|
|
45
|
-
&__options { background: transparent; }
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.matcha-header-profile {
|
|
51
|
-
background: var(--matcha-color-surface);
|
|
52
|
-
.profile-back { color: var(--matcha-color-fg); &:hover { opacity: 0.8; } &:focus-visible { outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent); outline-offset: var(--matcha-state-focus-ring-offset, 2px); border-radius: var(--matcha-radius-md, 4px); } }
|
|
53
|
-
.profile-dates { color: var(--matcha-color-text-label); }
|
|
54
|
-
.profile-name { color: var(--matcha-color-fg); }
|
|
55
|
-
.profile-meta { color: var(--matcha-color-text-label); }
|
|
56
|
-
.profile-church { color: var(--matcha-color-fg); }
|
|
57
|
-
.profile-function-label { color: var(--matcha-color-accent); }
|
|
58
|
-
.profile-function-value { color: var(--matcha-color-text-label); }
|
|
59
|
-
.profile-enrollment { color: var(--matcha-color-fg); }
|
|
60
|
-
.profile-edit { color: var(--matcha-color-text-label); cursor: pointer; &:hover { color: var(--matcha-color-fg); } &:focus-visible { outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent); outline-offset: var(--matcha-state-focus-ring-offset, 2px); } }
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// ── Layout — page-header (legacy) ───────────────────────────────────────────
|
|
65
|
-
|
|
66
|
-
.matcha-header {
|
|
67
|
-
&__content {
|
|
68
|
-
display: flex;
|
|
69
|
-
flex-wrap: wrap;
|
|
70
|
-
align-items: center;
|
|
71
|
-
justify-content: space-between;
|
|
72
|
-
width: 100%;
|
|
73
|
-
height: var(--matcha-space-600, 48px);
|
|
74
|
-
padding: var(--matcha-space-100, 8px) var(--matcha-space-300, 24px) var(--matcha-space-100, 8px) var(--matcha-space-200, 16px);
|
|
75
|
-
gap: var(--matcha-space-200, 16px);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.matcha-header-left {
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
gap: var(--matcha-space-200, 16px);
|
|
82
|
-
flex: 1;
|
|
83
|
-
min-width: 0;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.matcha-header-right {
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
89
|
-
gap: var(--matcha-space-200, 16px);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.matcha-header-user {
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
gap: var(--matcha-space-100, 8px);
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.matcha-header-church-id {
|
|
100
|
-
font-family: var(--matcha-font-family);
|
|
101
|
-
font-size: var(--matcha-text-p-tiny, 11px);
|
|
102
|
-
line-height: var(--matcha-leading-p-tiny, 14px);
|
|
103
|
-
letter-spacing: var(--matcha-letter-spacing-caption, 0.3px);
|
|
104
|
-
white-space: nowrap;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.matcha-header-user-name {
|
|
108
|
-
font-family: var(--matcha-font-family);
|
|
109
|
-
font-size: var(--matcha-text-label-sm, 13px);
|
|
110
|
-
font-weight: var(--matcha-weight-medium, 500);
|
|
111
|
-
line-height: var(--matcha-leading-label-sm, 19px);
|
|
112
|
-
letter-spacing: var(--matcha-letter-spacing-button, 0.2px);
|
|
113
|
-
white-space: nowrap;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// ── Layout — Profile Card (legacy) ──────────────────────────────────────────
|
|
118
|
-
|
|
119
|
-
.matcha-header-profile {
|
|
120
|
-
display: flex;
|
|
121
|
-
flex-direction: column;
|
|
122
|
-
gap: var(--matcha-space-200, 16px);
|
|
123
|
-
padding: var(--matcha-space-300, 24px);
|
|
124
|
-
border-radius: var(--matcha-radius-lg, 8px);
|
|
125
|
-
width: 100%;
|
|
126
|
-
|
|
127
|
-
.profile-nav {
|
|
128
|
-
display: flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
justify-content: space-between;
|
|
131
|
-
gap: var(--matcha-space-100, 8px);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.profile-back {
|
|
135
|
-
display: flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
gap: var(--matcha-space-100, 8px);
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
border: none;
|
|
140
|
-
background: none;
|
|
141
|
-
padding: 0;
|
|
142
|
-
font-family: var(--matcha-font-family);
|
|
143
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.profile-dates {
|
|
147
|
-
display: flex;
|
|
148
|
-
align-items: center;
|
|
149
|
-
gap: var(--matcha-space-200, 16px);
|
|
150
|
-
font-family: var(--matcha-font-family);
|
|
151
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
152
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.profile-row {
|
|
156
|
-
display: flex;
|
|
157
|
-
align-items: center;
|
|
158
|
-
gap: var(--matcha-space-200, 16px);
|
|
159
|
-
width: 100%;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.profile-info {
|
|
163
|
-
display: flex;
|
|
164
|
-
flex-direction: column;
|
|
165
|
-
gap: var(--matcha-space-050, 4px);
|
|
166
|
-
flex: 1;
|
|
167
|
-
min-width: 0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.profile-name {
|
|
171
|
-
font-family: var(--matcha-font-family);
|
|
172
|
-
font-size: var(--matcha-text-display, 32px);
|
|
173
|
-
font-weight: var(--matcha-weight-bold, 700);
|
|
174
|
-
line-height: var(--matcha-leading-display, 40px);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.profile-meta {
|
|
178
|
-
display: flex;
|
|
179
|
-
align-items: center;
|
|
180
|
-
gap: var(--matcha-space-100, 8px);
|
|
181
|
-
flex-wrap: wrap;
|
|
182
|
-
font-family: var(--matcha-font-family);
|
|
183
|
-
font-size: var(--matcha-text-body-sm, 12px);
|
|
184
|
-
line-height: var(--matcha-leading-body-sm, 16px);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.profile-actions {
|
|
188
|
-
display: flex;
|
|
189
|
-
align-items: center;
|
|
190
|
-
gap: var(--matcha-space-100, 8px);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.profile-church {
|
|
194
|
-
display: flex;
|
|
195
|
-
align-items: center;
|
|
196
|
-
justify-content: space-between;
|
|
197
|
-
gap: var(--matcha-space-100, 8px);
|
|
198
|
-
width: 100%;
|
|
199
|
-
font-family: var(--matcha-font-family);
|
|
200
|
-
font-size: var(--matcha-text-title-sm, 16px);
|
|
201
|
-
font-weight: var(--matcha-weight-semibold, 600);
|
|
202
|
-
line-height: var(--matcha-leading-title-sm, 22px);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.profile-footer {
|
|
206
|
-
display: flex;
|
|
207
|
-
align-items: center;
|
|
208
|
-
justify-content: space-between;
|
|
209
|
-
gap: var(--matcha-space-200, 16px);
|
|
210
|
-
width: 100%;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.profile-functions {
|
|
214
|
-
display: flex;
|
|
215
|
-
align-items: center;
|
|
216
|
-
gap: var(--matcha-space-050, 4px);
|
|
217
|
-
font-family: var(--matcha-font-family);
|
|
218
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
219
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.profile-enrollment {
|
|
223
|
-
display: flex;
|
|
224
|
-
align-items: center;
|
|
225
|
-
gap: var(--matcha-space-100, 8px);
|
|
226
|
-
font-family: var(--matcha-font-family);
|
|
227
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
228
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
// ── Responsive (legacy) ──
|
|
233
|
-
@include media-breakpoint('xs') {
|
|
234
|
-
.matcha-header {
|
|
235
|
-
&__content {
|
|
236
|
-
height: var(--matcha-space-600, 48px);
|
|
237
|
-
padding: var(--matcha-space-100, 8px) var(--matcha-space-200, 16px);
|
|
238
|
-
}
|
|
239
|
-
.matcha-header-user-name { display: none; }
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.matcha-header-profile {
|
|
243
|
-
.profile-nav { flex-direction: column; align-items: flex-start; }
|
|
244
|
-
.profile-dates { flex-wrap: wrap; }
|
|
245
|
-
.profile-row { flex-direction: column; align-items: flex-start; }
|
|
246
|
-
.profile-name {
|
|
247
|
-
font-size: var(--matcha-text-title-md, 18px);
|
|
248
|
-
font-weight: var(--matcha-weight-semibold, 600);
|
|
249
|
-
line-height: var(--matcha-leading-title-md, 24px);
|
|
250
|
-
}
|
|
251
|
-
.profile-footer { flex-direction: column; align-items: flex-start; gap: var(--matcha-space-100, 8px); }
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
@media (prefers-reduced-motion: reduce) {
|
|
256
|
-
.matcha-header-profile .profile-edit,
|
|
257
|
-
.matcha-header-profile .profile-back {
|
|
258
|
-
transition: none;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
1
|
+
@use "../abstracts/media-breakpoint" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
4
|
+
// =============================================================================
|
|
5
|
+
// app-page-header.scss
|
|
6
|
+
//
|
|
7
|
+
// Legacy `.matcha-header__*` — page-header da APP design-system (NÃO é o lib
|
|
8
|
+
// component matcha-header). Mantido pra back-compat enquanto a app não migra
|
|
9
|
+
// pro lib `<matcha-header>` com slots.
|
|
10
|
+
//
|
|
11
|
+
// Usado por:
|
|
12
|
+
// • src/app/layout/header/page-header.component.{html,scss}
|
|
13
|
+
// • src/app/pages/page-matcha-header (demos legacy)
|
|
14
|
+
// • src/app/pages/page-matcha-menu (demo de profile card)
|
|
15
|
+
//
|
|
16
|
+
// Para o componente canônico Figma DSV3 1:1, ver `matcha-header.scss`.
|
|
17
|
+
// =============================================================================
|
|
18
|
+
|
|
19
|
+
@mixin app-page-header-theme($theme) {
|
|
20
|
+
|
|
21
|
+
.matcha-header {
|
|
22
|
+
&__content {
|
|
23
|
+
background: var(--matcha-color-surface);
|
|
24
|
+
|
|
25
|
+
&__title__icon {
|
|
26
|
+
color: var(--matcha-color-text-label);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__options {
|
|
30
|
+
background: var(--matcha-color-surface);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.matcha-header-church-id {
|
|
35
|
+
color: var(--matcha-color-text-placeholder);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.matcha-header-user-name {
|
|
39
|
+
color: var(--matcha-color-fg);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include media-breakpoint('gt-sm') {
|
|
43
|
+
&__content {
|
|
44
|
+
background: var(--matcha-color-surface);
|
|
45
|
+
&__options { background: transparent; }
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.matcha-header-profile {
|
|
51
|
+
background: var(--matcha-color-surface);
|
|
52
|
+
.profile-back { color: var(--matcha-color-fg); &:hover { opacity: 0.8; } &:focus-visible { outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent); outline-offset: var(--matcha-state-focus-ring-offset, 2px); border-radius: var(--matcha-radius-md, 4px); } }
|
|
53
|
+
.profile-dates { color: var(--matcha-color-text-label); }
|
|
54
|
+
.profile-name { color: var(--matcha-color-fg); }
|
|
55
|
+
.profile-meta { color: var(--matcha-color-text-label); }
|
|
56
|
+
.profile-church { color: var(--matcha-color-fg); }
|
|
57
|
+
.profile-function-label { color: var(--matcha-color-accent); }
|
|
58
|
+
.profile-function-value { color: var(--matcha-color-text-label); }
|
|
59
|
+
.profile-enrollment { color: var(--matcha-color-fg); }
|
|
60
|
+
.profile-edit { color: var(--matcha-color-text-label); cursor: pointer; &:hover { color: var(--matcha-color-fg); } &:focus-visible { outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent); outline-offset: var(--matcha-state-focus-ring-offset, 2px); } }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// ── Layout — page-header (legacy) ───────────────────────────────────────────
|
|
65
|
+
|
|
66
|
+
.matcha-header {
|
|
67
|
+
&__content {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-wrap: wrap;
|
|
70
|
+
align-items: center;
|
|
71
|
+
justify-content: space-between;
|
|
72
|
+
width: 100%;
|
|
73
|
+
height: var(--matcha-space-600, 48px);
|
|
74
|
+
padding: var(--matcha-space-100, 8px) var(--matcha-space-300, 24px) var(--matcha-space-100, 8px) var(--matcha-space-200, 16px);
|
|
75
|
+
gap: var(--matcha-space-200, 16px);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.matcha-header-left {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: var(--matcha-space-200, 16px);
|
|
82
|
+
flex: 1;
|
|
83
|
+
min-width: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.matcha-header-right {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
gap: var(--matcha-space-200, 16px);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.matcha-header-user {
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
gap: var(--matcha-space-100, 8px);
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.matcha-header-church-id {
|
|
100
|
+
font-family: var(--matcha-font-family);
|
|
101
|
+
font-size: var(--matcha-text-p-tiny, 11px);
|
|
102
|
+
line-height: var(--matcha-leading-p-tiny, 14px);
|
|
103
|
+
letter-spacing: var(--matcha-letter-spacing-caption, 0.3px);
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.matcha-header-user-name {
|
|
108
|
+
font-family: var(--matcha-font-family);
|
|
109
|
+
font-size: var(--matcha-text-label-sm, 13px);
|
|
110
|
+
font-weight: var(--matcha-weight-medium, 500);
|
|
111
|
+
line-height: var(--matcha-leading-label-sm, 19px);
|
|
112
|
+
letter-spacing: var(--matcha-letter-spacing-button, 0.2px);
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// ── Layout — Profile Card (legacy) ──────────────────────────────────────────
|
|
118
|
+
|
|
119
|
+
.matcha-header-profile {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex-direction: column;
|
|
122
|
+
gap: var(--matcha-space-200, 16px);
|
|
123
|
+
padding: var(--matcha-space-300, 24px);
|
|
124
|
+
border-radius: var(--matcha-radius-lg, 8px);
|
|
125
|
+
width: 100%;
|
|
126
|
+
|
|
127
|
+
.profile-nav {
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: space-between;
|
|
131
|
+
gap: var(--matcha-space-100, 8px);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.profile-back {
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
gap: var(--matcha-space-100, 8px);
|
|
138
|
+
cursor: pointer;
|
|
139
|
+
border: none;
|
|
140
|
+
background: none;
|
|
141
|
+
padding: 0;
|
|
142
|
+
font-family: var(--matcha-font-family);
|
|
143
|
+
font-size: var(--matcha-text-body-md, 14px);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.profile-dates {
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
gap: var(--matcha-space-200, 16px);
|
|
150
|
+
font-family: var(--matcha-font-family);
|
|
151
|
+
font-size: var(--matcha-text-body-md, 14px);
|
|
152
|
+
line-height: var(--matcha-leading-body-md, 20px);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.profile-row {
|
|
156
|
+
display: flex;
|
|
157
|
+
align-items: center;
|
|
158
|
+
gap: var(--matcha-space-200, 16px);
|
|
159
|
+
width: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.profile-info {
|
|
163
|
+
display: flex;
|
|
164
|
+
flex-direction: column;
|
|
165
|
+
gap: var(--matcha-space-050, 4px);
|
|
166
|
+
flex: 1;
|
|
167
|
+
min-width: 0;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.profile-name {
|
|
171
|
+
font-family: var(--matcha-font-family);
|
|
172
|
+
font-size: var(--matcha-text-display, 32px);
|
|
173
|
+
font-weight: var(--matcha-weight-bold, 700);
|
|
174
|
+
line-height: var(--matcha-leading-display, 40px);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.profile-meta {
|
|
178
|
+
display: flex;
|
|
179
|
+
align-items: center;
|
|
180
|
+
gap: var(--matcha-space-100, 8px);
|
|
181
|
+
flex-wrap: wrap;
|
|
182
|
+
font-family: var(--matcha-font-family);
|
|
183
|
+
font-size: var(--matcha-text-body-sm, 12px);
|
|
184
|
+
line-height: var(--matcha-leading-body-sm, 16px);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.profile-actions {
|
|
188
|
+
display: flex;
|
|
189
|
+
align-items: center;
|
|
190
|
+
gap: var(--matcha-space-100, 8px);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.profile-church {
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: space-between;
|
|
197
|
+
gap: var(--matcha-space-100, 8px);
|
|
198
|
+
width: 100%;
|
|
199
|
+
font-family: var(--matcha-font-family);
|
|
200
|
+
font-size: var(--matcha-text-title-sm, 16px);
|
|
201
|
+
font-weight: var(--matcha-weight-semibold, 600);
|
|
202
|
+
line-height: var(--matcha-leading-title-sm, 22px);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.profile-footer {
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
justify-content: space-between;
|
|
209
|
+
gap: var(--matcha-space-200, 16px);
|
|
210
|
+
width: 100%;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.profile-functions {
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
gap: var(--matcha-space-050, 4px);
|
|
217
|
+
font-family: var(--matcha-font-family);
|
|
218
|
+
font-size: var(--matcha-text-body-md, 14px);
|
|
219
|
+
line-height: var(--matcha-leading-body-md, 20px);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.profile-enrollment {
|
|
223
|
+
display: flex;
|
|
224
|
+
align-items: center;
|
|
225
|
+
gap: var(--matcha-space-100, 8px);
|
|
226
|
+
font-family: var(--matcha-font-family);
|
|
227
|
+
font-size: var(--matcha-text-body-md, 14px);
|
|
228
|
+
line-height: var(--matcha-leading-body-md, 20px);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
// ── Responsive (legacy) ──
|
|
233
|
+
@include media-breakpoint('xs') {
|
|
234
|
+
.matcha-header {
|
|
235
|
+
&__content {
|
|
236
|
+
height: var(--matcha-space-600, 48px);
|
|
237
|
+
padding: var(--matcha-space-100, 8px) var(--matcha-space-200, 16px);
|
|
238
|
+
}
|
|
239
|
+
.matcha-header-user-name { display: none; }
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.matcha-header-profile {
|
|
243
|
+
.profile-nav { flex-direction: column; align-items: flex-start; }
|
|
244
|
+
.profile-dates { flex-wrap: wrap; }
|
|
245
|
+
.profile-row { flex-direction: column; align-items: flex-start; }
|
|
246
|
+
.profile-name {
|
|
247
|
+
font-size: var(--matcha-text-title-md, 18px);
|
|
248
|
+
font-weight: var(--matcha-weight-semibold, 600);
|
|
249
|
+
line-height: var(--matcha-leading-title-md, 24px);
|
|
250
|
+
}
|
|
251
|
+
.profile-footer { flex-direction: column; align-items: flex-start; gap: var(--matcha-space-100, 8px); }
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@media (prefers-reduced-motion: reduce) {
|
|
256
|
+
.matcha-header-profile .profile-edit,
|
|
257
|
+
.matcha-header-profile .profile-back {
|
|
258
|
+
transition: none;
|
|
259
|
+
}
|
|
260
|
+
}
|