matcha-theme 18.0.27 → 18.1.28
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/README.md +304 -0
- package/abstracts/_breakpoints.scss +33 -0
- package/abstracts/_colors.scss +833 -0
- package/abstracts/_elevation.scss +102 -0
- package/abstracts/_functions.scss +424 -0
- package/abstracts/_grid.scss +163 -0
- package/abstracts/_order.scss +46 -0
- package/abstracts/_position.scss +51 -0
- package/abstracts/_sizes.scss +95 -0
- package/abstracts/_spacings.scss +216 -0
- package/abstracts/_typography.scss +124 -0
- package/base/_helpers.scss +171 -0
- package/base/_reset.scss +9 -0
- package/base/_typography.scss +244 -0
- package/components/matcha-audio-player.scss +37 -0
- package/components/matcha-buttons.scss +165 -0
- package/components/matcha-cards.scss +93 -0
- package/components/matcha-color-pick.scss +32 -0
- package/components/matcha-draggable.scss +25 -0
- package/components/matcha-header.scss +327 -0
- package/components/matcha-horizontal-tree.scss +277 -0
- package/components/matcha-menu.scss +71 -0
- package/components/matcha-progress-bar.scss +107 -0
- package/components/matcha-scrollbar.scss +36 -0
- package/components/matcha-scrollbox-shadow.scss +127 -0
- package/components/matcha-table.scss +279 -0
- package/css/matcha-style.css +76772 -0
- package/fonts/CircularStd-Black.eot +0 -0
- package/fonts/CircularStd-Black.svg +3426 -0
- 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 +13532 -0
- 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 +13511 -0
- 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 +2378 -0
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/fonts/CircularStd-Regular.woff2 +0 -0
- package/main.scss +139 -0
- package/package.json +2 -2
- package/tokens/_animations.scss +37 -0
- package/tokens/_breakpoints.scss +38 -0
- package/tokens/_color-tokens.scss +1216 -0
- package/tokens/_elevation-tokens.scss +14 -0
- package/tokens/_spacing-tokens.scss +96 -0
- package/tokens/_typography-tokens.scss +25 -0
- package/vendors/angular-editor.scss +56 -0
- package/vendors/angular-material-fixes.scss +261 -0
- package/vendors/calendar.scss +2880 -0
- package/vendors/charts.scss +92 -0
- package/vendors/ng5-slider.scss +56 -0
- package/vendors/ngx-material-timepicker.scss +50 -0
- package/core.scss +0 -1210
- package/matcha-core.css +0 -62385
- package/matcha-core.min.css +0 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/*
|
|
2
|
+
How to use
|
|
3
|
+
@import '~matcha-ds/assets/scss/components/matcha-header.scss';
|
|
4
|
+
@include matcha-progress-bar-theme($theme);
|
|
5
|
+
*/
|
|
6
|
+
// -----------------------------------------------------------------------------------------------------
|
|
7
|
+
// Progress-bar [Theme]
|
|
8
|
+
// -----------------------------------------------------------------------------------------------------
|
|
9
|
+
@mixin matcha-progress-bar-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-progress-bar {
|
|
17
|
+
|
|
18
|
+
// matcha-progress-bar__field
|
|
19
|
+
&__field {
|
|
20
|
+
background: map-get($background, disabled);
|
|
21
|
+
transition: all 300ms linear;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// matcha-progress-bar__progress
|
|
25
|
+
&__progress {
|
|
26
|
+
transition: all 300ms ease-out;
|
|
27
|
+
|
|
28
|
+
&::before {
|
|
29
|
+
content: '';
|
|
30
|
+
border-radius: 8px;
|
|
31
|
+
background-size: 50px 50px;
|
|
32
|
+
background-image: linear-gradient(-45deg,
|
|
33
|
+
rgba(0, 0, 0, 0) 25%,
|
|
34
|
+
transparent 25%,
|
|
35
|
+
transparent 50%,
|
|
36
|
+
rgba(0, 0, 0, 0) 50%,
|
|
37
|
+
rgba(0, 0, 0, 0) 75%,
|
|
38
|
+
transparent 75%,
|
|
39
|
+
transparent);
|
|
40
|
+
animation: progress-bar-animation 2s linear infinite;
|
|
41
|
+
width: 100%;
|
|
42
|
+
display: flex;
|
|
43
|
+
transition: all 300ms linear;
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@keyframes progress-bar-animation {
|
|
49
|
+
0% {
|
|
50
|
+
background-position: 50px 50px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
100% {
|
|
54
|
+
background-position: 0px 0px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// matcha-progress-bar__progress
|
|
59
|
+
&__label {
|
|
60
|
+
color: map-get($foreground, text-inverse);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// -----------------------------------------------------------------------------------------------------
|
|
66
|
+
// Progress-bar [Style]
|
|
67
|
+
// -----------------------------------------------------------------------------------------------------
|
|
68
|
+
.matcha-progress-bar {
|
|
69
|
+
width: 100%;
|
|
70
|
+
display: flex;
|
|
71
|
+
|
|
72
|
+
// matcha-progress-bar__field
|
|
73
|
+
&__field {
|
|
74
|
+
border-radius: 8px;
|
|
75
|
+
display: flex;
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// matcha-progress-bar__progress
|
|
80
|
+
&__progress {
|
|
81
|
+
line-height: 12px;
|
|
82
|
+
font-size: 12px;
|
|
83
|
+
height: 16px;
|
|
84
|
+
border-radius: 8px;
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// matcha-progress-bar__progress
|
|
89
|
+
&__label {
|
|
90
|
+
line-height: 16px;
|
|
91
|
+
padding-left: 8px;
|
|
92
|
+
display: flex;
|
|
93
|
+
position: relative;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Medium devices (landscapes and tablets, 600px and up < 1024px )
|
|
98
|
+
@media (min-width: 600px) {}
|
|
99
|
+
|
|
100
|
+
// Large devices (tablets and small monitors, 1024px and up < 1440px)
|
|
101
|
+
@media (min-width: 1024px) {}
|
|
102
|
+
|
|
103
|
+
// X-Large devices (big desktops, 1440px and up < 1920)
|
|
104
|
+
@media (min-width: 1440px) {}
|
|
105
|
+
|
|
106
|
+
// XX-Large devices (larger desktops, 1920px and up)
|
|
107
|
+
@media (min-width: 1920px) {}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,279 @@
|
|
|
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, 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
|
+
}
|