compass-drupal-plugin 0.2.0.beta.7 → 0.2.0.beta.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  # Release Specific Information
3
- s.version = "0.2.0.beta.7"
4
- s.date = "2011-03-11"
3
+ s.version = "0.2.0.beta.8"
4
+ s.date = "2011-03-14"
5
5
 
6
6
  # Gem Details
7
7
  s.name = %q{compass-drupal-plugin}
@@ -20,8 +20,9 @@ Gem::Specification.new do |s|
20
20
  "templates/project/drupal-base.scss",
21
21
  "templates/project/_skin.scss",
22
22
  "templates/project/manifest.rb",
23
- "templates/zen/zen-base-rtl.scss",
24
- "templates/zen/zen-base.scss",
23
+ "templates/zen/zen-rtl.scss",
24
+ "templates/zen/zen.scss",
25
+ "templates/zen/_zen-base.scss",
25
26
  "templates/zen/manifest.rb"
26
27
  ]
27
28
 
@@ -0,0 +1,13 @@
1
+ <% project_name = File.basename(config.project_path) %>
2
+ @import "<%= File.basename(config.project_path) %>-skin";
3
+
4
+ // Map the zen variables to the skin variables
5
+ $zen-width: $<%= project_name %>-width;
6
+ $zen-first-sidebar-width: $<%= project_name %>-first-sidebar-width;
7
+ $zen-second-sidebar-width: $<%= project_name %>-second-sidebar-width;
8
+ $zen-content-position: $<%= project_name %>-content-position;
9
+ $zen-navigation-width: $<%= project_name %>-navigation-width;
10
+ $zen-navigation-height: $<%= project_name %>-navigation-height;
11
+ $zen-proportional-typeface: $<%= project_name %>-proportional-typeface;
12
+ $zen-monospaced-typeface: $<%= project_name %>-monospaced-typeface;
13
+ $zen-base-font-size: $<%= project_name %>-base-font-size;
@@ -1,7 +1,9 @@
1
1
  # Make sure you list all the project template files here in the manifest.
2
- stylesheet 'zen-base.scss', :to => "#{options[:project_name] || File.basename(config.project_path)}.scss", :erb => true
2
+ stylesheet 'zen.scss', :to => "#{options[:project_name] || File.basename(config.project_path)}.scss", :erb => true
3
3
 
4
- stylesheet 'zen-base-rtl.scss', :to => "#{options[:project_name] || File.basename(config.project_path)}-rtl.scss"
4
+ stylesheet 'zen-rtl.scss', :to => "#{options[:project_name] || File.basename(config.project_path)}-rtl.scss", :erb => true
5
+
6
+ stylesheet '_zen-base.scss', :to => "_#{options[:project_name] || File.basename(config.project_path)}-base.scss", :erb => true
5
7
 
6
8
  stylesheet '../project/_skin.scss', :to => "_#{options[:project_name] || File.basename(config.project_path)}-skin.scss", :erb => true
7
9
 
@@ -0,0 +1,10 @@
1
+ // This file will generate proper RTL layout
2
+ @import "drupal/zen";
3
+ @import "<%= File.basename(config.project_path) %>-skin";
4
+ @import "_<%= File.basename(config.project_path) %>-base";
5
+
6
+ // Use this mixin to generate the Zen layout
7
+ @include zen-layout("rtl");
8
+
9
+ // Use this mixin to properly position the #navigation div
10
+ @include zen-navigation("rtl");
@@ -1,17 +1,7 @@
1
1
  <% project_name = File.basename(config.project_path) %>
2
2
  @import "drupal/zen";
3
3
  @import "<%= File.basename(config.project_path) %>-skin";
