mod-base 1.0.2-beta.2 → 1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-base",
3
- "version": "1.0.2-beta.2",
3
+ "version": "1.0.2",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -11,14 +11,14 @@
11
11
  }
12
12
 
13
13
  @mixin breakpoint-phone {
14
- @include media-max-width(767.9px) {
14
+ @include media-max-width(767.98px) {
15
15
  @content;
16
16
  }
17
17
  }
18
18
 
19
19
  // Mobile first breakpoint mixins
20
20
  @mixin breakpoint-sm {
21
- @include media-min-width(500px) {
21
+ @include media-min-width(576px) {
22
22
  @content;
23
23
  }
24
24
  }
@@ -41,7 +41,7 @@
41
41
  }
42
42
  }
43
43
 
44
- @mixin breakpoint-2xl {
44
+ @mixin breakpoint-xxl {
45
45
  @include media-min-width(1440px) {
46
46
  @content;
47
47
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Visually hide an element while still allowing it to be
3
+ * exposed to assistive technologies
4
+ */
5
+ .visually-hidden {
6
+ border: 0;
7
+ clip: rect(0,0,0,0);
8
+ height: 1px;
9
+ margin: -1px;
10
+ overflow: hidden;
11
+ padding: 0;
12
+ white-space: nowrap;
13
+ width: 1px;
14
+ }
15
+
16
+ /**
17
+ * Show / hide an element based on screen size
18
+ */
19
+
20
+ .hidden {
21
+ display: none;
22
+ }
@@ -150,3 +150,9 @@ table {
150
150
  border-collapse: collapse;
151
151
  border-spacing: 0;
152
152
  }
153
+
154
+ *,
155
+ :after,
156
+ :before {
157
+ box-sizing: border-box;
158
+ }
@@ -1,6 +1,7 @@
1
1
  @import 'reset';
2
2
 
3
3
  @import 'breakpoint-mixins';
4
+ @import 'built-in-classes';
4
5
  @import 'colors';
5
6
  @import 'flex';
6
7
  @import 'fonts';