@appartmint/css-mint 3.0.0 → 3.0.2
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/dist/amplify.css +8 -0
- package/dist/amplify.css.map +1 -1
- package/dist/amplify.min.css +1 -1
- package/dist/amplify.min.css.map +1 -1
- package/dist/angular.css +9 -0
- package/dist/angular.css.map +1 -1
- package/dist/angular.min.css +1 -1
- package/dist/angular.min.css.map +1 -1
- package/dist/index.css +44 -160
- package/dist/index.css.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.min.css.map +1 -1
- package/dist/swiper.css +4 -0
- package/dist/swiper.css.map +1 -1
- package/dist/swiper.min.css +1 -1
- package/dist/swiper.min.css.map +1 -1
- package/package.json +1 -1
- package/src/components/partial/footer.scss +5 -1
- package/src/components/partial/header.scss +2 -0
- package/src/components/section/grid.scss +7 -0
- package/src/components/ui/button.scss +1 -0
- package/src/components/ui/media/image.scss +6 -0
- package/src/components/ui/tooltip.scss +1 -0
- package/src/components/widget/card.scss +2 -0
- package/src/global/aspect.scss +22 -22
- package/src/global/index.scss +0 -1
- package/src/global/text.scss +2 -9
- package/src/modules/amplify.scss +7 -0
- package/src/modules/angular.scss +11 -0
- package/src/modules/swiper.scss +6 -0
- package/src/global/texture.scss +0 -143
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
:root {
|
|
12
12
|
@include css-var(grid-gap, calc(css-var(gap) * 2));
|
|
13
|
+
@include css-var(grid-gap-section, calc(css-var(gap) * 10));
|
|
13
14
|
@include css-var-ref(grid-fit-w, xs);
|
|
14
15
|
}
|
|
15
16
|
|
|
@@ -108,6 +109,12 @@
|
|
|
108
109
|
margin-top: css-var(grid-gap);
|
|
109
110
|
margin-bottom: css-var(grid-gap);
|
|
110
111
|
|
|
112
|
+
&#{class(section)} {
|
|
113
|
+
gap: css-var(grid-gap-section);
|
|
114
|
+
margin-top: css-var(grid-gap-section);
|
|
115
|
+
margin-bottom: css-var(grid-gap-section);
|
|
116
|
+
}
|
|
117
|
+
|
|
111
118
|
&#{class('2')} {
|
|
112
119
|
@include grid-2;
|
|
113
120
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
#{class(theme)} {
|
|
19
19
|
&-dark {
|
|
20
20
|
@include css-var-ref(card-bg, c-bw-2);
|
|
21
|
+
@include css-var-ref(card-shadow-c, shadow-c);
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
|
|
@@ -165,6 +166,7 @@
|
|
|
165
166
|
border-radius: css-var(card-br);
|
|
166
167
|
width: 100%;
|
|
167
168
|
overflow: hidden;
|
|
169
|
+
z-index: 10;
|
|
168
170
|
|
|
169
171
|
& > * {
|
|
170
172
|
margin-top: 0;
|
package/src/global/aspect.scss
CHANGED
|
@@ -20,28 +20,6 @@
|
|
|
20
20
|
padding-top: calc(css-var(aspect-h) / css-var(aspect-w) * 100%);
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
|
|
23
|
-
&#{class(spotify)} {
|
|
24
|
-
&, &-playlist {
|
|
25
|
-
padding-top: 152px;
|
|
26
|
-
|
|
27
|
-
@include break(xs) {
|
|
28
|
-
padding-top: 125%;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@include break(sm) {
|
|
32
|
-
padding-top: 75%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@include break(md) {
|
|
36
|
-
padding-top: 56.25%;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-podcast {
|
|
41
|
-
padding-top: 352px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
23
|
&#{class(responsive)} {
|
|
46
24
|
padding-top: #{calc(100% * tan(atan2(100vh - css-var(header-h) - css-var(p-clamp) * 2, 100vw)))} !important;
|
|
47
25
|
padding-top: #{calc(100% * tan(atan2(100dvh - css-var(header-h) - css-var(p-clamp) * 2, 100dvw)))} !important;
|
|
@@ -56,3 +34,25 @@
|
|
|
56
34
|
height: 100%;
|
|
57
35
|
}
|
|
58
36
|
}
|
|
37
|
+
|
|
38
|
+
#{class(spotify)} {
|
|
39
|
+
&, &-playlist {
|
|
40
|
+
#{class(aspect)} {
|
|
41
|
+
padding-top: 152px;
|
|
42
|
+
|
|
43
|
+
@include break(xs) {
|
|
44
|
+
padding-top: 125%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include break(sm) {
|
|
48
|
+
padding-top: 75%;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-podcast {
|
|
54
|
+
#{class(aspect)} {
|
|
55
|
+
padding-top: 352px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
package/src/global/index.scss
CHANGED
package/src/global/text.scss
CHANGED
|
@@ -50,24 +50,17 @@ html, body {
|
|
|
50
50
|
|
|
51
51
|
p {
|
|
52
52
|
line-height: css-var(font-h);
|
|
53
|
+
margin: 0;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
@include headers () {
|
|
56
57
|
font-family: css-var(font-title), css-var(font-title-backups);
|
|
57
58
|
line-height: 1;
|
|
58
|
-
|
|
59
|
-
&:first-child {
|
|
60
|
-
margin-top: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&:last-child {
|
|
64
|
-
margin-bottom: 0;
|
|
65
|
-
}
|
|
59
|
+
margin: 0;
|
|
66
60
|
}
|
|
67
61
|
|
|
68
62
|
@each $tag in map.keys($font-min) {
|
|
69
63
|
#{$tag}, #{class($tag)} {
|
|
70
|
-
margin: 1rem 0;
|
|
71
64
|
font-size: min(css-var(font-min-#{$tag}), css-var(font-mobile-#{$tag}));
|
|
72
65
|
|
|
73
66
|
@include break(xs) {
|
package/src/modules/amplify.scss
CHANGED
package/src/modules/angular.scss
CHANGED
|
@@ -14,6 +14,17 @@
|
|
|
14
14
|
@include css-var-ref(--mat-paginator-container-text-color, c-fg);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
#{class(theme)} {
|
|
18
|
+
&-dark {
|
|
19
|
+
@include css-var-ref(--mat-table-background-color, c-bg);
|
|
20
|
+
@include css-var-ref(--mat-paginator-container-background-color, c-bg);
|
|
21
|
+
@include css-var-ref(--mat-table-row-item-label-text-color, c-fg);
|
|
22
|
+
@include css-var-ref(--mat-table-header-headline-color, c-fg);
|
|
23
|
+
@include css-var-ref(--mat-table-header-subheadline-color, c-fg);
|
|
24
|
+
@include css-var-ref(--mat-paginator-container-text-color, c-fg);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
17
28
|
body {
|
|
18
29
|
&#{class(ready)} {
|
|
19
30
|
app-root {
|
package/src/modules/swiper.scss
CHANGED
package/src/global/texture.scss
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/// texture.scss - Texture styles
|
|
2
|
-
/// @author App Art Mint LLC
|
|
3
|
-
///
|
|
4
|
-
/// @group Global
|
|
5
|
-
@charset 'utf-8';
|
|
6
|
-
|
|
7
|
-
/// Imports
|
|
8
|
-
@use 'sass:list';
|
|
9
|
-
@use '../util/selector' as *;
|
|
10
|
-
@use '../util/break' as *;
|
|
11
|
-
|
|
12
|
-
/// Texture Mixin
|
|
13
|
-
$texture-bc: null !default;
|
|
14
|
-
$texture-bg: null !default;
|
|
15
|
-
$texture-bi: null !default;
|
|
16
|
-
$texture-alt-bg: null !default;
|
|
17
|
-
|
|
18
|
-
:root {
|
|
19
|
-
@include css-var(texture-bg, $texture-bg);
|
|
20
|
-
@include css-var(texture-bg-s, cover);
|
|
21
|
-
@include css-var(texture-bg-pos, top);
|
|
22
|
-
@include css-var(texture-blend, normal);
|
|
23
|
-
@include css-var(texture-filter, none);
|
|
24
|
-
@include css-var(texture-opacity, 1);
|
|
25
|
-
@include css-var(texture-alt-bg-s, cover);
|
|
26
|
-
@include css-var(texture-alt-bg-pos, center);
|
|
27
|
-
@include css-var(texture-alt-blend, normal);
|
|
28
|
-
@include css-var(texture-alt-mask, none);
|
|
29
|
-
@include css-var(texture-alt-opacity, 1);
|
|
30
|
-
@include css-var(texture-p, 1rem);
|
|
31
|
-
@include css-var(texture-bw, 1.25rem);
|
|
32
|
-
@include css-var(texture-bc, $texture-bc);
|
|
33
|
-
@include css-var(texture-bi, $texture-bi);
|
|
34
|
-
@include css-var(texture-bis, 42 42);
|
|
35
|
-
@include css-var(texture-bir, round);
|
|
36
|
-
@include css-var(texture-bst, solid);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@mixin mint-texture () {
|
|
40
|
-
position: relative;
|
|
41
|
-
background-color: css-var(c-bg);
|
|
42
|
-
|
|
43
|
-
&::before, &::after {
|
|
44
|
-
content: '';
|
|
45
|
-
position: absolute;
|
|
46
|
-
top: 0;
|
|
47
|
-
left: 0;
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&::before {
|
|
54
|
-
opacity: css-var(texture-opacity);
|
|
55
|
-
background-image: css-var(texture-bg);
|
|
56
|
-
background-size: css-var(texture-bg-s);
|
|
57
|
-
background-position: css-var(texture-bg-pos);
|
|
58
|
-
mix-blend-mode: css-var(texture-blend);
|
|
59
|
-
filter: css-var(texture-filter);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&::after {
|
|
63
|
-
opacity: css-var(texture-alt-opacity);
|
|
64
|
-
background-size: css-var(texture-alt-bg-s);
|
|
65
|
-
background-position: css-var(texture-alt-bg-pos);
|
|
66
|
-
mask-image: css-var(texture-alt-mask);
|
|
67
|
-
mix-blend-mode: css-var(texture-alt-blend);
|
|
68
|
-
z-index: 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
& > * {
|
|
72
|
-
position: relative;
|
|
73
|
-
z-index: 10;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/// Border Mixin
|
|
78
|
-
@mixin mint-border () {
|
|
79
|
-
padding: calc(#{css-var(texture-p)} / 2 + #{css-var(texture-bw)});
|
|
80
|
-
border-image-source: css-var(texture-bi);
|
|
81
|
-
border-image-slice: css-var(texture-bis);
|
|
82
|
-
border-image-repeat: css-var(texture-bir);
|
|
83
|
-
border-image-width: css-var(texture-bw);
|
|
84
|
-
border-style: css-var(texture-bst);
|
|
85
|
-
|
|
86
|
-
@include break(sm) {
|
|
87
|
-
padding: calc(#{css-var(texture-p)} + #{css-var(texture-bw)});
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/// Texture Styles
|
|
92
|
-
#{class(texture)} {
|
|
93
|
-
@include mint-texture();
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/// Border Styles
|
|
97
|
-
#{class(border)} {
|
|
98
|
-
@extend #{class(texture)};
|
|
99
|
-
@include mint-border();
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
#{class(frame)} {
|
|
103
|
-
height: fit-content;
|
|
104
|
-
background-color: css-var(card-bg);
|
|
105
|
-
|
|
106
|
-
@extend #{class(border)};
|
|
107
|
-
padding: css-var(texture-bw);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
#{class(card)} {
|
|
111
|
-
#{class(content)} {
|
|
112
|
-
@extend #{class(border)};
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-grid {
|
|
116
|
-
#{class(image)} {
|
|
117
|
-
@extend #{class(border)};
|
|
118
|
-
position: absolute;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/// Alt Texture Styles
|
|
124
|
-
@if $texture-alt-bg and list.length($texture-alt-bg) > 0 {
|
|
125
|
-
@for $num from 1 through list.length($texture-alt-bg) {
|
|
126
|
-
#{class(texture-#{$num})} {
|
|
127
|
-
#{class(content)} {
|
|
128
|
-
&::after {
|
|
129
|
-
background-image: url(#{list.nth($texture-alt-bg, $num)});
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/// Overlay texture
|
|
137
|
-
#{class(overlay)} {
|
|
138
|
-
#{class(border)}, #{class(texture)} {
|
|
139
|
-
&::before {
|
|
140
|
-
z-index: 100;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|