From 4c120839ecba44c8d09bdf8c17dfb3410bd391af Mon Sep 17 00:00:00 2001 From: obenland Date: Tue, 26 Mar 2013 15:39:48 -0700 Subject: [PATCH] _s: Remove vendor prefixes on box-shadow and some legacy IE6/7 adjustments. Props @SeamlessThemes. Fixes #176. --- style.css | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/style.css b/style.css index f0df7705..03188d35 100644 --- a/style.css +++ b/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;