compass-normalize 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -3
- data/stylesheets/_normalize.scss +1 -1
- data/stylesheets/normalize/forms.scss +12 -10
- metadata +3 -3
data/README.md
CHANGED
@@ -15,6 +15,8 @@ You can also install the gem from your local fork:
|
|
15
15
|
$ rake build
|
16
16
|
$ rake install
|
17
17
|
|
18
|
+
|
19
|
+
## Usage
|
18
20
|
When creating a new project with compass:
|
19
21
|
|
20
22
|
$ compass create new_project -r compass-normalize --using compass-normalize
|
@@ -23,9 +25,6 @@ If using an existing project, edit your config.rb and add this line:
|
|
23
25
|
|
24
26
|
require 'compass-normalize'
|
25
27
|
|
26
|
-
|
27
|
-
## Usage
|
28
|
-
|
29
28
|
To use the normalize plugin, just import and include normalize:
|
30
29
|
|
31
30
|
@import normalize;
|
data/stylesheets/_normalize.scss
CHANGED
@@ -45,21 +45,24 @@ textarea {
|
|
45
45
|
|
46
46
|
button,
|
47
47
|
input {
|
48
|
-
line-height: normal;
|
48
|
+
line-height: normal;
|
49
49
|
}
|
50
50
|
|
51
|
-
// 1.
|
52
|
-
//
|
53
|
-
//
|
54
|
-
//
|
51
|
+
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
52
|
+
// and `video` controls.
|
53
|
+
// 2. Corrects inability to style clickable `input` types in iOS.
|
54
|
+
// 3. Improves usability and consistency of cursor style between image-type
|
55
|
+
// `input` and others.
|
56
|
+
// 4. Removes inner spacing in IE7 without affecting normal text inputs.
|
57
|
+
// Known issue: inner spacing remains in IE6.
|
55
58
|
|
56
59
|
button,
|
57
|
-
input[type="button"],
|
60
|
+
html input[type="button"], // 1
|
58
61
|
input[type="reset"],
|
59
62
|
input[type="submit"] {
|
60
|
-
cursor: pointer; // 1
|
61
63
|
-webkit-appearance: button; // 2
|
62
|
-
|
64
|
+
cursor: pointer; // 3
|
65
|
+
*overflow: visible; // 4
|
63
66
|
}
|
64
67
|
|
65
68
|
// Re-set default cursor for disabled elements
|
@@ -99,8 +102,7 @@ input[type="search"]::-webkit-search-cancel-button {
|
|
99
102
|
-webkit-appearance: none;
|
100
103
|
}
|
101
104
|
|
102
|
-
// Removes inner padding and border in FF3
|
103
|
-
// www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
105
|
+
// Removes inner padding and border in FF3+.
|
104
106
|
|
105
107
|
button::-moz-focus-inner,
|
106
108
|
input::-moz-focus-inner {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-normalize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-09-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: compass
|
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
version: '0'
|
66
66
|
requirements: []
|
67
67
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.8.
|
68
|
+
rubygems_version: 1.8.23
|
69
69
|
signing_key:
|
70
70
|
specification_version: 3
|
71
71
|
summary: A compass plugin for using normalize.css
|