From f0703fd669a0252f2405341c6a297a8cde7e447b Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Fri, 21 Nov 2008 21:32:50 +0000 Subject: [PATCH] Move text-shadow styles to colors stylesheets git-svn-id: https://develop.svn.wordpress.org/trunk@9837 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-classic.css | 35 ++++++++++++++++++++++++++++++++- wp-admin/css/colors-fresh.css | 35 ++++++++++++++++++++++++++++++++- wp-admin/wp-admin.css | 30 ++-------------------------- 3 files changed, 70 insertions(+), 30 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 6080dc83a2..03bb7b8ec9 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -127,10 +127,13 @@ h3.info-box-title, #poststuff h3, .metabox-holder h3 { background-color: #dfdfdf; + text-shadow: #fff 0 1px 0; } -.form-table th, .form-wrap label { +.form-table th, +.form-wrap label { color: #222; + text-shadow: #fff 0 1px 0; } .setting-description, .form-wrap p { @@ -1076,6 +1079,7 @@ abbr.required, background: #6d6d6d url(../images/menu-bits.gif) top left repeat-x; border-color: #6d6d6d; color: #fff; + text-shadow: rgba(0,0,0,0.4) 0px -1px 0px; } #adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu ul li a { @@ -1110,6 +1114,7 @@ abbr.required, background-color: #f5f5f5; background-image: none; border-color: #e3e3e3; + text-shadow: rgba(255,255,255,1) 0px 1px 0px; } #adminmenu .wp-submenu ul { @@ -1471,6 +1476,7 @@ form p.submit a.cancel:hover { #favorite-actions a { color: #eee; + text-shadow: rgba(0,0,0,0.2) 0 -1px 0; } #favorite-inside a:hover { @@ -1481,3 +1487,30 @@ form p.submit a.cancel:hover { #favorite-actions .slide-down { border-bottom-color: #626262; } + +.submit input, +.button, +.button-primary, +.button-secondary, +.button-highlighted, +#postcustomstuff .submit input { + text-shadow: rgba(255,255,255,1) 0 1px 0; +} + +.button-primary, +.submit .button-primary { + text-shadow: rgba(0,0,0,0.3) 0 -1px 0; +} + +.widefat th { + text-shadow: rgba(255,255,255,0.8) 0 1px 0; +} + +#wphead h1 { + text-shadow: rgba(0,0,0,0.6) 0 -1px 0; +} + +#screen-meta a.show-settings { + background-color: transparent; + text-shadow: rgba(255,255,255,0.7) 0 1px 0; +} diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 6080dc83a2..03bb7b8ec9 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -127,10 +127,13 @@ h3.info-box-title, #poststuff h3, .metabox-holder h3 { background-color: #dfdfdf; + text-shadow: #fff 0 1px 0; } -.form-table th, .form-wrap label { +.form-table th, +.form-wrap label { color: #222; + text-shadow: #fff 0 1px 0; } .setting-description, .form-wrap p { @@ -1076,6 +1079,7 @@ abbr.required, background: #6d6d6d url(../images/menu-bits.gif) top left repeat-x; border-color: #6d6d6d; color: #fff; + text-shadow: rgba(0,0,0,0.4) 0px -1px 0px; } #adminmenu li.wp-has-current-submenu .wp-submenu, #adminmenu li.wp-has-current-submenu ul li a { @@ -1110,6 +1114,7 @@ abbr.required, background-color: #f5f5f5; background-image: none; border-color: #e3e3e3; + text-shadow: rgba(255,255,255,1) 0px 1px 0px; } #adminmenu .wp-submenu ul { @@ -1471,6 +1476,7 @@ form p.submit a.cancel:hover { #favorite-actions a { color: #eee; + text-shadow: rgba(0,0,0,0.2) 0 -1px 0; } #favorite-inside a:hover { @@ -1481,3 +1487,30 @@ form p.submit a.cancel:hover { #favorite-actions .slide-down { border-bottom-color: #626262; } + +.submit input, +.button, +.button-primary, +.button-secondary, +.button-highlighted, +#postcustomstuff .submit input { + text-shadow: rgba(255,255,255,1) 0 1px 0; +} + +.button-primary, +.submit .button-primary { + text-shadow: rgba(0,0,0,0.3) 0 -1px 0; +} + +.widefat th { + text-shadow: rgba(255,255,255,0.8) 0 1px 0; +} + +#wphead h1 { + text-shadow: rgba(0,0,0,0.6) 0 -1px 0; +} + +#screen-meta a.show-settings { + background-color: transparent; + text-shadow: rgba(255,255,255,0.7) 0 1px 0; +} diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index a86e134ebc..fe3caff21b 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -350,20 +350,6 @@ form p.submit a.cancel:hover { box-sizing: content-box; } -.submit input, -.button, -.button-primary, -.button-secondary, -.button-highlighted, -#postcustomstuff .submit input { - text-shadow: rgba(255,255,255,1) 0 1px 0; -} - -.button-primary, -.submit .button-primary { - text-shadow: rgba(0,0,0,0.3) 0 -1px 0; -} - a.button { padding: 4px 8px; } @@ -877,7 +863,6 @@ a#view-site-link { padding: 10px 10px 5px; margin: 0; float: left; - text-shadow: rgba(0,0,0,0.6) 0 -1px 0; } #wphead h1.long-title { @@ -918,7 +903,6 @@ a#view-site-link { #adminmenu .wp-submenu li.current a, #adminmenu .wp-submenu li.current a:hover { font-weight: bold; - text-shadow: rgba(255,255,255,1) 0px 1px 0px; } #adminmenu a.menu-top, @@ -1113,11 +1097,6 @@ a#view-site-link { padding: 1px 2px 0 0; } -#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, -#adminmenu .menu-top .current { - text-shadow: rgba(0,0,0,0.4) 0px -1px 0px; -} - #adminmenu li.wp-has-current-submenu ul { border-bottom-width: 1px; border-bottom-style: solid; @@ -1256,9 +1235,9 @@ html, body { font-size: 11px; } -.form-table th, .form-wrap label { +.form-table th, +.form-wrap label { font-weight: normal; - text-shadow: #fff 0 1px 0; } .form-table th, @@ -1644,7 +1623,6 @@ table.form-table td .updated { padding: 7px 9px; margin: 0; line-height: 1; - text-shadow: #fff 0 1px 0; } .metabox-holder .postbox, @@ -2518,8 +2496,6 @@ fieldset { display: block; background-repeat: no-repeat; background-position: right bottom; - background-color: transparent; - text-shadow: rgba(255,255,255,0.7) 0 1px 0; } #screen-meta a.show-settings { @@ -3015,7 +2991,6 @@ abbr.required { display: block; text-decoration: none; font-size: 11px; - text-shadow: rgba(0,0,0,0.2) 0 -1px 0; } #favorite-inside a { @@ -3134,6 +3109,5 @@ table.fixed { .widefat th, .widefat td { overflow: hidden; - text-shadow: rgba(255,255,255,0.8) 0 1px 0; }