curry-plain 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{curry-plain}
5
- s.version = "0.4.1"
5
+ s.version = "0.5.0"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
8
8
  s.authors = ["Andrea Campi"]
9
- s.date = %q{2012-02-28}
9
+ s.date = %q{2012-02-29}
10
10
  s.description = %q{A Compass plugin that provides a "plain" theme for Treesaver.}
11
11
  s.email = %w{andrea.campi@zephirworks.com}
12
12
  s.has_rdoc = false
@@ -29,5 +29,5 @@ Gem::Specification.new do |s|
29
29
  s.rubygems_version = %q{1.3.6}
30
30
  s.summary = %q{Plain Curry, a simple theme for Treesaver}
31
31
  s.add_dependency(%q<compass>, ["~> 0.11"])
32
- s.add_dependency(%q<curry-powder>, ["~> 0.5.0"])
32
+ s.add_dependency(%q<curry-powder>, ["~> 0.6.0"])
33
33
  end
@@ -16,6 +16,4 @@
16
16
  @include -curry-plain-body;
17
17
  @include -curry-plain-grid;
18
18
  @include -curry-plain-grid-vertical-padding;
19
- @include -curry-plain-grid-smallscreen;
20
- @include -curry-plain-misc-smallscreen;
21
-
19
+ @include -curry-plain-smallscreen;
@@ -1,5 +1,4 @@
1
1
  @import "curry/config";
2
- @import "curry/plain/utils";
3
2
 
4
3
  //
5
4
  // Chrome layout
@@ -37,7 +36,10 @@ $curry-plain-grid-padding-horizontal: 20px !default; // padding inside
37
36
  //
38
37
  // Smallscreen styling
39
38
  //
40
- $curry-plain-smallscreen-width: $curry-grid-smallscreen-width !default; // deprecate?
39
+ // Declared in _smallscreen.scss:
40
+ //
41
+ // * $curry-plain-smallscreen-width: $curry-plain-grid-outer-width !default;
42
+ //
41
43
  $curry-plain-smallscreen-grid-padding: 10px !default;
42
44
 
43
45
  //
@@ -62,10 +64,3 @@ $curry-plain-h3-font-size: $curry-plain-base-font-size !default; //
62
64
  $curry-plain-h4-font-size: $curry-plain-base-font-size !default; // Font size for h4
63
65
  $curry-plain-h5-font-size: $curry-plain-base-font-size !default; // Font size for h5
64
66
  $curry-plain-h6-font-size: $curry-plain-base-font-size !default; // Font size for h6
65
-
66
- $curry-plain-h1-line-height: -curry-plain-font-size-to-line-height($curry-plain-h1-font-size) !default;
67
- $curry-plain-h2-line-height: -curry-plain-font-size-to-line-height($curry-plain-h2-font-size) !default;
68
- $curry-plain-h3-line-height: -curry-plain-font-size-to-line-height($curry-plain-h3-font-size) !default;
69
- $curry-plain-h4-line-height: -curry-plain-font-size-to-line-height($curry-plain-h4-font-size) !default;
70
- $curry-plain-h5-line-height: -curry-plain-font-size-to-line-height($curry-plain-h5-font-size) !default;
71
- $curry-plain-h6-line-height: -curry-plain-font-size-to-line-height($curry-plain-h6-font-size) !default;
@@ -1,10 +1,12 @@
1
1
  @import "compass/css3/box-shadow";
2
2
 
3
+ $curry-plain-smallscreen-width: $curry-plain-grid-outer-width !default;
4
+
3
5
  @mixin -curry-plain-grid-smallscreen {
4
6
  .smallscreen.mobile {
5
7
  .mobile.grid {
6
8
  margin: 0;
7
- padding: $curry-plain-smallscreen-grid-padding;
9
+ padding: 0 $curry-plain-smallscreen-grid-padding;
8
10
  border: none;
9
11
  @include box-shadow(none);
10
12
 
@@ -21,13 +23,13 @@
21
23
  }
22
24
  }
23
25
 
24
- @mixin -curry-plain-misc-smallscreen {
26
+ @mixin -curry-plain-misc-smallscreen($width) {
25
27
  .smallscreen.mobile {
26
28
  background: white;
27
29
 
28
- .column, .container, p {
29
- width: $curry-plain-smallscreen-width;
30
- min-width: $curry-plain-smallscreen-width;
30
+ .column, .container {
31
+ width: $width;
32
+ min-width: $width;
31
33
  }
32
34
 
33
35
  .column {
@@ -44,3 +46,9 @@
44
46
  }
45
47
  }
46
48
  }
49
+
50
+ @mixin -curry-plain-smallscreen {
51
+ @include -curry-grid-support-smallscreen-mobile($curry-plain-smallscreen-width);
52
+ @include -curry-plain-grid-smallscreen;
53
+ @include -curry-plain-misc-smallscreen($curry-plain-smallscreen-width);
54
+ }
@@ -1,3 +1,12 @@
1
+ @import "curry/plain/utils";
2
+
3
+ $curry-plain-h1-line-height: -curry-plain-font-size-to-line-height($curry-plain-h1-font-size) !default;
4
+ $curry-plain-h2-line-height: -curry-plain-font-size-to-line-height($curry-plain-h2-font-size) !default;
5
+ $curry-plain-h3-line-height: -curry-plain-font-size-to-line-height($curry-plain-h3-font-size) !default;
6
+ $curry-plain-h4-line-height: -curry-plain-font-size-to-line-height($curry-plain-h4-font-size) !default;
7
+ $curry-plain-h5-line-height: -curry-plain-font-size-to-line-height($curry-plain-h5-font-size) !default;
8
+ $curry-plain-h6-line-height: -curry-plain-font-size-to-line-height($curry-plain-h6-font-size) !default;
9
+
1
10
  div, p, button {
2
11
  font-family: $curry-plain-font-family;
3
12
  font-size: $curry-plain-base-font-size;
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: curry-plain
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.1
5
+ version: 0.5.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrea Campi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-02-28 00:00:00 Z
13
+ date: 2012-02-29 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: compass
@@ -31,7 +31,7 @@ dependencies:
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 0.5.0
34
+ version: 0.6.0
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  description: A Compass plugin that provides a "plain" theme for Treesaver.