adding support for input['tel'] and input['url'] and cleaning up a few other form styles

This commit is contained in:
dhg 2014-12-15 16:49:25 -08:00
parent 2144cee05b
commit c34806e863

12
css/skeleton.css vendored
View File

@ -228,6 +228,8 @@ input[type="button"].button-primary:focus {
input[type="email"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
@ -236,11 +238,15 @@ select {
background-color: #fff;
border: 1px solid #D1D1D1;
border-radius: 4px;
box-shadow: none; }
/* Removes awkard default styles on some inputs */
box-shadow: none;
box-sizing: border-box; }
/* Removes awkard default styles on some inputs for iOS */
input[type="email"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
-webkit-appearance: none;
-moz-appearance: none;
@ -253,6 +259,8 @@ textarea {
input[type="email"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {