html5-boilerplate 0.1.3 → 0.1.4
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/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -9,12 +9,12 @@
|
|
9
9
|
|
10
10
|
.visuallyhidden { @include visually-hidden; }
|
11
11
|
|
12
|
-
@include
|
12
|
+
@include clearfix;
|
13
13
|
}
|
14
14
|
|
15
15
|
// for image replacement
|
16
16
|
@mixin image-replacement {
|
17
|
-
display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left;
|
17
|
+
display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr;
|
18
18
|
}
|
19
19
|
|
20
20
|
// Hide for both screenreaders and browsers
|
@@ -37,7 +37,9 @@
|
|
37
37
|
@mixin invisible { visibility: hidden; }
|
38
38
|
|
39
39
|
// The Magnificent CLEARFIX
|
40
|
-
|
41
|
-
|
42
|
-
|
40
|
+
// Make any element or classname a
|
41
|
+
// clearfix by passing in a selector
|
42
|
+
@mixin clearfix($selector: '.clearfix') {
|
43
|
+
#{$selector}:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
44
|
+
#{$selector} { zoom: 1; }
|
43
45
|
}
|
@@ -107,7 +107,7 @@ $invalid-input-background-color: #f0dddd !default;
|
|
107
107
|
label, input[type=button], input[type=submit], button { cursor: pointer; }
|
108
108
|
}
|
109
109
|
|
110
|
-
|
110
|
+
// colors for form validity
|
111
111
|
@mixin input-validation {
|
112
112
|
input:invalid { background-color: $invalid-input-background-color; }
|
113
113
|
input:valid { background-color: $valid-input-background-color; }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
-# CSS : implied media="all"
|
2
|
-
= stylesheet_link_tag 'style'
|
2
|
+
= stylesheet_link_tag 'style', :media => 'all'
|
3
3
|
-# For the less-enabled mobile browsers like Opera Mini
|
4
4
|
= stylesheet_link_tag 'handheld', :media => 'handheld'
|
5
5
|
-# Append your own using content_for :stylesheets
|
@@ -27,7 +27,7 @@
|
|
27
27
|
%link{:href => "/apple-touch-icon.png", :rel => "apple-touch-icon"}/
|
28
28
|
|
29
29
|
-# CSS : implied media="all"
|
30
|
-
%link{:href => "css/style.css?v=1", :rel => "stylesheet"}/
|
30
|
+
%link{:href => "css/style.css?v=1", :media => "all", :rel => "stylesheet"}/
|
31
31
|
|
32
32
|
-# For the less-enabled mobile browsers like Opera Mini
|
33
33
|
%link{:href => "css/handheld.css?v=1", :media => "handheld", :rel => "stylesheet"}/
|
@@ -76,4 +76,4 @@
|
|
76
76
|
g.src = '//www.google-analytics.com/ga.js';
|
77
77
|
s.parentNode.insertBefore(g, s);
|
78
78
|
})(document, 'script');
|
79
|
-
|
79
|
+
|
@@ -62,7 +62,9 @@ sup { vertical-align: super; font-size: smaller; }
|
|
62
62
|
|
63
63
|
.visuallyhidden { @include visually-hidden; }
|
64
64
|
|
65
|
-
|
65
|
+
// Make any element or classname behave as
|
66
|
+
// clearfix by passing in a selector
|
67
|
+
@include clearfix('.clearfix');
|
66
68
|
|
67
69
|
|
68
70
|
//--------------------------------
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 4
|
9
|
+
version: 0.1.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Peter Gumeson
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-21 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|