General normalization on LESS files

This commit is contained in:
Raphael Goetter 2014-05-07 10:45:47 +02:00
parent 5e1e4f9eb5
commit 01633e9d9e
14 changed files with 741 additions and 196 deletions

View file

@ -18,6 +18,7 @@ form,
fieldset {
border: none;
}
input,
button,
select,
@ -27,15 +28,18 @@ label,
font-family: inherit;
font-size: inherit;
}
label {
display: inline-block;
vertical-align: middle;
cursor: pointer;
}
legend {
border: 0;
white-space: normal;
}
textarea {
min-height: 5em;
vertical-align: top;
@ -43,13 +47,16 @@ textarea {
font-size: inherit;
resize: vertical;
}
/* clickable input types in iOS */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button; /* clickable input types in iOS */
-webkit-appearance: button;
}
input[type="search"] {
-webkit-appearance: textfield;
}
@ -64,9 +71,11 @@ input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}
::-webkit-input-placeholder {
color: #777;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
color: #777;
@ -79,4 +88,4 @@ input[type='reset']::-moz-focus-inner,
input[type='submit']::-moz-focus-inner {
border: 0;
padding: 0;
}
}