Admin bar CSS cleaning. props ocean90, see #15308.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-12-10 04:01:16 +00:00
parent ce9b9a9e78
commit 4b48cc1624
5 changed files with 88 additions and 165 deletions

View File

@ -1 +1 @@
#wpadminbar{background:#666 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x;direction:rtl;font-family:Tahoma,Arial,sans-serif;right:0;left:auto;}#wpadminbar div,#wpadminbar ul,#wpadminbar ul li{min-height:0;}#wpadminbar ul li img{margin-left:8px!important;margin-right:0!important;}#wpadminbar .quicklinks>ul>li>a{border-left:1px solid #686868;border-right:1px solid #808080;}#wpadminbar .quicklinks>ul>li:last-child>a{border-left:none;border-right:1px solid #808080;}#wpadminbar .quicklinks>ul>li:hover>a{border-right-color:#707070;border-left-color:#686868;}#wpadminbar .avatar{margin:-3px 0 0 5px!important;float:none;}#wpadminbar .menupop li:hover>ul,#wpadminbar .menupop li.hover>ul{margin-right:100%;margin-top:-28px;}#wpadminbar .menupop a>span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 100.4% no-repeat;padding-left:.8em;}#wpadminbar .menupop ul li a>span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 97.2% no-repeat;padding-right:0;padding-left:1.5em;}#wpadminbar .menupop ul li{width:auto;}#wpadminbar .quicklinks a{font-family:Tahoma,Arial,Helvetica,sans-serif;}#wpadminbar li.ab-sadmin{float:left;}#wpadminbar li.ab-sadmin ul{right:auto;left:0;float:left;}#wpadminbar li.ab-sadmin>a{border-right:1px solid #666!important;border-left:none!important;}#wpadminbar li.ab-sadmin ul a{border-right:none!important;border-left:none!important;}#wpadminbar li.ab-sadmin ul li{left:0;right:auto;float:left;text-align:right;}#wpadminbar li.ab-sadmin ul li a{padding-right:1.75em;padding-left:0;}#wpadminbar li.ab-sadmin ul li a>span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 100% 101.8% no-repeat;padding-right:1.25em!important;padding-left:0!important;margin-right:-1.25em;margin-left:0;}#wpadminbar li:hover{background:#555 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -282px repeat-x;}#wpadminbar li li:hover{background:#888 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x!important;}.quicklinks ul{text-align:right;}.quicklinks ul li{float:right;}#adminbarsearch{display:none;}#adminbarsearch label,#adminbarsearch a{float:right;}#wpadminbar li.ab-me>a,#wpadminbar li.ab-blog>a{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 59.8% no-repeat;padding:0 .7em 0 1.15em;}#wpadminbar li.ab-blog>a:hover{background-position:33% 59.8%;}#wpadminbar li.ab-my-account a,#wpadminbar li.ab-bloginfo a{border-right:none!important;padding-right:.7em!important;}.adminbar-input{background:#ddd url(../images/admin-bar-sprite-rtl.png?d=08102010) right top no-repeat!important;float:right!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important;margin-right:3px!important;margin-left:0!important;}button.adminbar-button{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) left -107px no-repeat;float:right;padding:0 0 0 14px;}button.adminbar-button span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) right -69px no-repeat;padding:3px 14px 0 0;font-family:Tahoma,Arial,Helvetica,sans-serif!important;}button.adminbar-button:active{background-position:left -184px!important;}button.adminbar-button:active span{background-position:right -146px!important;}#querylist{direction:ltr;}#wpadminbar #admin-bar-micro ul li:hover>ul,#wpadminbar #admin-bar-micro ul li.hover>ul{left:auto;right:100%;} #wpadminbar{background:#666 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x;direction:rtl;font-family:Tahoma,Arial,sans-serif;right:0;left:auto;}#wpadminbar div,#wpadminbar ul,#wpadminbar ul li{min-height:0;}#wpadminbar ul li img{margin-left:8px!important;margin-right:0!important;}#wpadminbar .quicklinks>ul>li>a{border-left:1px solid #686868;border-right:1px solid #808080;}#wpadminbar .quicklinks>ul>li:last-child>a{border-left:none;border-right:1px solid #808080;}#wpadminbar .quicklinks>ul>li:hover>a{border-right-color:#707070;border-left-color:#686868;}#wpadminbar .avatar{margin:-3px 0 0 5px!important;float:none;}#wpadminbar .menupop li:hover>ul,#wpadminbar .menupop li.hover>ul{margin-right:100%;margin-top:-28px;}#wpadminbar .menupop a>span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 100.4% no-repeat;padding-left:.8em;}#wpadminbar .menupop ul li a>span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 97.2% no-repeat;padding-right:0;padding-left:1.5em;}#wpadminbar .menupop ul li{width:auto;}#wpadminbar .quicklinks a{font-family:Tahoma,Arial,Helvetica,sans-serif;}#wpadminbar li:hover{background:#555 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -282px repeat-x;}#wpadminbar li li:hover{background:#888 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x!important;}.quicklinks ul{text-align:right;}.quicklinks ul li{float:right;}#adminbarsearch{display:none;}#wpadminbar li.ab-me>a{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 59.8% no-repeat;padding:0 .7em 0 1.15em;}#wpadminbar li.ab-blog>a:hover{background-position:33% 59.8%;}#wpadminbar li.ab-my-account a{border-right:none!important;padding-right:.7em!important;}.adminbar-input{background:#ddd url(../images/admin-bar-sprite-rtl.png?d=08102010) right top no-repeat!important;float:right!important;font-family:Tahoma,Arial,Helvetica,sans-serif!important;margin-right:3px!important;margin-left:0!important;}button.adminbar-button{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) left -107px no-repeat;float:right;padding:0 0 0 14px;}button.adminbar-button span{background:url(../images/admin-bar-sprite-rtl.png?d=08102010) right -69px no-repeat;padding:3px 14px 0 0;font-family:Tahoma,Arial,Helvetica,sans-serif!important;}button.adminbar-button:active{background-position:left -184px!important;}button.adminbar-button:active span{background-position:right -146px!important;}

