shift-ui-kit 0.0.43 → 0.0.44
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 +39 -0
- 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: 04c08eb334e5c660a96034f70b3e3c34f4025d5a
|
4
|
+
data.tar.gz: 8ea95a810c0b924e18b719a9a0db861b550849a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 418ca701dcbe64ee2dae97090b3a24e4b4db598b7309d2f408393790bc723519996047d180bbe1b7aa5ed7ddacc68c3ea7237cbd9279c6b6c2fd013a01dd5ea5
|
7
|
+
data.tar.gz: 58631b0a131373ace958b8278f596ef0d9d2d35af17fba7df3b1669a057ed95dc84f979ad7e6edc937c0a4c1e1c5be296361dbc76d8064cc607c13c7a8573a09
|
@@ -4,11 +4,50 @@
|
|
4
4
|
justify-content: flex-start;
|
5
5
|
align-items: stretch;
|
6
6
|
|
7
|
+
// forces grid to be single-line
|
8
|
+
&--inline {
|
9
|
+
flex-wrap: nowrap;
|
10
|
+
justify-content: space-between;
|
11
|
+
}
|
12
|
+
|
13
|
+
// defines an inner cell to the grid
|
7
14
|
&__cell {
|
8
15
|
min-width: 100%;
|
9
16
|
max-width: 100%;
|
10
17
|
flex: 1 1 100%;
|
11
18
|
|
19
|
+
// allows scaling to fill whatever space is available
|
20
|
+
&--expandable {
|
21
|
+
min-width: 0;
|
22
|
+
flex-basis: auto;
|
23
|
+
|
24
|
+
@each $key, $size in $breakpoints {
|
25
|
+
@media (min-width: $size) {
|
26
|
+
&\@#{$key} {
|
27
|
+
min-width: 0;
|
28
|
+
flex-basis: auto;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// take up only the room required
|
35
|
+
&--shrinkwrap {
|
36
|
+
flex-grow: 0;
|
37
|
+
flex-shrink: 0;
|
38
|
+
flex-basis: auto;
|
39
|
+
|
40
|
+
@each $key, $size in $breakpoints {
|
41
|
+
@media (min-width: $size) {
|
42
|
+
&\@#{$key} {
|
43
|
+
flex-grow: 0;
|
44
|
+
flex-shrink: 0;
|
45
|
+
flex-basis: auto;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
12
51
|
@mixin grid-size($numerator, $denominator) {
|
13
52
|
$min-width: (100% / (($denominator + 1) / $numerator)) + 1%;
|
14
53
|
$max-width: 100% / ($denominator / $numerator);
|