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.
Files changed (65) hide show
  1. package/core.scss +1210 -0
  2. package/matcha-core.css +62385 -0
  3. package/matcha-core.min.css +1 -0
  4. package/package.json +1 -1
  5. package/README.md +0 -304
  6. package/abstracts/_breakpoints.scss +0 -33
  7. package/abstracts/_colors.scss +0 -469
  8. package/abstracts/_elevation.scss +0 -102
  9. package/abstracts/_functions.scss +0 -398
  10. package/abstracts/_grid.scss +0 -159
  11. package/abstracts/_order.scss +0 -46
  12. package/abstracts/_position.scss +0 -51
  13. package/abstracts/_sizes.scss +0 -166
  14. package/abstracts/_spacings.scss +0 -216
  15. package/abstracts/_typography.scss +0 -124
  16. package/base/_helpers.scss +0 -2183
  17. package/base/_reset.scss +0 -9
  18. package/base/_typography.scss +0 -244
  19. package/components/matcha-audio-player.scss +0 -37
  20. package/components/matcha-buttons.scss +0 -199
  21. package/components/matcha-cards.scss +0 -93
  22. package/components/matcha-color-pick.scss +0 -32
  23. package/components/matcha-draggable.scss +0 -25
  24. package/components/matcha-header.scss +0 -327
  25. package/components/matcha-horizontal-tree.scss +0 -277
  26. package/components/matcha-progress-bar.scss +0 -107
  27. package/components/matcha-scrollbar.scss +0 -36
  28. package/components/matcha-scrollbox-shadow.scss +0 -127
  29. package/components/matcha-table.scss +0 -279
  30. package/fonts/CircularStd-Black.eot +0 -0
  31. package/fonts/CircularStd-Black.svg +0 -3426
  32. package/fonts/CircularStd-Black.ttf +0 -0
  33. package/fonts/CircularStd-Black.woff +0 -0
  34. package/fonts/CircularStd-Black.woff2 +0 -0
  35. package/fonts/CircularStd-Bold.eot +0 -0
  36. package/fonts/CircularStd-Bold.otf +0 -0
  37. package/fonts/CircularStd-Bold.svg +0 -13532
  38. package/fonts/CircularStd-Bold.ttf +0 -0
  39. package/fonts/CircularStd-Bold.woff +0 -0
  40. package/fonts/CircularStd-Bold.woff2 +0 -0
  41. package/fonts/CircularStd-Medium.eot +0 -0
  42. package/fonts/CircularStd-Medium.otf +0 -0
  43. package/fonts/CircularStd-Medium.svg +0 -13511
  44. package/fonts/CircularStd-Medium.ttf +0 -0
  45. package/fonts/CircularStd-Medium.woff +0 -0
  46. package/fonts/CircularStd-Medium.woff2 +0 -0
  47. package/fonts/CircularStd-Regular.eot +0 -0
  48. package/fonts/CircularStd-Regular.otf +0 -0
  49. package/fonts/CircularStd-Regular.svg +0 -2378
  50. package/fonts/CircularStd-Regular.ttf +0 -0
  51. package/fonts/CircularStd-Regular.woff +0 -0
  52. package/fonts/CircularStd-Regular.woff2 +0 -0
  53. package/main.scss +0 -133
  54. package/tokens/_animations.scss +0 -37
  55. package/tokens/_breakpoints.scss +0 -38
  56. package/tokens/_color-tokens.scss +0 -1391
  57. package/tokens/_elevation-tokens.scss +0 -14
  58. package/tokens/_spacing-tokens.scss +0 -96
  59. package/tokens/_typography-tokens.scss +0 -25
  60. package/vendors/angular-editor.scss +0 -56
  61. package/vendors/angular-material-fixes.scss +0 -261
  62. package/vendors/calendar.scss +0 -2880
  63. package/vendors/charts.scss +0 -92
  64. package/vendors/ng5-slider.scss +0 -56
  65. package/vendors/ngx-material-timepicker.scss +0 -50
