Menu style updates. see #17324.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-05-12 02:03:02 +00:00
parent beae1e56aa
commit e3e2cb9710
7 changed files with 72 additions and 37 deletions

File diff suppressed because one or more lines are too long

View File

@ -1893,23 +1893,29 @@ div.widgets-sortables,
background-color: #f1f1f1;
}
#nav-menu-header, #nav-menu-footer {
background: #f9f9f9;
#nav-menu-header,
#nav-menu-footer,
.menu-item-handle {
background-color: #f4f4f4; /* Fallback */
background-image: -ms-linear-gradient(bottom, #e9e9e9, #f4f4f4); /* IE10 */
background-image: -moz-linear-gradient(bottom, #e9e9e9, #f4f4f4); /* Firefox */
background-image: -o-linear-gradient(bottom, #e9e9e9, #f4f4f4); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#e9e9e9), to(#f4f4f4)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #e9e9e9, #f4f4f4); /* new Webkit */
background-image: linear-gradient(bottom, #e9e9e9, #f4f4f4); /* proposed W3C Markup */
}
.menu-item-handle {
background-color: #e3e3e3; /* Fallback */
background-image: -ms-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* IE10 */
background-image: -moz-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* Firefox */
background-image: -o-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* Opera */
background-image: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), to(#f1f1f1)); /* old Webkit */
background-image: -webkit-linear-gradient(bottom, #dfdfdf, #f1f1f1); /* new Webkit */
background-image: linear-gradient(bottom, #dfdfdf, #f1f1f1); /* proposed W3C Markup */
#menu-management .nav-tab-active,
.menu-item-handle,
.menu-item-settings {
-moz-box-shadow: inset 0 1px 0 #fff;
-webkit-box-shadow: inset 0 1px 0 #fff;
box-shadow: inset 0 1px 0 #fff;
}
#menu-management .nav-tab-active {
background: #f9f9f9;
border-bottom-color: #f9f9f9;
background: #f4f4f4;
border-bottom-color: #f4f4f4;
}
/* custom header page */

File diff suppressed because one or more lines are too long

View File

@ -50,15 +50,15 @@ body {
float: left;
min-width: 100%;
}
#menu-management {
position: relative;
margin-right: 20px;
margin-top: -3px;
width: 100%;
}
#menu-management .menu-edit {
background: #f9f9f9;
padding: 0 10px;
border: 1px solid #dfdfdf;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
@ -66,14 +66,23 @@ body {
border-radius: 3px;
margin-bottom: 20px;
}
#post-body {
padding: 10px 0;
background: #fcfcfc;
padding: 10px;
border-top: 1px solid #fff;
border-bottom: 1px solid #dfdfdf;
}
#nav-menu-header,
#nav-menu-footer {
padding: 0 10px;
}
#nav-menu-header {
border-bottom: 1px solid #dfdfdf;
}
#nav-menu-footer {
border-top: 1px solid #fff;
}
@ -137,7 +146,7 @@ body {
#menu-management .nav-tab {
margin-bottom: 0;
background: #fff;
background: #f9f9f9;
border-color: #dfdfdf;
font-size: 14px;
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
@ -202,7 +211,7 @@ body {
.submitcancel {
display:block;
float:left;
font-size: 11px;
font-size: 12px;
margin: 4px 0;
line-height: 15px;
}
@ -210,11 +219,23 @@ body {
padding: 0 2px;
}
#cancel-save { color: #ff0000; text-decoration: underline; font-size: 11px; margin-left: 20px; margin-top: 5px; }
#cancel-save:hover { background-color: #FF0000; color: #fff; }
#cancel-save {
color: #ff0000;
text-decoration: underline;
font-size: 12px;
margin-left: 20px;
margin-top: 5px;
}
#cancel-save:hover {
background-color: #FF0000;
color: #fff;
}
/* Button Secondary Actions */
.list-controls { float: left; margin-top: 5px; }
.list-controls {
float: left;
margin-top: 5px;
}
.add-to-menu {
float: right;
}
@ -237,7 +258,7 @@ body {
/* Custom Links */
#available-links dt { display: block; }
#add-custom-link .howto { font-size: 11px; }
#add-custom-link .howto { font-size: 12px; }
#add-custom-link label span { display: block; float: left; margin-top: 5px; padding-right: 5px; }
.menu-item-textbox { width: 180px; }
.howto span { margin-top: 4px; display: block; float: left; }
@ -380,11 +401,11 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Menu item controls */
.item-type {
font-size: 11px;
font-size: 12px;
color: #999999;
padding-right: 10px;
}
.item-controls { font-size: 11px; position: absolute; right: 20px; top: -1px; }
.item-controls { font-size: 12px; position: absolute; right: 20px; top: -1px; }
.item-controls a { text-decoration: none; }
.item-controls a:hover { cursor: pointer; }
.item-controls .item-order { padding-right: 10px;}
@ -399,12 +420,12 @@ body.js .item-order {
.item-controls .menu-item-delete:hover { color: #ff0000; }
.item-edit {
background: url("../images/menu-bits.gif?ver=20100610") no-repeat scroll 0 -105px;
background: transparent url(../images/arrows.png) no-repeat 8px 10px;
position: absolute;
right: -20px;
top: 0;
display: block;
width: 23px;
width:30px;
height: 36px;
overflow: hidden;
text-indent:-999em;
@ -414,13 +435,16 @@ body.js .item-order {
-khtml-border-bottom-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.item-edit:hover {
background: transparent url(../images/arrows-dark.png) no-repeat 8px 10px;
}
/* Menu editing */
.menu-instructions-inactive {
display: none;
}
.menu-item-settings {
background: #F9F9F9;
background: #f4f4f4;
display:block;
width: 400px;
padding: 10px 0 10px 10px;
@ -449,7 +473,7 @@ body.js .item-order {
display: block;
margin: 0 0 10px;
padding: 3px 5px 5px;
font-size: 11px;
font-size: 12px;
color: #777;
font-style: italic;
border: 1px solid #dfdfdf;
@ -494,7 +518,7 @@ body.js .item-order {
/* Major/minor publishing actions (classes) */
.major-publishing-actions {
clear:both;
padding: 5px 0;
padding: 3px 0 5px;
}
.major-publishing-actions .publishing-action {
text-align: right;
@ -510,7 +534,7 @@ body.js .item-order {
margin-top: 5px;
}
.menu-name-label span, .auto-add-pages label {
font-size: 11px;
font-size: 12px;
font-style: normal;
}
.menu-name-label {

File diff suppressed because one or more lines are too long

View File

@ -4045,9 +4045,9 @@ div#custom-background-image img {
.nav-tab {
border-style: solid;
border-color: #ccc #ccc #fff;
border-color: #dfdfdf #dfdfdf #fff;
border-width: 1px 1px 0;
color: #c1c1c1;
color: #aaa;
text-shadow: rgba(255,255,255,1) 0 1px 0;
font-size: 12px;
line-height: 16px;
@ -4069,6 +4069,11 @@ div#custom-background-image img {
color: #464646;
}
.nav-tab:hover,
.nav-tab-active {
border-color: #ccc #ccc #fff;
}
h2.nav-tab-wrapper, h3.nav-tab-wrapper {
border-bottom: 1px solid #ccc;
padding-bottom: 0;

View File

@ -487,13 +487,13 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110511l' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20110511m' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20101102' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20110511k';
$colors_version = '20110511l';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array(), $colors_version );
@ -517,7 +517,7 @@ function wp_default_styles( &$styles ) {
$styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u' );
$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(), '20110506' );
$styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20110511' );
$styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20110419' );
$styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
$styles->add( 'wplink', "/wp-includes/js/tinymce/plugins/wplink/css/wplink$suffix.css", array(), '20101224' );