CSS whitespace and color definitions cleanup, props Simek, fixes #11561

git-svn-id: http://svn.automattic.com/wordpress/trunk@12552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-12-27 18:17:06 +00:00
parent 5dca5f2d31
commit e88cf62434
14 changed files with 62 additions and 59 deletions

View File

@ -63,7 +63,7 @@
} }
#adminmenu .wp-submenu a { #adminmenu .wp-submenu a {
background: #FFFFFF url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -310px; background: #fff url(../images/menu-bits-rtl-vs.gif) no-repeat scroll right -310px;
} }
#adminmenu li.current a, #adminmenu li.current a,

File diff suppressed because one or more lines are too long

View File

@ -381,7 +381,7 @@ div.dashboard-widget-submit input:hover,
} }
#dashboard_right_now .table { #dashboard_right_now .table {
background:#faf9f7 !important; background: #faf9f7 !important;
} }
#side-sortables #category-tabs .tabs a { #side-sortables #category-tabs .tabs a {
@ -442,7 +442,7 @@ div.dashboard-widget-submit input:hover,
} }
.update-message { .update-message {
color: #000000; color: #000;
} }
a.page-numbers { a.page-numbers {
@ -1640,7 +1640,7 @@ div.widgets-sortables,
#widgets-left .sidebar-name { #widgets-left .sidebar-name {
background-color: #aaa; background-color: #aaa;
background-image: url(../images/ed-bg-vs.gif); background-image: url(../images/ed-bg-vs.gif);
text-shadow: #FFFFFF 0 1px 0; text-shadow: #fff 0 1px 0;
border-color: #dfdfdf; border-color: #dfdfdf;
} }

View File

@ -63,7 +63,7 @@
} }
#adminmenu .wp-submenu a { #adminmenu .wp-submenu a {
background: #FFFFFF url(../images/menu-bits-rtl.gif) no-repeat scroll right -310px; background: #fff url(../images/menu-bits-rtl.gif) no-repeat scroll right -310px;
} }
#adminmenu li.current a, #adminmenu li.current a,

File diff suppressed because one or more lines are too long

View File

@ -438,7 +438,7 @@ div.dashboard-widget-submit input:hover,
} }
.update-message { .update-message {
color: #000000; color: #000;
} }
a.page-numbers { a.page-numbers {
@ -1061,7 +1061,7 @@ table.widefat .spam a:hover,
} }
#adminmenu .wp-submenu a { #adminmenu .wp-submenu a {
background: #FFFFFF url(../images/menu-bits.gif) no-repeat scroll 0 -310px; background: #fff url(../images/menu-bits.gif) no-repeat scroll 0 -310px;
} }
#adminmenu .wp-has-current-submenu ul li a { #adminmenu .wp-has-current-submenu ul li a {
@ -1077,7 +1077,7 @@ table.widefat .spam a:hover,
background: #6d6d6d url(../images/menu-bits.gif) top left repeat-x; background: #6d6d6d url(../images/menu-bits.gif) top left repeat-x;
border-color: #6d6d6d; border-color: #6d6d6d;
color: #fff; color: #fff;
text-shadow: rgba(0,0,0,0.4) 0px -1px 0px; text-shadow: rgba(0,0,0,0.4) 0 -1px 0;
} }
#adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu .wp-submenu,
@ -1113,7 +1113,7 @@ table.widefat .spam a:hover,
background-color: #f5f5f5; background-color: #f5f5f5;
background-image: none; background-image: none;
border-color: #e3e3e3; border-color: #e3e3e3;
text-shadow: rgba(255,255,255,1) 0px 1px 0px; text-shadow: rgba(255,255,255,1) 0 1px 0;
} }
#adminmenu .wp-submenu ul { #adminmenu .wp-submenu ul {
@ -1245,19 +1245,19 @@ table.widefat .spam a:hover,
/* Diff */ /* Diff */
table.diff .diff-deletedline { table.diff .diff-deletedline {
background-color: #ffdddd; background-color: #fdd;
} }
table.diff .diff-deletedline del { table.diff .diff-deletedline del {
background-color: #ff9999; background-color: #f99;
} }
table.diff .diff-addedline { table.diff .diff-addedline {
background-color: #ddffdd; background-color: #dfd;
} }
table.diff .diff-addedline ins { table.diff .diff-addedline ins {
background-color: #99ff99; background-color: #9f9;
} }
#att-info { #att-info {
@ -1357,7 +1357,7 @@ div.star.select:hover {
} }
.inline-editor ul.cat-checklist { .inline-editor ul.cat-checklist {
background-color: #FFFFFF; background-color: #fff;
border-color: #ddd; border-color: #ddd;
} }
@ -1586,14 +1586,14 @@ fieldset.inline-edit-col-right .inline-edit-col {
} }
#wphead #site-visit-button { #wphead #site-visit-button {
background-color:#585858; background-color: #585858;
background-image: url(../images/visit-site-button-grad.gif); background-image: url(../images/visit-site-button-grad.gif);
color:#aaa; color: #aaa;
text-shadow: #3F3F3F 0 -1px 0; text-shadow: #3F3F3F 0 -1px 0;
} }
#wphead a:hover #site-visit-button { #wphead a:hover #site-visit-button {
color:#fff; color: #fff;
} }
#wphead a:focus #site-visit-button, #wphead a:focus #site-visit-button,
@ -1603,7 +1603,7 @@ fieldset.inline-edit-col-right .inline-edit-col {
.popular-tags, .popular-tags,
.feature-filter { .feature-filter {
background-color: #FFFFFF; background-color: #fff;
border-color: #DFDFDF; border-color: #DFDFDF;
} }
@ -1629,7 +1629,7 @@ div.widgets-sortables,
#widgets-left .sidebar-name { #widgets-left .sidebar-name {
background-color: #aaa; background-color: #aaa;
background-image: url(../images/ed-bg.gif); background-image: url(../images/ed-bg.gif);
text-shadow: #FFFFFF 0 1px 0; text-shadow: #fff 0 1px 0;
border-color: #dfdfdf; border-color: #dfdfdf;
} }

