rails-boilerplate 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
data/.gitmodules
CHANGED
data/README.md
CHANGED
@@ -11,7 +11,7 @@ gem "rails-boilerplate"
|
|
11
11
|
```
|
12
12
|
This gives you a rake task `boilerplate:install` which does the following things:
|
13
13
|
|
14
|
-
* updates `app/views/layouts/application.html.erb` to include all the elements used in the [H5BP:index.html](https://github.com/
|
14
|
+
* updates `app/views/layouts/application.html.erb` to include all the elements used in the [H5BP:index.html](https://github.com/h5bp/html5-boilerplate/blob/master/index.html) converted to a Rails compatible ERB file, complete with the necessary rails helper calls.
|
15
15
|
|
16
16
|
* adds `style.css`(renamed to reset.css), `modernizr.js` and `plugins.js` as assets
|
17
17
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
3
|
-
<!--[if lt IE 7]> <html class="no-js
|
4
|
-
<!--[if IE 7]> <html class="no-js
|
5
|
-
<!--[if IE 8]> <html class="no-js
|
3
|
+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
4
|
+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
|
5
|
+
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
6
6
|
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
|
7
7
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
8
8
|
<head>
|
@@ -33,7 +33,7 @@ audio:not([controls]) { display: none; }
|
|
33
33
|
|
34
34
|
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
35
35
|
|
36
|
-
body { margin: 0; font-size:
|
36
|
+
body { margin: 0; font-size: 1em; line-height: 1.4; }
|
37
37
|
|
38
38
|
body, button, input, select, textarea { font-family: sans-serif; color: #222; }
|
39
39
|
|
@@ -156,23 +156,17 @@ button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: ba
|
|
156
156
|
|
157
157
|
/*
|
158
158
|
* 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
|
159
|
-
* 2. Correct inner spacing displayed oddly in IE6/7
|
160
159
|
*/
|
161
160
|
|
162
|
-
button, input { line-height: normal;
|
163
|
-
|
164
|
-
/*
|
165
|
-
* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
|
166
|
-
*/
|
167
|
-
|
168
|
-
table button, table input { *overflow: auto; }
|
161
|
+
button, input { line-height: normal; }
|
169
162
|
|
170
163
|
/*
|
171
164
|
* 1. Display hand cursor for clickable form elements
|
172
165
|
* 2. Allow styling of clickable form elements in iOS
|
166
|
+
* 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
|
173
167
|
*/
|
174
168
|
|
175
|
-
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
|
169
|
+
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
|
176
170
|
|
177
171
|
/*
|
178
172
|
* Consistent box sizing and appearance
|
@@ -250,7 +244,7 @@ td { vertical-align: top; }
|
|
250
244
|
========================================================================== */
|
251
245
|
|
252
246
|
/* For image replacement */
|
253
|
-
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
|
247
|
+
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
|
254
248
|
.ir br { display: none; }
|
255
249
|
|
256
250
|
/* Hide from both screenreaders and browsers: h5bp.com/u */
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-boilerplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christiaan Van den Poel
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-10-27 00:00:00 Z
|
20
19
|
dependencies: []
|
21
20
|
|
22
21
|
description: HTML5 boilerplate for Rails (>= 3.1)
|
@@ -94,7 +93,6 @@ files:
|
|
94
93
|
- vendor/assets/javascripts/modernizr.js
|
95
94
|
- vendor/assets/javascripts/plugins.js
|
96
95
|
- vendor/assets/stylesheets/reset.css
|
97
|
-
has_rdoc: true
|
98
96
|
homepage: http://github.com/khelben/rails-boilerplate
|
99
97
|
licenses: []
|
100
98
|
|
@@ -124,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
122
|
requirements: []
|
125
123
|
|
126
124
|
rubyforge_project: rails-boilerplate
|
127
|
-
rubygems_version: 1.
|
125
|
+
rubygems_version: 1.8.10
|
128
126
|
signing_key:
|
129
127
|
specification_version: 3
|
130
128
|
summary: HTML5 boilerplate for Rails (>= 3.1)
|