Merge branch 'update-color-padding-for-chrome'

Conflicts:
	src/forms/css/forms.css
This commit is contained in:
Tilo Mitra 2014-02-09 23:27:34 -05:00
commit def7bbad8a
2 changed files with 10 additions and 0 deletions

View File

@ -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="password"]:focus,
.pure-form input[type="email"]:focus,

View File

@ -106,6 +106,9 @@
<option>NY</option>
</select>
<label>Color</label>
<input type="color">
<label class="pure-checkbox">
<input type="checkbox"> I've read the terms and conditions
</label>