Make WordPress Core

Changeset 16791


Ignore:
Timestamp:
12/08/2010 08:50:24 AM (14 years ago)
Author:
nacin
Message:

Admin bar styling improvements.

  • Ensure there isn't a text shadow for update and comment counts.
  • Hide zero count of pending comments via PHP, not CSS.
  • Show the update title attribute across the entire menu item, props demetris.
  • Let the CSS breathe a little.
Location:
trunk/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r16747 r16791  
    222222    $awaiting_mod = $awaiting_mod->moderated;
    223223
    224     $wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), "<span id='ab-awaiting-mod' class='count-$awaiting_mod'><span class='pending-count'>" . number_format_i18n($awaiting_mod) . "</span></span>" ), 'href' => admin_url('edit-comments.php') ) );
     224    $awaiting_mod = $awaiting_mod ? "<span id='ab-awaiting-mod'><span class='pending-count>" . number_format_i18n( $awaiting_mod ) . "</span></span>" : '';
     225    $wp_admin_bar->add_menu( array( 'id' => 'comments', 'title' => sprintf( __('Comments %s'), $awaiting_mod ), 'href' => admin_url('edit-comments.php') ) );
    225226}
    226227
     
    277278    $update_title = !empty($update_title) ? esc_attr(implode(', ', $update_title)) : '';
    278279
    279     $update_title = sprintf( __('Updates %s'), "<span id='ab-updates' class='count-$update_count' title='$update_title'><span class='update-count'>" . number_format_i18n($update_count) . "</span></span>" );
     280    $update_title = "<span title='$update_title'>";
     281    $update_title .= sprintf( __('Updates %s'), "<span id='ab-updates' class='update-count'>" . number_format_i18n($update_count) . '</span>' );
     282    $update_title .= '</span>';
    280283
    281284    $href = is_multisite() ? network_admin_url( 'update-core.php' ) : admin_url( 'update-core.php' );
  • trunk/wp-includes/css/admin-bar.css

    r16664 r16791  
    1 #wpadminbar{direction:ltr;background:#666 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x;color:#ddd;font:12px Arial,Helvetica,sans-serif;height:28px;left:0;margin:0;position:fixed;top:0;width:100%;z-index:99999;min-width:960px;}#wpadminbar ul,#wpadminbar ul li{position:relative;z-index:99999;}#wpadminbar ul li img{vertical-align:middle!important;margin-right:8px!important;border:none!important;padding:0!important;}#wpadminbar .quicklinks>ul>li>a{border-right:1px solid #686868;border-left:1px solid #808080;}#wpadminbar .quicklinks>ul>li:last-child>a{border-right:none;}#wpadminbar .quicklinks>ul>li:hover>a{border-left-color:#707070;}#wpadminbar a{outline:none;}#wpadminbar .avatar{border:1px solid #999!important;padding:0!important;margin:-3px 5px 0 0!important;vertical-align:middle;float:none;display:inline!important;}#wpadminbar li:hover>ul,#wpadminbar li.hover>ul{display:block;}#wpadminbar .menupop li:hover>ul,#wpadminbar .menupop li.hover>ul{margin-left:100%;margin-top:-28px;}#wpadminbar .menupop ul li a{color:#555!important;text-shadow:none;font-weight:normal;white-space:nowrap;}#wpadminbar .menupop a>span{background:url(../images/admin-bar-sprite.png?d=08102010) 100% 100.4% no-repeat;padding-right:.8em;line-height:28px;}#wpadminbar .menupop ul li a>span{display:block;background:url(../images/admin-bar-sprite.png?d=08102010) 100% 97.2% no-repeat;padding-right:1.5em;line-height:28px;}#wpadminbar ul li a span#ab-awaiting-mod,#wpadminbar ul li a span#ab-updates{display:inline;background:#eee;color:#333;padding:1px 5px;font-size:10px;font-family:verdana;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}#wpadminbar ul li a:hover span#ab-awaiting-mod,#wpadminbar ul li a:hover span#ab-updates{background:#fff;color:#888;}#wpadminbar ul li a span#ab-awaiting-mod.count-0{display:none;}#wpadminbar .menupop ul{-moz-box-shadow:0 4px 8px rgba(0,0,0,0.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,0.1);background:#fff;display:none;position:absolute;border:1px solid #dfdfdf;border-top:none!important;float:none;}html>body #wpadminbar .menupop ul{background:rgba(255,255,255,0.97);border-color:rgba(0,0,0,0.1);}#wpadminbar .menupop li{float:none;margin:0;padding:0;background-image:none;}#wpadminbar .quicklinks a{border:none;color:#ddd!important;height:28px;text-shadow:#555 0 -1px 0;display:block;font:13px Arial,Helvetica,sans-serif;font-weight:normal;letter-spacing:normal;padding:0 .85em;line-height:28px;text-decoration:none!important;}#wpadminbar .quicklinks li ul li a{overflow:hidden;width:160px;}#wpadminbar .quicklinks a:hover{text-shadow:#333 0 -1px 0;}#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{background:#555 url(../images/admin-bar-sprite.png?d=08102010) 0 -282px repeat-x;}#wpadminbar li li:hover{color:#fff!important;background:#888 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x!important;text-shadow:#666 0 -1px 0;}#wpadminbar li li:hover>a{color:#fff!important;}.quicklinks ul{list-style:none;margin:0;padding:0;text-align:left;}.quicklinks ul li{float:left;margin:0;}#adminbarsearch{float:right;}#adminbarsearch{height:18px;padding:3px;}#adminbarsearch *{color:#555;font-size:12px;}#adminbarsearch label,#adminbarsearch a{height:28px;color:#ccc;display:block;float:left;padding:3px 4px;text-shadow:0 -1px 0 #444;}#adminbarsearch a{text-decoration:underline;}#adminbarsearch a:hover{color:#fff;}#wpadminbar li.ab-me:hover,#wpadminbar li.ab-blog:hover{background:none;}#wpadminbar li.ab-me>a,#wpadminbar li.ab-blog>a{line-height:18px!important;border:none!important;background:url(../images/admin-bar-sprite.png?d=08102010) 100% 59.8% no-repeat;height:28px;padding:0 1.15em 0 .7em;}#wpadminbar li.ab-blog>a:hover{background-position:67% 59.8%;}#wpadminbar li.ab-me img.avatar,#wpadminbar li.ab-blog img.avatar{margin:4px 0 0 0!important;vertical-align:middle;background:#eee;width:16px!important;height:16px!important;}#wpadminbar li.ab-my-account a,#wpadminbar li.ab-bloginfo a{border-left:none!important;padding-left:.7em!important;margin-top:0!important;}#wpadminbar ul li img{width:16px!important;height:16px!important;}#wpadminbar #adminbar-search{line-height:normal!important;width:140px!important;margin-top:0!important;}.adminbar-input{display:block!important;float:left!important;font:12px Arial,Helvetica,sans-serif!important;border:1px solid #626262!important;padding:2px 3px!important;margin-right:3px!important;background:#ddd url(../images/admin-bar-sprite.png?d=08102010) top left no-repeat!important;-webkit-border-radius:0!important;-khtml-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important;outline:none;text-shadow:0 1px 0 #fff;}button.adminbar-button{position:relative;border:0;cursor:pointer;overflow:visible;margin:0!important;float:left;background:url(../images/admin-bar-sprite.png?d=08102010) right -107px no-repeat;padding:0 14px 0 0;text-align:center;}button.adminbar-button span{position:relative;display:block;white-space:nowrap;height:19px;background:url(../images/admin-bar-sprite.png?d=08102010) left -69px no-repeat;padding:3px 0 0 14px;font:12px Arial,Helvetica,sans-serif!important;font-weight:bold!important;color:#444!important;text-shadow:0 1px 0 #eee!important;}button.adminbar-button:active{background-position:right -184px!important;text-shadow:0 1px 0 #eee!important;}button.adminbar-button:hover span{color:#000!important;}button.adminbar-button:active span{background-position:left -146px!important;}button.adminbar-button::-moz-focus-inner{border:none;}@media screen and(-webkit-min-device-pixel-ratio:0){button.adminbar-button span{margin-top:-1px;}}* html #wpadminbar,* html #wpadminbar .menupop a span,* html #wpadminbar .menupop ul li a:hover,* html #wpadminbar .myaccount a,* html .quicklinks a:hover,* html #wpadminbar .menupop:hover{background-image:none!important;}* html #wpadminbar{overflow:hidden;position:absolute;}* html #wpadminbar .quicklinks ul li a{float:left;}* html #adminbarsearch-wrap{position:absolute;top:0;}* html #wpadminbar ul,* html #wpadminbar ul li{zoom:1;}* html #wpadminbar .myaccount a{margin-left:0!important;padding-left:12px!important;}
     1#wpadminbar{direction:ltr;background:#666 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x;color:#ddd;font:12px Arial,Helvetica,sans-serif;height:28px;left:0;margin:0;position:fixed;top:0;width:100%;z-index:99999;min-width:960px;}#wpadminbar ul,#wpadminbar ul li{position:relative;z-index:99999;}#wpadminbar ul li img{vertical-align:middle!important;margin-right:8px!important;border:none!important;padding:0!important;}#wpadminbar .quicklinks>ul>li>a{border-right:1px solid #686868;border-left:1px solid #808080;}#wpadminbar .quicklinks>ul>li:last-child>a{border-right:none;}#wpadminbar .quicklinks>ul>li:hover>a{border-left-color:#707070;}#wpadminbar a{outline:none;}#wpadminbar .avatar{border:1px solid #999!important;padding:0!important;margin:-3px 5px 0 0!important;vertical-align:middle;float:none;display:inline!important;}#wpadminbar li:hover>ul,#wpadminbar li.hover>ul{display:block;}#wpadminbar .menupop li:hover>ul,#wpadminbar .menupop li.hover>ul{margin-left:100%;margin-top:-28px;}#wpadminbar .menupop ul li a{color:#555!important;text-shadow:none;font-weight:normal;white-space:nowrap;}#wpadminbar .menupop a>span{background:url(../images/admin-bar-sprite.png?d=08102010) 100% 100.4% no-repeat;padding-right:.8em;line-height:28px;}#wpadminbar .menupop ul li a>span{display:block;background:url(../images/admin-bar-sprite.png?d=08102010) 100% 97.2% no-repeat;padding-right:1.5em;line-height:28px;}#wpadminbar ul li a span#ab-awaiting-mod,#wpadminbar ul li a span#ab-updates{display:inline;background:#eee;color:#333;padding:1px 5px;font-size:10px;font-family:verdana;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-shadow:none;}#wpadminbar ul li a:hover span#ab-awaiting-mod,#wpadminbar ul li a:hover span#ab-updates{background:#fff;color:#000;}#wpadminbar .menupop ul{-moz-box-shadow:0 4px 8px rgba(0,0,0,0.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,0.1);background:#fff;display:none;position:absolute;border:1px solid #dfdfdf;border-top:none!important;float:none;}html>body #wpadminbar .menupop ul{background:rgba(255,255,255,0.97);border-color:rgba(0,0,0,0.1);}#wpadminbar .menupop li{float:none;margin:0;padding:0;background-image:none;}#wpadminbar .quicklinks a{border:none;color:#ddd!important;height:28px;text-shadow:#555 0 -1px 0;display:block;font:13px Arial,Helvetica,sans-serif;font-weight:normal;letter-spacing:normal;padding:0 .85em;line-height:28px;text-decoration:none!important;}#wpadminbar .quicklinks li ul li a{overflow:hidden;width:160px;}#wpadminbar .quicklinks a:hover{text-shadow:#333 0 -1px 0;}#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{background:#555 url(../images/admin-bar-sprite.png?d=08102010) 0 -282px repeat-x;}#wpadminbar li li:hover{color:#fff!important;background:#888 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x!important;text-shadow:#666 0 -1px 0;}#wpadminbar li li:hover>a{color:#fff!important;}.quicklinks ul{list-style:none;margin:0;padding:0;text-align:left;}.quicklinks ul li{float:left;margin:0;}#adminbarsearch{float:right;height:18px;padding:3px;}#adminbarsearch *{color:#555;font-size:12px;}#adminbarsearch label,#adminbarsearch a{height:28px;color:#ccc;display:block;float:left;padding:3px 4px;text-shadow:0 -1px 0 #444;}#adminbarsearch a{text-decoration:underline;}#adminbarsearch a:hover{color:#fff;}#wpadminbar li.ab-me:hover,#wpadminbar li.ab-blog:hover{background:none;}#wpadminbar li.ab-me>a,#wpadminbar li.ab-blog>a{line-height:18px!important;border:none!important;background:url(../images/admin-bar-sprite.png?d=08102010) 100% 59.8% no-repeat;height:28px;padding:0 1.15em 0 .7em;}#wpadminbar li.ab-blog>a:hover{background-position:67% 59.8%;}#wpadminbar li.ab-me img.avatar,#wpadminbar li.ab-blog img.avatar{margin:4px 0 0 0!important;vertical-align:middle;background:#eee;width:16px!important;height:16px!important;}#wpadminbar li.ab-my-account a,#wpadminbar li.ab-bloginfo a{border-left:none!important;padding-left:.7em!important;margin-top:0!important;}#wpadminbar ul li img{width:16px!important;height:16px!important;}#wpadminbar #adminbar-search{line-height:normal!important;width:140px!important;margin-top:0!important;}.adminbar-input{display:block!important;float:left!important;font:12px Arial,Helvetica,sans-serif!important;border:1px solid #626262!important;padding:2px 3px!important;margin-right:3px!important;background:#ddd url(../images/admin-bar-sprite.png?d=08102010) top left no-repeat!important;-webkit-border-radius:0!important;-khtml-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important;outline:none;text-shadow:0 1px 0 #fff;}button.adminbar-button{position:relative;border:0;cursor:pointer;overflow:visible;margin:0!important;float:left;background:url(../images/admin-bar-sprite.png?d=08102010) right -107px no-repeat;padding:0 14px 0 0;text-align:center;}button.adminbar-button span{position:relative;display:block;white-space:nowrap;height:19px;background:url(../images/admin-bar-sprite.png?d=08102010) left -69px no-repeat;padding:3px 0 0 14px;font:12px Arial,Helvetica,sans-serif!important;font-weight:bold!important;color:#444!important;text-shadow:0 1px 0 #eee!important;}button.adminbar-button:active{background-position:right -184px!important;text-shadow:0 1px 0 #eee!important;}button.adminbar-button:hover span{color:#000!important;}button.adminbar-button:active span{background-position:left -146px!important;}button.adminbar-button::-moz-focus-inner{border:none;}@media screen and(-webkit-min-device-pixel-ratio:0){button.adminbar-button span{margin-top:-1px;}}* html #wpadminbar,* html #wpadminbar .menupop a span,* html #wpadminbar .menupop ul li a:hover,* html #wpadminbar .myaccount a,* html .quicklinks a:hover,* html #wpadminbar .menupop:hover{background-image:none!important;}* html #wpadminbar{overflow:hidden;position:absolute;}* html #wpadminbar .quicklinks ul li a{float:left;}* html #adminbarsearch-wrap{position:absolute;top:0;}* html #wpadminbar ul,* html #wpadminbar ul li{zoom:1;}* html #wpadminbar .myaccount a{margin-left:0!important;padding-left:12px!important;}
  • trunk/wp-includes/css/admin-bar.dev.css

    r16790 r16791  
    11#wpadminbar {
    2     direction:ltr;
    3     background:#666 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x;
    4     color:#ddd;
    5     font:12px Arial, Helvetica, sans-serif;
    6     height:28px;
    7     left:0;
    8     margin:0;
    9     position:fixed;
    10     top:0;
    11     width:100%;
    12     z-index:99999;
     2    direction: ltr;
     3    background: #666 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x;
     4    color: #ddd;
     5    font: 12px Arial, Helvetica, sans-serif;
     6    height: 28px;
     7    left: 0;
     8    margin: 0;
     9    position: fixed;
     10    top: 0;
     11    width: 100%;
     12    z-index: 99999;
    1313    min-width: 960px;
    1414}
     
    3838}
    3939#wpadminbar .avatar {
    40     border:1px solid #999 !important;
    41     padding:0 !important;
    42     margin:-3px 5px 0 0 !important;
    43     vertical-align:middle;
    44     float:none;
    45     display:inline !important;
     40    border: 1px solid #999 !important;
     41    padding: 0 !important;
     42    margin: -3px 5px 0 0 !important;
     43    vertical-align: middle;
     44    float: none;
     45    display: inline !important;
    4646}
    4747#wpadminbar li:hover > ul,
    4848#wpadminbar li.hover > ul {
    49     display:block;
     49    display: block;
    5050}
    5151
    5252#wpadminbar .menupop li:hover > ul,
    5353#wpadminbar .menupop li.hover > ul {
    54     margin-left:100%;
    55     margin-top:-28px;
     54    margin-left: 100%;
     55    margin-top: -28px;
    5656}
    5757
    5858#wpadminbar .menupop ul li a {
    59     color:#555 !important;
    60     text-shadow:none;
    61     font-weight:normal;
    62     white-space:nowrap;
     59    color: #555 !important;
     60    text-shadow: none;
     61    font-weight: normal;
     62    white-space: nowrap;
    6363}
    6464#wpadminbar .menupop a > span {
    65     background:url(../images/admin-bar-sprite.png?d=08102010) 100% 100.4% no-repeat;
    66     padding-right:.8em;
     65    background: url(../images/admin-bar-sprite.png?d=08102010) 100% 100.4% no-repeat;
     66    padding-right: .8em;
    6767    line-height: 28px;
    6868}
    6969#wpadminbar .menupop ul li a > span {
    7070    display: block;
    71     background:url(../images/admin-bar-sprite.png?d=08102010) 100% 97.2% no-repeat;
    72     padding-right:1.5em;
     71    background: url(../images/admin-bar-sprite.png?d=08102010) 100% 97.2% no-repeat;
     72    padding-right: 1.5em;
    7373    line-height: 28px;
    7474}
     
    8484    -webkit-border-radius: 5px;
    8585    border-radius: 5px;
     86    text-shadow: none;
    8687}
    8788#wpadminbar ul li a:hover span#ab-awaiting-mod,
    8889#wpadminbar ul li a:hover span#ab-updates  {
    8990    background: #fff;
    90     color: #888;
    91 }
    92 #wpadminbar span.update-count {
    93     text-shadow: none;
    94 }
    95 #wpadminbar ul li a span#ab-awaiting-mod.count-0 {
     91    color: #000;
     92}
     93#wpadminbar .menupop ul {
     94    -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
     95    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
     96    background: #fff;
    9697    display: none;
    97 }
    98 #wpadminbar .menupop ul {
    99     -moz-box-shadow:0 4px 8px rgba(0,0,0,0.1);
    100     -webkit-box-shadow:0 4px 8px rgba(0,0,0,0.1);
    101     background:#fff;
    102     display:none;
    103     position:absolute;
    104     border:1px solid #dfdfdf;
    105     border-top:none !important;
    106     float:none;
     98    position: absolute;
     99    border: 1px solid #dfdfdf;
     100    border-top: none !important;
     101    float: none;
    107102}
    108103html>body #wpadminbar .menupop ul {
    109     background:rgba(255,255,255,0.97);
    110     border-color:rgba(0,0,0,0.1);
     104    background: rgba(255,255,255,0.97);
     105    border-color: rgba(0,0,0,0.1);
    111106}
    112107#wpadminbar .menupop li {
    113     float:none;
    114     margin:0;
    115     padding:0;
    116     background-image:none;
     108    float: none;
     109    margin: 0;
     110    padding: 0;
     111    background-image: none;
    117112}
    118113#wpadminbar .quicklinks a {
    119     border:none;
    120     color:#ddd !important;
    121     height:28px;
    122     text-shadow:#555 0px -1px 0px;
    123     display:block;
    124     font:13px Arial, Helvetica, sans-serif;
    125     font-weight:normal;
    126     letter-spacing:normal;
    127     padding:0 0.85em;
    128     line-height:28px;
    129     text-decoration:none !important;
     114    border: none;
     115    color: #ddd !important;
     116    height: 28px;
     117    text-shadow: #555 0px -1px 0px;
     118    display: block;
     119    font: 13px Arial, Helvetica, sans-serif;
     120    font-weight: normal;
     121    letter-spacing: normal;
     122    padding: 0 0.85em;
     123    line-height: 28px;
     124    text-decoration: none !important;
    130125}
    131126#wpadminbar .quicklinks li ul li a {
    132     overflow:hidden;
    133     width:160px;
     127    overflow: hidden;
     128    width: 160px;
    134129}
    135130#wpadminbar .quicklinks a:hover {
    136     text-shadow:#333 0px -1px 0px;
     131    text-shadow: #333 0px -1px 0px;
    137132}
    138133
     
    166161}
    167162#wpadminbar li.ab-sadmin ul li a > span {
    168     background:url(../images/admin-bar-sprite.png?d=08102010) 0% 101.8% no-repeat;
     163    background: url(../images/admin-bar-sprite.png?d=08102010) 0% 101.8% no-repeat;
    169164    padding-left: 1.25em;
    170165    margin-left: -1.25em;
     
    177172}
    178173#wpadminbar li li:hover {
    179     color:#fff !important;
     174    color: #fff !important;
    180175    background: #888 url(../images/admin-bar-sprite.png?d=08102010) 0 -222px repeat-x !important;
    181176    text-shadow: #666 0px -1px 0px;
    182177}
    183178#wpadminbar li li:hover > a {
    184     color:#fff !important;
     179    color: #fff !important;
    185180}
    186181.quicklinks ul {
    187     list-style:none;
    188     margin:0;
    189     padding:0;
    190     text-align:left;
     182    list-style: none;
     183    margin: 0;
     184    padding: 0;
     185    text-align: left;
    191186}
    192187.quicklinks ul li {
    193     float:left;
    194     margin:0;
     188    float: left;
     189    margin: 0;
    195190}
    196191
    197192#adminbarsearch {
    198     float:right;
    199 }
    200 #adminbarsearch {
     193    float: right;
    201194    height: 18px;
    202195    padding: 3px;
     
    204197#adminbarsearch * {
    205198    color: #555;
    206     font-size:12px;
     199    font-size: 12px;
    207200}
    208201#adminbarsearch label,
     
    210203    height: 28px;
    211204    color: #ccc;
    212     display:block;
    213     float:left;
    214     padding:3px 4px;
    215     text-shadow:0px -1px 0px #444;
     205    display: block;
     206    float: left;
     207    padding: 3px 4px;
     208    text-shadow: 0px -1px 0px #444;
    216209}
    217210#adminbarsearch a {
    218     text-decoration:underline;
     211    text-decoration: underline;
    219212}
    220213#adminbarsearch a:hover {
    221     color:#fff;
     214    color: #fff;
    222215}
    223216
    224217#wpadminbar li.ab-me:hover,
    225218#wpadminbar li.ab-blog:hover {
    226     background:none;
     219    background: none;
    227220}
    228221#wpadminbar li.ab-me > a,
     
    230223    line-height: 18px !important;
    231224    border: none !important;
    232     background:url(../images/admin-bar-sprite.png?d=08102010) 100% 59.8% no-repeat;
     225    background: url(../images/admin-bar-sprite.png?d=08102010) 100% 59.8% no-repeat;
    233226    height: 28px;
    234227    padding: 0 1.15em 0 0.7em;
     
    257250
    258251#wpadminbar #adminbar-search {
    259     line-height:normal !important;
    260     width:140px !important;
    261     margin-top:0px !important;
     252    line-height: normal !important;
     253    width: 140px !important;
     254    margin-top: 0px !important;
    262255}
    263256.adminbar-input {
    264     display:block !important;
    265     float:left !important;
    266     font:12px Arial,Helvetica,sans-serif !important;
    267     border:1px solid #626262 !important;
    268     padding:2px 3px !important;
    269     margin-right:3px !important;
    270     background:#ddd url(../images/admin-bar-sprite.png?d=08102010) top left no-repeat !important;
    271     -webkit-border-radius:0 !important;
    272     -khtml-border-radius:0 !important;
    273     -moz-border-radius:0 !important;
    274     border-radius:0 !important;
    275     outline:none;
    276     text-shadow:0 1px 0 #fff;
     257    display: block !important;
     258    float: left !important;
     259    font: 12px Arial, Helvetica, sans-serif !important;
     260    border: 1px solid #626262 !important;
     261    padding: 2px 3px !important;
     262    margin-right: 3px !important;
     263    background: #ddd url(../images/admin-bar-sprite.png?d=08102010) top left no-repeat !important;
     264    -webkit-border-radius: 0 !important;
     265    -khtml-border-radius: 0 !important;
     266    -moz-border-radius: 0 !important;
     267    border-radius: 0 !important;
     268    outline: none;
     269    text-shadow: 0 1px 0 #fff;
    277270}
    278271button.adminbar-button {
    279     position:relative;
    280     border:0;
    281     cursor:pointer;
    282     overflow:visible;
    283     margin:0 !important;
    284     float:left;
    285     background:url(../images/admin-bar-sprite.png?d=08102010) right -107px no-repeat;
    286     padding:0 14px 0 0;
    287     text-align:center;
     272    position: relative;
     273    border: 0;
     274    cursor: pointer;
     275    overflow: visible;
     276    margin: 0 !important;
     277    float: left;
     278    background: url(../images/admin-bar-sprite.png?d=08102010) right -107px no-repeat;
     279    padding: 0 14px 0 0;
     280    text-align: center;
    288281}
    289282button.adminbar-button span {
    290     position:relative;
    291     display:block;
    292     white-space:nowrap;
    293     height:19px;
    294     background:url(../images/admin-bar-sprite.png?d=08102010) left -69px no-repeat;
    295     padding:3px 0 0 14px;
    296     font:12px Arial,Helvetica,sans-serif !important;
    297     font-weight:bold !important;
    298     color:#444 !important;
    299     text-shadow:0px 1px 0px #eee !important;
     283    position: relative;
     284    display: block;
     285    white-space: nowrap;
     286    height: 19px;
     287    background: url(../images/admin-bar-sprite.png?d=08102010) left -69px no-repeat;
     288    padding: 3px 0 0 14px;
     289    font: 12px Arial, Helvetica, sans-serif !important;
     290    font-weight: bold !important;
     291    color: #444 !important;
     292    text-shadow: 0px 1px 0px #eee !important;
    300293}
    301294button.adminbar-button:active {
    302     background-position:right -184px !important;
    303     text-shadow:0px 1px 0px #eee !important;
     295    background-position: right -184px !important;
     296    text-shadow: 0px 1px 0px #eee !important;
    304297}
    305298button.adminbar-button:hover span {
    306     color:#000 !important;
     299    color: #000 !important;
    307300}
    308301button.adminbar-button:active span {
    309     background-position:left -146px !important;
     302    background-position: left -146px !important;
    310303}
    311304button.adminbar-button::-moz-focus-inner {
    312     border:none;
    313 }
    314 @media screen and (-webkit-min-device-pixel-ratio:0) {
     305    border: none;
     306}
     307@media screen and (-webkit-min-device-pixel-ratio: 0) {
    315308    button.adminbar-button span {
    316309        margin-top: -1px;
     
    329322* html .quicklinks a:hover,
    330323* html #wpadminbar .menupop:hover {
    331     background-image: none !important; 
     324    background-image: none !important;
    332325}
    333326
    334327* html #wpadminbar {
    335     overflow:hidden;
    336     position:absolute;
     328    overflow: hidden;
     329    position: absolute;
    337330}
    338331
    339332* html #wpadminbar .quicklinks ul li a {
    340     float:left;
     333    float: left;
    341334}
    342335
    343336* html #adminbarsearch-wrap {
    344     position:absolute;
    345     top:0;
     337    position: absolute;
     338    top: 0;
    346339}
    347340
    348341* html #wpadminbar ul,
    349342* html #wpadminbar ul li {
    350     zoom:1;
     343    zoom: 1;
    351344}
    352345
    353346* html #wpadminbar .myaccount a {
    354     margin-left:0 !important;
    355     padding-left:12px !important;
     347    margin-left: 0 !important;
     348    padding-left: 12px !important;
    356349}
    357350/**
  • trunk/wp-includes/script-loader.php

    r16784 r16791  
    517517    $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    518518    $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100907' );
    519     $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101201' );
     519    $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20101208' );
    520520    $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101119' );
    521521    $styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101206' );
Note: See TracChangeset for help on using the changeset viewer.