compass-adaptive-grid-plugin 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +12 -3
- data/compass-adaptive-grid-plugin.gemspec +2 -4
- data/templates/project/grid.scss +2 -3
- data/templates/project/manifest.rb +1 -15
- metadata +1 -3
- data/stylesheets/adaptive-grid/_text.scss +0 -73
- data/templates/project/text.scss +0 -9
data/README.mkdn
CHANGED
@@ -1,4 +1,13 @@
|
|
1
|
-
|
2
|
-
===========================================
|
1
|
+
# Compass Adaptive Grid Plugin
|
3
2
|
|
4
|
-
An adaptive Compass plugin
|
3
|
+
An adaptive grid Compass plugin heavily inspired by Matt Sanders' [compass-960-plugin](http://raw.github.com/nextmat/compass-960-plugin).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
gem install compass-adaptive-grid-plugin
|
8
|
+
|
9
|
+
## Putting it to Use
|
10
|
+
|
11
|
+
compass create -r adaptive-grid my_project --using adaptive-grid
|
12
|
+
|
13
|
+
Then you can edit your `scss` files as usual. A Compass reset is included with the base styles automatically.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{compass-adaptive-grid-plugin}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
|
8
8
|
s.authors = ["Garrett Murphey"]
|
@@ -15,10 +15,8 @@ Gem::Specification.new do |s|
|
|
15
15
|
"README.mkdn",
|
16
16
|
"lib/adaptive-grid.rb",
|
17
17
|
"stylesheets/adaptive-grid/_grid.scss",
|
18
|
-
"stylesheets/adaptive-grid/_text.scss",
|
19
18
|
"templates/project/grid.scss",
|
20
|
-
"templates/project/manifest.rb"
|
21
|
-
"templates/project/text.scss"
|
19
|
+
"templates/project/manifest.rb"
|
22
20
|
]
|
23
21
|
s.homepage = %q{https://github.com/gmurphey/compass-adaptive-grid-plugin}
|
24
22
|
s.require_paths = ["lib"]
|
data/templates/project/grid.scss
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
/*
|
2
|
-
* Learn more ~ http://960.gs/
|
1
|
+
/* Adaptive Grids
|
3
2
|
* *
|
4
3
|
* Licensed under GPL and MIT.
|
5
4
|
*/
|
@@ -7,7 +6,7 @@
|
|
7
6
|
@import "compass/reset";
|
8
7
|
@import "adaptive-grid/grid";
|
9
8
|
|
10
|
-
// The following generates the default grids
|
9
|
+
// The following generates the default grids:
|
11
10
|
.container_12 {
|
12
11
|
@include grid-system(12);
|
13
12
|
}
|
@@ -1,17 +1,3 @@
|
|
1
1
|
stylesheet 'grid.scss', :media => "screen, projection"
|
2
|
-
stylesheet 'text.scss', :media => "screen, projection"
|
3
|
-
|
4
|
-
description "The 960 Grid System."
|
5
|
-
|
6
|
-
help %Q{
|
7
|
-
Please see the 960 website for documentation:
|
8
|
-
|
9
|
-
http://960.gs/
|
10
|
-
}
|
11
|
-
|
12
|
-
welcome_message %Q{
|
13
|
-
Please see the 960 website for documentation:
|
14
|
-
|
15
|
-
http://960.gs/
|
16
|
-
}
|
17
2
|
|
3
|
+
description "An adaptive grid helper for Compass."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-adaptive-grid-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -39,10 +39,8 @@ files:
|
|
39
39
|
- README.mkdn
|
40
40
|
- lib/adaptive-grid.rb
|
41
41
|
- stylesheets/adaptive-grid/_grid.scss
|
42
|
-
- stylesheets/adaptive-grid/_text.scss
|
43
42
|
- templates/project/grid.scss
|
44
43
|
- templates/project/manifest.rb
|
45
|
-
- templates/project/text.scss
|
46
44
|
homepage: https://github.com/gmurphey/compass-adaptive-grid-plugin
|
47
45
|
licenses: []
|
48
46
|
post_install_message:
|
@@ -1,73 +0,0 @@
|
|
1
|
-
$ninesixty-font-family: unquote("Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif") !default;
|
2
|
-
|
3
|
-
@mixin text($font-family: $ninesixty-font-family) {
|
4
|
-
body {
|
5
|
-
font: unquote("13px/1.5") $font-family;
|
6
|
-
}
|
7
|
-
|
8
|
-
a:focus {
|
9
|
-
outline: 1px dotted invert;
|
10
|
-
}
|
11
|
-
|
12
|
-
hr {
|
13
|
-
border-color: #cccccc;
|
14
|
-
border-style: solid;
|
15
|
-
border-width: 1px 0 0;
|
16
|
-
clear: both;
|
17
|
-
height: 0;
|
18
|
-
}
|
19
|
-
|
20
|
-
h1 {
|
21
|
-
font-size: 25px;
|
22
|
-
}
|
23
|
-
|
24
|
-
h2 {
|
25
|
-
font-size: 23px;
|
26
|
-
}
|
27
|
-
|
28
|
-
h3 {
|
29
|
-
font-size: 21px;
|
30
|
-
}
|
31
|
-
|
32
|
-
h4 {
|
33
|
-
font-size: 19px;
|
34
|
-
}
|
35
|
-
|
36
|
-
h5 {
|
37
|
-
font-size: 17px;
|
38
|
-
}
|
39
|
-
|
40
|
-
h6 {
|
41
|
-
font-size: 15px;
|
42
|
-
}
|
43
|
-
|
44
|
-
ol {
|
45
|
-
list-style: decimal;
|
46
|
-
}
|
47
|
-
|
48
|
-
ul {
|
49
|
-
list-style: square;
|
50
|
-
}
|
51
|
-
|
52
|
-
li {
|
53
|
-
margin-left: 30px;
|
54
|
-
}
|
55
|
-
|
56
|
-
p,
|
57
|
-
dl,
|
58
|
-
hr,
|
59
|
-
h1,
|
60
|
-
h2,
|
61
|
-
h3,
|
62
|
-
h4,
|
63
|
-
h5,
|
64
|
-
h6,
|
65
|
-
ol,
|
66
|
-
ul,
|
67
|
-
pre,
|
68
|
-
table,
|
69
|
-
address,
|
70
|
-
fieldset {
|
71
|
-
margin-bottom: 20px;
|
72
|
-
}
|
73
|
-
}
|