aboutsummaryrefslogtreecommitdiff
path: root/views/default/css.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-12 12:05:27 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-12 12:05:27 +0000
commitf598526d2b661b220e50c6c7f1793ebbb2a402ca (patch)
treed15d0c40606da12d5b63e34c85ca0b72b2b0dbeb /views/default/css.php
parenta1ad344e492f2deb1c738a31deb72d54e0fe223a (diff)
downloadelgg-f598526d2b661b220e50c6c7f1793ebbb2a402ca.tar.gz
elgg-f598526d2b661b220e50c6c7f1793ebbb2a402ca.tar.bz2
Icon added to likes and interface tweaked. Likes list js fixed to correctly get height of current list.
git-svn-id: http://code.elgg.org/elgg/trunk@5695 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css.php')
-rw-r--r--views/default/css.php28
1 files changed, 25 insertions, 3 deletions
diff --git a/views/default/css.php b/views/default/css.php
index cc7e86451..e2a8d59b5 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -1447,13 +1447,35 @@ a.action_button:focus {
/* ***************************************
LIKES
*************************************** */
-.user_like_holder {
- float:right;
-}
.likes_list_holder {
position: relative;
float:right;
}
+.likes_list_holder a.user_like {
+ cursor:pointer;
+ background: url(<?php echo $vars['url']; ?>_graphics/icon_like.png) no-repeat left -2px;
+ text-indent: -9000em;
+ text-align: left;
+ display:block;
+ width:20px;
+ height:20px;
+ margin:0;
+ float:left;
+}
+.likes_list_holder a.user_like:hover {
+ background-position: left -32px;
+}
+.likes_list_holder .likes_list_button.link {
+ float:left;
+ text-align: left;
+ background: url(<?php echo $vars['url']; ?>_graphics/icon_like.png) no-repeat left -32px;
+ padding-left:21px;
+ height:20px;
+}
+.likes_list_holder .likes_list_button.link.not_liked {
+ background:none;
+ padding-left:0;
+}
.likes_list_holder .likes_list {
background-color: white;
border:1px solid #cccccc;