compass-drupal-plugin 0.2.0.alpha.0 → 0.2.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- data/compass-drupal-plugin.gemspec +2 -2
- data/stylesheets/drupal/_zen.scss +18 -10
- data/templates/zen/zen-base.scss +7 -0
- metadata +4 -4
@@ -7,8 +7,6 @@ $zen-second-sidebar-width: 200px !default;
|
|
7
7
|
$zen-navigation-width: 100% !default;
|
8
8
|
$zen-navigation-height: 2.3em !default;
|
9
9
|
|
10
|
-
//TODO: liquid
|
11
|
-
|
12
10
|
@mixin zen-layout-base {
|
13
11
|
|
14
12
|
.region-header {
|
@@ -40,6 +38,7 @@ $zen-navigation-height: 2.3em !default;
|
|
40
38
|
@include float($first);
|
41
39
|
padding: 0;
|
42
40
|
|
41
|
+
|
43
42
|
.no-sidebars & {
|
44
43
|
width: $zen-width;
|
45
44
|
margin-#{$first}: 0;
|
@@ -186,8 +185,7 @@ $zen-navigation-height: 2.3em !default;
|
|
186
185
|
|
187
186
|
.two-sidebars & {
|
188
187
|
margin-#{$first}: 0;
|
189
|
-
margin-#{$last}: $zen-second-sidebar-width;
|
190
|
-
}
|
188
|
+
margin-#{$last}: $zen-second-sidebar-width; }
|
191
189
|
|
192
190
|
.section {
|
193
191
|
margin-#{$first}: 20px; } }
|
@@ -198,8 +196,7 @@ $zen-navigation-height: 2.3em !default;
|
|
198
196
|
|
199
197
|
.two-sidebars & {
|
200
198
|
margin-#{$first}: 0;
|
201
|
-
margin-#{$last}: -($zen-first-sidebar-width + $zen-second-sidebar-width);
|
202
|
-
}
|
199
|
+
margin-#{$last}: -($zen-first-sidebar-width + $zen-second-sidebar-width); }
|
203
200
|
|
204
201
|
.section {
|
205
202
|
margin-#{$first}: 20px; } } }
|
@@ -256,8 +253,7 @@ $zen-navigation-height: 2.3em !default;
|
|
256
253
|
|
257
254
|
.two-sidebars & {
|
258
255
|
margin-#{$first}: - $zen-second-sidebar-width;
|
259
|
-
margin-#{$last}: 0;
|
260
|
-
}
|
256
|
+
margin-#{$last}: 0; }
|
261
257
|
|
262
258
|
.section {
|
263
259
|
margin-#{$last}: 20px; } } }
|
@@ -281,8 +277,7 @@ $zen-navigation-height: 2.3em !default;
|
|
281
277
|
|
282
278
|
@if $direction == "rtl" {
|
283
279
|
$first: "right";
|
284
|
-
$last: "left";
|
285
|
-
}
|
280
|
+
$last: "left"; }
|
286
281
|
|
287
282
|
#navigation {
|
288
283
|
overflow: hidden;
|
@@ -322,3 +317,16 @@ $zen-navigation-height: 2.3em !default;
|
|
322
317
|
overflow-y: hidden; }
|
323
318
|
|
324
319
|
}
|
320
|
+
|
321
|
+
@mixin zen-typefaces(
|
322
|
+
$proportional: 'Verdana, Tahoma, "DejaVu Sans", sans-serif',
|
323
|
+
$monospaced: '"Courier New", "DejaVu Sans Mono", monospace') {
|
324
|
+
|
325
|
+
body, caption, th, td, input, textarea, select, option, legend, fieldset {
|
326
|
+
font-family: $proportional; }
|
327
|
+
|
328
|
+
pre, code {
|
329
|
+
font-family: $monospaced; }
|
330
|
+
|
331
|
+
|
332
|
+
}
|
data/templates/zen/zen-base.scss
CHANGED
@@ -23,6 +23,13 @@ $zen-navigation-height: 2.3em;
|
|
23
23
|
// Use this mixin to properly position the #navigation div
|
24
24
|
@include zen-navigation();
|
25
25
|
|
26
|
+
// These variables control the typefaces as defined in html-reset.css
|
27
|
+
$zen-proportional-typeface: 'Verdana, Tahoma, "DejaVu Sans", sans-serif';
|
28
|
+
$zen-monospaced-typeface: '"Courier New", "DejaVu Sans Mono", monospace';
|
29
|
+
|
30
|
+
//Use this mixin to set the new typefaces
|
31
|
+
@include zen-typefaces($zen-proportional-typeface, $zen-monospaced-typeface);
|
32
|
+
|
26
33
|
body { }
|
27
34
|
|
28
35
|
#skip-link { }
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-drupal-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 592302975
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- alpha
|
11
|
-
-
|
12
|
-
version: 0.2.0.alpha.
|
11
|
+
- 1
|
12
|
+
version: 0.2.0.alpha.1
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Capi /. Etheriel
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2010-
|
20
|
+
date: 2010-12-01 00:00:00 -02:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|