View File

@ -1,15 +1,17 @@
#wpadminbar { #wpadminbar {
background:#666 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x; background: #666 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x;
direction:rtl; direction: rtl;
font-family: Tahoma, Arial ,sans-serif; font-family: Tahoma, Arial ,sans-serif;
right:0; right: 0;
left:auto; left: auto;
} }
#wpadminbar div, #wpadminbar div,
#wpadminbar ul, #wpadminbar ul,
#wpadminbar ul li { #wpadminbar ul li {
min-height: 0; min-height: 0;
} }
#wpadminbar ul li img { #wpadminbar ul li img {
margin-left: 8px !important; margin-left: 8px !important;
margin-right: 0 !important; margin-right: 0 !important;
@ -32,103 +34,56 @@
#wpadminbar .avatar { #wpadminbar .avatar {
margin: -3px 0 0 5px !important; margin: -3px 0 0 5px !important;
float:none; float: none;
} }
#wpadminbar .menupop li:hover > ul, #wpadminbar .menupop li:hover > ul,
#wpadminbar .menupop li.hover > ul { #wpadminbar .menupop li.hover > ul {
margin-right:100%; margin-right: 100%;
margin-top:-28px; margin-top: -28px;
} }
#wpadminbar .menupop a > span { #wpadminbar .menupop a > span {
background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 100.4% no-repeat; background: url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 100.4% no-repeat;
padding-left:.8em; padding-left: .8em;
} }
#wpadminbar .menupop ul li a > span { #wpadminbar .menupop ul li a > span {
background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0% 97.2% no-repeat; background: url(../images/admin-bar-sprite-rtl.png?d=08102010) 0% 97.2% no-repeat;
padding-right:0; padding-right: 0;
padding-left:1.5em; padding-left: 1.5em;
} }
#wpadminbar .menupop ul li { #wpadminbar .menupop ul li {
width:auto; width: auto;
} }
#wpadminbar .quicklinks a { #wpadminbar .quicklinks a {
font-family: Tahoma, Arial, Helvetica, sans-serif; font-family: Tahoma, Arial, Helvetica, sans-serif;
} }
#wpadminbar li.ab-sadmin {
float: left;
}
#wpadminbar li.ab-sadmin ul {
right: auto;
left: 0;
float: left;
}
#wpadminbar li.ab-sadmin > a {
border-right: 1px solid #666 !important;
border-left:none !important;
}
#wpadminbar li.ab-sadmin ul a {
border-right: none !important;
border-left: none !important;
}
#wpadminbar li.ab-sadmin ul li {
left: 0;
right:auto;
float: left;
text-align: right;
}
#wpadminbar li.ab-sadmin ul li a {
padding-right: 1.75em;
padding-left: 0;
}
#wpadminbar li.ab-sadmin ul li a > span {
background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 100% 101.8% no-repeat;
padding-right: 1.25em !important;
padding-left: 0 !important;
margin-right: -1.25em;
margin-left: 0;
}
#wpadminbar li:hover { #wpadminbar li:hover {
background: #555 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -282px repeat-x; background: #555 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -282px repeat-x;
} }
#wpadminbar li li:hover { #wpadminbar li li:hover {
background: #888 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x !important; background: #888 url(../images/admin-bar-sprite-rtl.png?d=08102010) 0 -222px repeat-x !important;
} }
.quicklinks ul { .quicklinks ul {
text-align:right; text-align: right;
} }
.quicklinks ul li { .quicklinks ul li {
float:right; float: right;
} }
#adminbarsearch { #adminbarsearch {
display:none; display: none;
} }
#adminbarsearch label, #wpadminbar li.ab-me > a {
#adminbarsearch a { background: url(../images/admin-bar-sprite-rtl.png?d=08102010) 0% 59.8% no-repeat;
float:right;
}
#wpadminbar li.ab-me > a,
#wpadminbar li.ab-blog > a {
background:url(../images/admin-bar-sprite-rtl.png?d=08102010) 0% 59.8% no-repeat;
padding: 0 0.7em 0 1.15em; padding: 0 0.7em 0 1.15em;
} }
@ -136,49 +91,36 @@
background-position: 33% 59.8%; background-position: 33% 59.8%;
} }
#wpadminbar li.ab-my-account a, #wpadminbar li.ab-my-account a {
#wpadminbar li.ab-bloginfo a {
border-right: none !important; border-right: none !important;
padding-right: 0.7em !important; padding-right: 0.7em !important;
} }
.adminbar-input { .adminbar-input {
background:#ddd url(../images/admin-bar-sprite-rtl.png?d=08102010) right top no-repeat !important; background: #ddd url(../images/admin-bar-sprite-rtl.png?d=08102010) right top no-repeat !important;
float:right !important; float: right !important;
font-family: Tahoma, Arial,Helvetica,sans-serif !important; font-family: Tahoma, Arial,Helvetica,sans-serif !important;
margin-right:3px !important; margin-right: 3px !important;
margin-left:0 !important; margin-left: 0 !important;
} }
button.adminbar-button { button.adminbar-button {
background:url(../images/admin-bar-sprite-rtl.png?d=08102010) left -107px no-repeat; background: url(../images/admin-bar-sprite-rtl.png?d=08102010) left -107px no-repeat;
float:right; float: right;
padding:0 0 0 14px; padding: 0 0 0 14px;
} }
button.adminbar-button span { button.adminbar-button span {
background:url(../images/admin-bar-sprite-rtl.png?d=08102010) right -69px no-repeat; background: url(../images/admin-bar-sprite-rtl.png?d=08102010) right -69px no-repeat;
padding:3px 14px 0 0; padding: 3px 14px 0 0;
font-family: Tahoma, Arial,Helvetica,sans-serif !important; font-family: Tahoma, Arial, Helvetica, sans-serif !important;
} }
button.adminbar-button:active { button.adminbar-button:active {
background-position:left -184px !important; background-position: left -184px !important;
} }
button.adminbar-button:active span { button.adminbar-button:active span {
background-position:right -146px !important; background-position: right -146px !important;
} }
/**
* Super admin styling
*/
#querylist {
direction: ltr;
}
#wpadminbar #admin-bar-micro ul li:hover > ul,
#wpadminbar #admin-bar-micro ul li.hover > ul {
left: auto;
right: 100%;
}
/**
* End super admin styling
*/

