matcha-theme 1.0.25 → 18.0.27
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/core.scss +1210 -0
- package/matcha-core.css +62385 -0
- package/matcha-core.min.css +1 -0
- package/package.json +1 -1
- package/README.md +0 -304
- package/abstracts/_breakpoints.scss +0 -33
- package/abstracts/_colors.scss +0 -469
- package/abstracts/_elevation.scss +0 -102
- package/abstracts/_functions.scss +0 -398
- package/abstracts/_grid.scss +0 -159
- package/abstracts/_order.scss +0 -46
- package/abstracts/_position.scss +0 -51
- package/abstracts/_sizes.scss +0 -166
- package/abstracts/_spacings.scss +0 -216
- package/abstracts/_typography.scss +0 -124
- package/base/_helpers.scss +0 -2183
- package/base/_reset.scss +0 -9
- package/base/_typography.scss +0 -244
- package/components/matcha-audio-player.scss +0 -37
- package/components/matcha-buttons.scss +0 -199
- package/components/matcha-cards.scss +0 -93
- package/components/matcha-color-pick.scss +0 -32
- package/components/matcha-draggable.scss +0 -25
- package/components/matcha-header.scss +0 -327
- package/components/matcha-horizontal-tree.scss +0 -277
- package/components/matcha-progress-bar.scss +0 -107
- package/components/matcha-scrollbar.scss +0 -36
- package/components/matcha-scrollbox-shadow.scss +0 -127
- package/components/matcha-table.scss +0 -279
- 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
- package/main.scss +0 -133
- package/tokens/_animations.scss +0 -37
- package/tokens/_breakpoints.scss +0 -38
- package/tokens/_color-tokens.scss +0 -1391
- package/tokens/_elevation-tokens.scss +0 -14
- package/tokens/_spacing-tokens.scss +0 -96
- package/tokens/_typography-tokens.scss +0 -25
- package/vendors/angular-editor.scss +0 -56
- package/vendors/angular-material-fixes.scss +0 -261
- package/vendors/calendar.scss +0 -2880
- package/vendors/charts.scss +0 -92
- package/vendors/ng5-slider.scss +0 -56
- package/vendors/ngx-material-timepicker.scss +0 -50
package/base/_reset.scss
DELETED
package/base/_typography.scss
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
How to use
|
|
3
|
-
@import '~matcha-ds/assets/scss/components/matcha-typography.scss';
|
|
4
|
-
@include base-typography-theme($theme);
|
|
5
|
-
*/
|
|
6
|
-
// -----------------------------------------------------------------------------------------------------
|
|
7
|
-
// Typography [Theme]
|
|
8
|
-
// -----------------------------------------------------------------------------------------------------
|
|
9
|
-
@mixin base-typography-theme($theme) {
|
|
10
|
-
$is-dark: map-get($theme, is-dark);
|
|
11
|
-
$accent: map-get($theme, accent);
|
|
12
|
-
$warn: map-get($theme, warn);
|
|
13
|
-
$primary: map-get($theme, primary);
|
|
14
|
-
$background: map-get($theme, background);
|
|
15
|
-
$foreground: map-get($theme, foreground);
|
|
16
|
-
|
|
17
|
-
a {
|
|
18
|
-
color: map-get($accent, default);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
code {
|
|
22
|
-
&:not(.highlight) {
|
|
23
|
-
background-color: map-get($background, card);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.changelog {
|
|
28
|
-
.entry {
|
|
29
|
-
background-color: map-get($background, card);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.text-boxed {
|
|
34
|
-
@if ($is-dark) {
|
|
35
|
-
background-color: rgba(255, 255, 255, 0.12);
|
|
36
|
-
color: rgba(255, 255, 255, 0.54);
|
|
37
|
-
} @else {
|
|
38
|
-
background-color: rgba(0, 0, 0, 0.12);
|
|
39
|
-
color: rgba(0, 0, 0, 0.54);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.text-primary {
|
|
44
|
-
color: map-get($primary, default) !important;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.text-warn {
|
|
48
|
-
color: map-get($warn, default) !important;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.text-label {
|
|
52
|
-
color: map-get($foreground, label) !important;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.text-placeholder {
|
|
56
|
-
color: map-get($foreground, placeholder) !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.text-basic {
|
|
60
|
-
color: map-get($foreground, text) !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Changelog
|
|
64
|
-
.changelog {
|
|
65
|
-
.entry {
|
|
66
|
-
.groups {
|
|
67
|
-
.breaking-changes {
|
|
68
|
-
.title {
|
|
69
|
-
background: map-get($background, red);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.new {
|
|
74
|
-
.title {
|
|
75
|
-
background: map-get($background, green);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.improved {
|
|
80
|
-
.title {
|
|
81
|
-
background: map-get($background, purple);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.fixed {
|
|
86
|
-
.title {
|
|
87
|
-
background: map-get($background, blue);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Code
|
|
95
|
-
code {
|
|
96
|
-
&:not(.highlight) {
|
|
97
|
-
color: map-get($background, blue);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Mark
|
|
102
|
-
mark {
|
|
103
|
-
background: map-get($background, yellow);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Message boxes
|
|
107
|
-
.matcha-message-box,
|
|
108
|
-
.matcha-msg-box,
|
|
109
|
-
.message-box {
|
|
110
|
-
background-color: rgba(map-get($primary, default), 0.2);
|
|
111
|
-
border-left-color: map-get($primary, default);
|
|
112
|
-
color: map-get($foreground, text);
|
|
113
|
-
|
|
114
|
-
&.error,
|
|
115
|
-
&.warning,
|
|
116
|
-
&.success,
|
|
117
|
-
&.info,
|
|
118
|
-
&--error,
|
|
119
|
-
&--warning,
|
|
120
|
-
&--success,
|
|
121
|
-
&--info {
|
|
122
|
-
color: map-get($foreground, text);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&--error,
|
|
126
|
-
&.error {
|
|
127
|
-
background-color: map-get($background, red-alpha);
|
|
128
|
-
border-left-color: map-get($background, red);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&--warning,
|
|
132
|
-
&.warning {
|
|
133
|
-
background-color: map-get($background, yellow-alpha);
|
|
134
|
-
border-left-color: map-get($background, yellow);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&--success,
|
|
138
|
-
&.success {
|
|
139
|
-
background-color: map-get($background, green-alpha);
|
|
140
|
-
border-left-color: map-get($background, green);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&--info,
|
|
144
|
-
&.info {
|
|
145
|
-
background-color: map-get($background, blue-alpha);
|
|
146
|
-
border-left-color: map-get($background, blue);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// -----------------------------------------------------------------------------------------------------
|
|
152
|
-
// Typography [Style]
|
|
153
|
-
// -----------------------------------------------------------------------------------------------------
|
|
154
|
-
// Paragraph
|
|
155
|
-
.par-xs {
|
|
156
|
-
font-size: 12px !important;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.par-sm,
|
|
160
|
-
.par-p {
|
|
161
|
-
font-size: 14px !important;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.par-md,
|
|
165
|
-
.par-m {
|
|
166
|
-
font-size: 16px !important;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.par-lg {
|
|
170
|
-
font-size: 20px !important;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.par-xl {
|
|
174
|
-
font-size: 24px !important;
|
|
175
|
-
}
|
|
176
|
-
.text-medium,
|
|
177
|
-
.text-semibold {
|
|
178
|
-
font-weight: 500;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.text-regular,
|
|
182
|
-
.text-book {
|
|
183
|
-
font-weight: 400;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.text-bold {
|
|
187
|
-
font-weight: 700;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.text-black {
|
|
191
|
-
font-weight: 900;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.matcha-message-box,
|
|
195
|
-
.matcha-msg-box,
|
|
196
|
-
.message-box {
|
|
197
|
-
padding: 16px;
|
|
198
|
-
border-left: 6px solid;
|
|
199
|
-
|
|
200
|
-
&.error,
|
|
201
|
-
&.warning,
|
|
202
|
-
&.success,
|
|
203
|
-
&.info,
|
|
204
|
-
&--error,
|
|
205
|
-
&--warning,
|
|
206
|
-
&--success,
|
|
207
|
-
&--info {
|
|
208
|
-
padding: 16px;
|
|
209
|
-
border-left: 6px solid;
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.title {
|
|
214
|
-
line-height: 24px;
|
|
215
|
-
margin: 0 0 16px 0;
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: center;
|
|
218
|
-
|
|
219
|
-
.title-bullet {
|
|
220
|
-
margin: 0px 8px 0 0;
|
|
221
|
-
display: inline-block;
|
|
222
|
-
position: relative;
|
|
223
|
-
border-radius: 10px;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.title-content {
|
|
227
|
-
line-height: 20px;
|
|
228
|
-
display: -webkit-box;
|
|
229
|
-
-webkit-line-clamp: 2;
|
|
230
|
-
overflow: hidden;
|
|
231
|
-
text-overflow: ellipsis;
|
|
232
|
-
word-break: break-word;
|
|
233
|
-
white-space: initial;
|
|
234
|
-
-webkit-box-orient: vertical;
|
|
235
|
-
text-transform: capitalize;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.title-sm {
|
|
240
|
-
display: block;
|
|
241
|
-
overflow: hidden;
|
|
242
|
-
text-overflow: ellipsis;
|
|
243
|
-
white-space: nowrap;
|
|
244
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
How to use
|
|
3
|
-
@import '~matcha-ds/assets/scss/components/matcha-audio-player.scss';
|
|
4
|
-
@include matcha-audio-player-theme($theme);
|
|
5
|
-
*/
|
|
6
|
-
// -----------------------------------------------------------------------------------------------------
|
|
7
|
-
// Audio Player [Theme]
|
|
8
|
-
// -----------------------------------------------------------------------------------------------------
|
|
9
|
-
@mixin matcha-audio-player-theme($theme) {
|
|
10
|
-
$accent: map-get($theme, accent);
|
|
11
|
-
$warn: map-get($theme, warn);
|
|
12
|
-
$primary: map-get($theme, primary);
|
|
13
|
-
$background: map-get($theme, background);
|
|
14
|
-
$foreground: map-get($theme, foreground);
|
|
15
|
-
|
|
16
|
-
.matcha-audio-player {
|
|
17
|
-
.audio-player {
|
|
18
|
-
audio {
|
|
19
|
-
// display:none
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.audio & {
|
|
23
|
-
a {
|
|
24
|
-
display: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
audio {
|
|
28
|
-
display: inline-block;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.is-selected {
|
|
34
|
-
box-shadow: 0px 0px 0px 2px inset map-get($accent, default);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
@mixin matcha-button-theme($theme) {
|
|
2
|
-
$primary: map-get($theme, primary);
|
|
3
|
-
$accent: map-get($theme, accent);
|
|
4
|
-
$warn: map-get($theme, warn);
|
|
5
|
-
$background: map-get($theme, background);
|
|
6
|
-
$foreground: map-get($theme, foreground);
|
|
7
|
-
|
|
8
|
-
$colorNames: red, pink, purple, deep-purple, indigo, blue, light-blue, cyan, teal, green, light-green, lime, yellow,
|
|
9
|
-
amber, orange, deep-orange;
|
|
10
|
-
|
|
11
|
-
.matcha-button {
|
|
12
|
-
border: 0px solid currentColor;
|
|
13
|
-
transition: all 50ms linear;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
position: relative;
|
|
16
|
-
font-size: 16px;
|
|
17
|
-
font-weight: 700;
|
|
18
|
-
&-xs {
|
|
19
|
-
padding: 0 px-to-rem(32px);
|
|
20
|
-
border-radius: px-to-rem(8px);
|
|
21
|
-
line-height: px-to-rem(32px);
|
|
22
|
-
max-height: px-to-rem(32px);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-sm {
|
|
26
|
-
padding: 0 px-to-rem(32px);
|
|
27
|
-
border-radius: px-to-rem(8px);
|
|
28
|
-
line-height: px-to-rem(40px);
|
|
29
|
-
max-height: px-to-rem(40px);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-md {
|
|
33
|
-
padding: 0 px-to-rem(32px);
|
|
34
|
-
border-radius: px-to-rem(8px);
|
|
35
|
-
line-height: px-to-rem(48px);
|
|
36
|
-
max-height: px-to-rem(48px);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-lg {
|
|
40
|
-
padding: 0 px-to-rem(32px);
|
|
41
|
-
border-radius: px-to-rem(8px);
|
|
42
|
-
line-height: px-to-rem(56px);
|
|
43
|
-
max-height: px-to-rem(56px);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-xl {
|
|
47
|
-
padding: 0 px-to-rem(32px);
|
|
48
|
-
border-radius: px-to-rem(8px);
|
|
49
|
-
line-height: px-to-rem(56px);
|
|
50
|
-
max-height: px-to-rem(56px);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-main {
|
|
54
|
-
background: map-get($background, background);
|
|
55
|
-
line-height: 32px;
|
|
56
|
-
padding: 0 16px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-xs,
|
|
60
|
-
&-sm,
|
|
61
|
-
&-md,
|
|
62
|
-
&-lg,
|
|
63
|
-
&-xl {
|
|
64
|
-
min-width: 24px;
|
|
65
|
-
|
|
66
|
-
&.stroked {
|
|
67
|
-
box-shadow: 0px 0px 0px 2px inset;
|
|
68
|
-
|
|
69
|
-
&.color-label {
|
|
70
|
-
box-shadow: 0px 0px 0px 2px inset map-color($foreground, label);
|
|
71
|
-
color: map-color($foreground, label);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&.color-placeholder {
|
|
75
|
-
box-shadow: 0px 0px 0px 2px inset map-color($foreground, placeholder);
|
|
76
|
-
color: map-color($foreground, placeholder);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.color-primary {
|
|
80
|
-
box-shadow: 0px 0px 0px 2px inset map-color($primary, default);
|
|
81
|
-
color: map-color($primary, default);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
&:hover{
|
|
86
|
-
// filter: brightness(1.1);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&:active{
|
|
90
|
-
// filter: brightness(0.9);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&-outline {
|
|
94
|
-
border: 0px solid currentColor;
|
|
95
|
-
box-shadow: 0px 0px 0px 2px inset;
|
|
96
|
-
background: transparent !important;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
&-pill {
|
|
101
|
-
border-radius: $border-radius-wider;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-link {
|
|
105
|
-
background-color: transparent;
|
|
106
|
-
color: map-color($foreground, label);
|
|
107
|
-
text-transform: initial;
|
|
108
|
-
letter-spacing: 0;
|
|
109
|
-
text-decoration: underline;
|
|
110
|
-
padding: 0;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&-icon {
|
|
114
|
-
aspect-ratio: 1;
|
|
115
|
-
padding: 0 !important;
|
|
116
|
-
display: flex;
|
|
117
|
-
align-items: center;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.ripple {
|
|
122
|
-
position: absolute;
|
|
123
|
-
background: rgba(0,0,0,.15);
|
|
124
|
-
border-radius: 999px;
|
|
125
|
-
transform: scale(0);
|
|
126
|
-
pointer-events: none;
|
|
127
|
-
}
|
|
128
|
-
.ripple.show {
|
|
129
|
-
animation: ripple 500ms ease-out;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@keyframes ripple {
|
|
133
|
-
0% {
|
|
134
|
-
opacity: 0;
|
|
135
|
-
transform: scale(0);
|
|
136
|
-
}
|
|
137
|
-
30% {
|
|
138
|
-
opacity: 0.15;
|
|
139
|
-
}
|
|
140
|
-
100% {
|
|
141
|
-
opacity: 0;
|
|
142
|
-
transform: scale(2);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.matcha-button.matcha-button-outline{
|
|
148
|
-
.ripple {
|
|
149
|
-
opacity: 0.2;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
.matcha-button.primary:not(.matcha-button-outline) {
|
|
153
|
-
.ripple {
|
|
154
|
-
background: map-color($primary, default-contrast)!important;
|
|
155
|
-
opacity: 0.2;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
.matcha-button.accent:not(.matcha-button-outline) {
|
|
159
|
-
.ripple {
|
|
160
|
-
background: map-color($accent, default-contrast)!important;
|
|
161
|
-
opacity: 0.2;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
.matcha-button.warn:not(.matcha-button-outline) {
|
|
165
|
-
.ripple {
|
|
166
|
-
background: map-color($warn, default-contrast)!important;
|
|
167
|
-
opacity: 0.2;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
.matcha-button.primary.matcha-button-outline {
|
|
171
|
-
.ripple {
|
|
172
|
-
background: map-color($primary, default)!important;
|
|
173
|
-
opacity: 0.2;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
.matcha-button.accent.matcha-button-outline {
|
|
177
|
-
.ripple {
|
|
178
|
-
background: map-color($accent, default)!important;
|
|
179
|
-
opacity: 0.2;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
.matcha-button.warn.matcha-button-outline {
|
|
183
|
-
.ripple {
|
|
184
|
-
background: map-color($warn, default)!important;
|
|
185
|
-
opacity: 0.2;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@each $color in $colorNames {
|
|
190
|
-
.matcha-button.#{$color} {
|
|
191
|
-
.ripple {
|
|
192
|
-
background: map-color($background, $color)!important;
|
|
193
|
-
opacity: 0.5;
|
|
194
|
-
filter: brightness(0.7);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
@mixin matcha-cards-theme($theme) {
|
|
2
|
-
$primary: map-get($theme, primary);
|
|
3
|
-
$accent: map-get($theme, accent);
|
|
4
|
-
$warn: map-get($theme, warn);
|
|
5
|
-
$background: map-get($theme, background);
|
|
6
|
-
$foreground: map-get($theme, foreground);
|
|
7
|
-
|
|
8
|
-
.matcha-card,
|
|
9
|
-
.matcha-card-flat {
|
|
10
|
-
// background: map-get($background, card);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// -----------------------------------------------------------------------------------------------------
|
|
15
|
-
// @ Cards
|
|
16
|
-
// -----------------------------------------------------------------------------------------------------
|
|
17
|
-
.matcha-card,
|
|
18
|
-
.matcha-card-flat {
|
|
19
|
-
padding: 16px;
|
|
20
|
-
border-radius: 8px;
|
|
21
|
-
|
|
22
|
-
&-border,
|
|
23
|
-
&-border-left {
|
|
24
|
-
border-left: 8px solid;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-border-right {
|
|
28
|
-
border-right: 8px solid;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.disabled {
|
|
32
|
-
transition: opacity 100ms linear;
|
|
33
|
-
opacity: 0.5;
|
|
34
|
-
pointer-events: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.enabled {
|
|
38
|
-
transition: opacity 100ms linear;
|
|
39
|
-
opacity: 1;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&.variable-width {
|
|
43
|
-
min-width: 0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.auto-width {
|
|
47
|
-
min-width: 0;
|
|
48
|
-
max-width: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.fixed-width {
|
|
52
|
-
min-width: 264px;
|
|
53
|
-
max-width: 264px;
|
|
54
|
-
width: 264px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Buttons
|
|
58
|
-
.mat-button {
|
|
59
|
-
min-width: 0 !important;
|
|
60
|
-
padding: 0 8px !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// Button Toggle Group
|
|
64
|
-
.mat-button-toggle-group,
|
|
65
|
-
.mat-button-toggle-standalone {
|
|
66
|
-
box-shadow: none !important;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.mat-tab-label {
|
|
70
|
-
min-width: 0 !important;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Divider
|
|
74
|
-
.card-divider {
|
|
75
|
-
margin: 16px;
|
|
76
|
-
|
|
77
|
-
&.full-width {
|
|
78
|
-
margin: 0;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// Expand Area
|
|
83
|
-
.card-expand-area {
|
|
84
|
-
overflow: hidden;
|
|
85
|
-
|
|
86
|
-
.card-expanded-content {
|
|
87
|
-
padding: 8px 16px 16px 16px;
|
|
88
|
-
line-height: 1.75;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
How to use
|
|
3
|
-
@import '~matcha-ds/assets/scss/components/matcha-color-pick.scss';
|
|
4
|
-
@include matcha-color-pick-theme($theme);
|
|
5
|
-
*/
|
|
6
|
-
// -----------------------------------------------------------------------------------------------------
|
|
7
|
-
// Color Pick [Theme]
|
|
8
|
-
// -----------------------------------------------------------------------------------------------------
|
|
9
|
-
@mixin matcha-color-pick-theme($theme) {
|
|
10
|
-
$accent: map-get($theme, accent);
|
|
11
|
-
$warn: map-get($theme, warn);
|
|
12
|
-
$primary: map-get($theme, primary);
|
|
13
|
-
$background: map-get($theme, background);
|
|
14
|
-
$foreground: map-get($theme, foreground);
|
|
15
|
-
|
|
16
|
-
.matcha-color-pick {
|
|
17
|
-
.mat-radio-group {
|
|
18
|
-
.mat-radio-button {
|
|
19
|
-
.mat-radio-label {
|
|
20
|
-
.mat-radio-label-content {
|
|
21
|
-
width: 100%;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.is-selected {
|
|
28
|
-
border-radius: 8px;
|
|
29
|
-
box-shadow: 0px 0px 0px 2px map-get($background, card);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
How to use
|
|
3
|
-
@import '~matcha-ds/assets/scss/components/matcha-draggable.scss';
|
|
4
|
-
@include matcha-draggable-theme($theme);
|
|
5
|
-
*/
|
|
6
|
-
// -----------------------------------------------------------------------------------------------------
|
|
7
|
-
// Draggable [Theme]
|
|
8
|
-
// -----------------------------------------------------------------------------------------------------
|
|
9
|
-
@mixin matcha-draggable-theme($theme) {
|
|
10
|
-
$accent: map-get($theme, accent);
|
|
11
|
-
$warn: map-get($theme, warn);
|
|
12
|
-
$primary: map-get($theme, primary);
|
|
13
|
-
$background: map-get($theme, background);
|
|
14
|
-
$foreground: map-get($theme, foreground);
|
|
15
|
-
|
|
16
|
-
.matcha-draggable {
|
|
17
|
-
.check-with-label:checked+.label-for-check {
|
|
18
|
-
box-shadow: 0px 0px 0px 8px map-get($background, card), 0px 0px 0px 10px map-get($foreground, placeholder);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.is-selected {
|
|
22
|
-
box-shadow: 0px 0px 0px 8px map-get($background, card), 0px 0px 0px 10px map-get($foreground, placeholder);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|