compass-wordpress 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -0,0 +1,21 @@
1
+ ssh_user = "user@domain.com" # for rsync deployment
2
+ remote_root = "~/path/to/remote/" # for rsync deployment
3
+
4
+ namespace :styles do
5
+ desc "Clear styles"
6
+ task :clear do
7
+ puts "*** Clearing styles ***"
8
+ system "rm -Rfv css/*"
9
+ end
10
+ desc "Generate styles"
11
+ task :generate => [:clear] do
12
+ puts "*** Generating styles ***"
13
+ system "compass"
14
+ end
15
+ end
16
+
17
+ desc "Clears the styles, generates new ones and then deploys the theme"
18
+ task :deploy => 'styles:generate' do
19
+ puts "*** Deploying the site ***"
20
+ system("rsync -avz --delete . #{ssh_user}:#{remote_root}")
21
+ end
@@ -1,3 +1,4 @@
1
+ file 'Rakefile'
1
2
  file 'style.css'
2
3
  file 'readme.txt'
3
4
  stylesheet 'screen.sass', :media => "screen, projection"
@@ -0,0 +1,21 @@
1
+ ssh_user = "user@domain.com" # for rsync deployment
2
+ remote_root = "~/path/to/remote/" # for rsync deployment
3
+
4
+ namespace :styles do
5
+ desc "Clear styles"
6
+ task :clear do
7
+ puts "*** Clearing styles ***"
8
+ system "rm -Rfv css/*"
9
+ end
10
+ desc "Generate styles"
11
+ task :generate => [:clear] do
12
+ puts "*** Generating styles ***"
13
+ system "compass"
14
+ end
15
+ end
16
+
17
+ desc "Clears the styles, generates new ones and then deploys the theme"
18
+ task :deploy => 'styles:generate' do
19
+ puts "*** Deploying the site ***"
20
+ system("rsync -avz --delete . #{ssh_user}:#{remote_root}")
21
+ end
@@ -0,0 +1,47 @@
1
+ !default_border_radius ||= 5px
2
+
3
+ // Round all borders by amount
4
+ =border-radius(!radius = !default_border_radius)
5
+ border-radius= !radius
6
+ -moz-border-radius= !radius
7
+ -webkit-border-radius= !radius
8
+
9
+ // Round radius at position by amount.
10
+ // values for !vert: "top", "bottom"
11
+ // values for !horz: "left", "right
12
+ =border-corner-radius(!vert, !horz, !radius = !default_border_radius)
13
+ border-#{!vert}-#{!horz}-radius= !radius
14
+ -moz-border-radius-#{!vert}#{!horz}= !radius
15
+ -webkit-border-#{!vert}-#{!horz}-radius= !radius
16
+
17
+ =border-top-left-radius(!radius = !default_border_radius)
18
+ +border-corner-radius("top", "left", !radius)
19
+
20
+ =border-top-right-radius(!radius = !default_border_radius)
21
+ +border-corner-radius("top", "right", !radius)
22
+
23
+ =border-bottom-left-radius(!radius = !default_border_radius)
24
+ +border-corner-radius("bottom", "left", !radius)
25
+
26
+ =border-bottom-right-radius(!radius = !default_border_radius)
27
+ +border-corner-radius("bottom", "right", !radius)
28
+
29
+ // Round top corners by amount
30
+ =border-top-radius(!radius = !default_border_radius)
31
+ +border-top-left-radius(!radius)
32
+ +border-top-right-radius(!radius)
33
+
34
+ // Round right corners by amount
35
+ =border-right-radius(!radius = !default_border_radius)
36
+ +border-top-right-radius(!radius)
37
+ +border-bottom-right-radius(!radius)
38
+
39
+ // Round bottom corners by amount
40
+ =border-bottom-radius(!radius = !default_border_radius)
41
+ +border-bottom-left-radius(!radius)
42
+ +border-bottom-right-radius(!radius)
43
+
44
+ // Round left corners by amount
45
+ =border-left-radius(!radius = !default_border_radius)
46
+ +border-top-left-radius(!radius)
47
+ +border-bottom-left-radius(!radius)
@@ -1,3 +1,4 @@
1
+ file 'Rakefile'
1
2
  file 'style.css'
2
3
  file 'readme.txt'
3
4
  file 'functions.php'
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.1.0
4
+ version: 0.1.1
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-12 00:00:00 -06:00
13
+ date: 2009-11-29 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -51,11 +51,14 @@ files:
51
51
  - sass/wordpress/thematic/styles/_images.sass
52
52
  - sass/wordpress/thematic/styles/_plugins.sass
53
53
  - sass/wordpress/thematic/styles/_typography.sass
54
+ - templates/project/Rakefile
54
55
  - templates/project/manifest.rb
55
56
  - templates/project/print.sass
56
57
  - templates/project/readme.txt
57
58
  - templates/project/screen.sass
58
59
  - templates/project/style.css
60
+ - templates/thematic/Rakefile
61
+ - templates/thematic/extensions/_border_radius.sass
59
62
  - templates/thematic/functions.php
60
63
  - templates/thematic/manifest.rb
61
64
  - templates/thematic/print.sass