@@ -1,36 +0,0 @@
1
- @mixin matcha-scrollbar-theme($theme) {
2
- $is-dark: map-get($theme, is-dark);
3
- $primary: map-get($theme, primary);
4
- $accent: map-get($theme, accent);
5
- $warn: map-get($theme, warn);
6
- $background: map-get($theme, background);
7
- $foreground: map-get($theme, foreground);
8
-
9
- :not(.is-mobile) {
10
- ::-webkit-scrollbar {
11
- width: 16px;
12
- height: 16px;
13
- background-color: rgba(0, 0, 0, 0);
14
- }
15
-
16
- ::-webkit-scrollbar:hover {
17
- background-color: rgba(0, 0, 0, 0.12);
18
- }
19
-
20
- ::-webkit-scrollbar-thumb {
21
- border: 4px solid transparent;
22
- box-shadow: inset 0 0 0 12px #88888833;
23
- border-radius: 12px;
24
- }
25
-
26
- ::-webkit-scrollbar-thumb:active {
27
- box-shadow: inset 0 0 0 12px #88888844;
28
- border-radius: 12px;
29
- }
30
-
31
- ::-webkit-scrollbar-corner {
32
- background: rgba(0, 0, 0, 0);
33
- }
34
- }
35
-
36
- }
@@ -1,127 +0,0 @@
1
- @mixin matcha-scrollbox-shadow($theme) {
2
- $is-dark: map-get($theme, is-dark);
3
- $primary: map-get($theme, primary);
4
- $accent: map-get($theme, accent);
5
- $warn: map-get($theme, warn);
6
- $background: map-get($theme, background);
7
- $foreground: map-get($theme, foreground);
8
-
9
- // Drop shadow inside of area when scrolled vertically
10
- .scrollbox,
11
- .scrollbox-vertical,
12
- .scrollbox-v,
13
- .scrollbox-y {
14
- overflow: overlay;
15
- background:
16
- /* Shadow covers */
17
- linear-gradient(map-get($background, card) 30%, rgba(255, 255, 255, 0)),
18
- linear-gradient(rgba(255, 255, 255, 0), map-get($background, card) 70%) 0 100%,
19
- /* Shadows */
20
- linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
21
- linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
22
-
23
- background-repeat: no-repeat;
24
- background-color: map-get($background, card);
25
- background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
26
-
27
- /* Opera doesn't support this in the shorthand */
28
- background-attachment: local, local, scroll, scroll;
29
- }
30
-
31
- // Drop shadow inside of area when scrolled horizontally
32
- .scrollbox-horizontal,
33
- .scrollbox-h,
34
- .scrollbox-x {
35
- box-shadow: 0px -16px 0px 0px inset map-get($background, card), 20px 0 16px -24px inset #000000,
36
- -20px 0 16px -24px inset #000000, 0px 2px 2px 0px #00000009, 0px 2px 2px 0px #00000009,
37
- 0px 2px 2px 0px #00000009;
38
- overflow: auto;
39
- background: 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: -moz-linear-gradient(90deg,
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
- background: -webkit-linear-gradient(0deg,
52
- rgba(0, 0, 0, 0.1),
53
- rgba(0, 0, 0, 0) calc(0% + 10px),
54
- rgba(0, 0, 0, 0) calc(100% - 10px),
55
- rgba(0, 0, 0, 0.1));
56
- }
57
-
58
- .scrollbox-horizontal-content,
59
- .scrollbox-h-content,
60
- .scrollbox-x-content {
61
- background: map-get($background, card);
62
- background: linear-gradient(90deg,
63
- map-get($background, card) 10px,
64
- map-get($background, card),
65
- rgba(255, 255, 255, 0) calc(0% + 10px),
66
- rgba(255, 255, 255, 0) calc(100% - 10px),
67
- map-get($background, card) 10px,
68
- map-get($background, card));
69
- background: -moz-linear-gradient(90deg,
70
- map-get($background, card) 10px,
71
- map-get($background, card),
72
- rgba(255, 255, 255, 0) calc(0% + 10px),
73
- rgba(255, 255, 255, 0) calc(100% - 10px),
74
- map-get($background, card) 10px,
75
- map-get($background, card));
76
- background: -webkit-linear-gradient(0deg,
77
- map-get($background, card) 10px,
78
- map-get($background, card),
79
- rgba(255, 255, 255, 0) calc(0% + 10px),
80
- rgba(255, 255, 255, 0) calc(100% - 10px),
81
- map-get($background, card) 10px,
82
- map-get($background, card));
83
- }
84
-
85
- .scrollbox-horizontal-content-background,
86
- .scrollbox-h-content-background,
87
- .scrollbox-x-content-background {
88
- background: map-get($background, background);
89
- background: linear-gradient(90deg,
90
- map-get($background, background) 10px,
91
- map-get($background, background),
92
- rgba(255, 255, 255, 0) calc(0% + 10px),
93
- rgba(255, 255, 255, 0) calc(100% - 10px),
94
- map-get($background, background) 10px,
95
- map-get($background, background));
96
- background: -moz-linear-gradient(90deg,
97
- map-get($background, background) 10px,
98
- map-get($background, background),
99
- rgba(255, 255, 255, 0) calc(0% + 10px),
100
- rgba(255, 255, 255, 0) calc(100% - 10px),
101
- map-get($background, background) 10px,
102
- map-get($background, background));
103
- background: -webkit-linear-gradient(0deg,
104
- map-get($background, background) 10px,
105
- map-get($background, background),
106
- rgba(255, 255, 255, 0) calc(0% + 10px),
107
- rgba(255, 255, 255, 0) calc(100% - 10px),
108
- map-get($background, background) 10px,
109
- map-get($background, background));
110
- }
111
-
112
- .scrollbox-background {
113
- overflow: overlay;
114
- background:
115
- /* Shadow covers */
116
- linear-gradient(map-get($background, background) 30%, rgba(255, 255, 255, 0)),
117
- linear-gradient(rgba(255, 255, 255, 0), map-get($background, background) 70%) 0 100%,
118
- /* Shadows */
119
- linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
120
- linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
121
- background-repeat: no-repeat;
122
- background-color: map-get($background, background);
123
- background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
124
- /* Opera doesn't support this in the shorthand */
125
- background-attachment: local, local, scroll, scroll;
126
- }
127
- }
@@ -1,279 +0,0 @@
1
- @mixin _matcha-table-theme-container-shadow-property($theme) {
2
- $background: map-get($theme, background);
3
-
4
- box-shadow:
5
- 0px -16px 0px 0px inset map-get($background, card),
6
- 20px 0 16px -24px inset #000000,
7
- -20px 0 16px -24px inset #000000,
8
- 0px 2px 2px 0px #00000009,
9
- 0px 2px 2px 0px #00000009,
10
- 0px 2px 2px 0px #00000009;
11
- }
12
-
13
- @mixin _matcha-table-theme-shadow-property($theme) {
14
- $background: map-get($theme, background);
15
-
16
- background: map-get($background, card);
17
- background: linear-gradient(
18
- 90deg,
19
- map-get($background, card) 0px,
20
- map-get($background, card) 0px,
21
- rgba(255, 255, 255, 0) calc(0% + 40px),
22
- rgba(255, 255, 255, 0) calc(100% - 40px),
23
- map-get($background, card) calc(100% - 0px)
24
- );
25
- background: -moz-linear-gradient(
26
- 90deg,
27
- map-get($background, card) 0px,
28
- map-get($background, card) 0px,
29
- rgba(255, 255, 255, 0) calc(0% + 40px),
30
- rgba(255, 255, 255, 0) calc(100% - 40px),
31
- map-get($background, card) calc(100% - 0px)
32
- );
33
- background: -webkit-linear-gradient(
34
- 0deg,
35
- map-get($background, card) 0px,
36
- map-get($background, card) 0px,
37
- rgba(255, 255, 255, 0) calc(0% + 40px),
38
- rgba(255, 255, 255, 0) calc(100% - 40px),
39
- map-get($background, card) calc(100% - 0px)
40
- );
41
- }
42
-
43
- @mixin matcha-table-theme($theme) {
44
- $is-dark-theme: map-get($theme, is-dark);
45
- $primary: map-get($theme, primary);
46
- $accent: map-get($theme, accent);
47
- $warn: map-get($theme, warn);
48
- $background: map-get($theme, background);
49
- $foreground: map-get($theme, foreground);
50
-
51
- // Vai direto na tag body
52
- body.is-mobile {
53
- .table-container {
54
- .table-container-shadow {
55
- overflow: auto;
56
- @include _matcha-table-theme-container-shadow-property($theme);
57
-
58
- .mat-table,
59
- .mat-sort {
60
- tbody {
61
- @include _matcha-table-theme-shadow-property($theme);
62
- }
63
- }
64
- }
65
- }
66
- }
67
-
68
- .table-container {
69
- width: 100%;
70
-
71
- .mat-table,
72
- .mat-sort {
73
- .published {
74
- color: map-get($foreground, green);
75
- // margin-top: 5px;
76
- }
77
-
78
- .notPublished {
79
- color: map-get($foreground, amber);
80
- // margin-top: 5px;
81
- }
82
- }
83
-
84
- .table-container-shadow {
85
- overflow: auto;
86
- background: map-get($background, card);
87
- border-radius: 8px;
88
- box-shadow:
89
- 0px 2px 2px 0px #00000009,
90
- 0px 2px 2px 0px #00000009,
91
- 0px 2px 2px 0px #00000009;
92
- @include _matcha-table-theme-container-shadow-property($theme);
93
-
94
- .mat-table,
95
- .mat-sort {
96
- tbody {
97
- @include _matcha-table-theme-shadow-property($theme);
98
- }
99
- }
100
-
101
- &.ps--active-x {
102
- @include _matcha-table-theme-container-shadow-property($theme);
103
-
104
- .mat-table,
105
- .mat-sort {
106
- @include _matcha-table-theme-shadow-property($theme);
107
- }
108
- }
109
- }
110
-
111
- .mat-table,
112
- .mat-sort,
113
- .mat-expansion-panel {
114
- thead {
115
- background: map-get($background, card);
116
-
117
- th {
118
- height: 64px;
119
- }
120
- }
121
-
122
- tr {
123
- &.mat-row {
124
- // &:nth-child(even){background: map-get($background, card);}
125
- &:nth-child(odd) {
126
- background: map-get($background, table-row-hover);
127
- }
128
- }
129
-
130
- td,
131
- th {
132
- touch-action: unset !important;
133
- font-size: 14px;
134
-
135
- &:first-child {
136
- padding-left: 24px;
137
- }
138
-
139
- &:last-child {
140
- }
141
-
142
- .clickable {
143
- cursor: pointer;
144
- }
145
- }
146
- }
147
-
148
- .td-duble-line {
149
- height: 48px;
150
- }
151
-
152
- .td-with-image,
153
- .td-with-checkbox,
154
- .td-with-icon,
155
- .td-duble-line {
156
- display: flex;
157
- align-items: center;
158
-
159
- .td-text-aside {
160
- display: inline-block;
161
- width: calc(100% - 48px);
162
- }
163
-
164
- .avatar {
165
- width: 48px;
166
- min-width: 48px;
167
- height: 48px;
168
- line-height: 48px;
169
- border-width: 0;
170
- margin-right: 24px;
171
- }
172
-
173
- .thumbnail {
174
- width: 72px;
175
- min-width: 72px;
176
- height: 48px;
177
- border-radius: 8px;
178
- margin: 0 8px 0 0;
179
-
180
- &-portrait {
181
- width: 56px;
182
- min-width: 56px;
183
- height: 72px;
184
- border-radius: 8px;
185
- margin: 0 8px 0 0;
186
- }
187
- }
188
- }
189
-
190
- .mat-header-cell {
191
- color: map-get($foreground, text);
192
- font-family: "CircularStd";
193
- font-weight: 700;
194
- font-size: 16px;
195
- padding-left: 8px;
196
- padding-right: 8px;
197
- border-bottom-width: 0px;
198
- }
199
-
200
- .mat-cell {
201
- color: map-get($foreground, label);
202
- font-size: 14px;
203
- padding-left: 8px;
204
- padding-right: 8px;
205
- white-space: nowrap;
206
- overflow: hidden;
207
- text-overflow: ellipsis;
208
- text-align: start;
209
- border-bottom-width: 0px;
210
-
211
- &.cdk-column-menu {
212
- text-align: left;
213
- }
214
- }
215
-
216
- .last {
217
- display: flex;
218
- justify-content: space-between;
219
- width: 100%;
220
- align-items: center;
221
-
222
- span {
223
- overflow: hidden;
224
- text-overflow: ellipsis;
225
- }
226
-
227
- mat-menu {
228
- display: none;
229
- }
230
- }
231
- }
232
-
233
- table {
234
- width: 100%;
235
- }
236
-
237
- .badge {
238
- border-radius: 8px;
239
- padding: 8px;
240
- color: map-get($foreground, text-inverse);
241
-
242
- &.live-badge {
243
- background-color: map-get($background, cyan);
244
- font-size: 14px;
245
- }
246
-
247
- &.cell-badge {
248
- background-color: map-get($background, purple);
249
- font-size: 14px;
250
- }
251
-
252
- &.cult-badge {
253
- background-color: map-get($background, blue);
254
- font-size: 14px;
255
- }
256
-
257
- &.new-visitor-badge {
258
- background-color: map-get($primary, default);
259
- color: map-get($primary, default-contrast);
260
- font-size: 14px;
261
- line-height: 14px;
262
- display: inline-block;
263
- width: auto;
264
- }
265
- }
266
- }
267
-
268
- // X-Large devices (big desktops, 1440px and up < 1920)
269
- @media (min-width: 1440px) {
270
- .table-container {
271
- .mat-table,
272
- .mat-sort {
273
- .mat-cell {
274
- font-size: 16px;
275
- }
276
- }
277
- }
278
- }
279
- }
Binary file