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 +4 -4
- data/assets/stylesheets/5-objects/_o-grid.scss +30 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 623fe994985f94fc9d2ccb00452bc7b91484586a
|
4
|
+
data.tar.gz: f90b32dc9696771221602ccae9dc29812e642027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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
|
-
|
37
|
-
flex
|
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
|
-
|
44
|
-
flex
|
45
|
-
flex-basis: auto;
|
66
|
+
min-width: 0;
|
67
|
+
flex: 0 0 auto;
|
46
68
|
}
|
47
69
|
}
|
48
70
|
}
|