grid-coordinates 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
data/lib/grid-coordinates.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@import "compass/css3"
|
3
3
|
|
4
4
|
// Modules
|
5
|
-
@import "modules/
|
5
|
+
@import "modules/bulletproof-clearfix"
|
6
6
|
|
7
7
|
// Configure Grid Coordinates
|
8
8
|
$grid-columns: 12 !default
|
@@ -10,27 +10,24 @@ $grid-width: 60px !default
|
|
10
10
|
$grid-gutter-width: 20px !default
|
11
11
|
|
12
12
|
// Support for deprecated clearfix options
|
13
|
-
// See modules/awesome-clearfix for details
|
14
13
|
$support-legacy-grid-clearfix: true !default
|
15
14
|
|
16
15
|
=grid-coordinates
|
17
|
-
.
|
18
|
-
@include
|
16
|
+
.__clearfix
|
17
|
+
@include bulletproof-clearfix
|
19
18
|
@if $support-legacy-grid-clearfix
|
20
19
|
.grid-clearfix, .grid-pie-clearfix
|
21
|
-
@extend .
|
20
|
+
@extend .__clearfix
|
21
|
+
.grid-container, .nested-grid-container, .grid-block, .grid-full
|
22
|
+
@extend .__clearfix
|
22
23
|
.grid-container
|
23
24
|
@include grid-container-base
|
24
|
-
@extend .a-clearfix
|
25
25
|
.nested-grid-container
|
26
26
|
@include nested-grid-container-base
|
27
|
-
@extend .a-clearfix
|
28
27
|
.grid-block
|
29
28
|
@include grid-block-base
|
30
|
-
@extend .a-clearfix
|
31
29
|
.grid-full
|
32
30
|
@include grid-base($grid-columns)
|
33
|
-
@extend .grid-block
|
34
31
|
|
35
32
|
// Loops
|
36
33
|
@for $i from 1 through $grid-columns
|
@@ -58,7 +55,7 @@ $support-legacy-grid-clearfix: true !default
|
|
58
55
|
width: ($grid-columns * $grid-width) + ($grid-columns * $grid-gutter-width)
|
59
56
|
|
60
57
|
=grid-container
|
61
|
-
@include
|
58
|
+
@include bulletproof-clearfix
|
62
59
|
@include grid-container-base
|
63
60
|
|
64
61
|
// Nested Container
|
@@ -70,7 +67,7 @@ $support-legacy-grid-clearfix: true !default
|
|
70
67
|
width: auto
|
71
68
|
|
72
69
|
=nested-grid-container
|
73
|
-
@include
|
70
|
+
@include bulletproof-clearfix
|
74
71
|
@include nested-grid-container-base
|
75
72
|
|
76
73
|
// Grid Block
|
@@ -83,8 +80,8 @@ $support-legacy-grid-clearfix: true !default
|
|
83
80
|
left: ($grid-gutter-width / 2)
|
84
81
|
|
85
82
|
=grid-block
|
83
|
+
@include bulletproof-clearfix
|
86
84
|
@include grid-block-base
|
87
|
-
@include a-clearfix
|
88
85
|
|
89
86
|
// Grid
|
90
87
|
=grid-base($grid-columns)
|
@@ -1,4 +1,11 @@
|
|
1
|
-
|
1
|
+
// Bulletproof Clearfix
|
2
|
+
// Prescribed by Nathan Smith / @NathanSmith
|
3
|
+
//
|
4
|
+
// References:
|
5
|
+
//
|
6
|
+
// 1. https://gist.github.com/1260785
|
7
|
+
|
8
|
+
@mixin bulletproof-clearfix
|
2
9
|
zoom: 1
|
3
10
|
&:before, &:after
|
4
11
|
content: '.'
|
@@ -10,10 +17,4 @@
|
|
10
17
|
width: 0
|
11
18
|
height: 0
|
12
19
|
&:after
|
13
|
-
clear: both
|
14
|
-
|
15
|
-
@mixin a-clearfix
|
16
|
-
@include awesome-clearfix
|
17
|
-
|
18
|
-
.a-clearfix
|
19
|
-
@include a-clearfix
|
20
|
+
clear: both
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grid-coordinates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-10-
|
12
|
+
date: 2011-10-23 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: compass
|
16
|
-
requirement: &
|
16
|
+
requirement: &70242823106420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.11.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70242823106420
|
25
25
|
description: Highly configurable CSS Grid Framework written in Sass.
|
26
26
|
email: adam@stacoviak.com
|
27
27
|
executables: []
|
@@ -31,7 +31,7 @@ files:
|
|
31
31
|
- ABOUT.mdown
|
32
32
|
- lib/grid-coordinates.rb
|
33
33
|
- stylesheets/_grid-coordinates.sass
|
34
|
-
- stylesheets/modules/
|
34
|
+
- stylesheets/modules/_bulletproof-clearfix.sass
|
35
35
|
homepage: http://grid-coordinates.com/
|
36
36
|
licenses: []
|
37
37
|
post_install_message:
|
@@ -46,7 +46,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
46
|
version: '0'
|
47
47
|
segments:
|
48
48
|
- 0
|
49
|
-
hash:
|
49
|
+
hash: 1488851282053818831
|
50
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|