File diff suppressed because one or more lines are too long

View File

@ -12,6 +12,7 @@
z-index: 99999; z-index: 99999;
min-width: 960px; min-width: 960px;
} }
#wpadminbar ul, #wpadminbar ul,
#wpadminbar ul li { #wpadminbar ul li {
background: none; background: none;
@ -21,25 +22,31 @@
position: relative; position: relative;
z-index: 99999; z-index: 99999;
} }
#wpadminbar ul li img { #wpadminbar ul li img {
vertical-align: middle !important; vertical-align: middle !important;
margin-right: 8px !important; margin-right: 8px !important;
border: none !important; border: none !important;
padding: 0 !important; padding: 0 !important;
} }
#wpadminbar .quicklinks > ul > li > a { #wpadminbar .quicklinks > ul > li > a {
border-right: 1px solid #686868; border-right: 1px solid #686868;
border-left: 1px solid #808080; border-left: 1px solid #808080;
} }
#wpadminbar .quicklinks > ul > li:last-child > a { #wpadminbar .quicklinks > ul > li:last-child > a {
border-right: none; border-right: none;
} }
#wpadminbar .quicklinks > ul > li:hover > a { #wpadminbar .quicklinks > ul > li:hover > a {
border-left-color: #707070; border-left-color: #707070;
} }
#wpadminbar a { #wpadminbar a {
outline: none; outline: none;
} }
#wpadminbar .avatar { #wpadminbar .avatar {
border: 1px solid #999 !important; border: 1px solid #999 !important;
padding: 0 !important; padding: 0 !important;
@ -48,34 +55,40 @@
float: none; float: none;
display: inline !important; display: inline !important;
} }
#wpadminbar li:hover > ul, #wpadminbar li:hover > ul,
#wpadminbar li.hover > ul { #wpadminbar li.hover > ul {
display: block; display: block;
} }
#wpadminbar .menupop li:hover > ul, #wpadminbar .menupop li:hover > ul,
#wpadminbar .menupop li.hover > ul { #wpadminbar .menupop li.hover > ul {
margin-left: 100%; margin-left: 100%;
margin-top: -28px; margin-top: -28px;
} }
#wpadminbar .menupop ul li a { #wpadminbar .menupop ul li a {
color: #555 !important; color: #555 !important;
text-shadow: none; text-shadow: none;
font-weight: normal; font-weight: normal;
white-space: nowrap; white-space: nowrap;
} }
#wpadminbar .menupop a > span { #wpadminbar .menupop a > span {
background: url(../images/admin-bar-sprite.png?d=08102010) 100% 100.4% no-repeat; background: url(../images/admin-bar-sprite.png?d=08102010) 100% 100.4% no-repeat;
padding-right: .8em; padding-right: .8em;
line-height: 28px; line-height: 28px;
} }
#wpadminbar .menupop ul li a > span { #wpadminbar .menupop ul li a > span {
display: block; display: block;
background: url(../images/admin-bar-sprite.png?d=08102010) 100% 97.2% no-repeat; background: url(../images/admin-bar-sprite.png?d=08102010) 100% 97.2% no-repeat;
padding-right: 1.5em; padding-right: 1.5em;
line-height: 28px; line-height: 28px;
} }
#wpadminbar ul li a span#ab-awaiting-mod, #wpadminbar ul li a span#ab-awaiting-mod,
#wpadminbar ul li a span#ab-updates { #wpadminbar ul li a span#ab-updates {
display: inline; display: inline;
@ -89,11 +102,13 @@
border-radius: 5px; border-radius: 5px;
text-shadow: none; text-shadow: none;
} }
#wpadminbar ul li a:hover span#ab-awaiting-mod, #wpadminbar ul li a:hover span#ab-awaiting-mod,
#wpadminbar ul li a:hover span#ab-updates { #wpadminbar ul li a:hover span#ab-updates {
background: #fff; background: #fff;
color: #000; color: #000;
} }
#wpadminbar .menupop ul { #wpadminbar .menupop ul {
-moz-box-shadow: 0 4px 8px rgba(0,0,0,0.1); -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1); -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
@ -104,16 +119,19 @@
border-top: none !important; border-top: none !important;
float: none; float: none;
} }
html>body #wpadminbar .menupop ul { html>body #wpadminbar .menupop ul {
background: rgba(255,255,255,0.97); background: rgba(255,255,255,0.97);
border-color: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.1);
} }
#wpadminbar .menupop li { #wpadminbar .menupop li {
float: none; float: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
background-image: none; background-image: none;
} }
#wpadminbar .quicklinks a { #wpadminbar .quicklinks a {
border: none; border: none;
color: #ddd !important; color: #ddd !important;
@ -127,121 +145,80 @@ html>body #wpadminbar .menupop ul {
line-height: 28px; line-height: 28px;
text-decoration: none !important; text-decoration: none !important;
} }
#wpadminbar .quicklinks li ul li a { #wpadminbar .quicklinks li ul li a {
overflow: hidden; overflow: hidden;
width: 160px; width: 160px;
} }
#wpadminbar .quicklinks a:hover { #wpadminbar .quicklinks a:hover {
text-shadow: #333 0px -1px 0px; text-shadow: #333 0px -1px 0px;
} }
#wpadminbar li.ab-sadmin {
float: right;
background: #555;
}
#wpadminbar li.ab-sadmin ul {
right: 0;
float: right;
}
#wpadminbar li.ab-sadmin > a {
font-size: 11px !important;
padding: 0 7px !important;
border: none !important;
border-left: 1px solid #666 !important;
}
#wpadminbar li.ab-sadmin ul a {
border-right: none !important;
border-left: none !important;
}
#wpadminbar li.ab-sadmin ul li {
right: 0;
float: right;
text-align: left;
width: 100%;
}
#wpadminbar li.ab-sadmin ul li a {
padding-left: 1.75em;
}
#wpadminbar li.ab-sadmin ul li a > span {
background: url(../images/admin-bar-sprite.png?d=08102010) 0% 101.8% no-repeat;
padding-left: 1.25em;
margin-left: -1.25em;
line-height: 28px;
padding-right: 0 !important;
}
#wpadminbar li:hover { #wpadminbar li:hover {
background: #555 url(../images/admin-bar-sprite.png?d=08102010) 0 -282px repeat-x; background: #555 url(../images/admin-bar-sprite.png?d=08102010) 0 -282px repeat-x;
} }
#wpadminbar li li:hover { #wpadminbar li li:hover {
color: #fff !important; color: #fff !important;
background: #888 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x !important; background: #888 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x !important;
text-shadow: #666 0px -1px 0px; text-shadow: #666 0px -1px 0px;
} }
#wpadminbar li li:hover > a { #wpadminbar li li:hover > a {
color: #fff !important; color: #fff !important;
} }
.quicklinks ul { .quicklinks ul {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
text-align: left; text-align: left;
} }
.quicklinks ul li { .quicklinks ul li {
float: left; float: left;
margin: 0; margin: 0;
} }
#adminbarsearch { #adminbarsearch {
float: right; float: right;
height: 18px; height: 18px;
padding: 3px; padding: 3px;
} }
#adminbarsearch * { #adminbarsearch * {
color: #555; color: #555;
font-size: 12px; font-size: 12px;
} }
#adminbarsearch label,
#adminbarsearch a {
height: 28px;
color: #ccc;
display: block;
float: left;
padding: 3px 4px;
text-shadow: 0px -1px 0px #444;
}
#adminbarsearch a {
text-decoration: underline;
}
#adminbarsearch a:hover {
color: #fff;
}
#wpadminbar li.ab-me:hover, #wpadminbar li.ab-me:hover {
#wpadminbar li.ab-blog:hover {
background: none; background: none;
} }
#wpadminbar li.ab-me > a,
#wpadminbar li.ab-blog > a { #wpadminbar li.ab-me > a {
line-height: 18px !important; line-height: 18px !important;
border: none !important; border: none !important;
background: url(../images/admin-bar-sprite.png?d=08102010) 100% 59.8% no-repeat; background: url(../images/admin-bar-sprite.png?d=08102010) 100% 59.8% no-repeat;
height: 28px; height: 28px;
padding: 0 1.15em 0 0.7em; padding: 0 1.15em 0 0.7em;
} }
#wpadminbar li.ab-blog > a:hover { #wpadminbar li.ab-blog > a:hover {
background-position: 67% 59.8%; background-position: 67% 59.8%;
} }
#wpadminbar li.ab-me img.avatar,
#wpadminbar li.ab-blog img.avatar { #wpadminbar li.ab-me img.avatar {
margin: 4px 0 0 0 !important; margin: 4px 0 0 0 !important;
vertical-align: middle; vertical-align: middle;
background: #eee; background: #eee;
width: 16px !important; width: 16px !important;
height: 16px !important; height: 16px !important;
} }
#wpadminbar li.ab-my-account a, #wpadminbar li.ab-bloginfo a {
#wpadminbar li.ab-my-account a {
border-left: none !important; border-left: none !important;
padding-left: 0.7em !important; padding-left: 0.7em !important;
margin-top: 0 !important; margin-top: 0 !important;
@ -257,6 +234,7 @@ html>body #wpadminbar .menupop ul {
width: 140px !important; width: 140px !important;
margin-top: 0px !important; margin-top: 0px !important;
} }
.adminbar-input { .adminbar-input {
display: block !important; display: block !important;
float: left !important; float: left !important;
@ -272,6 +250,7 @@ html>body #wpadminbar .menupop ul {
outline: none; outline: none;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
} }
button.adminbar-button { button.adminbar-button {
position: relative; position: relative;
border: 0; border: 0;
@ -283,6 +262,7 @@ button.adminbar-button {
padding: 0 14px 0 0; padding: 0 14px 0 0;
text-align: center; text-align: center;
} }
button.adminbar-button span { button.adminbar-button span {
position: relative; position: relative;
display: block; display: block;
@ -295,23 +275,29 @@ button.adminbar-button span {
color: #444 !important; color: #444 !important;
text-shadow: 0px 1px 0px #eee !important; text-shadow: 0px 1px 0px #eee !important;
} }
button.adminbar-button:active { button.adminbar-button:active {
background-position: right -184px !important; background-position: right -184px !important;
text-shadow: 0px 1px 0px #eee !important; text-shadow: 0px 1px 0px #eee !important;
} }
button.adminbar-button:hover span { button.adminbar-button:hover span {
color: #000 !important; color: #000 !important;
} }
button.adminbar-button:active span { button.adminbar-button:active span {
background-position: left -146px !important; background-position: left -146px !important;
} }
button.adminbar-button::-moz-focus-inner { button.adminbar-button::-moz-focus-inner {
border: none; border: none;
} }
@media screen and (-webkit-min-device-pixel-ratio: 0) { @media screen and (-webkit-min-device-pixel-ratio: 0) {
button.adminbar-button span { button.adminbar-button span {
margin-top: -1px; margin-top: -1px;
} }
} }
@ -322,7 +308,6 @@ button.adminbar-button::-moz-focus-inner {
* html #wpadminbar, * html #wpadminbar,
* html #wpadminbar .menupop a span, * html #wpadminbar .menupop a span,
* html #wpadminbar .menupop ul li a:hover, * html #wpadminbar .menupop ul li a:hover,
* html #wpadminbar .myaccount a,
* html .quicklinks a:hover, * html .quicklinks a:hover,
* html #wpadminbar .menupop:hover { * html #wpadminbar .menupop:hover {
background-image: none !important; background-image: none !important;
@ -347,10 +332,6 @@ button.adminbar-button::-moz-focus-inner {
zoom: 1; zoom: 1;
} }
* html #wpadminbar .myaccount a {
margin-left: 0 !important;
padding-left: 12px !important;
}
/** /**
* End IE 6-targeted rules * End IE 6-targeted rules
*/ */

View File

@ -516,7 +516,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' ); $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
$styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' ); $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
$styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' ); $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101208b' ); $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101209' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101119' ); $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101119' );
$styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101206' ); $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101206' );