Move color declarations out of wp-admin.css, props Simek and johnhennmacc, fixes #7961

git-svn-id: https://develop.svn.wordpress.org/trunk@9783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-11-19 07:21:05 +00:00
parent e0905512b2
commit 0a86dfcc2e
5 changed files with 323 additions and 164 deletions
+176 -26
View File
@@ -43,15 +43,15 @@ div.dashboard-widget,
border-color: #ccc;
}
#poststuff .inside .spam {
#poststuff .inside label.spam {
color: red;
}
#poststuff .inside .waiting {
#poststuff .inside label.waiting {
color: orange;
}
#poststuff .inside .approved {
#poststuff .inside label.approved {
color: green;
}
@@ -129,10 +129,6 @@ h3.info-box-title,
background-color: #dfdfdf;
}
.metabox-holder {
color: #777;
}
.form-table tr,
.form-wrap .form-field {
background-color: #f9f9f9;
@@ -144,7 +140,7 @@ select {
}
strong .post-com-count span {
background-color: #2583ad;
background-color: #21759b;
}
#login form .submit input,
@@ -192,7 +188,7 @@ ul#widget-list li.widget-list-item h4.widget-title {
.available-theme a.screenshot {
background-color: #f1f1f1;
border-color: #ccc;
border-color: #ddd;
}
.bar {
@@ -330,13 +326,18 @@ a.button.disabled {
border-color: #535353;
}
a:active,
a:focus {
color: #d54e21 !important;
}
a:hover,
.button:hover,
#wphead #viewsite a:hover,
#adminmenu a:hover,
#adminmenu ul.wp-submenu a:hover,
#the-comment-list .comment a:hover,
#rightnow a:hover,
a:hover,
.subsubsub a:hover,
.subsubsub a.current:hover,
#login form .submit input:hover,
@@ -401,7 +402,7 @@ div.dashboard-widget-submit input:hover,
.tablenav .next,
.tablenav .prev {
border-color: transparent;
color: #2583ad;
color: #21759b;
}
.tablenav .next:hover,
@@ -432,8 +433,8 @@ ul#widget-list li.widget-list-item,
border-color: #dfdfdf;
}
.widefat thead,
.widefat tfoot,
.widefat thead tr,
.widefat tfoot tr,
.thead,
.tfoot,
h3.dashboard-widget-title,
@@ -465,7 +466,7 @@ h3.dashboard-widget-title small a:hover {
#media-upload a.del-link,
#media-upload a.delete,
.ui-tabs-nav a, a {
color: #2583ad;
color: #21759b;
}
/* Because we don't want visited on these links */
@@ -538,7 +539,7 @@ li.widget-list-control-item h4,
background-color: #fffbcc;
}
#edit-slug-box strong, .login #nav a {
#edit-slug-box strong, .login #nav a, .tablenav .displaying-num {
color: #777;
}
@@ -728,7 +729,7 @@ div#media-upload-error,
.file-error,
abbr.required,
.widget-control-remove:hover,
.delete:hover {
.delete a:hover {
color: #f00;
}
@@ -913,7 +914,7 @@ abbr.required,
color: #888;
}
.wp_themeSkin tr.mceFirst {
.wp_themeSkin tr.mceFirst td.mceToolbar {
background-color: #dfdfdf;
border-color: #dfdfdf;
}
@@ -1021,7 +1022,7 @@ abbr.required,
#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) no-repeat scroll left -206px;
background: transparent url(../images/menu-bits.gif) no-repeat scroll left -208px;
}
#adminmenu .wp-has-submenu:hover .wp-menu-toggle,
@@ -1037,16 +1038,35 @@ abbr.required,
background: #FFFFFF url(../images/menu-bits.gif) no-repeat scroll 0 -310px;
}
#adminmenu .wp-has-current-submenu ul li a {
background: none;
}
#adminmenu .wp-has-current-submenu ul li a.current {
background: url(../images/menu-dark.gif) top left no-repeat !important;
}
#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu,
#adminmenu .menu-top .current {
background-color: #c0c0c0;
background-image: none;
background: url(../images/menu-bits.gif) top left repeat-x;
border-color: #B5B5B5;
color: #fff;
text-shadow: #666 0px -1px 0px;
}
#adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu ul li a {
border-color: #aaa !important;
}
#adminmenu li.wp-has-current-submenu ul li a {
background: url(../images/menu-dark.gif) bottom left no-repeat !important;
}
#adminmenu li.wp-has-current-submenu ul {
border-bottom-color: #aaa;
}
#adminmenu li.menu-top .current:hover {
background: #c0c0c0 none repeat scroll 0 0;
border-color: #B5B5B5;
}
@@ -1055,16 +1075,18 @@ abbr.required,
}
#adminmenu .wp-submenu a:hover {
background-color: #EAF2FA;
background-color: #EAF2FA !important;
color: #333 !important;
}
#adminmenu .wp-submenu li.current,
#adminmenu .wp-submenu li.current a,
#adminmenu .wp-submenu li.current a:hover {
color: #d54e21;
background-color: #fff;
color: #333;
background-color: #f5f5f5;
background-image: none;
border-color: #e3e3e3;
text-shadow: #fff 0px 1px 0px;
}
#adminmenu .wp-submenu ul {
@@ -1285,7 +1307,7 @@ div.star.select:hover {
.inline-editor .categories .catshow,
.inline-editor .categories .cathide {
color: #2583AD;
color: #21759b;
}
.inline-editor .quick-edit-save {
@@ -1305,6 +1327,134 @@ div.star.select:hover {
background: transparent url(../images/menu-bits.gif) no-repeat scroll left -111px;
}
#major-publishing-actions, #dashboard_quick_press .submit {
#major-publishing-actions {
background: #eaf2fa;
}
.tablenav .tablenav-pages, {
color: #555;
}
.tablenav .tablenav-pages a {
border-color: #efefef;
background: #eee;
}
.tablenav .tablenav-pages a:hover {
color: #fff;
background-color: #d54e21;
border-color: #d54321;
}
.tablenav .tablenav-pages a:active {
color: #fff !important;
}
.tablenav .tablenav-pages .current {
background: #dfdfdf;
border-color: #dfdfdf;
}
#availablethemes,
#availablethemes td {
border-color: #ddd;
}
#current-theme img {
border-color: #999;
}
#TB_window #TB_title a.tb-theme-preview-link,
#TB_window #TB_title a.tb-theme-preview-link:visited {
color: #999;
}
#TB_window #TB_title a.tb-theme-preview-link:hover,
#TB_window #TB_title a.tb-theme-preview-link:focus {
color: #ccc;
}
form p.submit a.cancel {
border-color: red;
color: red;
}
form p.submit a.cancel:hover {
background: red;
color: white;
}
.misc-pub-section {
border-bottom-color: #eee;
}
#minor-publishing {
border-bottom-color: #ddd;
}
#post-body .misc-pub-section {
border-right-color: #eee;
}
.post-com-count span {
background-color: #bbb;
}
.form-table .color-palette td {
border-color: #fff;
}
.sortable-placeholder {
border-color: #bbb;
background-color: #f5f5f5;
}
#post-body ul#category-tabs li.ui-tabs-selected a {
color: #333;
}
.view-switch img {
border-color: #fff;
}
.view-switch img.current {
border-color: #999;
}
#wp_editimgbtn, #wp_delimgbtn {
border-color: #999;
background-color: #eee;
}
#wp_editimgbtn:hover, #wp_delimgbtn:hover {
border-color: #555;
background-color: #ccc;
}
#favorite-first {
border-color: #464646;
background: #797979 url(../images/fav.png) repeat-x 0 center;
}
#favorite-inside {
border-color: #797979;
background: #797979 url(../images/fav-bottom.png) repeat-x 0 bottom;
}
#favorite-toggle {
background: transparent url(../images/fav-arrow.png) no-repeat 0 -4px;
}
#favorite-actions a {
color: #eee;
}
#favorite-inside a:hover {
background-color: #8f8f8f;
color: #fff;
}
#favorite-actions .slide-down {
border-bottom-color: #626262;
}
+106 -2
View File
@@ -188,7 +188,7 @@ ul#widget-list li.widget-list-item h4.widget-title {
.available-theme a.screenshot {
background-color: #f1f1f1;
border-color: #ccc;
border-color: #ddd;
}
.bar {
@@ -1353,4 +1353,108 @@ div.star.select:hover {
.tablenav .tablenav-pages .current {
background: #dfdfdf;
border-color: #dfdfdf;
}
}
#availablethemes,
#availablethemes td {
border-color: #ddd;
}
#current-theme img {
border-color: #999;
}
#TB_window #TB_title a.tb-theme-preview-link,
#TB_window #TB_title a.tb-theme-preview-link:visited {
color: #999;
}
#TB_window #TB_title a.tb-theme-preview-link:hover,
#TB_window #TB_title a.tb-theme-preview-link:focus {
color: #ccc;
}
form p.submit a.cancel {
border-color: red;
color: red;
}
form p.submit a.cancel:hover {
background: red;
color: white;
}
.misc-pub-section {
border-bottom-color: #eee;
}
#minor-publishing {
border-bottom-color: #ddd;
}
#post-body .misc-pub-section {
border-right-color: #eee;
}
.post-com-count span {
background-color: #bbb;
}
.form-table .color-palette td {
border-color: #fff;
}
.sortable-placeholder {
border-color: #bbb;
background-color: #f5f5f5;
}
#post-body ul#category-tabs li.ui-tabs-selected a {
color: #333;
}
.view-switch img {
border-color: #fff;
}
.view-switch img.current {
border-color: #999;
}
#wp_editimgbtn, #wp_delimgbtn {
border-color: #999;
background-color: #eee;
}
#wp_editimgbtn:hover, #wp_delimgbtn:hover {
border-color: #555;
background-color: #ccc;
}
#favorite-first {
border-color: #464646;
background: #797979 url(../images/fav.png) repeat-x 0 center;
}
#favorite-inside {
border-color: #797979;
background: #797979 url(../images/fav-bottom.png) repeat-x 0 bottom;
}
#favorite-toggle {
background: transparent url(../images/fav-arrow.png) no-repeat 0 -4px;
}
#favorite-actions a {
color: #eee;
}
#favorite-inside a:hover {
background-color: #8f8f8f;
color: #fff;
}
#favorite-actions .slide-down {
border-bottom-color: #626262;
}