mirror of
https://github.com/pure-css/pure
synced 2025-03-13 06:24:28 +01:00
Merge branch 'update-color-padding-for-chrome'
Conflicts: src/forms/css/forms.css
This commit is contained in:
commit
def7bbad8a
src/forms
@ -42,6 +42,13 @@ since IE8 won't execute CSS that contains a CSS3 selector.
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */
|
||||||
|
/* May be able to remove this tweak as color inputs become more standardized across browsers. */
|
||||||
|
.pure-form input[type="color"] {
|
||||||
|
padding: 0.2em 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.pure-form input[type="text"]:focus,
|
.pure-form input[type="text"]:focus,
|
||||||
.pure-form input[type="password"]:focus,
|
.pure-form input[type="password"]:focus,
|
||||||
.pure-form input[type="email"]:focus,
|
.pure-form input[type="email"]:focus,
|
||||||
|
@ -106,6 +106,9 @@
|
|||||||
<option>NY</option>
|
<option>NY</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<label>Color</label>
|
||||||
|
<input type="color">
|
||||||
|
|
||||||
<label class="pure-checkbox">
|
<label class="pure-checkbox">
|
||||||
<input type="checkbox"> I've read the terms and conditions
|
<input type="checkbox"> I've read the terms and conditions
|
||||||
</label>
|
</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user