html5-boilerplate 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +3 -3
- data/VERSION +1 -1
- data/stylesheets/_html5-boilerplate.scss +0 -1
- data/templates/project/manifest.rb +3 -3
- data/templates/project/partials/{_example.scss → _overrides.scss} +4 -5
- data/templates/project/partials/_page.scss +0 -8
- data/templates/project/style.scss +8 -9
- metadata +3 -3
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Features
|
|
14
14
|
|
15
15
|
* Html5 Boilerplate stylesheets implemented as a modularized Compass library
|
16
16
|
* Lets you pick and choose only the Boilerplate mixins and includes you want
|
17
|
-
* Generates sass/scss partials to keep your
|
17
|
+
* Generates sass/scss partials to keep your stylesheets organized
|
18
18
|
* Generates modularized haml layouts for Rails apps (header, footer, flashes, etc.)
|
19
19
|
* Rails helpers to cleanly hide a little of Boilerplate's html complexity
|
20
20
|
* Loads minified jQuery in production envs, but uncompressed version in development
|
@@ -64,7 +64,7 @@ Start your Rails server, and you're done!
|
|
64
64
|
app/stylesheets/style.scss
|
65
65
|
app/stylesheets/handheld.scss
|
66
66
|
app/stylesheets/partials/_base.scss
|
67
|
-
app/stylesheets/partials/
|
67
|
+
app/stylesheets/partials/_overrides.scss
|
68
68
|
app/stylesheets/partials/_page.scss
|
69
69
|
app/stylesheets/partials/_fonts.scss
|
70
70
|
app/stylesheets/partials/_media.scss
|
@@ -135,7 +135,7 @@ If you omit them, be sure to edit your javascript and style tags accordingly in
|
|
135
135
|
src/style.scss
|
136
136
|
src/handheld.scss
|
137
137
|
src/partials/_base.scss
|
138
|
-
src/partials/
|
138
|
+
src/partials/_overrides.scss
|
139
139
|
src/partials/_page.scss
|
140
140
|
src/partials/_fonts.scss
|
141
141
|
src/partials/_media.scss
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
@@ -1,9 +1,9 @@
|
|
1
|
-
description "Compass
|
1
|
+
description "Compass extension for HTML5 Boilerplate located at http://html5boilerplate.com"
|
2
2
|
|
3
3
|
stylesheet 'style.scss', :media => 'all'
|
4
4
|
stylesheet 'handheld.scss', :media => 'handheld'
|
5
5
|
stylesheet 'partials/_base.scss'
|
6
|
-
stylesheet 'partials/
|
6
|
+
stylesheet 'partials/_overrides.scss'
|
7
7
|
stylesheet 'partials/_fonts.scss'
|
8
8
|
stylesheet 'partials/_media.scss'
|
9
9
|
stylesheet 'partials/_page.scss'
|
@@ -41,7 +41,7 @@ html 'files/apple-touch-icon.png', :to => 'apple-touch-icon.png'
|
|
41
41
|
html 'files/favicon.ico', :to => 'favicon.ico'
|
42
42
|
|
43
43
|
help %Q{
|
44
|
-
This is a Compass
|
44
|
+
This is a Compass extension for HTML5 Boilerplate by Paul Irish
|
45
45
|
(See full docs at: http://github.com/sporkd/compass-html5-boilerplate)
|
46
46
|
|
47
47
|
Rails Installation
|
@@ -13,13 +13,8 @@
|
|
13
13
|
//--------------------------------
|
14
14
|
// Minimal Base Styles
|
15
15
|
//--------------------------------
|
16
|
-
body, select, input, textarea { color: $font-color; }
|
17
|
-
|
18
16
|
html { @include force-scrollbar; }
|
19
17
|
|
20
|
-
a, a:active, a:visited { color: $link-color; }
|
21
|
-
a:hover { color: $link-hover-color; }
|
22
|
-
|
23
18
|
ul, ol { margin-left: $list-left-margin; }
|
24
19
|
ol { list-style-type: decimal; }
|
25
20
|
|
@@ -29,6 +24,8 @@ sub { @include sub; }
|
|
29
24
|
|
30
25
|
sup { @include sup; }
|
31
26
|
|
27
|
+
textarea { overflow: auto; }
|
28
|
+
|
32
29
|
@include accessible-focus;
|
33
30
|
|
34
31
|
@include quoted-pre;
|
@@ -37,6 +34,8 @@ sup { @include sup; }
|
|
37
34
|
|
38
35
|
@include hand-cursor-inputs;
|
39
36
|
|
37
|
+
@include webkit-reset-form-elements;
|
38
|
+
|
40
39
|
@include selected-text;
|
41
40
|
|
42
41
|
@include webkit-tap-highlight;
|
@@ -11,13 +11,6 @@ body, select, input, textarea {
|
|
11
11
|
// font-family: Georgia, serif;
|
12
12
|
}
|
13
13
|
|
14
|
-
body, select, input, textarea { color: $font-color; }
|
15
|
-
|
16
|
-
html { @include force-scrollbar; }
|
17
|
-
|
18
|
-
a, a:active, a:visited { color: $link-color; }
|
19
|
-
a:hover { color: $link-hover-color; }
|
20
|
-
|
21
14
|
//Headers (h1, h2, etc) have no default font-size or margin; define those yourself
|
22
15
|
h1, h2, h3, h4, h5, h6 {
|
23
16
|
// Bold might not be the best choice if you are
|
@@ -25,7 +18,6 @@ h1, h2, h3, h4, h5, h6 {
|
|
25
18
|
font-weight: bold;
|
26
19
|
}
|
27
20
|
|
28
|
-
// See defaults in _base.scss
|
29
21
|
a, a:active, a:visited { color: $link-color; }
|
30
22
|
a:hover { color: $link-hover-color; }
|
31
23
|
|
@@ -1,24 +1,23 @@
|
|
1
|
-
//
|
1
|
+
// Here's where we define some default constants
|
2
2
|
@import "partials/base";
|
3
3
|
|
4
4
|
// Then we'll import the compass extension
|
5
5
|
@import "html5-boilerplate";
|
6
6
|
|
7
|
-
//
|
8
|
-
//
|
9
|
-
// enchilada by uncommeting this line
|
7
|
+
// Now, you can simply include everything
|
8
|
+
// (except media) by uncommeting this line
|
10
9
|
//@include html5-boilerplate;
|
11
10
|
|
12
|
-
// Or, you can pick and choose only the
|
13
|
-
//
|
11
|
+
// Or, you can pick and choose only the sections
|
12
|
+
// you want by using the these includes
|
14
13
|
@include html5-boilerplate-reset;
|
15
14
|
@include html5-boilerplate-fonts;
|
16
15
|
@include html5-boilerplate-styles;
|
17
16
|
@include html5-boilerplate-helpers;
|
18
17
|
|
19
|
-
// Or
|
20
|
-
// want more control over
|
21
|
-
//@import "partials/
|
18
|
+
// Or, you can import the "overrides" partial if
|
19
|
+
// you want more control over individual mixins
|
20
|
+
//@import "partials/overrides";
|
22
21
|
|
23
22
|
// Finally, put your own styles in these partials
|
24
23
|
// and add more as needed (i.e. forms, tables, nav)
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 2
|
9
|
+
version: 0.3.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Peter Gumeson
|
@@ -79,9 +79,9 @@ files:
|
|
79
79
|
- templates/project/javascripts/script.js
|
80
80
|
- templates/project/manifest.rb
|
81
81
|
- templates/project/partials/_base.scss
|
82
|
-
- templates/project/partials/_example.scss
|
83
82
|
- templates/project/partials/_fonts.scss
|
84
83
|
- templates/project/partials/_media.scss
|
84
|
+
- templates/project/partials/_overrides.scss
|
85
85
|
- templates/project/partials/_page.scss
|
86
86
|
- templates/project/style.scss
|
87
87
|
has_rdoc: true
|