eleven40_16 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -8
- data/stylesheets/eleven40_16/_960.scss +1 -0
- data/stylesheets/eleven40_16/_base.scss +9 -1
- metadata +29 -51
data/README.md
CHANGED
@@ -1,18 +1,24 @@
|
|
1
1
|
# eleven40-compass extension
|
2
2
|
|
3
|
+
Modified to support 16 columns
|
4
|
+
|
3
5
|
This is a Compass-CSS extension to enable the 1140px fluid layout style, originally described at http://cssgrid.net/
|
4
6
|
|
5
7
|
The main problem with the styles provided is that is makes your markup and style non-semantic. Compass and SASS fixes that.
|
6
8
|
|
7
9
|
This extension is not quite in line with the original, but will be soon. It currently only has screen and mobile support.
|
8
10
|
|
9
|
-
##
|
11
|
+
## Install
|
12
|
+
|
13
|
+
gem install eleven40_16
|
10
14
|
|
11
15
|
### Mixins
|
12
16
|
|
13
|
-
|
17
|
+
Use
|
18
|
+
|
19
|
+
@include grid(num_of_columns)
|
14
20
|
|
15
|
-
@include
|
21
|
+
@include row
|
16
22
|
|
17
23
|
For example:
|
18
24
|
|
@@ -30,10 +36,6 @@ The same applies for the row class all the col classes. Make sure you use the el
|
|
30
36
|
|
31
37
|
To make a mobile stylesheet, simply:
|
32
38
|
|
33
|
-
@import "
|
39
|
+
@import "eleven40_16/mobile";
|
34
40
|
|
35
41
|
This will include the mobile styles that will overload the default screen styles.
|
36
|
-
|
37
|
-
## Install
|
38
|
-
|
39
|
-
gem install eleven40
|
@@ -0,0 +1 @@
|
|
1
|
+
$960: false;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
$mobile: false;
|
2
|
+
$960: false;
|
2
3
|
|
3
4
|
@mixin grid($number_of_columns) {
|
4
5
|
@if $number_of_columns == 1 { @include eleven40-onecol; }
|
@@ -51,7 +52,14 @@ $mobile: false;
|
|
51
52
|
@else
|
52
53
|
{
|
53
54
|
width: 100%;
|
54
|
-
|
55
|
+
@if $960 == true
|
56
|
+
{
|
57
|
+
max-width: 960px;
|
58
|
+
}
|
59
|
+
@else
|
60
|
+
{
|
61
|
+
max-width: 1140px;
|
62
|
+
}
|
55
63
|
margin: 0 auto;
|
56
64
|
overflow: hidden;
|
57
65
|
}
|
metadata
CHANGED
@@ -1,51 +1,38 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: eleven40_16
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 2
|
8
|
-
- 6
|
9
|
-
version: 1.2.6
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.7
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Jeremy Bush
|
13
|
-
-
|
9
|
+
- Antônio Roberto
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2011-12-20 00:00:00.000000000Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: compass
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: &70319902690980 !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 10
|
32
|
-
- 0
|
33
|
-
- rc3
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
34
22
|
version: 0.10.0.rc3
|
35
23
|
type: :runtime
|
36
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70319902690980
|
37
26
|
description: a 16 column cssgrid implementation in compass based in eleven40
|
38
27
|
email: forevertonny@gmail.com
|
39
28
|
executables: []
|
40
|
-
|
41
29
|
extensions: []
|
42
|
-
|
43
30
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
files:
|
31
|
+
files:
|
46
32
|
- README.md
|
47
33
|
- lib/eleven40_16.rb
|
48
34
|
- stylesheets/_eleven40_16.scss
|
35
|
+
- stylesheets/eleven40_16/_960.scss
|
49
36
|
- stylesheets/eleven40_16/_base.scss
|
50
37
|
- stylesheets/eleven40_16/_ie.scss
|
51
38
|
- stylesheets/eleven40_16/_mobile.scss
|
@@ -53,37 +40,28 @@ files:
|
|
53
40
|
- stylesheets/eleven40_16/_smallscreen.scss
|
54
41
|
- stylesheets/eleven40_16/_typography.scss
|
55
42
|
- stylesheets/eleven40_16/reset/_utilities.scss
|
56
|
-
has_rdoc: true
|
57
43
|
homepage: https://github.com/devton/eleven40-compass
|
58
44
|
licenses: []
|
59
|
-
|
60
45
|
post_install_message:
|
61
46
|
rdoc_options: []
|
62
|
-
|
63
|
-
require_paths:
|
47
|
+
require_paths:
|
64
48
|
- lib
|
65
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
50
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
version: "0"
|
73
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
56
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
79
|
-
- 0
|
80
|
-
version: "0"
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
81
61
|
requirements: []
|
82
|
-
|
83
62
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.
|
63
|
+
rubygems_version: 1.8.8
|
85
64
|
signing_key:
|
86
65
|
specification_version: 3
|
87
66
|
summary: a 16 column cssgrid implementation in compass based in eleven40
|
88
67
|
test_files: []
|
89
|
-
|