mod-base 1.0.2-beta.1 → 1.0.2-beta.3

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.1",
3
+ "version": "1.0.2-beta.3",
4
4
  "description": "Base Styles for S3 Sites",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -10,6 +10,12 @@
10
10
  }
11
11
  }
12
12
 
13
+ @mixin breakpoint-phone {
14
+ @include media-max-width(767.9px) {
15
+ @content;
16
+ }
17
+ }
18
+
13
19
  // Mobile first breakpoint mixins
14
20
  @mixin breakpoint-sm {
15
21
  @include media-min-width(500px) {
@@ -0,0 +1,18 @@
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
+ */
@@ -0,0 +1,24 @@
1
+ .container {
2
+ padding-left: 15px;
3
+ padding-right: 15px;
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ }
7
+
8
+ @include breakpoint-md {
9
+ .container {
10
+ width: 780px
11
+ }
12
+ }
13
+
14
+ @include breakpoint-lg {
15
+ .container {
16
+ width: 970px
17
+ }
18
+ }
19
+
20
+ @include breakpoint-xl {
21
+ .container {
22
+ width: 1170px
23
+ }
24
+ }
@@ -1,6 +1,8 @@
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';
8
+ @import 'grid';