compass-wordpress 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +20 -0
- data/README.rdoc +18 -0
- data/Rakefile +22 -0
- data/VERSION +1 -0
- data/lib/compass-wordpress.rb +4 -0
- data/lib/wordpress/compass_extension.rb +7 -0
- data/sass/wordpress/_library.sass +13 -0
- data/sass/wordpress/library/_border_radius.sass +47 -0
- data/sass/wordpress/library/_button_style.sass +45 -0
- data/sass/wordpress/library/_clearfix.sass +24 -0
- data/sass/wordpress/library/_easy_box_shadow.sass +8 -0
- data/sass/wordpress/library/_float.sass +16 -0
- data/sass/wordpress/library/_gradient.sass +15 -0
- data/sass/wordpress/library/_hacks.sass +8 -0
- data/sass/wordpress/library/_link_colors.sass +24 -0
- data/sass/wordpress/library/_list_borders.sass +7 -0
- data/sass/wordpress/library/_opacity.sass +18 -0
- data/sass/wordpress/library/_reset.sass +13 -0
- data/sass/wordpress/library/_sprite_hover.sass +4 -0
- data/sass/wordpress/library/_sprite_img.sass +52 -0
- data/sass/wordpress/library/_typography.sass +177 -0
- data/sass/wordpress/thematic/_2c_r_fixed.sass +63 -0
- data/sass/wordpress/thematic/_default.sass +701 -0
- data/sass/wordpress/thematic/_images.sass +41 -0
- data/sass/wordpress/thematic/_plugins.sass +13 -0
- data/sass/wordpress/thematic/_typography.sass +27 -0
- data/templates/project/manifest.rb +4 -0
- data/templates/project/print.sass +0 -0
- data/templates/project/readme.txt +1 -0
- data/templates/project/screen.sass +1 -0
- data/templates/project/style.css +20 -0
- data/templates/thematic/functions.php +25 -0
- data/templates/thematic/manifest.rb +5 -0
- data/templates/thematic/print.sass +0 -0
- data/templates/thematic/readme.txt +11 -0
- data/templates/thematic/screen.sass +8 -0
- data/templates/thematic/style.css +20 -0
- metadata +102 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
@import compass/utilities.sass
|
2
|
+
|
3
|
+
// Base styles for images
|
4
|
+
|
5
|
+
.entry-content img
|
6
|
+
margin: 0 0 18px 0
|
7
|
+
|
8
|
+
.alignleft, img.alignleft
|
9
|
+
+float-left
|
10
|
+
display: block
|
11
|
+
margin-right: 20px
|
12
|
+
|
13
|
+
.alignright, img.alignright
|
14
|
+
+float-right
|
15
|
+
display: block
|
16
|
+
margin-left: 20px
|
17
|
+
|
18
|
+
.aligncenter, img.aligncenter
|
19
|
+
margin-left: auto
|
20
|
+
margin-right: auto
|
21
|
+
display: block
|
22
|
+
clear: both
|
23
|
+
|
24
|
+
.wp-caption
|
25
|
+
text-align: center
|
26
|
+
margin-bottom: 18px
|
27
|
+
img
|
28
|
+
margin: 0
|
29
|
+
padding: 0
|
30
|
+
border: 0 none
|
31
|
+
p.wp-caption-text
|
32
|
+
margin: 0
|
33
|
+
padding: 5px
|
34
|
+
|
35
|
+
.gallery img
|
36
|
+
margin: 0
|
37
|
+
|
38
|
+
.wp-smiley
|
39
|
+
// Prevent the smileys from breaking line-height
|
40
|
+
max-height: 12px
|
41
|
+
margin: 0 !important
|
@@ -0,0 +1,13 @@
|
|
1
|
+
// -------------------------------------------
|
2
|
+
// Default plugin styles for Thematic
|
3
|
+
// -------------------------------------------
|
4
|
+
|
5
|
+
// Ajax edit comments
|
6
|
+
.edit-comment
|
7
|
+
margin-bottom: 18px
|
8
|
+
|
9
|
+
// Hide WordPress stats smiley
|
10
|
+
img#wpstats
|
11
|
+
height: 0
|
12
|
+
width: 0
|
13
|
+
overflow: hidden
|
@@ -0,0 +1,27 @@
|
|
1
|
+
!base_font_size = 16px
|
2
|
+
!base_font_size_small = 13px
|
3
|
+
!base_font_color = #333
|
4
|
+
!default_border_radius = 6px
|
5
|
+
|
6
|
+
+general-typography
|
7
|
+
=heading-font
|
8
|
+
+serif-font
|
9
|
+
=quote-font
|
10
|
+
+serif-font
|
11
|
+
|
12
|
+
body
|
13
|
+
font-size= !base_font_size
|
14
|
+
+sans-font
|
15
|
+
|
16
|
+
h1,h2,h3,h4,h5,h6
|
17
|
+
color: #333
|
18
|
+
font-weight: bold
|
19
|
+
+heading-font
|
20
|
+
|
21
|
+
blockquote
|
22
|
+
+heading-font
|
23
|
+
font-size= !base_font_size * 1.2
|
24
|
+
.quote blockquote
|
25
|
+
font-size= !h4
|
26
|
+
line-height= !h5 * 1.625
|
27
|
+
color: #555
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a blank WordPress theme configured to use Sass
|
@@ -0,0 +1 @@
|
|
1
|
+
@import wordpress/library.sass
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*
|
2
|
+
Theme Name: A Thematic Child Theme
|
3
|
+
Theme URI:
|
4
|
+
Description: Use this theme to start your Thematic Child Theme development.
|
5
|
+
Author: Ian Stewart
|
6
|
+
Author URI: http://themeshaper.com/
|
7
|
+
Template: thematic
|
8
|
+
Version: 1.0
|
9
|
+
Tags: Thematic
|
10
|
+
.
|
11
|
+
Thematic is © Ian Stewart http://themeshaper.com/
|
12
|
+
.
|
13
|
+
*/
|
14
|
+
|
15
|
+
/*
|
16
|
+
if you passed diff compass folder options,
|
17
|
+
change these to match your compiled css folder */
|
18
|
+
@import url('stylesheets/screen.css') screen;
|
19
|
+
@import url('stylesheets/print.css') print;
|
20
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<?php
|
2
|
+
|
3
|
+
//
|
4
|
+
// Custom Child Theme Functions
|
5
|
+
//
|
6
|
+
|
7
|
+
// I've included a "commented out" sample function below that'll add a home link to your menu
|
8
|
+
// More ideas can be found on "A Guide To Customizing The Thematic Theme Framework"
|
9
|
+
// http://themeshaper.com/thematic-for-wordpress/guide-customizing-thematic-theme-framework/
|
10
|
+
|
11
|
+
// Adds a home link to your menu
|
12
|
+
// http://codex.wordpress.org/Template_Tags/wp_page_menu
|
13
|
+
//function childtheme_menu_args($args) {
|
14
|
+
// $args = array(
|
15
|
+
// 'show_home' => 'Home',
|
16
|
+
// 'sort_column' => 'menu_order',
|
17
|
+
// 'menu_class' => 'menu',
|
18
|
+
// 'echo' => true
|
19
|
+
// );
|
20
|
+
// return $args;
|
21
|
+
//}
|
22
|
+
//add_filter('wp_page_menu_args','childtheme_menu_args');
|
23
|
+
|
24
|
+
|
25
|
+
?>
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Use these theme files to start your Thematic Child Theme development.
|
2
|
+
Rename and move this entire folder to the root level of wp-content/themes
|
3
|
+
alongside Thematic and activate your new Thematic Child Theme like any
|
4
|
+
other WordPress theme.
|
5
|
+
|
6
|
+
Good luck!
|
7
|
+
|
8
|
+
--
|
9
|
+
Ian Stewart
|
10
|
+
ian@themeshaper.com
|
11
|
+
http://themeshaper.com/
|
@@ -0,0 +1,8 @@
|
|
1
|
+
// Add/remove as necessary
|
2
|
+
@import wordpress/library.sass
|
3
|
+
@import wordpress/thematic/2c_r_fixed.sass
|
4
|
+
@import wordpress/thematic/images.sass
|
5
|
+
@import wordpress/thematic/plugins.sass
|
6
|
+
@import wordpress/thematic/typography.sass
|
7
|
+
|
8
|
+
@import wordpress/thematic/default.sass
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/*
|
2
|
+
Theme Name: A Thematic Child Theme
|
3
|
+
Theme URI:
|
4
|
+
Description: Use this theme to start your Thematic Child Theme development.
|
5
|
+
Author: Ian Stewart
|
6
|
+
Author URI: http://themeshaper.com/
|
7
|
+
Template: thematic
|
8
|
+
Version: 1.0
|
9
|
+
Tags: Thematic
|
10
|
+
.
|
11
|
+
Thematic is © Ian Stewart http://themeshaper.com/
|
12
|
+
.
|
13
|
+
*/
|
14
|
+
|
15
|
+
/*
|
16
|
+
if you passed diff compass folder options,
|
17
|
+
change these to match your compiled css folder */
|
18
|
+
@import url('stylesheets/screen.css') screen;
|
19
|
+
@import url('stylesheets/print.css') print;
|
20
|
+
|
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: compass-wordpress
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Wynn Netherland
|
8
|
+
- Adam Stacoviak
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-11-05 00:00:00 -06:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: compass
|
18
|
+
type: :development
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ~>
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.8.17
|
25
|
+
version:
|
26
|
+
description: Helps you create generic themes or Thematic child themes
|
27
|
+
email: wynn.netherland@gmail.com
|
28
|
+
executables: []
|
29
|
+
|
30
|
+
extensions: []
|
31
|
+
|
32
|
+
extra_rdoc_files:
|
33
|
+
- LICENSE
|
34
|
+
- README.rdoc
|
35
|
+
files:
|
36
|
+
- LICENSE
|
37
|
+
- README.rdoc
|
38
|
+
- Rakefile
|
39
|
+
- VERSION
|
40
|
+
- lib/compass-wordpress.rb
|
41
|
+
- lib/wordpress/compass_extension.rb
|
42
|
+
- sass/wordpress/_library.sass
|
43
|
+
- sass/wordpress/library/_border_radius.sass
|
44
|
+
- sass/wordpress/library/_button_style.sass
|
45
|
+
- sass/wordpress/library/_clearfix.sass
|
46
|
+
- sass/wordpress/library/_easy_box_shadow.sass
|
47
|
+
- sass/wordpress/library/_float.sass
|
48
|
+
- sass/wordpress/library/_gradient.sass
|
49
|
+
- sass/wordpress/library/_hacks.sass
|
50
|
+
- sass/wordpress/library/_link_colors.sass
|
51
|
+
- sass/wordpress/library/_list_borders.sass
|
52
|
+
- sass/wordpress/library/_opacity.sass
|
53
|
+
- sass/wordpress/library/_reset.sass
|
54
|
+
- sass/wordpress/library/_sprite_hover.sass
|
55
|
+
- sass/wordpress/library/_sprite_img.sass
|
56
|
+
- sass/wordpress/library/_typography.sass
|
57
|
+
- sass/wordpress/thematic/_2c_r_fixed.sass
|
58
|
+
- sass/wordpress/thematic/_default.sass
|
59
|
+
- sass/wordpress/thematic/_images.sass
|
60
|
+
- sass/wordpress/thematic/_plugins.sass
|
61
|
+
- sass/wordpress/thematic/_typography.sass
|
62
|
+
- templates/project/manifest.rb
|
63
|
+
- templates/project/print.sass
|
64
|
+
- templates/project/readme.txt
|
65
|
+
- templates/project/screen.sass
|
66
|
+
- templates/project/style.css
|
67
|
+
- templates/thematic/functions.php
|
68
|
+
- templates/thematic/manifest.rb
|
69
|
+
- templates/thematic/print.sass
|
70
|
+
- templates/thematic/readme.txt
|
71
|
+
- templates/thematic/screen.sass
|
72
|
+
- templates/thematic/style.css
|
73
|
+
has_rdoc: true
|
74
|
+
homepage: http://github.com/pengwynn/compass-wordpress
|
75
|
+
licenses: []
|
76
|
+
|
77
|
+
post_install_message:
|
78
|
+
rdoc_options:
|
79
|
+
- --charset=UTF-8
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: "0"
|
87
|
+
version:
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: "0"
|
93
|
+
version:
|
94
|
+
requirements: []
|
95
|
+
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 1.3.5
|
98
|
+
signing_key:
|
99
|
+
specification_version: 3
|
100
|
+
summary: Compass plugin for creating WordPress themes using Sass
|
101
|
+
test_files: []
|
102
|
+
|