@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.
@@ -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
+ }
@@ -1,6 +1,7 @@
1
1
  @use './backgrounds';
2
2
  @use './buttons';
3
3
  @use './cards';
4
+ @use './embed';
4
5
  @use './footer';
5
6
  @use './header';
6
7
  @use './image';
@@ -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
  }
@@ -1,6 +1,7 @@
1
1
  @use './animations';
2
+ @use './aspect';
2
3
  @use './global';
3
4
  @use './icons';
4
5
  @use './structure';
5
6
  @use './text';
6
- @use './themes';
7
+ @use './themes';
@@ -1,6 +1,6 @@
1
1
  /// text.scss - Text styles
2
2
  /// @author App/Art Mint
3
- ///
3
+ ///
4
4
  /// @group Animations
5
5
  @charset 'utf-8';
6
6
 
@@ -36,3 +36,7 @@ p {
36
36
  }
37
37
  }
38
38
  }
39
+
40
+ #{class(upper)} {
41
+ text-transform: uppercase;
42
+ }
@@ -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;