better_styles 0.0.0.335 → 0.0.0.336
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.
- checksums.yaml +8 -8
- data/assets/stylesheets/better/lib/_media_querries.scss +21 -18
- data/lib/better_styles/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzYzNzAxY2VmMTUwZGM4ZjA3NmFkMmRmNWJkOWQ0ZWIwYzA0MzAwNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDNhMTBkNmNkZWU5ZjY2YTIyNGJiZTJmMzI1NTI1ZmI1OTE3NzgwNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjMxMmQwYTE4MTE5MTQ5ZmZiMTMzMjgxMzZlM2M2OTFjNDAzNTVhOGQ0ZmIw
|
10
|
+
NTc3ODc4ODliZjJiNzVkM2E4NjlhMzY3MjNiMTEwNDc5YTgzNDQwMjE5YmVi
|
11
|
+
ZjFlZTEwZmUyZDU3NmE0M2YyZDNiNmFlMDk2N2M4MTIyZDkwM2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTY3Y2I1NDY0ZGIwNjFmNzMxZjg4Yjc2NTk4NDBiMDRlYTZlOGUxMDAzZDQ5
|
14
|
+
Y2UwOWY5YWU0NWU3ZjVmOTYyNjE5YTYzNzVlNWY5MzY1NTA5NTUzYjZlNGM5
|
15
|
+
ZTM4ZDc3NGQ5Mjc3Mjg0YTZlZTk2M2FlYTQ4ZDBjMTQ5Y2I4MzA=
|
@@ -1,43 +1,46 @@
|
|
1
|
-
|
1
|
+
$responsive-steps: (
|
2
|
+
xs: 0,
|
3
|
+
sm: 576px,
|
4
|
+
md: 768px,
|
5
|
+
lg: 992px,
|
6
|
+
xl: 1200px,
|
7
|
+
xxl: 2000px
|
8
|
+
) !default;
|
9
|
+
|
10
|
+
|
2
11
|
@mixin responsiveStep-xs {
|
3
|
-
|
12
|
+
@media only screen and (min-width: map-get($responsive-steps, xs)) { @content; }
|
4
13
|
}
|
5
14
|
@mixin responsiveStep-sm {
|
6
|
-
@
|
15
|
+
@media only screen and (min-width: map-get($responsive-steps, sm)) { @content; }
|
7
16
|
}
|
8
17
|
@mixin responsiveStep-md {
|
9
|
-
@
|
18
|
+
@media only screen and (min-width: map-get($responsive-steps, md)) { @content; }
|
10
19
|
}
|
11
20
|
@mixin responsiveStep-lg {
|
12
|
-
@
|
21
|
+
@media only screen and (min-width: map-get($responsive-steps, lg)) { @content; }
|
13
22
|
}
|
14
23
|
@mixin responsiveStep-xl {
|
15
|
-
@media only screen and (min-width:
|
16
|
-
@content;
|
17
|
-
}
|
24
|
+
@media only screen and (min-width: map-get($responsive-steps, xl)) { @content; }
|
18
25
|
}
|
19
26
|
@mixin responsiveStep-xxl {
|
20
|
-
@media only screen and (min-width:
|
21
|
-
@content;
|
22
|
-
}
|
27
|
+
@media only screen and (min-width: map-get($responsive-steps, xxl)) { @content; }
|
23
28
|
}
|
24
29
|
|
25
30
|
|
26
31
|
|
27
32
|
@mixin responsiveStep-xs-only {
|
28
|
-
|
33
|
+
@media only screen and (max-width: map-get($responsive-steps, xs)) { @content; }
|
29
34
|
}
|
30
35
|
@mixin responsiveStep-sm-only {
|
31
|
-
@
|
36
|
+
@media only screen and (min-width: map-get($responsive-steps, sm)) and (max-width: map-get($responsive-steps, md) - 1) { @content; }
|
32
37
|
}
|
33
38
|
@mixin responsiveStep-md-only {
|
34
|
-
@
|
39
|
+
@media only screen and (min-width: map-get($responsive-steps, md)) and (max-width: map-get($responsive-steps, lg) - 1) { @content; }
|
35
40
|
}
|
36
41
|
@mixin responsiveStep-lg-only {
|
37
|
-
@
|
42
|
+
@media only screen and (min-width: map-get($responsive-steps, lg)) and (max-width: map-get($responsive-steps, xl) - 1) { @content; }
|
38
43
|
}
|
39
44
|
@mixin responsiveStep-xl-only {
|
40
|
-
@media only screen and (min-width:
|
41
|
-
@content;
|
42
|
-
}
|
45
|
+
@media only screen and (min-width: map-get($responsive-steps, xl)) and (max-width: map-get($responsive-steps, xxl) - 1) { @content; }
|
43
46
|
}
|