Remove dead padding/margin CSS from the admin bar. These previously were used for the now-removed arrows. see #18197.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-11-07 00:30:49 +00:00
parent 0ec64132db
commit 4329269b16
5 changed files with 3 additions and 12 deletions

View File

@ -1 +1 @@
#wpadminbar *{font-family:Tahoma,Arial,Helvetica,sans-serif;}#wpadminbar{direction:rtl;font-family:Tahoma,Arial,Helvetica,sans-serif;left:auto;right:0;}#wpadminbar ul,#wpadminbar ul li{background:none;list-style:none;margin:0;padding:0;position:relative;z-index:99999;}#wpadminbar .quicklinks{border-left:0;border-right:1px solid transparent;}#wpadminbar .quicklinks ul{text-align:right;}#wpadminbar li{float:right;}#wpadminbar .quicklinks>ul>li{border-right:0;border-left:1px solid #555;}#wpadminbar .quicklinks>ul>li>a{border-right:0;border-left:1px solid #333;}#wpadminbar .quicklinks>ul>li.opposite{border-right:1px solid #333;border-left:0;}#wpadminbar .quicklinks>ul>li.opposite>a{border-right:1px solid #555;border-left:0;}#wpadminbar .quicklinks .menupop ul,#wpadminbar .shortlink-input{margin:0 -1px 0 0;}#wpadminbar .quicklinks .opposite.menupop ul{right:auto;left:0;margin:0 0 0 -1px;}#wpadminbar .quicklinks .menupop li.hover>ul{margin-left:0;}#wpadminbar .quicklinks .opposite.menupop li.hover>ul{margin-right:0;right:inherit;left:100%;}#wpadminbar .ab-top-menu>.menupop>a span{padding-right:0;padding-left:10px;margin-right:0;margin-left:-10px;}#wpadminbar .opposite.menupop li a>span{padding:0 1.5em 0 0;}#wpadminbar .quicklinks .menupop li.secondary>ul,#wpadminbar .quicklinks .opposite.menupop li.secondary>ul{left:auto;}#wpadminbar li.opposite{float:left;}#wpadminbar ul li:last-child,#wpadminbar ul li:last-child a{border-left:0;}#wpadminbar #wp-admin-bar-my-account .user-info-item{margin-right:88px;margin-left:16px;}#wpadminbar #wp-admin-bar-my-account .user-info-item>a{padding-left:0;padding-right:8px;}#wp-admin-bar-my-account .user-info .avatar{left:auto;right:-72px;}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{margin:-2px 6px 0 0;}#wpadminbar .quicklinks li img.blavatar{margin:-3px 0 0 4px;}#wpadminbar #adminbarsearch{float:left;}#wpadminbar #adminbarsearch .adminbar-input{float:right;font-family:Tahoma,Arial,Helvetica,sans-serif;padding:0 24px 0 3px;margin:0 0 0 3px;background-position:98% 2px;}#wpadminbar #adminbarsearch .adminbar-button{display:none;}#wpadminbar .wp-admin-bar-logo>a{padding-left:1em;padding-right:24px;}#wpadminbar .ab-comments-icon{float:right;}#wpadminbar .ab-comments-icon-body{margin:3px -2px 0 4px;}#wpadminbar a .ab-comments-icon-arrow{left:auto;right:1px;border-left:0;border-right:4px solid #999;}#wpadminbar a:hover .ab-comments-icon-arrow{border-right-color:#bbb;}* html #wpadminbar .quicklinks ul li a{float:right;}
#wpadminbar *{font-family:Tahoma,Arial,Helvetica,sans-serif;}#wpadminbar{direction:rtl;font-family:Tahoma,Arial,Helvetica,sans-serif;left:auto;right:0;}#wpadminbar ul,#wpadminbar ul li{background:none;list-style:none;margin:0;padding:0;position:relative;z-index:99999;}#wpadminbar .quicklinks{border-left:0;border-right:1px solid transparent;}#wpadminbar .quicklinks ul{text-align:right;}#wpadminbar li{float:right;}#wpadminbar .quicklinks>ul>li{border-right:0;border-left:1px solid #555;}#wpadminbar .quicklinks>ul>li>a{border-right:0;border-left:1px solid #333;}#wpadminbar .quicklinks>ul>li.opposite{border-right:1px solid #333;border-left:0;}#wpadminbar .quicklinks>ul>li.opposite>a{border-right:1px solid #555;border-left:0;}#wpadminbar .quicklinks .menupop ul,#wpadminbar .shortlink-input{margin:0 -1px 0 0;}#wpadminbar .quicklinks .opposite.menupop ul{right:auto;left:0;margin:0 0 0 -1px;}#wpadminbar .quicklinks .menupop li.hover>ul{margin-left:0;}#wpadminbar .quicklinks .opposite.menupop li.hover>ul{margin-right:0;right:inherit;left:100%;}#wpadminbar .opposite.menupop li a>span{padding:0 1.5em 0 0;}#wpadminbar .quicklinks .menupop li.secondary>ul,#wpadminbar .quicklinks .opposite.menupop li.secondary>ul{left:auto;}#wpadminbar li.opposite{float:left;}#wpadminbar ul li:last-child,#wpadminbar ul li:last-child a{border-left:0;}#wpadminbar #wp-admin-bar-my-account .user-info-item{margin-right:88px;margin-left:16px;}#wpadminbar #wp-admin-bar-my-account .user-info-item>a{padding-left:0;padding-right:8px;}#wp-admin-bar-my-account .user-info .avatar{left:auto;right:-72px;}#wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar>a img{margin:-2px 6px 0 0;}#wpadminbar .quicklinks li img.blavatar{margin:-3px 0 0 4px;}#wpadminbar #adminbarsearch{float:left;}#wpadminbar #adminbarsearch .adminbar-input{float:right;font-family:Tahoma,Arial,Helvetica,sans-serif;padding:0 24px 0 3px;margin:0 0 0 3px;background-position:98% 2px;}#wpadminbar #adminbarsearch .adminbar-button{display:none;}#wpadminbar .wp-admin-bar-logo>a{padding-left:1em;padding-right:24px;}#wpadminbar .ab-comments-icon{float:right;}#wpadminbar .ab-comments-icon-body{margin:3px -2px 0 4px;}#wpadminbar a .ab-comments-icon-arrow{left:auto;right:1px;border-left:0;border-right:4px solid #999;}#wpadminbar a:hover .ab-comments-icon-arrow{border-right-color:#bbb;}* html #wpadminbar .quicklinks ul li a{float:right;}

View File

@ -71,13 +71,6 @@
left: 100%;
}
#wpadminbar .ab-top-menu > .menupop > a span {
padding-right: 0;
padding-left: 10px;
margin-right: 0;
margin-left: -10px;
}
#wpadminbar .opposite.menupop li a > span {
padding: 0 1.5em 0 0;
}

File diff suppressed because one or more lines are too long

View File

@ -206,8 +206,6 @@
}
#wpadminbar .ab-top-menu > .menupop > a span {
padding-right: 10px;
margin-right: -10px;
white-space: nowrap;
}

View File

@ -452,7 +452,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
$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( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111105b' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111106' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
$styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111104' );
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111017' );