@appartmint/mint 0.10.9 → 0.10.11
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/css/mint.css +48 -0
- package/dist/css/mint.css.map +1 -1
- package/dist/css/mint.min.css +1 -1
- package/dist/css/mint.min.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/imports/components/_cards.scss +1 -1
- package/src/scss/imports/components/_embed.scss +40 -0
- package/src/scss/imports/components/_index.scss +1 -0
- package/src/scss/imports/global/_aspect.scss +27 -0
- package/src/scss/imports/global/_global.scss +5 -1
- package/src/scss/imports/global/_index.scss +2 -1
- package/src/scss/imports/global/_text.scss +5 -1
- package/src/scss/imports/util/_vars.scss +1 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// _embed.scss - Embed styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Embed
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Embed Styles
|
|
11
|
+
#{class(embed)} {
|
|
12
|
+
&-bg {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
position: relative;
|
|
17
|
+
min-height: 75vh;
|
|
18
|
+
|
|
19
|
+
iframe {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
border: none;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&#{class(overflow)} {
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
|
|
32
|
+
iframe {
|
|
33
|
+
top: -10%;
|
|
34
|
+
left: -10%;
|
|
35
|
+
width: 120%;
|
|
36
|
+
height: 120%;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// _aspect.scss - Apect Ratios
|
|
2
|
+
/// @author App/Art Mint
|
|
3
|
+
///
|
|
4
|
+
/// @group Aspect
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use 'sass:math';
|
|
9
|
+
@use '../util' as *;
|
|
10
|
+
|
|
11
|
+
/// Aspect Ratios
|
|
12
|
+
$width: 16;
|
|
13
|
+
$height: 9;
|
|
14
|
+
#{class($width + '-' + $height)} {
|
|
15
|
+
position: relative;
|
|
16
|
+
height: 0;
|
|
17
|
+
padding-top: math.div($height, $width) * 100%;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
|
|
20
|
+
iframe {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -24,7 +24,7 @@ main {
|
|
|
24
24
|
width: 100%;
|
|
25
25
|
min-height: calc(100vh - css-var(header-height));
|
|
26
26
|
z-index: 1000;
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
& > router-outlet {
|
|
29
29
|
& + * {
|
|
30
30
|
width: 100%;
|
|
@@ -81,6 +81,10 @@ img {
|
|
|
81
81
|
width: 100%;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
+
iframe {
|
|
85
|
+
border: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
84
88
|
#{class(glow)} {
|
|
85
89
|
box-shadow: 0 0 2rem -0.5rem css-var(glow-2);
|
|
86
90
|
}
|
|
@@ -122,6 +122,7 @@ $btn-padding-adjust: 0.75rem !default;
|
|
|
122
122
|
$pill-radius: $border-radius !default;
|
|
123
123
|
|
|
124
124
|
/// Cards
|
|
125
|
+
$card-bg-color: black-2 !default;
|
|
125
126
|
$card-padding: 1.5rem !default;
|
|
126
127
|
$card-radius: $border-radius !default;
|
|
127
128
|
$card-shadow-color: $shadow-color !default;
|