2013-03-31 10:19:51 +02:00
|
|
|
/* ----------------------------- */
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
/* ==forms */
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
/* ----------------------------- */
|
|
|
|
|
2013-08-30 21:04:16 +02:00
|
|
|
/* thanks to HTML5boilerplate,
|
|
|
|
* github.com/nathansmith/formalize
|
|
|
|
* and www.sitepen.com
|
|
|
|
*/
|
2013-03-31 10:19:51 +02:00
|
|
|
|
|
|
|
/* buttons */
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-09-03 11:14:58 +02:00
|
|
|
.btn {
|
2014-01-31 15:30:55 +01:00
|
|
|
display: inline-block;
|
2013-09-03 11:14:58 +02:00
|
|
|
}
|
2013-03-31 10:19:51 +02:00
|
|
|
|
|
|
|
/* forms items */
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-09-03 11:14:58 +02:00
|
|
|
form,
|
|
|
|
fieldset {
|
2014-01-31 15:30:55 +01:00
|
|
|
border: none;
|
2013-09-03 11:14:58 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-09-03 11:14:58 +02:00
|
|
|
input,
|
|
|
|
button,
|
|
|
|
select,
|
|
|
|
label,
|
|
|
|
.btn {
|
2014-01-31 15:30:55 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
2013-09-03 11:14:58 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: pointer;
|
2013-03-31 10:19:51 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
legend {
|
2014-01-31 15:30:55 +01:00
|
|
|
border: 0;
|
|
|
|
white-space: normal;
|
2013-03-31 10:19:51 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
textarea {
|
2014-01-31 15:30:55 +01:00
|
|
|
min-height: 5em;
|
|
|
|
vertical-align: top;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
resize: vertical;
|
2013-03-31 10:19:51 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
button,
|
|
|
|
input[type="button"],
|
|
|
|
input[type="reset"],
|
|
|
|
input[type="submit"] {
|
2014-01-31 15:30:55 +01:00
|
|
|
cursor: pointer;
|
|
|
|
-webkit-appearance: button;
|
|
|
|
/* clickable input types in iOS */
|
2013-03-31 10:19:51 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-09-03 11:14:58 +02:00
|
|
|
input[type="search"] {
|
2014-01-31 15:30:55 +01:00
|
|
|
-webkit-appearance: textfield;
|
2013-09-03 11:14:58 +02:00
|
|
|
}
|
2013-03-31 10:19:51 +02:00
|
|
|
|
|
|
|
/* if select styling bugs on WebKit */
|
|
|
|
|
|
|
|
/* 'x' appears on right of search input when text is entered. This removes it */
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
input[type="search"]::-webkit-search-decoration,
|
|
|
|
input[type="search"]::-webkit-search-cancel-button,
|
|
|
|
input[type="search"]::-webkit-search-results-button,
|
|
|
|
input[type="search"]::-webkit-search-results-decoration {
|
2014-01-31 15:30:55 +01:00
|
|
|
display: none;
|
2013-03-31 10:19:51 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-09-03 11:14:58 +02:00
|
|
|
::-webkit-input-placeholder {
|
2014-01-31 15:30:55 +01:00
|
|
|
color: #777;
|
2013-09-03 11:14:58 +02:00
|
|
|
}
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
input:-moz-placeholder,
|
2013-09-03 11:14:58 +02:00
|
|
|
textarea:-moz-placeholder {
|
2014-01-31 15:30:55 +01:00
|
|
|
color: #777;
|
2013-09-03 11:14:58 +02:00
|
|
|
}
|
2013-03-31 10:19:51 +02:00
|
|
|
|
|
|
|
/* Removes inner padding and border in FF3+ */
|
2014-01-31 15:30:55 +01:00
|
|
|
|
2013-03-31 10:19:51 +02:00
|
|
|
button::-moz-focus-inner,
|
|
|
|
input[type='button']::-moz-focus-inner,
|
|
|
|
input[type='reset']::-moz-focus-inner,
|
|
|
|
input[type='submit']::-moz-focus-inner {
|
2014-01-31 15:30:55 +01:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|