@inchurch/matcha-theme 20.0.8 → 20.276.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 +404 -404
- package/abstracts/_elevation.scss +102 -102
- package/abstracts/_functions.scss +1212 -1212
- package/abstracts/_media-breakpoint.scss +23 -23
- package/abstracts/_typography.scss +127 -127
- package/base/_reset.scss +438 -438
- package/components/app-page-header.scss +260 -0
- package/components/matcha-accordion.scss +294 -157
- package/components/matcha-avatar.scss +171 -31
- package/components/matcha-badge.scss +4 -4
- package/components/matcha-breadcrumb.scss +232 -126
- package/components/matcha-button-toggle.scss +44 -0
- package/components/matcha-buttons.scss +908 -784
- package/components/matcha-calendar.scss +70 -2
- package/components/matcha-cards.scss +28 -2
- package/components/matcha-checkbox.scss +191 -490
- package/components/matcha-chip.scss +297 -212
- package/components/matcha-command-palette.scss +291 -63
- package/components/matcha-crop.scss +407 -172
- package/components/matcha-date.scss +81 -81
- package/components/matcha-divider.scss +86 -31
- package/components/matcha-drawer.scss +201 -50
- package/components/matcha-drop-image.scss +14 -0
- package/components/matcha-drop-list.scss +42 -1
- package/components/matcha-empty-state.scss +195 -83
- package/components/matcha-flag.scss +93 -52
- package/components/matcha-footer.scss +68 -164
- package/components/matcha-form-field.scss +52 -0
- package/components/matcha-form-section.scss +101 -101
- package/components/matcha-header.scss +135 -325
- package/components/matcha-highlight.scss +65 -197
- package/components/matcha-hint-text.scss +21 -0
- package/components/matcha-horizontal-tree.scss +317 -317
- package/components/matcha-icon.scss +17 -25
- package/components/matcha-list.scss +5 -5
- package/components/matcha-menu.scss +13 -0
- package/components/matcha-modal.scss +58 -84
- package/components/matcha-nav.scss +361 -230
- package/components/matcha-notification.scss +413 -197
- package/components/matcha-option.scss +79 -23
- package/components/matcha-paginator.scss +689 -235
- package/components/matcha-panel.scss +42 -26
- package/components/matcha-profile-card.scss +50 -50
- package/components/matcha-progress-bar.scss +257 -153
- package/components/matcha-radio.scss +244 -452
- package/components/matcha-scrollbox-shadow.scss +122 -122
- package/components/matcha-select.scss +3 -3
- package/components/matcha-skeleton.scss +18 -0
- package/components/matcha-slide-toggle.scss +47 -2
- package/components/matcha-slider.scss +172 -75
- package/components/matcha-snack-bar.scss +114 -121
- package/components/matcha-spinner.scss +76 -57
- package/components/matcha-status-pill.scss +82 -0
- package/components/matcha-stepper.scss +377 -177
- package/components/matcha-table.scss +569 -785
- package/components/matcha-tabs.scss +624 -469
- package/components/matcha-text-editor.scss +98 -144
- package/components/matcha-toolbar.scss +359 -206
- package/components/matcha-tooltip.scss +156 -62
- package/components/matcha-tree-view.scss +189 -0
- package/components/matcha-uploader.scss +240 -62
- package/fonts/manrope/manrope-latin-ext.woff2 +0 -0
- package/fonts/manrope/manrope-latin.woff2 +0 -0
- package/layout/matcha-page-layout.scss +776 -0
- package/main.scss +232 -261
- package/package.json +1 -1
- package/tokens/_animations-tokens.scss +37 -37
- package/tokens/_breakpoints-tokens.scss +35 -26
- package/tokens/_color-tokens.scss +1152 -1152
- package/tokens/_css-custom-properties.scss +650 -568
- package/tokens/_spacing-tokens.scss +94 -94
- package/vendors/angular-editor.scss +56 -56
- package/vendors/angular-material-fixes.scss +297 -297
- package/vendors/charts.scss +92 -92
- package/vendors/ng5-slider.scss +56 -56
- package/vendors/ngx-material-timepicker.scss +50 -50
- package/fonts/CircularStd-Black.eot +0 -0
- package/fonts/CircularStd-Black.svg +0 -3426
- package/fonts/CircularStd-Black.ttf +0 -0
- package/fonts/CircularStd-Black.woff +0 -0
- package/fonts/CircularStd-Black.woff2 +0 -0
- package/fonts/CircularStd-Bold.eot +0 -0
- package/fonts/CircularStd-Bold.otf +0 -0
- package/fonts/CircularStd-Bold.svg +0 -13532
- package/fonts/CircularStd-Bold.ttf +0 -0
- package/fonts/CircularStd-Bold.woff +0 -0
- package/fonts/CircularStd-Bold.woff2 +0 -0
- package/fonts/CircularStd-Medium.eot +0 -0
- package/fonts/CircularStd-Medium.otf +0 -0
- package/fonts/CircularStd-Medium.svg +0 -13511
- package/fonts/CircularStd-Medium.ttf +0 -0
- package/fonts/CircularStd-Medium.woff +0 -0
- package/fonts/CircularStd-Medium.woff2 +0 -0
- package/fonts/CircularStd-Regular.eot +0 -0
- package/fonts/CircularStd-Regular.otf +0 -0
- package/fonts/CircularStd-Regular.svg +0 -2378
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/fonts/CircularStd-Regular.woff2 +0 -0
|
@@ -1,325 +1,135 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
|
|
3
|
-
// =============================================================================
|
|
4
|
-
// matcha-header.scss
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
align-items: center;
|
|
137
|
-
gap: var(--matcha-space-100, 8px);
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.matcha-header-church-id {
|
|
142
|
-
font-family: var(--matcha-font-family);
|
|
143
|
-
font-size: var(--matcha-text-caption, 11px);
|
|
144
|
-
line-height: var(--matcha-leading-caption, 14px);
|
|
145
|
-
letter-spacing: var(--matcha-letter-spacing-caption, 0.3px);
|
|
146
|
-
white-space: nowrap;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.matcha-header-user-name {
|
|
150
|
-
font-family: var(--matcha-font-family);
|
|
151
|
-
font-size: var(--matcha-text-button-sm, 13px);
|
|
152
|
-
font-weight: var(--matcha-weight-medium, 500);
|
|
153
|
-
line-height: var(--matcha-leading-button-sm, 19px);
|
|
154
|
-
letter-spacing: var(--matcha-letter-spacing-button, 0.2px);
|
|
155
|
-
white-space: nowrap;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// ── Layout — Profile Card ───────────────────────────────────────────────────
|
|
160
|
-
|
|
161
|
-
.matcha-header-profile {
|
|
162
|
-
display: flex;
|
|
163
|
-
flex-direction: column;
|
|
164
|
-
gap: var(--matcha-space-200, 16px);
|
|
165
|
-
padding: var(--matcha-space-300, 24px);
|
|
166
|
-
border-radius: var(--matcha-radius-lg, 8px);
|
|
167
|
-
width: 100%;
|
|
168
|
-
|
|
169
|
-
.profile-nav {
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
justify-content: space-between;
|
|
173
|
-
gap: var(--matcha-space-100, 8px);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.profile-back {
|
|
177
|
-
display: flex;
|
|
178
|
-
align-items: center;
|
|
179
|
-
gap: var(--matcha-space-100, 8px);
|
|
180
|
-
cursor: pointer;
|
|
181
|
-
border: none;
|
|
182
|
-
background: none;
|
|
183
|
-
padding: 0;
|
|
184
|
-
font-family: var(--matcha-font-family);
|
|
185
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.profile-dates {
|
|
189
|
-
display: flex;
|
|
190
|
-
align-items: center;
|
|
191
|
-
gap: var(--matcha-space-200, 16px);
|
|
192
|
-
font-family: var(--matcha-font-family);
|
|
193
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
194
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.profile-row {
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
gap: var(--matcha-space-200, 16px);
|
|
201
|
-
width: 100%;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.profile-info {
|
|
205
|
-
display: flex;
|
|
206
|
-
flex-direction: column;
|
|
207
|
-
gap: var(--matcha-space-050, 4px);
|
|
208
|
-
flex: 1;
|
|
209
|
-
min-width: 0;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.profile-name {
|
|
213
|
-
font-family: var(--matcha-font-family);
|
|
214
|
-
font-size: var(--matcha-text-display, 32px);
|
|
215
|
-
font-weight: var(--matcha-weight-bold, 700);
|
|
216
|
-
line-height: var(--matcha-leading-display, 40px);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.profile-meta {
|
|
220
|
-
display: flex;
|
|
221
|
-
align-items: center;
|
|
222
|
-
gap: var(--matcha-space-100, 8px);
|
|
223
|
-
flex-wrap: wrap;
|
|
224
|
-
font-family: var(--matcha-font-family);
|
|
225
|
-
font-size: var(--matcha-text-body-sm, 12px);
|
|
226
|
-
line-height: var(--matcha-leading-body-sm, 16px);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.profile-actions {
|
|
230
|
-
display: flex;
|
|
231
|
-
align-items: center;
|
|
232
|
-
gap: var(--matcha-space-100, 8px);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.profile-church {
|
|
236
|
-
display: flex;
|
|
237
|
-
align-items: center;
|
|
238
|
-
justify-content: space-between;
|
|
239
|
-
gap: var(--matcha-space-100, 8px);
|
|
240
|
-
width: 100%;
|
|
241
|
-
font-family: var(--matcha-font-family);
|
|
242
|
-
font-size: var(--matcha-text-title-sm, 16px);
|
|
243
|
-
font-weight: var(--matcha-weight-semibold, 600);
|
|
244
|
-
line-height: var(--matcha-leading-title-sm, 22px);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.profile-footer {
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: center;
|
|
250
|
-
justify-content: space-between;
|
|
251
|
-
gap: var(--matcha-space-200, 16px);
|
|
252
|
-
width: 100%;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.profile-functions {
|
|
256
|
-
display: flex;
|
|
257
|
-
align-items: center;
|
|
258
|
-
gap: var(--matcha-space-050, 4px);
|
|
259
|
-
font-family: var(--matcha-font-family);
|
|
260
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
261
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.profile-enrollment {
|
|
265
|
-
display: flex;
|
|
266
|
-
align-items: center;
|
|
267
|
-
gap: var(--matcha-space-100, 8px);
|
|
268
|
-
font-family: var(--matcha-font-family);
|
|
269
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
270
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// ── Responsive — Header ──
|
|
275
|
-
@include media-breakpoint('xs') {
|
|
276
|
-
.matcha-header {
|
|
277
|
-
&__content {
|
|
278
|
-
height: var(--matcha-space-600, 48px);
|
|
279
|
-
padding: var(--matcha-space-100, 8px) var(--matcha-space-200, 16px);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.matcha-header-user-name {
|
|
283
|
-
display: none;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
// ── Responsive — Profile ──
|
|
289
|
-
@include media-breakpoint('xs') {
|
|
290
|
-
.matcha-header-profile {
|
|
291
|
-
.profile-nav {
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
align-items: flex-start;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.profile-dates {
|
|
297
|
-
flex-wrap: wrap;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.profile-row {
|
|
301
|
-
flex-direction: column;
|
|
302
|
-
align-items: flex-start;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.profile-name {
|
|
306
|
-
font-size: var(--matcha-text-title-md, 18px);
|
|
307
|
-
font-weight: var(--matcha-weight-semibold, 600);
|
|
308
|
-
line-height: var(--matcha-leading-title-md, 24px);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.profile-footer {
|
|
312
|
-
flex-direction: column;
|
|
313
|
-
align-items: flex-start;
|
|
314
|
-
gap: var(--matcha-space-100, 8px);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
// ── Reduced motion ──
|
|
320
|
-
@media (prefers-reduced-motion: reduce) {
|
|
321
|
-
.matcha-header-profile .profile-edit,
|
|
322
|
-
.matcha-header-profile .profile-back {
|
|
323
|
-
transition: none;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
// =============================================================================
|
|
4
|
+
// matcha-header.scss
|
|
5
|
+
//
|
|
6
|
+
// Lib component canônico — 1:1 Figma DSV3 `matcha/header` (nodeId 15892:157).
|
|
7
|
+
// Element selector `matcha-header { ... }`, 2 slots (left/right).
|
|
8
|
+
//
|
|
9
|
+
// Para o page-header legacy (`.matcha-header__*` usado pela app design-system),
|
|
10
|
+
// ver `app-page-header.scss`.
|
|
11
|
+
// =============================================================================
|
|
12
|
+
|
|
13
|
+
@mixin matcha-header-theme($theme) {
|
|
14
|
+
$is-dark: map.get($theme, is-dark);
|
|
15
|
+
|
|
16
|
+
matcha-header {
|
|
17
|
+
background: var(--matcha-color-surface-card, #{getSurface($theme)});
|
|
18
|
+
// Border uses interaction/disabled-border (1:1 Figma matcha/header 15892:157):
|
|
19
|
+
// dark = rgba(232,234,237,0.38); light = #c8d2ca. Semanticamente atípico —
|
|
20
|
+
// o token canônico de "divisor de chrome" seria surface/border, mas Figma
|
|
21
|
+
// bind explicitamente este. Trocar de volta se for revertido lá.
|
|
22
|
+
border-bottom: var(--matcha-border-hairline, 1px) solid var(--matcha-color-interaction-disabled-border, #{getGrey($theme)});
|
|
23
|
+
color: var(--matcha-color-text-primary, #{getForeground($theme)});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// ── Layout — matcha-header lib component ────────────────────────────────────
|
|
28
|
+
|
|
29
|
+
matcha-header {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
width: 100%;
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
position: relative;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
// Figma DSV3: h 56, padding 8/24/8/16 (asimétrico: l 16 / r 24).
|
|
38
|
+
// Logical props pra RTL: inline-start = left (16), inline-end = right (24).
|
|
39
|
+
block-size: var(--matcha-header-height, 56px);
|
|
40
|
+
padding-block: var(--matcha-space-100, 8px);
|
|
41
|
+
padding-inline-start: var(--matcha-space-200, 16px);
|
|
42
|
+
padding-inline-end: var(--matcha-space-300, 24px);
|
|
43
|
+
gap: var(--matcha-space-200, 16px);
|
|
44
|
+
// Bottom corners arredondados (header sentado no topo, oposto do footer).
|
|
45
|
+
border-end-start-radius: var(--matcha-radius-lg, 8px);
|
|
46
|
+
border-end-end-radius: var(--matcha-radius-lg, 8px);
|
|
47
|
+
// Figma DSV3 description: "Elevation: level-1" — eleva o header sobre o body.
|
|
48
|
+
box-shadow: var(--matcha-shadow-1);
|
|
49
|
+
font-family: var(--matcha-font-family);
|
|
50
|
+
font-size: var(--matcha-text-label-sm, 13px);
|
|
51
|
+
line-height: var(--matcha-leading-label-sm, 19px);
|
|
52
|
+
|
|
53
|
+
// ── Slots ──
|
|
54
|
+
.matcha-header__slot {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
gap: var(--matcha-space-200, 16px);
|
|
58
|
+
// min-width:0 permite que filhos com overflow:hidden+ellipsis encolham.
|
|
59
|
+
// Não usamos overflow:hidden no slot pra não clipar tooltips/menus
|
|
60
|
+
// posicionados inline a partir de filhos.
|
|
61
|
+
min-width: 0;
|
|
62
|
+
|
|
63
|
+
// Hide vazio — slot só renderiza com conteúdo.
|
|
64
|
+
&:not(:has(*)) {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.matcha-header__slot--left {
|
|
70
|
+
flex: 1 1 auto;
|
|
71
|
+
justify-content: flex-start;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.matcha-header__slot--right {
|
|
75
|
+
flex: 0 0 auto;
|
|
76
|
+
justify-content: flex-end;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Hamburguer — não encolhe, participa do gap do slot--left (space-200).
|
|
80
|
+
.matcha-header__menu-trigger {
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// ── Forced colors (Windows High Contrast) ──────────────────────────────────
|
|
86
|
+
// Border hairline (12% opacidade) pode sumir em high-contrast.
|
|
87
|
+
// CanvasText é o token system semantic — sempre visível.
|
|
88
|
+
@media (forced-colors: active) {
|
|
89
|
+
matcha-header {
|
|
90
|
+
border-bottom: 1px solid CanvasText;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// ── Reduced motion (defensivo) ──────────────────────────────────────────────
|
|
95
|
+
// Hoje header não tem transitions, mas cobre futuro (sticky shadow, hide-on-scroll).
|
|
96
|
+
@media (prefers-reduced-motion: reduce) {
|
|
97
|
+
matcha-header {
|
|
98
|
+
transition: none !important;
|
|
99
|
+
animation: none !important;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// ── Print ──────────────────────────────────────────────────────────────────
|
|
104
|
+
// Convenção DS: chrome (header/footer) some em impressão.
|
|
105
|
+
@media print {
|
|
106
|
+
matcha-header {
|
|
107
|
+
display: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// ── Menu trigger — visível apenas em tablet/mobile (< 1024px) ───────────────
|
|
112
|
+
// Em desktop o nav-rail/panel fica sempre visível; hamburguer não é necessário.
|
|
113
|
+
// Consumer pode sobreescrever com [showMenuTrigger]="false" se quiser esconder
|
|
114
|
+
// em breakpoints diferentes.
|
|
115
|
+
@media (min-width: 1024px) {
|
|
116
|
+
matcha-header .matcha-header__menu-trigger {
|
|
117
|
+
display: none !important;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// ── Responsive — matcha-header (Mobile, xs) ──
|
|
122
|
+
@include media-breakpoint('xs') {
|
|
123
|
+
matcha-header {
|
|
124
|
+
// Figma DSV3 Mobile (node 15892:124 — matcha/header Estilo=Mobile):
|
|
125
|
+
// h 48 (token --matcha-grid-header-height-mobile, NÃO 56 — versão
|
|
126
|
+
// compactada pra reduzir chrome em viewport pequeno),
|
|
127
|
+
// padding 8/16/8/16 (simétrico), gap 16.
|
|
128
|
+
block-size: var(--matcha-grid-header-height-mobile, 48px);
|
|
129
|
+
padding-inline-start: var(--matcha-space-200, 16px);
|
|
130
|
+
padding-inline-end: var(--matcha-space-200, 16px);
|
|
131
|
+
// Mobile remove radius — header full-width edge-to-edge.
|
|
132
|
+
border-end-start-radius: 0;
|
|
133
|
+
border-end-end-radius: 0;
|
|
134
|
+
}
|
|
135
|
+
}
|