Fix admin menu background for long names. props JohnONolan, fixes #13803.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-11 00:42:09 +00:00
parent 6f289a7be8
commit e82cadea33
10 changed files with 22 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -1040,20 +1040,20 @@ table.widefat .spam a:hover,
#adminmenu li.wp-has-current-submenu.wp-menu-open .wp-menu-toggle,
#adminmenu li.wp-has-current-submenu:hover .wp-menu-toggle {
background: transparent url(../images/menu-bits.gif?ver=20100531) no-repeat scroll left -207px;
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -207px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
#adminmenu .wp-menu-open .wp-menu-toggle {
background: transparent url(../images/menu-bits.gif?ver=20100531) no-repeat scroll left -109px;
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;
}
#adminmenu a.menu-top {
background: #f1f1f1 url(../images/menu-bits.gif?ver=20100531) repeat-x scroll left -379px;
background: #f1f1f1 url(../images/menu-bits.gif?ver=20100610) repeat-x scroll left -379px;
}
#adminmenu .wp-submenu a {
background: #fff url(../images/menu-bits.gif?ver=20100531) no-repeat scroll 0 -310px;
background: #fff url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -310px;
}
#adminmenu .wp-has-current-submenu ul li a {
@ -1074,7 +1074,7 @@ table.widefat .spam a:hover,
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu li.current a.menu-top {
background: #aaa url(../images/menu-bits.gif?ver=20100531) top left repeat-x;
background: #e0e0e0 url(../images/menu-bits.gif?ver=20100610) top left repeat-x;
border: #aaa 1px solid;
color: #000;
}
@ -1094,7 +1094,7 @@ table.widefat .spam a:hover,
}
#adminmenu .wp-submenu .current a.current {
background: transparent url(../images/menu-bits.gif?ver=20100531) no-repeat scroll 0 -289px;
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll 0 -289px;
}
#adminmenu .wp-submenu a:hover {
@ -1388,7 +1388,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
}
.meta-box-sortables .postbox:hover .handlediv {
background: transparent url(../images/menu-bits.gif?ver=20100531) no-repeat scroll left -111px;
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -111px;
}
#major-publishing-actions {
@ -1401,7 +1401,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
.tablenav .tablenav-pages a {
border-color: #e3e3e3;
background: #eee url('../images/menu-bits.gif?ver=20100531') repeat-x scroll left -379px;
background: #eee url('../images/menu-bits.gif?ver=20100610') repeat-x scroll left -379px;
}
.tablenav .tablenav-pages a:hover {
@ -1641,7 +1641,7 @@ div.widgets-sortables,
}
#widgets-left .sidebar-name-arrow {
background: transparent url(../images/menu-bits.gif?ver=20100531) no-repeat scroll left -109px;
background: transparent url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;
}
#widgets-right .sidebar-name-arrow {

File diff suppressed because one or more lines are too long

View File

@ -87,11 +87,11 @@ ul#adminmenu {
}
* html #wpcontent #adminmenu .wp-has-submenu .wp-menu-toggle {
background: url(../images/menu-bits.gif?ver=20100531) no-repeat scroll left -109px;
background: url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -109px;
}
* html #wpcontent #adminmenu li.wp-has-current-submenu .wp-menu-toggle {
background: url(../images/menu-bits.gif?ver=20100531) no-repeat scroll left -206px;
background: url(../images/menu-bits.gif?ver=20100610) no-repeat scroll left -206px;
}
* html #adminmenu div.wp-menu-image {
@ -372,7 +372,7 @@ table.ie-fixed {
}
* html .widget-top .widget-title-action a {
background: url("../images/menu-bits.gif?ver=20100531") no-repeat scroll 0 -110px;
background: url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -110px;
}
* html div.widget-liquid-left {

File diff suppressed because one or more lines are too long

View File

@ -394,7 +394,7 @@ body.js .item-order {
.item-controls .menu-item-delete:hover { color: #ff0000; }
.item-edit {
background: url("../images/menu-bits.gif?ver=20100531") no-repeat scroll 0 -105px;
background: url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -105px;
position: absolute;
right: -20px;
top: 0;

File diff suppressed because one or more lines are too long

View File

@ -188,7 +188,7 @@ a.widget-action {
}
.widget-top a.widget-action {
background: url("../images/menu-bits.gif?ver=20100531") no-repeat scroll 0 -110px;
background: url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -110px;
}
.widget .widget-inside,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -435,11 +435,11 @@ function wp_default_styles( &$styles ) {
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100605' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100605' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100610' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20100609';
$colors_version = '20100610';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version );
@ -451,7 +451,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'ms', "/wp-admin/css/ms$suffix.css", array(), '20100528' );
$styles->add( 'global', "/wp-admin/css/global$suffix.css", array(), '20100108' );
$styles->add( 'media', "/wp-admin/css/media$suffix.css", array(), '20100519' );
$styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20100531' );
$styles->add( 'widgets', "/wp-admin/css/widgets$suffix.css", array(), '20100610' );
$styles->add( 'dashboard', "/wp-admin/css/dashboard$suffix.css", array(), '20100424' );
$styles->add( 'install', "/wp-admin/css/install$suffix.css", array(), '20100605' ); // Readme as well
$styles->add( 'theme-editor', "/wp-admin/css/theme-editor$suffix.css", array(), '20100514' );
@ -463,7 +463,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
$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( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100603' );
$styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100610' );
foreach ( $rtl_styles as $rtl_style ) {
$styles->add_data( $rtl_style, 'rtl', true );