72 lines
1.1 KiB
SCSS
72 lines
1.1 KiB
SCSS
/* ----------------------------- */
|
|
/* ==Forms */
|
|
/* ----------------------------- */
|
|
|
|
/* thanks to HTML5boilerplate,
|
|
* github.com/nathansmith/formalize and www.sitepen.com
|
|
*/
|
|
|
|
|
|
/* forms items */
|
|
form,
|
|
fieldset {
|
|
border: none;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
label {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
input,
|
|
optgroup,
|
|
select,
|
|
textarea {
|
|
color: $color-base;
|
|
}
|
|
|
|
label {
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
}
|
|
|
|
legend {
|
|
border: 0;
|
|
white-space: normal;
|
|
}
|
|
|
|
textarea {
|
|
min-height: 5em;
|
|
vertical-align: top;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
resize: vertical;
|
|
}
|
|
|
|
select {
|
|
-webkit-appearance: menulist-button;
|
|
}
|
|
|
|
/* if select styling bugs on WebKit */
|
|
/* select { -webkit-appearance: none; } */
|
|
|
|
/* 'x' appears on right of search input when text is entered. This removes it */
|
|
input[type="search"] {
|
|
&::-webkit-search-decoration,
|
|
&::-webkit-search-cancel-button,
|
|
&::-webkit-search-results-button,
|
|
&::-webkit-search-results-decoration {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
::-webkit-input-placeholder {
|
|
color: #777;
|
|
}
|
|
|
|
input:-moz-placeholder,
|
|
textarea:-moz-placeholder {
|
|
color: #777;
|
|
}
|