@appartmint/mint 0.10.10 → 0.10.13

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
+ }
@@ -18,6 +18,7 @@
18
18
  @include css-var(twitter, $twitter);
19
19
  @include css-var(youtube, $youtube);
20
20
  @include css-var(apple, $apple);
21
+ @include css-var(apple-music, $apple-music);
21
22
  @include css-var(spotify, $spotify);
22
23
  @include css-var(soundcloud, $soundcloud);
23
24
  @include css-var(bandcamp, $bandcamp);
@@ -128,7 +129,7 @@ a {
128
129
  }
129
130
 
130
131
  .fa-apple {
131
- color: css-var(apple);
132
+ color: css-var(apple-music);
132
133
  }
133
134
 
134
135
  .fa-soundcloud {
@@ -12,6 +12,7 @@ $facebook: #3b5998;
12
12
  $twitter: #1da1f2;
13
13
  $youtube: #F00;
14
14
  $apple: #DDD;
15
+ $apple-music: #fc3c44;
15
16
  $spotify: #84bd00;
16
17
  $soundcloud: #f26f23;
17
18
  $bandcamp: #629aa9;