compass-wordpress 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +8 -0
- data/VERSION +1 -1
- data/sass/wordpress/thematic/styles/_2c_l_fixed.sass +85 -0
- data/sass/wordpress/thematic/styles/_3c_fixed.sass +83 -0
- data/sass/wordpress/thematic/styles/_3c_r_fixed.sass +77 -0
- data/sass/wordpress/thematic/styles/_3c_r_fixed_primary.sass +77 -0
- metadata +7 -3
data/README.markdown
CHANGED
@@ -6,6 +6,12 @@ This Compass extension provides support for creating WordPress Themes and workin
|
|
6
6
|
Installing
|
7
7
|
==========
|
8
8
|
|
9
|
+
Assuming you don't have Haml or Compass installed.
|
10
|
+
|
11
|
+
sudo gem install gemcutter
|
12
|
+
gem tumble
|
13
|
+
sudo gem haml
|
14
|
+
sudo gem install compass
|
9
15
|
sudo gem install compass-wordpress
|
10
16
|
|
11
17
|
To install a theme into your existing compass project, add the following to your compass configuration file:
|
@@ -18,6 +24,8 @@ OR, just run this command:
|
|
18
24
|
|
19
25
|
What this does is call `compass`, requires the compass-wordpress extension, uses the framework wordpress, sets the sass and css directories, sets the Sass output to be compressed and finally ends with you setting the theme name.
|
20
26
|
|
27
|
+
Read more details at [Wynn's blog](http://wynnnetherland.com/2009/11/sass-up-your-wordpress-themes-with-compass/).
|
28
|
+
|
21
29
|
** As of this version, we only have support for Thematic developed. Suggest one to use, or fork the project and take a stab at it yourself. Either way, get in touch we want to hear from you.
|
22
30
|
|
23
31
|
Supported Theme Options
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// LAYOUT: One-Column (Left) Fixed
|
2
|
+
// DESCRIPTION: Two-column 950px fixed layout with one sidebar left of content
|
3
|
+
|
4
|
+
body
|
5
|
+
min-width: 940px
|
6
|
+
|
7
|
+
|
8
|
+
#header
|
9
|
+
position: relative
|
10
|
+
|
11
|
+
|
12
|
+
#branding
|
13
|
+
width: 940px
|
14
|
+
margin: 0 auto
|
15
|
+
|
16
|
+
|
17
|
+
#access
|
18
|
+
position: relative
|
19
|
+
overflow: hidden
|
20
|
+
|
21
|
+
|
22
|
+
.menu
|
23
|
+
width: 940px
|
24
|
+
margin: 0 auto
|
25
|
+
|
26
|
+
|
27
|
+
#main
|
28
|
+
width: 940px
|
29
|
+
margin: 0 auto
|
30
|
+
overflow: hidden
|
31
|
+
position: relative
|
32
|
+
|
33
|
+
|
34
|
+
#container
|
35
|
+
width: 940px
|
36
|
+
float: right
|
37
|
+
margin: 0 0 0 -310px
|
38
|
+
|
39
|
+
|
40
|
+
#content
|
41
|
+
width: 620px
|
42
|
+
overflow: hidden
|
43
|
+
margin: 0 0 0 320px
|
44
|
+
|
45
|
+
|
46
|
+
.hentry
|
47
|
+
width: 630px
|
48
|
+
|
49
|
+
|
50
|
+
.main-aside
|
51
|
+
width: 300px
|
52
|
+
float: left
|
53
|
+
position: relative
|
54
|
+
|
55
|
+
|
56
|
+
#primary
|
57
|
+
float: left
|
58
|
+
|
59
|
+
|
60
|
+
#secondary
|
61
|
+
clear: left
|
62
|
+
|
63
|
+
|
64
|
+
#footer
|
65
|
+
clear: both
|
66
|
+
|
67
|
+
|
68
|
+
#subsidiary
|
69
|
+
width: 940px
|
70
|
+
margin: 0 auto
|
71
|
+
overflow: hidden
|
72
|
+
|
73
|
+
.aside
|
74
|
+
width: 300px
|
75
|
+
float: left
|
76
|
+
margin: 0 20px 0 0
|
77
|
+
|
78
|
+
#third
|
79
|
+
margin: 0
|
80
|
+
|
81
|
+
|
82
|
+
#siteinfo
|
83
|
+
clear: both
|
84
|
+
width: 940px
|
85
|
+
margin: 0 auto
|
@@ -0,0 +1,83 @@
|
|
1
|
+
// LAYOUT: Three-Column
|
2
|
+
// DESCRIPTION: Three-column 950px fixed layout with two sidebars on either side of content
|
3
|
+
|
4
|
+
body
|
5
|
+
min-width: 960px
|
6
|
+
|
7
|
+
|
8
|
+
#header
|
9
|
+
position: relative
|
10
|
+
|
11
|
+
|
12
|
+
#branding
|
13
|
+
width: 940px
|
14
|
+
margin: 0 auto
|
15
|
+
|
16
|
+
|
17
|
+
#access
|
18
|
+
position: relative
|
19
|
+
overflow: hidden
|
20
|
+
|
21
|
+
|
22
|
+
.menu
|
23
|
+
width: 940px
|
24
|
+
margin: 0 auto
|
25
|
+
|
26
|
+
|
27
|
+
#main
|
28
|
+
width: 960px
|
29
|
+
margin: 0 auto
|
30
|
+
overflow: hidden
|
31
|
+
position: relative
|
32
|
+
|
33
|
+
|
34
|
+
#container
|
35
|
+
width: 940px
|
36
|
+
float: left
|
37
|
+
margin: 0 0 0 10px
|
38
|
+
|
39
|
+
|
40
|
+
#content
|
41
|
+
margin: 0 240px
|
42
|
+
overflow: hidden
|
43
|
+
|
44
|
+
|
45
|
+
#primary
|
46
|
+
width: 220px
|
47
|
+
float: left
|
48
|
+
margin: 0 0 0 -940px
|
49
|
+
|
50
|
+
|
51
|
+
* html #primary
|
52
|
+
left: 20px
|
53
|
+
position: relative
|
54
|
+
|
55
|
+
|
56
|
+
#secondary
|
57
|
+
width: 220px
|
58
|
+
float: left
|
59
|
+
margin: 0 0 0 -220px
|
60
|
+
|
61
|
+
|
62
|
+
#footer
|
63
|
+
clear: both
|
64
|
+
|
65
|
+
|
66
|
+
#subsidiary
|
67
|
+
width: 960px
|
68
|
+
margin: 0 auto
|
69
|
+
overflow: hidden
|
70
|
+
|
71
|
+
.aside
|
72
|
+
width: 300px
|
73
|
+
float: left
|
74
|
+
margin: 0 10px 0 10px
|
75
|
+
|
76
|
+
#third
|
77
|
+
margin: 0 0 0 10px
|
78
|
+
|
79
|
+
|
80
|
+
#siteinfo
|
81
|
+
clear: both
|
82
|
+
width: 940px
|
83
|
+
margin: 0 auto
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// LAYOUT: Three-Column (Right)
|
2
|
+
// DESCRIPTION: Three-column 950px fixed layout with two sidebars right of content
|
3
|
+
|
4
|
+
body
|
5
|
+
min-width: 960px
|
6
|
+
|
7
|
+
|
8
|
+
#header
|
9
|
+
position: relative
|
10
|
+
|
11
|
+
|
12
|
+
#branding
|
13
|
+
width: 940px
|
14
|
+
margin: 0 auto
|
15
|
+
|
16
|
+
|
17
|
+
#access
|
18
|
+
position: relative
|
19
|
+
overflow: hidden
|
20
|
+
|
21
|
+
|
22
|
+
.menu
|
23
|
+
width: 940px
|
24
|
+
margin: 0 auto
|
25
|
+
|
26
|
+
|
27
|
+
#main
|
28
|
+
width: 960px
|
29
|
+
margin: 0 auto
|
30
|
+
overflow: hidden
|
31
|
+
position: relative
|
32
|
+
|
33
|
+
|
34
|
+
#container
|
35
|
+
width: 540px
|
36
|
+
float: left
|
37
|
+
margin: 0 0 0 10px
|
38
|
+
|
39
|
+
|
40
|
+
#content
|
41
|
+
overflow: hidden
|
42
|
+
|
43
|
+
|
44
|
+
#primary
|
45
|
+
width: 220px
|
46
|
+
float: right
|
47
|
+
margin: 0 10px 0 20px
|
48
|
+
|
49
|
+
|
50
|
+
#secondary
|
51
|
+
width: 140px
|
52
|
+
float: right
|
53
|
+
margin: 0 0 0 10px
|
54
|
+
|
55
|
+
|
56
|
+
#footer
|
57
|
+
clear: both
|
58
|
+
|
59
|
+
|
60
|
+
#subsidiary
|
61
|
+
width: 960px
|
62
|
+
margin: 0 auto
|
63
|
+
overflow: hidden
|
64
|
+
|
65
|
+
.aside
|
66
|
+
width: 300px
|
67
|
+
float: left
|
68
|
+
margin: 0 10px 0 10px
|
69
|
+
|
70
|
+
#third
|
71
|
+
margin: 0 0 0 10px
|
72
|
+
|
73
|
+
|
74
|
+
#siteinfo
|
75
|
+
clear: both
|
76
|
+
width: 940px
|
77
|
+
margin: 0 auto
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// LAYOUT: Three-Column (Right) Primary
|
2
|
+
// DESCRIPTION: Three-column 950px fixed layout with two sidebars right of content, primary being on the left.
|
3
|
+
|
4
|
+
body
|
5
|
+
min-width: 960px
|
6
|
+
|
7
|
+
|
8
|
+
#header
|
9
|
+
position: relative
|
10
|
+
|
11
|
+
|
12
|
+
#branding
|
13
|
+
width: 940px
|
14
|
+
margin: 0 auto
|
15
|
+
|
16
|
+
|
17
|
+
#access
|
18
|
+
position: relative
|
19
|
+
overflow: hidden
|
20
|
+
|
21
|
+
|
22
|
+
.menu
|
23
|
+
width: 940px
|
24
|
+
margin: 0 auto
|
25
|
+
|
26
|
+
|
27
|
+
#main
|
28
|
+
width: 960px
|
29
|
+
margin: 0 auto
|
30
|
+
overflow: hidden
|
31
|
+
position: relative
|
32
|
+
|
33
|
+
|
34
|
+
#container
|
35
|
+
width: 540px
|
36
|
+
float: left
|
37
|
+
margin: 0 0 0 10px
|
38
|
+
|
39
|
+
|
40
|
+
#content
|
41
|
+
overflow: hidden
|
42
|
+
|
43
|
+
|
44
|
+
#primary
|
45
|
+
width: 220px
|
46
|
+
float: left
|
47
|
+
margin: 0 10px 0 20px
|
48
|
+
|
49
|
+
|
50
|
+
#secondary
|
51
|
+
width: 140px
|
52
|
+
float: right
|
53
|
+
margin: 0 0 0 10px
|
54
|
+
|
55
|
+
|
56
|
+
#footer
|
57
|
+
clear: both
|
58
|
+
|
59
|
+
|
60
|
+
#subsidiary
|
61
|
+
width: 960px
|
62
|
+
margin: 0 auto
|
63
|
+
overflow: hidden
|
64
|
+
|
65
|
+
.aside
|
66
|
+
width: 300px
|
67
|
+
float: left
|
68
|
+
margin: 0 10px 0 10px
|
69
|
+
|
70
|
+
#third
|
71
|
+
margin: 0 0 0 10px
|
72
|
+
|
73
|
+
|
74
|
+
#siteinfo
|
75
|
+
clear: both
|
76
|
+
width: 940px
|
77
|
+
margin: 0 auto
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-wordpress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wynn Netherland
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-11-
|
13
|
+
date: 2009-11-12 00:00:00 -06:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -42,7 +42,11 @@ files:
|
|
42
42
|
- sass/wordpress/thematic/_extensions.sass
|
43
43
|
- sass/wordpress/thematic/_styles.sass
|
44
44
|
- sass/wordpress/thematic/extensions/_typography.sass
|
45
|
+
- sass/wordpress/thematic/styles/_2c_l_fixed.sass
|
45
46
|
- sass/wordpress/thematic/styles/_2c_r_fixed.sass
|
47
|
+
- sass/wordpress/thematic/styles/_3c_fixed.sass
|
48
|
+
- sass/wordpress/thematic/styles/_3c_r_fixed.sass
|
49
|
+
- sass/wordpress/thematic/styles/_3c_r_fixed_primary.sass
|
46
50
|
- sass/wordpress/thematic/styles/_default.sass
|
47
51
|
- sass/wordpress/thematic/styles/_images.sass
|
48
52
|
- sass/wordpress/thematic/styles/_plugins.sass
|
@@ -82,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
86
|
requirements: []
|
83
87
|
|
84
88
|
rubyforge_project:
|
85
|
-
rubygems_version: 1.3.
|
89
|
+
rubygems_version: 1.3.5
|
86
90
|
signing_key:
|
87
91
|
specification_version: 3
|
88
92
|
summary: Compass extenstion for creating WordPress themes using Sass
|