html input

Proposing to remove html input from the button class. It overrides more than is needed. For example it will interfere with bbPress editor styles. It's safer to leave input[type="button"] as-is. Please see: http://i.imgur.com/Q98uqBH.png
This commit is contained in:
Emil Uzelac 2013-10-20 20:05:11 -05:00
parent 628ec71614
commit a0eec6c63b
1 changed files with 4 additions and 4 deletions

View File

@ -227,7 +227,7 @@ input {
line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */ line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
} }
button, button,
html input[type="button"], input[type="button"],
input[type="reset"], input[type="reset"],
input[type="submit"] { input[type="submit"] {
border: 1px solid #ccc; border: 1px solid #ccc;
@ -245,18 +245,18 @@ input[type="submit"] {
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
} }
button:hover, button:hover,
html input[type="button"]:hover, input[type="button"]:hover,
input[type="reset"]:hover, input[type="reset"]:hover,
input[type="submit"]:hover { input[type="submit"]:hover {
border-color: #ccc #bbb #aaa #bbb; border-color: #ccc #bbb #aaa #bbb;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
} }
button:focus, button:focus,
html input[type="button"]:focus, input[type="button"]:focus,
input[type="reset"]:focus, input[type="reset"]:focus,
input[type="submit"]:focus, input[type="submit"]:focus,
button:active, button:active,
html input[type="button"]:active, input[type="button"]:active,
input[type="reset"]:active, input[type="reset"]:active,
input[type="submit"]:active { input[type="submit"]:active {
border-color: #aaa #bbb #bbb #bbb; border-color: #aaa #bbb #bbb #bbb;