From 74a0e7cab95e901a0c463387445dfb9091a95069 Mon Sep 17 00:00:00 2001 From: azaozz Date: Mon, 1 Dec 2008 21:32:51 +0000 Subject: [PATCH] Coding for new icons for List/Excerpt view switch git-svn-id: http://svn.automattic.com/wordpress/trunk@10004 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/colors-classic.css | 24 +++++++++++++++-------- wp-admin/css/colors-fresh.css | 33 ++++++++++++++++---------------- wp-admin/edit.php | 4 ++-- wp-admin/gears-manifest.php | 6 +++--- wp-admin/images/exc.gif | Bin 73 -> 0 bytes wp-admin/images/list-vs.png | Bin 0 -> 424 bytes wp-admin/images/list.gif | Bin 82 -> 0 bytes wp-admin/images/list.png | Bin 0 -> 424 bytes wp-admin/wp-admin.css | 8 +++----- 9 files changed, 40 insertions(+), 35 deletions(-) delete mode 100644 wp-admin/images/exc.gif create mode 100644 wp-admin/images/list-vs.png delete mode 100644 wp-admin/images/list.gif create mode 100644 wp-admin/images/list.png diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index d9a66315b..118fa63ee 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -1418,14 +1418,6 @@ fieldset.inline-edit-col-right .inline-edit-col { color: #333; } -.view-switch img { - border-color: #fff; -} - -.view-switch img.current { - border-color: #999; -} - #wp_editimgbtn, #wp_delimgbtn, #wp_editgallery, @@ -1546,3 +1538,19 @@ fieldset.inline-edit-col-right .inline-edit-col { #icon-options-general { background: transparent url(../images/icons32-vs.png) no-repeat -492px -5px; } + +.view-switch #view-switch-list { + background: transparent url(../images/list-vs.png) no-repeat 0 0; +} + +.view-switch #view-switch-list.current { + background: transparent url(../images/list-vs.png) no-repeat -40px 0; +} + +.view-switch #view-switch-excerpt { + background: transparent url(../images/list-vs.png) no-repeat -20px 0; +} + +.view-switch #view-switch-excerpt.current { + background: transparent url(../images/list-vs.png) no-repeat -60px 0; +} diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index a183b9331..e0f4f230d 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -143,15 +143,6 @@ strong .post-com-count span { background-color: #21759b; } -#login form .submit input, -.search-box .button { - background-color: #cee1ef !important; -} - -#favorite-actions .favorite-action { - border-top-color: #cee1ef; -} - ul#widget-list li.widget-list-item h4.widget-title { background-color: #f0f0f0; color: #000; @@ -1427,14 +1418,6 @@ fieldset.inline-edit-col-right .inline-edit-col { color: #333; } -.view-switch img { - border-color: #fff; -} - -.view-switch img.current { - border-color: #999; -} - #wp_editimgbtn, #wp_delimgbtn, #wp_editgallery, @@ -1555,3 +1538,19 @@ fieldset.inline-edit-col-right .inline-edit-col { #icon-options-general { background: transparent url(../images/icons32.png) no-repeat -492px -5px; } + +.view-switch #view-switch-list { + background: transparent url(../images/list.png) no-repeat 0 0; +} + +.view-switch #view-switch-list.current { + background: transparent url(../images/list.png) no-repeat -40px 0; +} + +.view-switch #view-switch-excerpt { + background: transparent url(../images/list.png) no-repeat -20px 0; +} + +.view-switch #view-switch-excerpt.current { + background: transparent url(../images/list.png) no-repeat -60px 0; +} diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 83232f745..5d2fc671f 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -248,8 +248,8 @@ do_action('restrict_manage_posts');
- src="images/list.gif" title="" alt="" /> - src="images/exc.gif" title="" alt="" /> + id="view-switch-list" src="../wp-includes/images/blank.gif" width="20" height="20" title="" alt="" /> + id="view-switch-excerpt" src="../wp-includes/images/blank.gif" width="20" height="20" title="" alt="" />
diff --git a/wp-admin/gears-manifest.php b/wp-admin/gears-manifest.php index a27c7ed1c..438c0654d 100644 --- a/wp-admin/gears-manifest.php +++ b/wp-admin/gears-manifest.php @@ -128,7 +128,7 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' ); ?> { "betaManifestVersion" : 1, -"version" : "_20081130", +"version" : "_20081201", "entries" : [ @@ -146,7 +146,6 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' ); { "url" : "images/comment-grey-bubble.png" }, { "url" : "images/date-button.gif" }, { "url" : "images/ed-bg.gif" }, -{ "url" : "images/exc.gif" }, { "url" : "images/fade-butt.png" }, { "url" : "images/fav.png" }, { "url" : "images/fav-arrow.png" }, @@ -157,7 +156,8 @@ header( 'Content-Type: application/x-javascript; charset=UTF-8' ); { "url" : "images/gray-grad.png" }, { "url" : "images/icons32.png" }, { "url" : "images/icons32-vs.png" }, -{ "url" : "images/list.gif" }, +{ "url" : "images/list.png" }, +{ "url" : "images/list-vs.png" }, { "url" : "images/loading.gif" }, { "url" : "images/loading-publish.gif" }, { "url" : "images/logo.gif" }, diff --git a/wp-admin/images/exc.gif b/wp-admin/images/exc.gif deleted file mode 100644 index c6e4d711534bb3e5a0cd5982080b5ad0a5e9daaf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 73 zcmZ?wbhEHb6k!lyn8?6z>(;IR|NsAEWMW`oQ2fclBEs;WK?leN%8D>BFiExauRQ&h cfAJiV*6z*s_Wb5=d*l)JtaI6`C=0C9&JY5)KL diff --git a/wp-admin/images/list-vs.png b/wp-admin/images/list-vs.png new file mode 100644 index 0000000000000000000000000000000000000000..826d8f8989f596effc633d4696c0a52742e78443 GIT binary patch literal 424 zcmeAS@N?(olHy`uVBq!ia0vp^0YEIm!3HFyZtS`aq*#ibJVQ8upoSx*1IXtr@Q5sC zVBq=y!i-L9OlAND#Y$WwN}P*Q6H7Al^Atidb5j`%jr0u+^$jdO_e(YaRVac~1m~xf zlqVLYGWaGY7v<-srer26xMdclmgg5`7b}?P8N5Y<2|14{y67-{Kqho>i+sxwYZqKV6GEIUWr^P+5{1$Jb>vIGCij^m+j3X$doLJy*`&)* zX`R2i>HSSQUYd&Q%(t!5db9W!Z;#=Pnqv}2K6`c+s7({AdT+|Zy!NQV^XTiLW-SfZ z_}<$-suFg(uxs6n?s@B7EGBO{;B$(}_+YgH?_K814{{#%UM2iXjolBZ_oZL>43!Af&HBNNot7hO94`7e{JV(q&LS-pk8U|{fc L^>bP0l+XkKo-e1z literal 0 HcmV?d00001 diff --git a/wp-admin/images/list.gif b/wp-admin/images/list.gif deleted file mode 100644 index c6304d0b07eb332cc3d381656ac4acd8f52f3e50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmZ?wbhEHb6k!lyn8?6z>(;Gr-@g6-|NkE&lj2VnRuKkf1|0?<0Le2jDYx{mJpGp6 lcgB_|?M?Ug{N`_qahdjPX3Q$BZSS@n6Y;vfEs%l18UXScAbbD- diff --git a/wp-admin/images/list.png b/wp-admin/images/list.png new file mode 100644 index 0000000000000000000000000000000000000000..826d8f8989f596effc633d4696c0a52742e78443 GIT binary patch literal 424 zcmeAS@N?(olHy`uVBq!ia0vp^0YEIm!3HFyZtS`aq*#ibJVQ8upoSx*1IXtr@Q5sC zVBq=y!i-L9OlAND#Y$WwN}P*Q6H7Al^Atidb5j`%jr0u+^$jdO_e(YaRVac~1m~xf zlqVLYGWaGY7v<-srer26xMdclmgg5`7b}?P8N5Y<2|14{y67-{Kqho>i+sxwYZqKV6GEIUWr^P+5{1$Jb>vIGCij^m+j3X$doLJy*`&)* zX`R2i>HSSQUYd&Q%(t!5db9W!Z;#=Pnqv}2K6`c+s7({AdT+|Zy!NQV^XTiLW-SfZ z_}<$-suFg(uxs6n?s@B7EGBO{;B$(}_+YgH?_K814{{#%UM2iXjolBZ_oZL>43!Af&HBNNot7hO94`7e{JV(q&LS-pk8U|{fc L^>bP0l+XkKo-e1z literal 0 HcmV?d00001 diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 4a4a88ac3..a3dc26a2f 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -1924,13 +1924,11 @@ body.wp-admin { .view-switch { float: right; - margin: 5px 8px 0; + margin: 6px 8px 0; } -.view-switch img { - margin: 0; - border-width: 1px; - border-style: solid; +.view-switch a { + text-decoration: none; } .filter {