bourbon 3.1.2.1 → 3.1.3
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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/stylesheets/helpers/_linear-positions-parser.scss +20 -16
- data/lib/bourbon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20e9dfbe71ac3392bc55e2ce08994fe055405469
|
4
|
+
data.tar.gz: 3d514ea9b846f7ff59b7f2030535c0643a8ddcd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e69c0c121d13767a975dced0da85e58b7dd99d66859606373891ae84d6b76394cb04192ff682f8d7897e362e82122dfbb77cbe7339986b3a392b4abe051b0221
|
7
|
+
data.tar.gz: b7403044ecb5219dcfa426cadbddafb8dcf8048e8b633e7e19e491a55d3f279721093020f8409be0d7977726646ed8a8a71c28c571307d20551e8929148dc503
|
data/Gemfile.lock
CHANGED
@@ -7,28 +7,33 @@
|
|
7
7
|
$length: length($pos);
|
8
8
|
// Parse Side and corner positions
|
9
9
|
@if ($length > 1) {
|
10
|
-
@if nth($pos, 1) == "to" {
|
10
|
+
@if nth($pos, 1) == "to" { // Newer syntax
|
11
11
|
$side: nth($pos, 2);
|
12
12
|
|
13
|
-
@if $length == 2 {
|
13
|
+
@if $length == 2 { // eg. to top
|
14
14
|
// Swap for backwards compatability
|
15
15
|
$degree: _position-flipper(nth($pos, 2));
|
16
16
|
}
|
17
|
-
@else if $length == 3 {
|
17
|
+
@else if $length == 3 { // eg. to top left
|
18
18
|
$corner: nth($pos, 3);
|
19
19
|
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
20
|
+
}
|
21
|
+
@else if $length == 2 { // Older syntax ("top left")
|
22
|
+
$side: _position-flipper(nth($pos, 1));
|
23
|
+
$corner: _position-flipper(nth($pos, 2));
|
24
|
+
}
|
25
|
+
|
26
|
+
@if ("#{$side} #{$corner}" == "left top") or ("#{$side} #{$corner}" == "top left") {
|
27
|
+
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
28
|
+
}
|
29
|
+
@else if ("#{$side} #{$corner}" == "right top") or ("#{$side} #{$corner}" == "top right") {
|
30
|
+
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
31
|
+
}
|
32
|
+
@else if ("#{$side} #{$corner}" == "right bottom") or ("#{$side} #{$corner}" == "bottom right") {
|
33
|
+
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
34
|
+
}
|
35
|
+
@else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") {
|
36
|
+
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
32
37
|
}
|
33
38
|
@else {
|
34
39
|
@warn "Incorrect gradient syntax";
|
@@ -51,7 +56,6 @@
|
|
51
56
|
@return $degree $spec;
|
52
57
|
}
|
53
58
|
|
54
|
-
// Helper Function
|
55
59
|
@function _position-flipper($pos) {
|
56
60
|
@return if($pos == left, right, null)
|
57
61
|
if($pos == right, left, null)
|
data/lib/bourbon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bourbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phil LaPier
|
@@ -19,7 +19,7 @@ authors:
|
|
19
19
|
autorequire:
|
20
20
|
bindir: bin
|
21
21
|
cert_chain: []
|
22
|
-
date: 2013-04-
|
22
|
+
date: 2013-04-14 00:00:00.000000000 Z
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: sass
|