shift-ui-kit 0.0.44 → 0.0.45

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04c08eb334e5c660a96034f70b3e3c34f4025d5a
4
- data.tar.gz: 8ea95a810c0b924e18b719a9a0db861b550849a5
3
+ metadata.gz: 623fe994985f94fc9d2ccb00452bc7b91484586a
4
+ data.tar.gz: f90b32dc9696771221602ccae9dc29812e642027
5
5
  SHA512:
6
- metadata.gz: 418ca701dcbe64ee2dae97090b3a24e4b4db598b7309d2f408393790bc723519996047d180bbe1b7aa5ed7ddacc68c3ea7237cbd9279c6b6c2fd013a01dd5ea5
7
- data.tar.gz: 58631b0a131373ace958b8278f596ef0d9d2d35af17fba7df3b1669a057ed95dc84f979ad7e6edc937c0a4c1e1c5be296361dbc76d8064cc607c13c7a8573a09
6
+ metadata.gz: 5a8202b759a3b5db29ec4bd5b9650b339762cfe86cefcdbdfbb6f0b44ea5e426eea0b56c3cfcf519baa7e70465872ee45e5d05934f713f6b5ea02249984ba741
7
+ data.tar.gz: c349cf658e0ab794d0608b44aa3843274d2925e3db429ad2b289c28052cc7ac4084680e140f027813e6bbb10963b15e9c6fc6f5477cef32371d55859a938dbd2
@@ -10,6 +10,30 @@
10
10
  justify-content: space-between;
11
11
  }
12
12
 
13
+ // applies padding to grid
14
+ &--pad {
15
+ $gutter: $default-spacing / 2;
16
+ margin-left: 0 - $gutter;
17
+ margin-right: 0 - $gutter;
18
+
19
+ &__cell {
20
+ margin-left: $gutter;
21
+ margin-right: $gutter;
22
+ }
23
+ }
24
+
25
+ // applies padding to grid
26
+ &--pad-tight {
27
+ $gutter: $tight-spacing / 2;
28
+ margin-left: 0 - $gutter;
29
+ margin-right: 0 - $gutter;
30
+
31
+ &__cell {
32
+ margin-left: $gutter;
33
+ margin-right: $gutter;
34
+ }
35
+ }
36
+
13
37
  // defines an inner cell to the grid
14
38
  &__cell {
15
39
  min-width: 100%;
@@ -19,13 +43,13 @@
19
43
  // allows scaling to fill whatever space is available
20
44
  &--expandable {
21
45
  min-width: 0;
22
- flex-basis: auto;
46
+ flex: 1 0 auto;
23
47
 
24
48
  @each $key, $size in $breakpoints {
25
49
  @media (min-width: $size) {
26
50
  &\@#{$key} {
27
51
  min-width: 0;
28
- flex-basis: auto;
52
+ flex: 1 0 auto;
29
53
  }
30
54
  }
31
55
  }
@@ -33,16 +57,14 @@
33
57
 
34
58
  // take up only the room required
35
59
  &--shrinkwrap {
36
- flex-grow: 0;
37
- flex-shrink: 0;
38
- flex-basis: auto;
60
+ min-width: 0;
61
+ flex: 0 0 auto;
39
62
 
40
63
  @each $key, $size in $breakpoints {
41
64
  @media (min-width: $size) {
42
65
  &\@#{$key} {
43
- flex-grow: 0;
44
- flex-shrink: 0;
45
- flex-basis: auto;
66
+ min-width: 0;
67
+ flex: 0 0 auto;
46
68
  }
47
69
  }
48
70
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shift-ui-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.44
4
+ version: 0.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Townsend