More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314

git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-11-02 15:24:56 +00:00
parent 16697d503e
commit ee93344f32
8 changed files with 39 additions and 58 deletions

File diff suppressed because one or more lines are too long

View File

@ -1803,22 +1803,6 @@ body.press-this ul.category-tabs li.tabs a {
color: #333; color: #333;
} }
#wp_editimgbtn,
#wp_delimgbtn,
#wp_editgallery,
#wp_delgallery {
border-color: #999;
background-color: #eee;
}
#wp_editimgbtn:hover,
#wp_delimgbtn:hover,
#wp_editgallery:hover,
#wp_delgallery:hover {
border-color: #555;
background-color: #ccc;
}
.toggle-arrow { .toggle-arrow {
background: transparent url(../images/arrows-vs.png) no-repeat right 3px; background: transparent url(../images/arrows-vs.png) no-repeat right 3px;
} }

File diff suppressed because one or more lines are too long

View File

@ -1439,22 +1439,6 @@ body.press-this ul.category-tabs li.tabs a {
color: #333; color: #333;
} }
#wp_editimgbtn,
#wp_delimgbtn,
#wp_editgallery,
#wp_delgallery {
border-color: #999;
background-color: #eee;
}
#wp_editimgbtn:hover,
#wp_delimgbtn:hover,
#wp_editgallery:hover,
#wp_delgallery:hover {
border-color: #555;
background-color: #ccc;
}
.view-switch #view-switch-list { .view-switch #view-switch-list {
background: transparent url(../images/list.png) no-repeat 0 0; background: transparent url(../images/list.png) no-repeat 0 0;
} }

File diff suppressed because one or more lines are too long

View File

@ -1054,12 +1054,14 @@ html[dir="rtl"] .wp-switch-editor {
} }
.wp-media-buttons { .wp-media-buttons {
padding: .5em .5em 0; line-height: 1;
padding: 9px 0 0;
} }
.wp-media-buttons a { .wp-media-buttons a {
text-decoration: none; text-decoration: none;
color: #333; color: #333;
font-size: 12px;
} }
.wp-media-buttons img { .wp-media-buttons img {
@ -1134,6 +1136,8 @@ html[dir="rtl"] .wp-switch-editor {
#wp_delimgbtn, #wp_delimgbtn,
#wp_editgallery, #wp_editgallery,
#wp_delgallery { #wp_delgallery {
border-color: #999;
background-color: #eee;
margin: 2px; margin: 2px;
padding: 2px; padding: 2px;
border-width: 1px; border-width: 1px;
@ -1142,6 +1146,14 @@ html[dir="rtl"] .wp-switch-editor {
border-radius: 3px; border-radius: 3px;
} }
#wp_editimgbtn:hover,
#wp_delimgbtn:hover,
#wp_editgallery:hover,
#wp_delgallery:hover {
border-color: #555;
background-color: #ccc;
}
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------
wp-link wp-link

View File

@ -18,8 +18,6 @@ html, body {
cursor: pointer; cursor: pointer;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
-moz-border-radius: 11px;
-khtml-border-radius: 11px;
-webkit-border-radius: 11px; -webkit-border-radius: 11px;
border-radius: 11px; border-radius: 11px;
-moz-box-sizing: content-box; -moz-box-sizing: content-box;
@ -146,20 +144,32 @@ th.label {
white-space: nowrap; white-space: nowrap;
margin: 0; margin: 0;
padding: 0pt 7px; padding: 0pt 7px;
background-color: #f9f9f9;
border-color: #f9f9f9;
border-bottom-color: #dfdfdf;
}
a {
color: #21759B;
}
a:hover,
a:active,
a:focus {
color: #D54E21;
} }
#sidemenu a.current { #sidemenu a.current {
-moz-border-radius-topleft: 4px;
-khtml-border-top-left-radius: 4px;
-webkit-border-top-left-radius: 4px; -webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px; border-top-left-radius: 4px;
-moz-border-radius-topright: 4px;
-khtml-border-top-right-radius: 4px;
-webkit-border-top-right-radius: 4px; -webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px; border-top-right-radius: 4px;
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
font-weight: normal; font-weight: normal;
background-color: #fff;
border-color: #dfdfdf #dfdfdf #fff;
color: #D54E21;
} }
#adv_settings .field label { #adv_settings .field label {
@ -229,8 +239,6 @@ td {
border: 1px solid #f1f1f1; border: 1px solid #f1f1f1;
line-height: 15px; line-height: 15px;
height: 15px; height: 15px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
color: #07273E; color: #07273E;
@ -287,8 +295,6 @@ form {
.describe textarea { .describe textarea {
width: 460px; width: 460px;
border: 1px solid #dfdfdf; border: 1px solid #dfdfdf;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
} }
@ -329,6 +335,8 @@ div#media-upload-header {
border-bottom-width: 1px; border-bottom-width: 1px;
border-bottom-style: solid; border-bottom-style: solid;
height: 2.5em; height: 2.5em;
background-color: #f9f9f9;
border-bottom-color: #dfdfdf;
} }
body#media-upload ul#sidemenu { body#media-upload ul#sidemenu {
@ -344,15 +352,8 @@ div#media-upload-error {
font-weight: bold; font-weight: bold;
} }
* html #sidemenu li { #TB_window #TB_title {
zoom: 100%; background-color: #222222;
color: #CFCFCF;
} }
* html #sidemenu a {
height: 27px;
line-height: 26px;
}
* html input {
border: 1px solid #ddd;
}

View File

@ -437,7 +437,7 @@ function wp_default_styles( &$styles ) {
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );
// all colors stylesheets need to have the same query strings (cache manifest compat) // all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20111101'; $colors_version = '20111102';
// Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string.
$styles->add( 'colors', true, array('wp-admin'), $colors_version ); $styles->add( 'colors', true, array('wp-admin'), $colors_version );
@ -454,7 +454,7 @@ function wp_default_styles( &$styles ) {
$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(), '20111019' ); $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array(), '20111019' );
$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(), '20111028' ); $styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20111102' );
$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' );
foreach ( $rtl_styles as $rtl_style ) { foreach ( $rtl_styles as $rtl_style ) {