breakpoint-slicer 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/breakpoint-slicer.rb +1 -1
- data/stylesheets/breakpoint-slicer/_helper-functions.sass +3 -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: b69be97dab8a2d5fbcb8eacd365d9c1018da3093
|
4
|
+
data.tar.gz: e91c6fd0aa09d5ba4a5a480a4d11d92485b6f72c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5e3c85dbdab631aa0801f4a31a69c58c0d5049e414eb906d2feada726a6b284327258f15c39ed9cf4c29a7eac7b1b199794524559a256f5dad9327e377d4b43
|
7
|
+
data.tar.gz: 85eecdf471932a52101b5c32599fb01ef723471ab1cc210dfc11ede3b612989e06ea6be035ccf86aaf2e8fb58ed4c6635ab134f47459f5b148e9531751029504
|
data/lib/breakpoint-slicer.rb
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
//
|
34
34
|
// Returns the left breakpoint of an Nth slice, e. g. `600px`.
|
35
35
|
@function left-bp-of-slice($slice)
|
36
|
+
$slice: get-slice-id($slice)
|
36
37
|
$min: 1
|
37
38
|
$max: total-slices()
|
38
39
|
|
@@ -63,6 +64,7 @@
|
|
63
64
|
//
|
64
65
|
// Returns the right breakpoint of an Nth slice, e. g. `800px`.
|
65
66
|
@function right-bp-of-slice($slice)
|
67
|
+
$slice: get-slice-id($slice)
|
66
68
|
$min: 1
|
67
69
|
$max: total-slices() - 1
|
68
70
|
|
@@ -81,6 +83,7 @@
|
|
81
83
|
//
|
82
84
|
// A shortcut for nth($slicer-breakpoints, $slice)
|
83
85
|
@function bp($slice)
|
86
|
+
$slice: get-slice-id($slice)
|
84
87
|
@return nth($slicer-breakpoints, $slice)
|
85
88
|
|
86
89
|
|