1
0
mirror of https://github.com/kremalicious/Badged.git synced 2024-12-29 08:07:44 +01:00
Badged/css/badged.css

60 lines
1.8 KiB
CSS
Raw Normal View History

/* ============================================================== */
/* Badged */
/* ------------------------ */
/* CSS Styles for the Admin Menu only */
/* by Matthias Kretschmann | http://mkretschmann.com */
/* ============================================================== */
/* Select all instances of the WP notification bubble using the
same selectors WP uses */
#adminmenu .awaiting-mod,
#adminmenu span.update-plugins,
#sidemenu li a span.update-plugins,
#sidemenu a .update-plugins,
2013-08-07 21:55:35 +02:00
#rightnow .reallynow,
#wp-admin-bar-updates .ab-label,
#wp-admin-bar-comments .ab-label {
2013-08-06 21:44:08 +02:00
/* need to be rude for these */
2013-08-06 21:44:08 +02:00
background: #ff0000 !important;
box-shadow: 0 1px 0 #888 !important;
color: #fff; /* just in case, is white per WP default */
2013-08-06 21:50:08 +02:00
font: 13px/21px 'Helvetica Neue', Helvetica, Verdana, Geneva, sans-serif;
2013-08-06 21:44:08 +02:00
font-weight: 200;
text-align: center;
2013-08-06 21:44:08 +02:00
width: 21px;
height: 21px;
display: inline-block;
border-radius: 21px;
background-clip: padding-box;
2013-08-06 21:44:08 +02:00
margin-top: -2px;
vertical-align: baseline;
}
#adminmenu li .awaiting-mod span,
#adminmenu li span.update-plugins span,
#sidemenu li a span.update-plugins span {
2013-08-06 21:44:08 +02:00
padding: 0;
}
/* ============================================================== */
/* IE 8 Only Styles */
/* ============================================================== */
.ie8 #adminmenu .awaiting-mod,
.ie8 #adminmenu span.update-plugins,
.ie8 #sidemenu li a span.update-plugins,
.ie8 #sidemenu a .update-plugins,
.ie8 #rightnow .reallynow {
filter:
progid:DXImageTransform.Microsoft.Shadow(color=#888888,direction=180,strength=3) /* box-shadow replacement, bottom */
progid:DXImageTransform.Microsoft.Shadow(color=#b3b3b3,direction=90,strength=2) /* right */
progid:DXImageTransform.Microsoft.Shadow(color=#b3b3b3,direction=270,strength=2) /* left */;
2013-08-06 21:44:08 +02:00
}