forked from mirror/_s
_s: Remove vendor prefixes on box-shadow and some legacy IE6/7
adjustments. Props @SeamlessThemes. Fixes #176.
This commit is contained in:
parent
bd20a6214a
commit
4c120839ec
|
@ -218,7 +218,6 @@ textarea {
|
||||||
button,
|
button,
|
||||||
input {
|
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 */
|
||||||
*overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
|
|
||||||
}
|
}
|
||||||
button,
|
button,
|
||||||
html input[type="button"],
|
html input[type="button"],
|
||||||
|
@ -228,8 +227,6 @@ input[type="submit"] {
|
||||||
border-color: #ccc #ccc #bbb #ccc;
|
border-color: #ccc #ccc #bbb #ccc;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: #e6e6e6;
|
background: #e6e6e6;
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
|
||||||
color: rgba(0, 0, 0, .8);
|
color: rgba(0, 0, 0, .8);
|
||||||
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
|
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
|
||||||
|
@ -245,8 +242,6 @@ html 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;
|
||||||
-webkit-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);
|
|
||||||
-moz-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);
|
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,
|
||||||
|
@ -258,8 +253,6 @@ html 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;
|
||||||
-webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
||||||
-moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
||||||
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
|
box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
|
||||||
}
|
}
|
||||||
input[type="checkbox"],
|
input[type="checkbox"],
|
||||||
|
@ -408,8 +401,6 @@ a:active {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.navigation-main ul ul {
|
.navigation-main ul ul {
|
||||||
-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
|
||||||
-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
|
||||||
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
||||||
display: none;
|
display: none;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
Reference in New Issue