From 8f15295624dada70d4f1fc9c97b69a4e2ae8301e Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 30 Jul 2008 14:47:36 +0000 Subject: toolbar logout icon changed to work as a single image resource (for caching purposes), delete icon on collections changed to work as a single image rollover git-svn-id: https://code.elgg.org/elgg/trunk@1605 36083f99-b078-4883-b0ff-0f9b5a30f544 --- _graphics/elgg_toolbar_logout.gif | Bin 671 -> 893 bytes _graphics/elgg_toolbar_logout_over.gif | Bin 601 -> 0 bytes _graphics/icon_customise_remove.png | Bin 0 -> 650 bytes views/default/css.php | 18 +++++++++++++++--- views/default/friends/collection.php | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) delete mode 100644 _graphics/elgg_toolbar_logout_over.gif create mode 100644 _graphics/icon_customise_remove.png diff --git a/_graphics/elgg_toolbar_logout.gif b/_graphics/elgg_toolbar_logout.gif index 93a86b3ed..4655d51d7 100644 Binary files a/_graphics/elgg_toolbar_logout.gif and b/_graphics/elgg_toolbar_logout.gif differ diff --git a/_graphics/elgg_toolbar_logout_over.gif b/_graphics/elgg_toolbar_logout_over.gif deleted file mode 100644 index 5f1ceac97..000000000 Binary files a/_graphics/elgg_toolbar_logout_over.gif and /dev/null differ diff --git a/_graphics/icon_customise_remove.png b/_graphics/icon_customise_remove.png new file mode 100644 index 000000000..23e7e20cf Binary files /dev/null and b/_graphics/icon_customise_remove.png differ diff --git a/views/default/css.php b/views/default/css.php index 1720e3067..ce07214e7 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -280,7 +280,7 @@ h6 { font-size: 0.8em; } margin:0 0 0 10px; } * html #two_column_left_sidebar { - width:170px; + width:210px; margin:20px 10px 20px 10px; } * html #two_column_left_sidebar_maincontent { @@ -473,7 +473,7 @@ h6 { font-size: 0.8em; } #elgg_topbar_container_right a { color:#eeeeee; margin:0 5px 0 0; - background:transparent url(_graphics/elgg_toolbar_logout.gif) no-repeat right top; + background:transparent url(_graphics/elgg_toolbar_logout.gif) no-repeat top right; padding:0 21px 0 0; display:block; } @@ -487,7 +487,7 @@ h6 { font-size: 0.8em; } height: 22px; } #elgg_topbar_container_right a:hover { - background:transparent url(_graphics/elgg_toolbar_logout_over.gif) no-repeat right top; + background-position: right -21px; } #elgg_topbar_panel { @@ -1791,6 +1791,18 @@ div.expandall p { background: url("_graphics/friends_picker_arrow_right.gif") no-repeat center; } +.friends_collections_controls a.delete_collection { + display:block; + cursor: pointer; + width:14px; + height:14px; + margin:0 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; +} + /* picker tabbed navigation */ #friendsPickerNavigationTabs { diff --git a/views/default/friends/collection.php b/views/default/friends/collection.php index e2f8d37b6..b4f015f16 100644 --- a/views/default/friends/collection.php +++ b/views/default/friends/collection.php @@ -28,7 +28,7 @@ //as collections are private, check that the logged in user is the owner if($coll->owner_guid == $_SESSION['user']->getGUID()) - echo "
id}\" class=\"delete_collection\">"; + echo ""; echo $coll->name; -- cgit v1.2.3