From 4188240bf5d3ceb510c19a9048eb22456b9d034f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 6 Aug 2013 21:48:28 +0200 Subject: [PATCH] unprefix some stuff, add that barely visible drop shadow --- css/badged-bar.css | 8 +------- css/badged-menu.css | 10 ++-------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/css/badged-bar.css b/css/badged-bar.css index 416a30c..e90cc90 100644 --- a/css/badged-bar.css +++ b/css/badged-bar.css @@ -11,9 +11,7 @@ /* need to be rude for these */ background: #ff0000 !important; - -webkit-box-shadow: 0px 0px 1px #888 !important; - -moz-box-shadow: 0px 0px 1px #888 !important; - box-shadow: 0px 0px 1px #888 !important; + box-shadow: 0 1px 0 #444 !important; color: #fff; /* just in case, is white per WP default */ font: 12px/21px 'Helvetica Neue', Helvetica, Verdana, Geneva, sans-serif; @@ -26,12 +24,8 @@ height: 21px; display: inline-block; padding: 0; - -webkit-border-radius: 21px; - -moz-border-radius: 21px; border-radius: 21px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; background-clip: padding-box; vertical-align: baseline; diff --git a/css/badged-menu.css b/css/badged-menu.css index 817ca98..825e598 100644 --- a/css/badged-menu.css +++ b/css/badged-menu.css @@ -18,9 +18,7 @@ /* need to be rude for these */ background: #ff0000 !important; - -webkit-box-shadow: 0px 0px 1px #888 !important; - -moz-box-shadow: 0px 0px 1px #888 !important; - box-shadow: 0px 0px 1px #888 !important; + box-shadow: 0 1px 0 #888 !important; color: #fff; /* just in case, is white per WP default */ font: 12px/21px 'Helvetica Neue', Helvetica, Verdana, Geneva, sans-serif; @@ -30,12 +28,8 @@ width: 21px; height: 21px; display: inline-block; - -webkit-border-radius: 21px; - -moz-border-radius: 21px; border-radius: 21px; - - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; + background-clip: padding-box; margin-top: -2px;