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
17
style.css
17
style.css
|
@ -218,7 +218,6 @@ textarea {
|
|||
button,
|
||||
input {
|
||||
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,
|
||||
html input[type="button"],
|
||||
|
@ -228,9 +227,7 @@ input[type="submit"] {
|
|||
border-color: #ccc #ccc #bbb #ccc;
|
||||
border-radius: 3px;
|
||||
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);
|
||||
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
|
||||
-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
|
||||
|
@ -245,9 +242,7 @@ html input[type="button"]:hover,
|
|||
input[type="reset"]:hover,
|
||||
input[type="submit"]:hover {
|
||||
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,
|
||||
html input[type="button"]:focus,
|
||||
|
@ -258,9 +253,7 @@ html input[type="button"]:active,
|
|||
input[type="reset"]:active,
|
||||
input[type="submit"]:active {
|
||||
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="radio"] {
|
||||
|
@ -408,9 +401,7 @@ a:active {
|
|||
text-decoration: none;
|
||||
}
|
||||
.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;
|
||||
float: left;
|
||||
position: absolute;
|
||||
|
|
Reference in New Issue