View File

@ -477,7 +477,7 @@ ol.ol-decimal > li {
margin: 0; margin: 0;
padding: 14px 15px 3px 0; padding: 14px 15px 3px 0;
line-height: 35px; line-height: 35px;
text-shadow: rgba(255,255,255,1) 0px 1px 0px; text-shadow: rgba(255,255,255,1) 0 1px 0;
} }
.wrap h2.long-header { .wrap h2.long-header {

View File

@ -12,7 +12,7 @@ body#media-upload ul#sidemenu {
font-weight: normal; font-weight: normal;
margin: 0 5px; margin: 0 5px;
position: absolute; position: absolute;
left: 0px; left: 0;
bottom: -1px; bottom: -1px;
} }

View File

@ -60,12 +60,15 @@ div.star img {
.theme-listing .theme-item-info span { .theme-listing .theme-item-info span {
display: none; display: none;
} }
.theme-listing .theme-item:hover .theme-item-info span { .theme-listing .theme-item:hover .theme-item-info span {
display: inline; display: inline;
} }
.theme-listing .theme-item:hover .theme-item-info span.dots { .theme-listing .theme-item:hover .theme-item-info span.dots {
display: none; display: none;
} }
.theme-listing .theme-item-info span.action-links { .theme-listing .theme-item-info span.action-links {
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;

View File

@ -904,21 +904,21 @@ div.comment-item:hover .row-actions {
} }
#wphead #site-visit-button { #wphead #site-visit-button {
background-repeat:repeat-x; background-repeat: repeat-x;
background-position:0 0; background-position: 0 0;
-moz-border-radius:3px; -moz-border-radius: 3px;
-webkit-border-radius:3px; -webkit-border-radius: 3px;
-khtml-border-radius:3px; -khtml-border-radius: 3px;
border-radius:3px; border-radius: 3px;
cursor:pointer; /* to keep IE happy */ cursor: pointer; /* to keep IE happy */
display:-moz-inline-stack; /* to keep FF2 happy */ display: -moz-inline-stack; /* to keep FF2 happy */
display:inline-block; display: inline-block;
font-size: 50%; font-size: 50%;
font-style:normal; font-style: normal;
line-height:17px; line-height: 17px;
margin-left:5px; margin-left: 5px;
padding:0 6px; padding: 0 6px;
vertical-align:middle; vertical-align: middle;
} }
#wphead h1 a:hover { #wphead h1 a:hover {
@ -1726,11 +1726,11 @@ div.inside {
} }
.postbox.closed h3 { .postbox.closed h3 {
-moz-border-radius-bottomleft:4px; -moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-left-radius: 4px;
-khtml-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
-moz-border-radius-bottomright:4px; -moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px; -webkit-border-bottom-right-radius: 4px;
-khtml-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;

View File

@ -428,7 +428,7 @@ function wp_default_styles( &$styles ) {
$rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' ); $rtl_styles = array( 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' );
// 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 = '20091224'; $colors_version = '20091227';
$styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091224' ); $styles->add( 'wp-admin', "/wp-admin/wp-admin$suffix.css", array(), '20091224' );
$styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" ); $styles->add_data( 'wp-admin', 'rtl', "/wp-admin/rtl$suffix.css" );