singularitygs 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/singularitygs.rb +2 -2
- data/stylesheets/singularitygs/helpers/_background-grid.scss +1 -35
- 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: 9e6ca90d3a11ee3ad528fba49b759a7599607335
|
4
|
+
data.tar.gz: 59348be095edb80c1a5be3e30d206c5198a4bfb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a74da1579dc4be40b7cc30026f7b603cb17eafb9fa388ad9b9e36c53e66eda1835ee6faa24a9ff54ecebededf4b5176d536b5f6a9eb36805252ff2bb80d14c6
|
7
|
+
data.tar.gz: b9b53abfb5e992bef3041da68f618b19f7ffdf43e37b548a5d705e5713830ad737be0e4871183c313f1c26433595e025ade808779fb196326379d5d13089c249
|
data/lib/singularitygs.rb
CHANGED
@@ -1,37 +1,3 @@
|
|
1
|
-
// -----------------------------------------------
|
2
|
-
// Grid Overlay & Background
|
3
|
-
//
|
4
|
-
// Uses all your settings to create a grid background for a container element.
|
5
|
-
// There are three ways you can display a grid:
|
6
|
-
//
|
7
|
-
// 1. Manually apply the background to the element -
|
8
|
-
//
|
9
|
-
// .container {
|
10
|
-
// @include background-grid;
|
11
|
-
// }
|
12
|
-
//
|
13
|
-
// 2. Add a switch to toggle an overlay -
|
14
|
-
//
|
15
|
-
// @include grid-overlay('.container');
|
16
|
-
//
|
17
|
-
// 3. Toggle grid with JavaScript
|
18
|
-
//
|
19
|
-
// @include grid-toggle;
|
20
|
-
// Add [data-development-grid="show"] to item you want grid applied to
|
21
|
-
// Add "grid.min.js" to your HTML
|
22
|
-
//
|
23
|
-
// The first will apply a grid background to your container calculated using your
|
24
|
-
// grid settings, media breakpoints etc.
|
25
|
-
//
|
26
|
-
// The second will add a switch to your page which allows you to view a grid
|
27
|
-
// overlay over your container (or <body> if none is provided) by hovering over
|
28
|
-
// the switch. if you need your mouse for other things you can toggle the overlay
|
29
|
-
// on permanently by inspecting <head> and checking :hover in your styles panel.
|
30
|
-
//
|
31
|
-
// The thid will allow you to toggle your background grid on and off by pressing the 'g' on your keyboard.
|
32
|
-
//
|
33
|
-
// Note: Sub-pixel rounding can lead to several pixels of variation between browsers.
|
34
|
-
|
35
1
|
// -----------------------------------------------
|
36
2
|
// Grid Background
|
37
3
|
|
@@ -192,8 +158,8 @@
|
|
192
158
|
$Loop-Width: column-span(1, $i, $Grid, $Gutter, $Style);
|
193
159
|
|
194
160
|
@if index($Style, 'split') and $i == 1 {
|
195
|
-
$Counter-Width: ($Gutter-Width / 2);
|
196
161
|
$SVG: $SVG + '<rect x="#{$Counter-Width}" fill="#{$Gutter-Color}" width="#{$Gutter-Width / 2}" height="100%"/>';
|
162
|
+
$Counter-Width: ($Gutter-Width / 2);
|
197
163
|
}
|
198
164
|
|
199
165
|
$Loop-Color: $Column-Color;
|
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.6.
|
4
|
+
version: 1.6.2
|
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: 2015-02-
|
12
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|