2011-12-17 22:07:11 +01:00
|
|
|
|
|
|
|
/* ============================================================== */
|
2011-12-17 22:11:20 +01:00
|
|
|
/* Badged */
|
2011-12-17 22:07:11 +01:00
|
|
|
/* ------------------------ */
|
2011-12-17 22:08:03 +01:00
|
|
|
/* CSS Styles for the Admin Bar only */
|
2011-12-17 22:07:11 +01:00
|
|
|
/* by Matthias Kretschmann | http://mkretschmann.com */
|
|
|
|
/* ============================================================== */
|
|
|
|
|
2011-12-17 22:07:30 +01:00
|
|
|
#wp-admin-bar-updates .ab-label,
|
|
|
|
#wp-admin-bar-comments .ab-label {
|
2011-12-17 22:07:11 +01:00
|
|
|
background-color: #d5231f !important;
|
|
|
|
color: #fff; /* just in case, is white per WP default */
|
|
|
|
font: 11px/15px Helvetica, Verdana, Geneva, sans-serif;
|
|
|
|
text-shadow: 0 1px 1px #771717;
|
|
|
|
|
|
|
|
background-image: -moz-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
|
|
|
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.3)), color-stop(100%,rgba(255,255,255,0)));
|
|
|
|
background-image: -webkit-linear-gradient(top, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0) 100%);
|
|
|
|
background-image: -o-linear-gradient(top, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0) 100%);
|
|
|
|
background-image: -ms-linear-gradient(top, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0) 100%);
|
|
|
|
background-image: linear-gradient(top, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0) 100%);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffffff', endColorstr='#00ffffff',GradientType=0 );
|
|
|
|
|
|
|
|
border: 2px solid #fff;
|
|
|
|
-webkit-border-radius: 10px; /* just in case, is 10px per WP default */
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
-webkit-background-clip: padding-box;
|
|
|
|
-moz-background-clip: padding-box;
|
|
|
|
background-clip: padding-box;
|
|
|
|
|
|
|
|
margin-top: -1px;
|
2011-12-17 22:07:30 +01:00
|
|
|
|
2011-12-17 22:08:03 +01:00
|
|
|
padding: 0 3px;
|
|
|
|
position: relative;
|
|
|
|
-webkit-box-shadow: 0px 2px 2px #000 !important;
|
|
|
|
-moz-box-shadow: 0px 2px 2px #000 !important;
|
|
|
|
box-shadow: 0px 2px 2px #000 !important;
|
2011-12-18 22:46:33 +01:00
|
|
|
vertical-align: baseline;
|
2011-12-17 22:08:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-12-17 22:07:11 +01:00
|
|
|
/* inject another styling layer, for inset shadow & shine gradient */
|
2011-12-17 22:08:03 +01:00
|
|
|
#wp-admin-bar-updates .ab-label:before,
|
|
|
|
#wp-admin-bar-comments .ab-label:before {
|
2011-12-17 22:07:11 +01:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2011-12-18 22:46:33 +01:00
|
|
|
|
2011-12-17 22:07:11 +01:00
|
|
|
-webkit-border-radius: 10px;
|
|
|
|
-moz-border-radius: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
-webkit-box-shadow: inset 0 0 3px #631212;
|
|
|
|
-moz-box-shadow: inset 0 0 3px #631212;
|
|
|
|
box-shadow: inset 0 0 3px #631212;
|
|
|
|
|
|
|
|
background: -moz-radial-gradient(center -5px, circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 59%, rgba(255,255,255,0) 65%, rgba(255,255,255,0) 100%);
|
|
|
|
background: -webkit-gradient(radial, center -5px, 0px, center -5px, 100%, color-stop(0%,rgba(255,255,255,0.3)), color-stop(59%,rgba(255,255,255,0.3)), color-stop(65%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,0)));
|
|
|
|
background: -webkit-radial-gradient(center -5px, circle, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0.3) 59%,rgba(255,255,255,0) 65%,rgba(255,255,255,0) 100%);
|
|
|
|
background: -o-radial-gradient(center -5px, circle, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0.3) 59%,rgba(255,255,255,0) 65%,rgba(255,255,255,0) 100%);
|
|
|
|
background: -ms-radial-gradient(center -5px, circle, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0.3) 59%,rgba(255,255,255,0) 65%,rgba(255,255,255,0) 100%);
|
|
|
|
background: radial-gradient(center -5px, circle, rgba(255,255,255,0.3) 0%,rgba(255,255,255,0.3) 59%,rgba(255,255,255,0) 65%,rgba(255,255,255,0) 100%);
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4dffffff', endColorstr='#00ffffff',GradientType=1 );
|
|
|
|
|
2011-12-18 22:46:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ============================================================== */
|
|
|
|
/* IE 8 Only Styles */
|
|
|
|
/* ============================================================== */
|
|
|
|
|
|
|
|
.ie8 #wp-admin-bar-updates .ab-label,
|
|
|
|
.ie8 #wp-admin-bar-comments .ab-label {
|
|
|
|
filter:
|
|
|
|
progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=180,strength=3) /* bottom */
|
|
|
|
progid:DXImageTransform.Microsoft.Shadow(color=#444444,direction=90,strength=2) /* right */
|
|
|
|
progid:DXImageTransform.Microsoft.Shadow(color=#444444,direction=270,strength=2); /* left */
|
|
|
|
}
|