singularitygs 1.2.0.rc.1 → 1.2.0.rc.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/lib/singularitygs.rb +2 -2
- data/stylesheets/singularitygs/_api.scss +27 -13
- data/stylesheets/singularitygs/helpers/_settings.scss +2 -2
- 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: 00c23e3ffa12bb3c8783bc67c2e79acd890951b4
|
4
|
+
data.tar.gz: 11edba64b464ecbefc234a68710b1540816930fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dc401fa4e10888829f3a0d3a6763467ace375ef87a0e01fcd519ff3ce2e6d8b19ab1c2bb96eb94a0e9c95ce1ea68f4f0bcb8b4535e9368f3e0259263944cb1d
|
7
|
+
data.tar.gz: 26522cd21b16a6d48b4f5093e4bf135644e52878ee04e8691ecb4e6e3b883f0f00f97c653367d88b9a313cb72be0b0ed5dcf43462b2098ae7918414c3f3688b2
|
data/lib/singularitygs.rb
CHANGED
@@ -71,29 +71,43 @@
|
|
71
71
|
}
|
72
72
|
|
73
73
|
// Always try and print the Left value
|
74
|
-
@
|
75
|
-
#{$property}: $value;
|
76
|
-
}
|
74
|
+
@include grid-span-build-exclude($Left, $Exclude, false);
|
77
75
|
|
78
76
|
// If Direction is Both or RTL, add the RTL attribute selector
|
79
77
|
@if $Direction == 'both' or $Direction == 'rtl' {
|
80
78
|
[dir="rtl"] & {
|
81
|
-
@
|
82
|
-
@if not index($Exclude, $property) {
|
83
|
-
#{$property}: $value;
|
84
|
-
}
|
85
|
-
}
|
79
|
+
@include grid-span-build-exclude($Right, $Exclude, true);
|
86
80
|
}
|
87
81
|
}
|
88
82
|
@else {
|
89
|
-
@
|
90
|
-
@if not index($Exclude, $property) {
|
91
|
-
#{$property}: $value;
|
92
|
-
}
|
93
|
-
}
|
83
|
+
@include grid-span-build-exclude($Right, $Exclude, true);
|
94
84
|
}
|
95
85
|
}
|
96
86
|
@else {
|
97
87
|
@warn "There doesn't appear to be an output style named `#{$output-style}`. Please ensure that the function `output-#{$output-style}` and that the output style `#{$output-style}` are both available before trying to use them.";
|
98
88
|
}
|
89
|
+
}
|
90
|
+
|
91
|
+
@mixin grid-span-build($property, $value) {
|
92
|
+
@if type-of($value) != 'map' {
|
93
|
+
#{$property}: $value;
|
94
|
+
}
|
95
|
+
@else {
|
96
|
+
@each $prefix, $val in $value {
|
97
|
+
#{$property}: $val;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
@mixin grid-span-build-exclude($properties, $delta, $exclude: false) {
|
103
|
+
@each $property, $value in $properties {
|
104
|
+
@if $exclude {
|
105
|
+
@if not index($delta, $property) {
|
106
|
+
@include grid-span-build($property, $value);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
@else {
|
110
|
+
@include grid-span-build($property, $value);
|
111
|
+
}
|
112
|
+
}
|
99
113
|
}
|
@@ -68,8 +68,8 @@ $DEPRECATE:singularity-deprecation-warning();
|
|
68
68
|
// Set Settings
|
69
69
|
//////////////////////////////
|
70
70
|
@function sgs-set($setting, $value) {
|
71
|
-
@if str-index($setting, '-') > 0 {
|
72
|
-
@warn "Singularity settings should
|
71
|
+
@if (str-index($setting, '-') > 0 or str-index($setting, '_') > 0) and str-index($setting, ' ') == 0 {
|
72
|
+
@warn "Words in Singularity settings should be spaces, not dashes or underscores. Please replace dashes and underscores between words with spaces. Settings will not work as expected until changed.";
|
73
73
|
}
|
74
74
|
$singularity: map-merge($singularity, ($setting: $value)) !global;
|
75
75
|
@return true;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: singularitygs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.rc.
|
4
|
+
version: 1.2.0.rc.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Kellum
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|