From 814ece73a196977d47c23cd02f543e6e2ab41a62 Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 12 Apr 2010 16:28:31 +0000 Subject: Collected all core sprites into graphics and updated css accordingly. Removed unused core graphics. Moved plugin-specific graphics into respective plugins graphics directories. git-svn-id: http://code.elgg.org/elgg/trunk@5700 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css.php | 58 ++++++++++++++++----------------------- views/default/output/rss_view.php | 5 ++-- 2 files changed, 25 insertions(+), 38 deletions(-) (limited to 'views/default') diff --git a/views/default/css.php b/views/default/css.php index e2a8d59b5..1b47158c9 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -226,15 +226,15 @@ h2 { width:14px; height:14px; float:right; - background-image:url(_graphics/icon_rss.png); + background-image:url(_graphics/elgg_sprites.png); background-repeat: no-repeat; - background-position: left top; + background-position: -250px top; text-indent: -1000em; } .tags { - background-image:url(_graphics/icon_tag.png); + background-image:url(_graphics/elgg_sprites.png); background-repeat: no-repeat; - background-position: left 2px; + background-position: left -198px; padding:1px 0 0 16px; font-size: 90%; } @@ -388,19 +388,19 @@ h2 { color:#71cbff; } #elgg_topbar_contents a.settings { - background:transparent url(_graphics/topbar_icons.png) no-repeat left -41px; + background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -41px; padding-left:20px !important; float:right; margin-right:30px; } #elgg_topbar_contents a.admin { - background:transparent url(_graphics/topbar_icons.png) no-repeat left -41px; + background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -41px; padding-left:20px !important; float:right; margin-right:30px; } #elgg_topbar_contents a.help { - background:transparent url(_graphics/topbar_icons.png) no-repeat 0 -133px; + background:transparent url(_graphics/elgg_sprites.png) no-repeat -300px -133px; padding-left:18px !important; float:right; margin-right:30px; @@ -431,21 +431,21 @@ h2 { margin:0; padding:2px 4px 2px 26px; width:198px; - background-image: url(_graphics/search.png); - background-position: 3px 0; + background-image: url(_graphics/elgg_sprites.png); + background-position: 2px -220px; background-repeat: no-repeat; } #elgg_header_contents #elgg_search input.search_input:focus { background-color:white; color:#0054A7; border:1px solid white; - background-position: 3px -37px; + background-position: 2px -257px; } #elgg_header_contents #elgg_search input.search_input:active { background-color:white; color:#0054A7; border:1px solid white; - background-position: 3px -37px; + background-position: 2px -257px; } #elgg_header_contents #elgg_search input.search_submit_button { display:none; @@ -524,14 +524,14 @@ li.navigation_more:hover a { -moz-box-shadow: 2px -1px 1px rgba(0, 0, 0, 0.25); } li.navigation_more a.subnav span { - background-image: url(_graphics/more_sprite.png); + background-image: url(_graphics/elgg_sprites.png); background-repeat: no-repeat; - background-position: 0 4px; + background-position: -150px -46px; padding-left: 12px; } li.navigation_more:hover a.subnav span, li.navigation_more a.subnav:hover span { - background-position: 0 -16px; + background-position: -150px -66px; } li.navigation_more ul { z-index: 7000; @@ -1286,12 +1286,12 @@ a.action_button:focus { cursor: pointer; width:14px; height:14px; - background: url("_graphics/icon_delete.png") no-repeat 0 0; + background: url("_graphics/elgg_sprites.png") no-repeat -200px top; text-indent: -9000px; text-align: left; } .delete_button a:hover { - background-position: 0 -16px; + background-position: -200px -16px; } @@ -1408,33 +1408,21 @@ a.action_button:focus { z-index:1; } .friends_picker_navigation_l { - background: url("_graphics/friends_picker_arrows.gif") no-repeat left top; + background: url("_graphics/elgg_sprites.png") no-repeat left top; } .friends_picker_navigation_r { - background: url("_graphics/friends_picker_arrows.gif") no-repeat -60px top; + background: url("_graphics/elgg_sprites.png") no-repeat -60px top; } .friends_picker_navigation_l:hover { - background: url("_graphics/friends_picker_arrows.gif") no-repeat left -44px; + background: url("_graphics/elgg_sprites.png") no-repeat left -44px; } .friends_picker_navigation_r:hover { - background: url("_graphics/friends_picker_arrows.gif") no-repeat -60px -44px; -} -.friends_collections_controls a.delete_collection { - display:block; - cursor: pointer; - width:14px; - height:14px; - margin:2px 3px 0 0; - background: url("_graphics/icon_customise_remove.png") no-repeat 0 0; -} -.friends_collections_controls a.delete_collection:hover { - background-position: 0 -16px; + background: url("_graphics/elgg_sprites.png") no-repeat -60px -44px; } .friendspicker_savebuttons .submit_button, .friendspicker_savebuttons .cancel_button { margin:5px 20px 5px 5px; } - #collectionMembersTable { background: #dedede; -webkit-border-radius: 8px; @@ -1453,7 +1441,7 @@ a.action_button:focus { } .likes_list_holder a.user_like { cursor:pointer; - background: url(_graphics/icon_like.png) no-repeat left -2px; + background: url(_graphics/elgg_sprites.png) no-repeat left -100px; text-indent: -9000em; text-align: left; display:block; @@ -1463,12 +1451,12 @@ a.action_button:focus { float:left; } .likes_list_holder a.user_like:hover { - background-position: left -32px; + background-position: left -130px; } .likes_list_holder .likes_list_button.link { float:left; text-align: left; - background: url(_graphics/icon_like.png) no-repeat left -32px; + background: url(_graphics/elgg_sprites.png) no-repeat left -130px; padding-left:21px; height:20px; } diff --git a/views/default/output/rss_view.php b/views/default/output/rss_view.php index 0dd1002b4..725f1619a 100644 --- a/views/default/output/rss_view.php +++ b/views/default/output/rss_view.php @@ -1,8 +1,7 @@ - \ No newline at end of file + \ No newline at end of file -- cgit v1.2.3