Hide right border on final admin bar menu item with :last-child, rather than assuming it is search. props markjaquith, fixes #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ef7ee3d99c
commit
630fb847ad
|
@ -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 #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 #wp-admin-bar-search{border-left:0;}#wpadminbar #wp-admin-bar-search a{border-left:0;}#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 .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;}
|
|
@ -91,6 +91,10 @@
|
||||||
float: left;
|
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 {
|
#wpadminbar #wp-admin-bar-my-account .user-info-item {
|
||||||
margin-right: 88px;
|
margin-right: 88px;
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
|
@ -113,14 +117,6 @@
|
||||||
margin: -3px 0 0 4px;
|
margin: -3px 0 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar #wp-admin-bar-search {
|
|
||||||
border-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar #wp-admin-bar-search a {
|
|
||||||
border-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar #adminbarsearch {
|
#wpadminbar #adminbarsearch {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -286,6 +286,10 @@
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#wpadminbar ul li:last-child, #wpadminbar ul li:last-child a {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* My Account
|
* My Account
|
||||||
*/
|
*/
|
||||||
|
@ -356,13 +360,8 @@
|
||||||
/**
|
/**
|
||||||
* Search
|
* Search
|
||||||
*/
|
*/
|
||||||
#wpadminbar #wp-admin-bar-search {
|
|
||||||
border-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wpadminbar #wp-admin-bar-search a {
|
#wpadminbar #wp-admin-bar-search a {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-right: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#wpadminbar .quicklinks .admin-bar-search:hover {
|
#wpadminbar .quicklinks .admin-bar-search:hover {
|
||||||
|
|
|
@ -452,7 +452,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' );
|
$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( '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( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111105' );
|
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111105b' );
|
||||||
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
|
$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( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111104' );
|
||||||
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111017' );
|
$styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20111017' );
|
||||||
|
|
Loading…
Reference in New Issue