Merge pull request #335 from emiluzelac/patch-6

Remove html input from the button class.
This commit is contained in:
Takashi Irie 2013-11-04 09:26:06 -08:00
commit 92a4f73382
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;