4
-
5
- // Map the zen variables to the skin variables
6
- $zen-width: $<%= project_name %>-width;
7
- $zen-first-sidebar-width: $<%= project_name %>-first-sidebar-width;
8
- $zen-second-sidebar-width: $<%= project_name %>-second-sidebar-width;
9
- $zen-content-position: $<%= project_name %>-content-position;
10
- $zen-navigation-width: $<%= project_name %>-navigation-width;
11
- $zen-navigation-height: $<%= project_name %>-navigation-height;
12
- $zen-proportional-typeface: $<%= project_name %>-proportional-typeface;
13
- $zen-monospaced-typeface: $<%= project_name %>-monospaced-typeface;
14
- $zen-base-font-size: $<%= project_name %>-base-font-size;
4
+ @import "_<%= File.basename(config.project_path) %>-base";
15
5
 
16
6
  // Use this mixin to generate the Zen layout
17
7
  @include zen-layout;
metadata CHANGED
@@ -1,15 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-drupal-plugin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 62196365
5
4
  prerelease: 6
6
- segments:
7
- - 0
8
- - 2
9
- - 0
10
- - beta
11
- - 7
12
- version: 0.2.0.beta.7
5
+ version: 0.2.0.beta.8
13
6
  platform: ruby
14
7
  authors:
15
8
  - Capi Etheriel
@@ -17,7 +10,7 @@ autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
12
 
20
- date: 2011-03-11 00:00:00 -03:00
13
+ date: 2011-03-14 00:00:00 -03:00
21
14
  default_executable:
22
15
  dependencies:
23
16
  - !ruby/object:Gem::Dependency
@@ -28,12 +21,6 @@ dependencies:
28
21
  requirements:
29
22
  - - ">="
30
23
  - !ruby/object:Gem::Version
31
- hash: 592303095
32
- segments:
33
- - 0
34
- - 11
35
- - alpha
36
- - 1
37
24
  version: 0.11.alpha.1
38
25
  type: :runtime
39
26
  version_requirements: *id001
@@ -52,8 +39,9 @@ files:
52
39
  - templates/project/drupal-base.scss
53
40
  - templates/project/_skin.scss
54
41
  - templates/project/manifest.rb
55
- - templates/zen/zen-base-rtl.scss
56
- - templates/zen/zen-base.scss
42
+ - templates/zen/zen-rtl.scss
43
+ - templates/zen/zen.scss
44
+ - templates/zen/_zen-base.scss
57
45
  - templates/zen/manifest.rb
58
46
  has_rdoc: true
59
47
  homepage: http://bitbucket.org/barraponto/drupal-compass-extension/
@@ -69,25 +57,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
57
  requirements:
70
58
  - - ">="
71
59
  - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
60
  version: "0"
76
61
  required_rubygems_version: !ruby/object:Gem::Requirement
77
62
  none: false
78
63
  requirements:
79
64
  - - ">"
80
65
  - !ruby/object:Gem::Version
81
- hash: 25
82
- segments:
83
- - 1
84
- - 3
85
- - 1
86
66
  version: 1.3.1
87
67
  requirements: []
88
68
 
89
69
  rubyforge_project:
90
- rubygems_version: 1.4.2
70
+ rubygems_version: 1.6.0
91
71
  signing_key:
92
72
  specification_version: 3
93
73
  summary: a compass extension providing drupal integration
@@ -1,25 +0,0 @@
1
- // This file will generate proper RTL layout
2
-
3
- @import "drupal/zen";
4
-
5
- // This variable controls the total width of the Zen theme.
6
- // You can use px for a Fixed layout or % for a Liquid layout
7
- $zen-width: 960px;
8
-
9
- // These variables control the size of the sidebars
10
- $zen-first-sidebar-width: 200px;
11
- $zen-second-sidebar-width: 200px;
12
-
13
- // This variable positions the content relative to the sidebars
14
- // Possible values are first, last, middle
15
- $zen-content-position: "middle";
16
-
17
- // Use this mixin to generate the Zen layout
18
- @include zen-layout("rtl");
19
-
20
- // These variables control the #navigation div
21
- $zen-navigation-width: 100%;
22
- $zen-navigation-height: 2.3em;
23
-
24
- // Use this mixin to properly position the #navigation div
25
- @include zen-navigation("rtl");