compass-treesaver-theme-basic-plugin 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/compass-treesaver-theme-basic-plugin.gemspec +4 -3
- data/stylesheets/treesaver/theme/_basic.scss +3 -0
- data/stylesheets/treesaver/theme/basic/_config.scss +8 -0
- data/stylesheets/treesaver/theme/basic/_grid.scss +11 -0
- data/stylesheets/treesaver/theme/basic/_typography.scss +6 -0
- data/stylesheets/treesaver/theme/basic/_utils.scss +8 -0
- data/templates/project/manifest.rb +1 -1
- data/templates/project/style.scss +1 -0
- metadata +3 -2
- data/templates/project/_compass_treesaver_theme_basic.scss +0 -1
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{compass-treesaver-theme-basic-plugin}
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.2.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
|
8
8
|
s.authors = ["Andrea Campi"]
|
@@ -19,8 +19,9 @@ Gem::Specification.new do |s|
|
|
19
19
|
"stylesheets/treesaver/theme/basic/_grid.scss",
|
20
20
|
"stylesheets/treesaver/theme/basic/_smallscreen.scss",
|
21
21
|
"stylesheets/treesaver/theme/basic/_typography.scss",
|
22
|
-
"
|
23
|
-
"templates/project/manifest.rb"
|
22
|
+
"stylesheets/treesaver/theme/basic/_utils.scss",
|
23
|
+
"templates/project/manifest.rb",
|
24
|
+
"templates/project/style.scss"
|
24
25
|
]
|
25
26
|
s.homepage = %q{http://zephirworks.com/}
|
26
27
|
s.require_paths = ["lib"]
|
@@ -2,8 +2,10 @@
|
|
2
2
|
// Simple style, meant as a starting point for further customization.
|
3
3
|
//
|
4
4
|
|
5
|
+
@import "treesaver";
|
5
6
|
@import "basic/config";
|
6
7
|
|
8
|
+
@include treesaver-chrome-viewer-with-bottom-controls(40px);
|
7
9
|
@include treesaver-layout-setup($treesaver-theme-grid-outer-width, $treesaver-theme-grid-margin, 3);
|
8
10
|
|
9
11
|
@import "basic/base";
|
@@ -13,5 +15,6 @@
|
|
13
15
|
|
14
16
|
@include -treesaver-theme-basic-body;
|
15
17
|
@include -treesaver-theme-basic-grid;
|
18
|
+
@include -treesaver-theme-basic-grid-vertical-padding;
|
16
19
|
@include -treesaver-theme-basic-grid-smallscreen;
|
17
20
|
@include -treesaver-theme-basic-misc-smallscreen;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
@import "treesaver/config";
|
2
|
+
@import "utils";
|
2
3
|
|
3
4
|
//
|
4
5
|
// Grid (page) layout
|
@@ -49,3 +50,10 @@ $treesaver-theme-h3-font-size: $treesaver-theme-base-font-size !default;
|
|
49
50
|
$treesaver-theme-h4-font-size: $treesaver-theme-base-font-size !default; // Font size for h4
|
50
51
|
$treesaver-theme-h5-font-size: $treesaver-theme-base-font-size !default; // Font size for h5
|
51
52
|
$treesaver-theme-h6-font-size: $treesaver-theme-base-font-size !default; // Font size for h6
|
53
|
+
|
54
|
+
$treesaver-theme-h1-line-height: -treesaver-theme-font-size-to-line-height($treesaver-theme-h1-font-size) !default;
|
55
|
+
$treesaver-theme-h2-line-height: -treesaver-theme-font-size-to-line-height($treesaver-theme-h2-font-size) !default;
|
56
|
+
$treesaver-theme-h3-line-height: -treesaver-theme-font-size-to-line-height($treesaver-theme-h3-font-size) !default;
|
57
|
+
$treesaver-theme-h4-line-height: -treesaver-theme-font-size-to-line-height($treesaver-theme-h4-font-size) !default;
|
58
|
+
$treesaver-theme-h5-line-height: -treesaver-theme-font-size-to-line-height($treesaver-theme-h5-font-size) !default;
|
59
|
+
$treesaver-theme-h6-line-height: -treesaver-theme-font-size-to-line-height($treesaver-theme-h6-font-size) !default;
|
@@ -6,24 +6,30 @@ div, p, button {
|
|
6
6
|
h1 {
|
7
7
|
font-family: $treesaver-theme-font-family;
|
8
8
|
font-size: $treesaver-theme-h1-font-size;
|
9
|
+
line-height: $treesaver-theme-h1-line-height;
|
9
10
|
}
|
10
11
|
|
11
12
|
h2 {
|
12
13
|
font-size: $treesaver-theme-h2-font-size;
|
14
|
+
line-height: $treesaver-theme-h2-line-height;
|
13
15
|
}
|
14
16
|
|
15
17
|
h3 {
|
16
18
|
font-size: $treesaver-theme-h3-font-size;
|
19
|
+
line-height: $treesaver-theme-h3-line-height;
|
17
20
|
}
|
18
21
|
|
19
22
|
h4 {
|
20
23
|
font-size: $treesaver-theme-h4-font-size;
|
24
|
+
line-height: $treesaver-theme-h4-line-height;
|
21
25
|
}
|
22
26
|
|
23
27
|
h5 {
|
24
28
|
font-size: $treesaver-theme-h5-font-size;
|
29
|
+
line-height: $treesaver-theme-h5-line-height;
|
25
30
|
}
|
26
31
|
|
27
32
|
h6 {
|
28
33
|
font-size: $treesaver-theme-h6-font-size;
|
34
|
+
line-height: $treesaver-theme-h6-line-height;
|
29
35
|
}
|
@@ -1 +1 @@
|
|
1
|
-
stylesheet '
|
1
|
+
stylesheet 'style.scss', :media => 'screen'
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "treesaver/theme/basic";
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: compass-treesaver-theme-basic-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Andrea Campi
|
@@ -53,8 +53,9 @@ files:
|
|
53
53
|
- stylesheets/treesaver/theme/basic/_grid.scss
|
54
54
|
- stylesheets/treesaver/theme/basic/_smallscreen.scss
|
55
55
|
- stylesheets/treesaver/theme/basic/_typography.scss
|
56
|
-
-
|
56
|
+
- stylesheets/treesaver/theme/basic/_utils.scss
|
57
57
|
- templates/project/manifest.rb
|
58
|
+
- templates/project/style.scss
|
58
59
|
has_rdoc: true
|
59
60
|
homepage: http://zephirworks.com/
|
60
61
|
licenses: []
|
@@ -1 +0,0 @@
|
|
1
|
-
@import "treesaver/theme/default";
|