@inchurch/matcha-theme 21.4.0 → 22.1.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 -236
- 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 +446 -445
- 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 +383 -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-contact.scss +35 -0
- 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 +49 -41
- package/components/matcha-table.scss +579 -579
- 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 -257
- package/layout/matcha-page-layout.scss +778 -778
- package/main.scss +331 -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 -274
- 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,34 +1,34 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
|
|
3
|
-
@mixin matcha-scrollbar-theme($theme) {
|
|
4
|
-
|
|
5
|
-
:not(.is-mobile) {
|
|
6
|
-
::-webkit-scrollbar {
|
|
7
|
-
width: var(--matcha-space-200, 16px);
|
|
8
|
-
height: var(--matcha-space-200, 16px);
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
::-webkit-scrollbar:hover {
|
|
13
|
-
background-color: var(--matcha-color-surface-hover);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
::-webkit-scrollbar-thumb {
|
|
17
|
-
border: var(--matcha-space-050, 4px) solid transparent;
|
|
18
|
-
// Thumb: grey #888 + alpha 0x33 (~0.2) — fallback hex pra estabilidade em webkit
|
|
19
|
-
box-shadow: inset 0 0 0 var(--matcha-space-150, 12px) #88888833;
|
|
20
|
-
border-radius: var(--matcha-radius-xl, 16px);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
::-webkit-scrollbar-thumb:active {
|
|
24
|
-
// Thumb active: grey #888 + alpha 0x44 (~0.27)
|
|
25
|
-
box-shadow: inset 0 0 0 var(--matcha-space-150, 12px) #88888844;
|
|
26
|
-
border-radius: var(--matcha-radius-xl, 16px);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
::-webkit-scrollbar-corner {
|
|
30
|
-
background: transparent;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
3
|
+
@mixin matcha-scrollbar-theme($theme) {
|
|
4
|
+
|
|
5
|
+
:not(.is-mobile) {
|
|
6
|
+
::-webkit-scrollbar {
|
|
7
|
+
width: var(--matcha-space-200, 16px);
|
|
8
|
+
height: var(--matcha-space-200, 16px);
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
::-webkit-scrollbar:hover {
|
|
13
|
+
background-color: var(--matcha-color-surface-hover);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
::-webkit-scrollbar-thumb {
|
|
17
|
+
border: var(--matcha-space-050, 4px) solid transparent;
|
|
18
|
+
// Thumb: grey #888 + alpha 0x33 (~0.2) — fallback hex pra estabilidade em webkit
|
|
19
|
+
box-shadow: inset 0 0 0 var(--matcha-space-150, 12px) #88888833;
|
|
20
|
+
border-radius: var(--matcha-radius-xl, 16px);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
::-webkit-scrollbar-thumb:active {
|
|
24
|
+
// Thumb active: grey #888 + alpha 0x44 (~0.27)
|
|
25
|
+
box-shadow: inset 0 0 0 var(--matcha-space-150, 12px) #88888844;
|
|
26
|
+
border-radius: var(--matcha-radius-xl, 16px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
::-webkit-scrollbar-corner {
|
|
30
|
+
background: transparent;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
34
|
}
|
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
@mixin matcha-scrollbox-shadow($theme) {
|
|
2
|
-
|
|
3
|
-
// Drop shadow inside of area when scrolled vertically
|
|
4
|
-
.scrollbox,
|
|
5
|
-
.scrollbox-vertical,
|
|
6
|
-
.scrollbox-v,
|
|
7
|
-
.scrollbox-y {
|
|
8
|
-
overflow: overlay;
|
|
9
|
-
background:
|
|
10
|
-
/* Shadow covers */
|
|
11
|
-
linear-gradient(var(--matcha-color-surface) 30%, rgba(255, 255, 255, 0)),
|
|
12
|
-
linear-gradient(rgba(255, 255, 255, 0), var(--matcha-color-surface) 70%) 0 100%,
|
|
13
|
-
/* Shadows */
|
|
14
|
-
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
|
|
15
|
-
linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
|
|
16
|
-
|
|
17
|
-
background-repeat: no-repeat;
|
|
18
|
-
background-color: var(--matcha-color-surface);
|
|
19
|
-
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
20
|
-
|
|
21
|
-
/* Opera doesn't support this in the shorthand */
|
|
22
|
-
background-attachment: local, local, scroll, scroll;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Drop shadow inside of area when scrolled horizontally
|
|
26
|
-
.scrollbox-horizontal,
|
|
27
|
-
.scrollbox-h,
|
|
28
|
-
.scrollbox-x {
|
|
29
|
-
box-shadow: 0px -16px 0px 0px inset var(--matcha-color-surface), 20px 0 16px -24px inset color-mix(in srgb, var(--matcha-color-fg) 15%, transparent),
|
|
30
|
-
-20px 0 16px -24px inset color-mix(in srgb, var(--matcha-color-fg) 15%, transparent), 0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent), 0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent),
|
|
31
|
-
0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent);
|
|
32
|
-
overflow: auto;
|
|
33
|
-
background: linear-gradient(90deg,
|
|
34
|
-
rgba(0, 0, 0, 0.1),
|
|
35
|
-
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
36
|
-
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
37
|
-
rgba(0, 0, 0, 0.1));
|
|
38
|
-
|
|
39
|
-
background: -moz-linear-gradient(90deg,
|
|
40
|
-
rgba(0, 0, 0, 0.1),
|
|
41
|
-
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
42
|
-
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
43
|
-
rgba(0, 0, 0, 0.1));
|
|
44
|
-
|
|
45
|
-
background: -webkit-linear-gradient(0deg,
|
|
46
|
-
rgba(0, 0, 0, 0.1),
|
|
47
|
-
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
48
|
-
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
49
|
-
rgba(0, 0, 0, 0.1));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.scrollbox-horizontal-content,
|
|
53
|
-
.scrollbox-h-content,
|
|
54
|
-
.scrollbox-x-content {
|
|
55
|
-
background: var(--matcha-color-surface);
|
|
56
|
-
background: linear-gradient(90deg,
|
|
57
|
-
var(--matcha-color-surface) 10px,
|
|
58
|
-
var(--matcha-color-surface),
|
|
59
|
-
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
60
|
-
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
61
|
-
var(--matcha-color-surface) 10px,
|
|
62
|
-
var(--matcha-color-surface));
|
|
63
|
-
background: -moz-linear-gradient(90deg,
|
|
64
|
-
var(--matcha-color-surface) 10px,
|
|
65
|
-
var(--matcha-color-surface),
|
|
66
|
-
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
67
|
-
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
68
|
-
var(--matcha-color-surface) 10px,
|
|
69
|
-
var(--matcha-color-surface));
|
|
70
|
-
background: -webkit-linear-gradient(0deg,
|
|
71
|
-
var(--matcha-color-surface) 10px,
|
|
72
|
-
var(--matcha-color-surface),
|
|
73
|
-
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
74
|
-
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
75
|
-
var(--matcha-color-surface) 10px,
|
|
76
|
-
var(--matcha-color-surface));
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.scrollbox-horizontal-content-background,
|
|
80
|
-
.scrollbox-h-content-background,
|
|
81
|
-
.scrollbox-x-content-background {
|
|
82
|
-
background: var(--matcha-color-bg);
|
|
83
|
-
background: linear-gradient(90deg,
|
|
84
|
-
var(--matcha-color-bg) 10px,
|
|
85
|
-
var(--matcha-color-bg),
|
|
86
|
-
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
87
|
-
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
88
|
-
var(--matcha-color-bg) 10px,
|
|
89
|
-
var(--matcha-color-bg));
|
|
90
|
-
background: -moz-linear-gradient(90deg,
|
|
91
|
-
var(--matcha-color-bg) 10px,
|
|
92
|
-
var(--matcha-color-bg),
|
|
93
|
-
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
94
|
-
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
95
|
-
var(--matcha-color-bg) 10px,
|
|
96
|
-
var(--matcha-color-bg));
|
|
97
|
-
background: -webkit-linear-gradient(0deg,
|
|
98
|
-
var(--matcha-color-bg) 10px,
|
|
99
|
-
var(--matcha-color-bg),
|
|
100
|
-
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
101
|
-
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
102
|
-
var(--matcha-color-bg) 10px,
|
|
103
|
-
var(--matcha-color-bg));
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.scrollbox-background {
|
|
107
|
-
overflow: overlay;
|
|
108
|
-
background:
|
|
109
|
-
/* Shadow covers */
|
|
110
|
-
linear-gradient(var(--matcha-color-bg) 30%, rgba(255, 255, 255, 0)),
|
|
111
|
-
linear-gradient(rgba(255, 255, 255, 0), var(--matcha-color-bg) 70%) 0 100%,
|
|
112
|
-
/* Shadows */
|
|
113
|
-
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
|
|
114
|
-
linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
|
|
115
|
-
background-repeat: no-repeat;
|
|
116
|
-
background-color: var(--matcha-color-bg);
|
|
117
|
-
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
118
|
-
/* Opera doesn't support this in the shorthand */
|
|
119
|
-
background-attachment: local, local, scroll, scroll;
|
|
120
|
-
}
|
|
1
|
+
@mixin matcha-scrollbox-shadow($theme) {
|
|
2
|
+
|
|
3
|
+
// Drop shadow inside of area when scrolled vertically
|
|
4
|
+
.scrollbox,
|
|
5
|
+
.scrollbox-vertical,
|
|
6
|
+
.scrollbox-v,
|
|
7
|
+
.scrollbox-y {
|
|
8
|
+
overflow: overlay;
|
|
9
|
+
background:
|
|
10
|
+
/* Shadow covers */
|
|
11
|
+
linear-gradient(var(--matcha-color-surface) 30%, rgba(255, 255, 255, 0)),
|
|
12
|
+
linear-gradient(rgba(255, 255, 255, 0), var(--matcha-color-surface) 70%) 0 100%,
|
|
13
|
+
/* Shadows */
|
|
14
|
+
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
|
|
15
|
+
linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
|
|
16
|
+
|
|
17
|
+
background-repeat: no-repeat;
|
|
18
|
+
background-color: var(--matcha-color-surface);
|
|
19
|
+
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
20
|
+
|
|
21
|
+
/* Opera doesn't support this in the shorthand */
|
|
22
|
+
background-attachment: local, local, scroll, scroll;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Drop shadow inside of area when scrolled horizontally
|
|
26
|
+
.scrollbox-horizontal,
|
|
27
|
+
.scrollbox-h,
|
|
28
|
+
.scrollbox-x {
|
|
29
|
+
box-shadow: 0px -16px 0px 0px inset var(--matcha-color-surface), 20px 0 16px -24px inset color-mix(in srgb, var(--matcha-color-fg) 15%, transparent),
|
|
30
|
+
-20px 0 16px -24px inset color-mix(in srgb, var(--matcha-color-fg) 15%, transparent), 0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent), 0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent),
|
|
31
|
+
0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent);
|
|
32
|
+
overflow: auto;
|
|
33
|
+
background: linear-gradient(90deg,
|
|
34
|
+
rgba(0, 0, 0, 0.1),
|
|
35
|
+
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
36
|
+
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
37
|
+
rgba(0, 0, 0, 0.1));
|
|
38
|
+
|
|
39
|
+
background: -moz-linear-gradient(90deg,
|
|
40
|
+
rgba(0, 0, 0, 0.1),
|
|
41
|
+
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
42
|
+
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
43
|
+
rgba(0, 0, 0, 0.1));
|
|
44
|
+
|
|
45
|
+
background: -webkit-linear-gradient(0deg,
|
|
46
|
+
rgba(0, 0, 0, 0.1),
|
|
47
|
+
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
48
|
+
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
49
|
+
rgba(0, 0, 0, 0.1));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.scrollbox-horizontal-content,
|
|
53
|
+
.scrollbox-h-content,
|
|
54
|
+
.scrollbox-x-content {
|
|
55
|
+
background: var(--matcha-color-surface);
|
|
56
|
+
background: linear-gradient(90deg,
|
|
57
|
+
var(--matcha-color-surface) 10px,
|
|
58
|
+
var(--matcha-color-surface),
|
|
59
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
60
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
61
|
+
var(--matcha-color-surface) 10px,
|
|
62
|
+
var(--matcha-color-surface));
|
|
63
|
+
background: -moz-linear-gradient(90deg,
|
|
64
|
+
var(--matcha-color-surface) 10px,
|
|
65
|
+
var(--matcha-color-surface),
|
|
66
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
67
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
68
|
+
var(--matcha-color-surface) 10px,
|
|
69
|
+
var(--matcha-color-surface));
|
|
70
|
+
background: -webkit-linear-gradient(0deg,
|
|
71
|
+
var(--matcha-color-surface) 10px,
|
|
72
|
+
var(--matcha-color-surface),
|
|
73
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
74
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
75
|
+
var(--matcha-color-surface) 10px,
|
|
76
|
+
var(--matcha-color-surface));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.scrollbox-horizontal-content-background,
|
|
80
|
+
.scrollbox-h-content-background,
|
|
81
|
+
.scrollbox-x-content-background {
|
|
82
|
+
background: var(--matcha-color-bg);
|
|
83
|
+
background: linear-gradient(90deg,
|
|
84
|
+
var(--matcha-color-bg) 10px,
|
|
85
|
+
var(--matcha-color-bg),
|
|
86
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
87
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
88
|
+
var(--matcha-color-bg) 10px,
|
|
89
|
+
var(--matcha-color-bg));
|
|
90
|
+
background: -moz-linear-gradient(90deg,
|
|
91
|
+
var(--matcha-color-bg) 10px,
|
|
92
|
+
var(--matcha-color-bg),
|
|
93
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
94
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
95
|
+
var(--matcha-color-bg) 10px,
|
|
96
|
+
var(--matcha-color-bg));
|
|
97
|
+
background: -webkit-linear-gradient(0deg,
|
|
98
|
+
var(--matcha-color-bg) 10px,
|
|
99
|
+
var(--matcha-color-bg),
|
|
100
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
101
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
102
|
+
var(--matcha-color-bg) 10px,
|
|
103
|
+
var(--matcha-color-bg));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.scrollbox-background {
|
|
107
|
+
overflow: overlay;
|
|
108
|
+
background:
|
|
109
|
+
/* Shadow covers */
|
|
110
|
+
linear-gradient(var(--matcha-color-bg) 30%, rgba(255, 255, 255, 0)),
|
|
111
|
+
linear-gradient(rgba(255, 255, 255, 0), var(--matcha-color-bg) 70%) 0 100%,
|
|
112
|
+
/* Shadows */
|
|
113
|
+
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
|
|
114
|
+
linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
|
|
115
|
+
background-repeat: no-repeat;
|
|
116
|
+
background-color: var(--matcha-color-bg);
|
|
117
|
+
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
118
|
+
/* Opera doesn't support this in the shorthand */
|
|
119
|
+
background-attachment: local, local, scroll, scroll;
|
|
120
|
+
}
|
|
121
121
|
}
|
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
@use "../abstracts/media-breakpoint" as *;
|
|
2
|
-
@use "sass:map";
|
|
3
|
-
|
|
4
|
-
// =============================================================================
|
|
5
|
-
// matcha-section.scss — Section card (config block, settings group)
|
|
6
|
-
// Aligned with Figma matcha/section:
|
|
7
|
-
// Slots: Header (title + badge + action), Body (subtitle + desc + content)
|
|
8
|
-
// Angular: matcha-section
|
|
9
|
-
// =============================================================================
|
|
10
|
-
|
|
11
|
-
@mixin matcha-section-theme($theme) {
|
|
12
|
-
.matcha-section {
|
|
13
|
-
background: var(--matcha-color-surface);
|
|
14
|
-
// Borda só-no-dark vira valor por modo (light = 0/transparent, sem mudar layout).
|
|
15
|
-
border: var(--matcha-section-border);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.matcha-section__subtitle {
|
|
19
|
-
color: var(--matcha-color-fg);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.matcha-section__description {
|
|
23
|
-
color: var(--matcha-color-text-label);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// ── Layout ──────────────────────────────────────────────────────────────────
|
|
28
|
-
|
|
29
|
-
.matcha-section {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
width: 100%;
|
|
33
|
-
border-radius: var(--matcha-radius-lg, 8px);
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
box-sizing: border-box;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// ── Header ──
|
|
39
|
-
.matcha-section__header {
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
-
gap: var(--matcha-space-150, 12px);
|
|
44
|
-
padding: var(--matcha-space-200, 16px) var(--matcha-space-300, 24px);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.matcha-section__header-left {
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
gap: var(--matcha-space-150, 12px);
|
|
51
|
-
flex: 1;
|
|
52
|
-
min-width: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.matcha-section__header-actions {
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
gap: var(--matcha-space-100, 8px);
|
|
59
|
-
flex-shrink: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// ── Body ──
|
|
63
|
-
.matcha-section__body {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
gap: var(--matcha-space-150, 12px);
|
|
67
|
-
padding: var(--matcha-space-200, 16px) var(--matcha-space-300, 24px) var(--matcha-space-300, 24px);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.matcha-section__subtitle {
|
|
71
|
-
font-family: var(--matcha-font-family);
|
|
72
|
-
font-size: var(--matcha-text-title-sm, 16px);
|
|
73
|
-
font-weight: var(--matcha-weight-semibold, 600);
|
|
74
|
-
line-height: var(--matcha-leading-title-sm, 22px);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.matcha-section__description {
|
|
78
|
-
font-family: var(--matcha-font-family);
|
|
79
|
-
font-size: var(--matcha-text-body-md, 14px);
|
|
80
|
-
font-weight: var(--matcha-weight-regular, 400);
|
|
81
|
-
line-height: var(--matcha-leading-body-md, 20px);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.matcha-section__content {
|
|
85
|
-
display: flex;
|
|
86
|
-
flex-direction: column;
|
|
87
|
-
gap: var(--matcha-space-150, 12px);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
// ── Responsive ──────────────────────────────────────────────────────────────
|
|
91
|
-
|
|
92
|
-
@include media-breakpoint('xs') {
|
|
93
|
-
.matcha-section__header {
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
align-items: flex-start;
|
|
96
|
-
padding: var(--matcha-space-200, 16px);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.matcha-section__body {
|
|
100
|
-
padding: var(--matcha-space-200, 16px);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
1
|
+
@use "../abstracts/media-breakpoint" as *;
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
|
|
4
|
+
// =============================================================================
|
|
5
|
+
// matcha-section.scss — Section card (config block, settings group)
|
|
6
|
+
// Aligned with Figma matcha/section:
|
|
7
|
+
// Slots: Header (title + badge + action), Body (subtitle + desc + content)
|
|
8
|
+
// Angular: matcha-section
|
|
9
|
+
// =============================================================================
|
|
10
|
+
|
|
11
|
+
@mixin matcha-section-theme($theme) {
|
|
12
|
+
.matcha-section {
|
|
13
|
+
background: var(--matcha-color-surface);
|
|
14
|
+
// Borda só-no-dark vira valor por modo (light = 0/transparent, sem mudar layout).
|
|
15
|
+
border: var(--matcha-section-border);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.matcha-section__subtitle {
|
|
19
|
+
color: var(--matcha-color-fg);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.matcha-section__description {
|
|
23
|
+
color: var(--matcha-color-text-label);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// ── Layout ──────────────────────────────────────────────────────────────────
|
|
28
|
+
|
|
29
|
+
.matcha-section {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
width: 100%;
|
|
33
|
+
border-radius: var(--matcha-radius-lg, 8px);
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// ── Header ──
|
|
39
|
+
.matcha-section__header {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
gap: var(--matcha-space-150, 12px);
|
|
44
|
+
padding: var(--matcha-space-200, 16px) var(--matcha-space-300, 24px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.matcha-section__header-left {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
gap: var(--matcha-space-150, 12px);
|
|
51
|
+
flex: 1;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.matcha-section__header-actions {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: var(--matcha-space-100, 8px);
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// ── Body ──
|
|
63
|
+
.matcha-section__body {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
gap: var(--matcha-space-150, 12px);
|
|
67
|
+
padding: var(--matcha-space-200, 16px) var(--matcha-space-300, 24px) var(--matcha-space-300, 24px);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.matcha-section__subtitle {
|
|
71
|
+
font-family: var(--matcha-font-family);
|
|
72
|
+
font-size: var(--matcha-text-title-sm, 16px);
|
|
73
|
+
font-weight: var(--matcha-weight-semibold, 600);
|
|
74
|
+
line-height: var(--matcha-leading-title-sm, 22px);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.matcha-section__description {
|
|
78
|
+
font-family: var(--matcha-font-family);
|
|
79
|
+
font-size: var(--matcha-text-body-md, 14px);
|
|
80
|
+
font-weight: var(--matcha-weight-regular, 400);
|
|
81
|
+
line-height: var(--matcha-leading-body-md, 20px);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.matcha-section__content {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
gap: var(--matcha-space-150, 12px);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// ── Responsive ──────────────────────────────────────────────────────────────
|
|
91
|
+
|
|
92
|
+
@include media-breakpoint('xs') {
|
|
93
|
+
.matcha-section__header {
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
align-items: flex-start;
|
|
96
|
+
padding: var(--matcha-space-200, 16px);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.matcha-section__body {
|
|
100
|
+
padding: var(--matcha-space-200, 16px);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
@mixin matcha-select-multiple-theme($theme) {
|
|
2
|
-
// theme-agnóstico: cor via var(--matcha-color-*). $theme mantido só na assinatura.
|
|
3
|
-
|
|
4
|
-
// O matcha-select-multiple reusa as classes .matcha-select-* do matcha-select
|
|
5
|
-
// (.matcha-select-container, .matcha-select-trigger, .matcha-select-value, etc.),
|
|
6
|
-
// então herda toda a aparência do trigger. Aqui replicamos apenas as regras
|
|
7
|
-
// ligadas ao seletor de elemento, que são específicas por tag.
|
|
8
|
-
matcha-select-multiple {
|
|
9
|
-
width: 100%;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Campo de busca dentro do painel (fixo no topo enquanto rola as opções)
|
|
16
|
-
.matcha-select-multiple-search {
|
|
17
|
-
position: sticky;
|
|
18
|
-
top: 0;
|
|
19
|
-
z-index: 1;
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
gap: 8px;
|
|
23
|
-
padding: 8px 12px;
|
|
24
|
-
background: var(--matcha-color-surface);
|
|
25
|
-
border-bottom: 1px solid var(--matcha-color-bg);
|
|
26
|
-
|
|
27
|
-
.matcha-select-multiple-search-input {
|
|
28
|
-
flex: 1;
|
|
29
|
-
border: 0;
|
|
30
|
-
outline: none;
|
|
31
|
-
background: transparent;
|
|
32
|
-
color: var(--matcha-color-text-primary);
|
|
33
|
-
font-size: 14px;
|
|
34
|
-
line-height: 20px;
|
|
35
|
-
|
|
36
|
-
&::placeholder {
|
|
37
|
-
color: var(--matcha-color-text-muted);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Seção fixa das opções selecionadas (topo do painel, independente da busca)
|
|
43
|
-
.matcha-select-multiple-selected {
|
|
44
|
-
background: var(--matcha-color-surface);
|
|
45
|
-
border-bottom: 1px solid var(--matcha-color-bg);
|
|
46
|
-
|
|
47
|
-
.matcha-select-multiple-selected-header {
|
|
48
|
-
padding: 8px 12px 4px;
|
|
49
|
-
font-size: 11px;
|
|
50
|
-
font-weight: 600;
|
|
51
|
-
text-transform: uppercase;
|
|
52
|
-
letter-spacing: 0.04em;
|
|
53
|
-
color: var(--matcha-color-text-muted);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
@mixin matcha-select-multiple-theme($theme) {
|
|
2
|
+
// theme-agnóstico: cor via var(--matcha-color-*). $theme mantido só na assinatura.
|
|
3
|
+
|
|
4
|
+
// O matcha-select-multiple reusa as classes .matcha-select-* do matcha-select
|
|
5
|
+
// (.matcha-select-container, .matcha-select-trigger, .matcha-select-value, etc.),
|
|
6
|
+
// então herda toda a aparência do trigger. Aqui replicamos apenas as regras
|
|
7
|
+
// ligadas ao seletor de elemento, que são específicas por tag.
|
|
8
|
+
matcha-select-multiple {
|
|
9
|
+
width: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Campo de busca dentro do painel (fixo no topo enquanto rola as opções)
|
|
16
|
+
.matcha-select-multiple-search {
|
|
17
|
+
position: sticky;
|
|
18
|
+
top: 0;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 8px;
|
|
23
|
+
padding: 8px 12px;
|
|
24
|
+
background: var(--matcha-color-surface);
|
|
25
|
+
border-bottom: 1px solid var(--matcha-color-bg);
|
|
26
|
+
|
|
27
|
+
.matcha-select-multiple-search-input {
|
|
28
|
+
flex: 1;
|
|
29
|
+
border: 0;
|
|
30
|
+
outline: none;
|
|
31
|
+
background: transparent;
|
|
32
|
+
color: var(--matcha-color-text-primary);
|
|
33
|
+
font-size: 14px;
|
|
34
|
+
line-height: 20px;
|
|
35
|
+
|
|
36
|
+
&::placeholder {
|
|
37
|
+
color: var(--matcha-color-text-muted);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Seção fixa das opções selecionadas (topo do painel, independente da busca)
|
|
43
|
+
.matcha-select-multiple-selected {
|
|
44
|
+
background: var(--matcha-color-surface);
|
|
45
|
+
border-bottom: 1px solid var(--matcha-color-bg);
|
|
46
|
+
|
|
47
|
+
.matcha-select-multiple-selected-header {
|
|
48
|
+
padding: 8px 12px 4px;
|
|
49
|
+
font-size: 11px;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
text-transform: uppercase;
|
|
52
|
+
letter-spacing: 0.04em;
|
|
53
|
+
color: var(--matcha-color-text-muted);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|