diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-27 09:46:02 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-27 09:46:02 +0000 |
commit | 0b8be7bbfa6e91a8053f6bcd0ef8282ab86ebe20 (patch) | |
tree | 4565861c364728c6691d45f45cc1e9f5aab2b01e /mod/profile/views | |
parent | 719df1b09331472ed7c42b364f5fd3e1413147d7 (diff) | |
download | elgg-0b8be7bbfa6e91a8053f6bcd0ef8282ab86ebe20.tar.gz elgg-0b8be7bbfa6e91a8053f6bcd0ef8282ab86ebe20.tar.bz2 |
avatar contextual menus
git-svn-id: https://code.elgg.org/elgg/trunk@1160 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-rw-r--r-- | mod/profile/views/default/profile/css.php | 65 |
1 files changed, 40 insertions, 25 deletions
diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php index 9a5016694..43c081457 100644 --- a/mod/profile/views/default/profile/css.php +++ b/mod/profile/views/default/profile/css.php @@ -2,30 +2,45 @@ ?>
- .profile_listing {
+/* ***************************************
+ AVATAR CONTEXTUAL MENU
+*************************************** */
- display: block;
- background-color: #eee;
- padding: 5px;
- margin-bottom: 10px;
-
- }
+.usericon {
+ position:relative;
+}
- .profile_listing_icon {
-
- position: absolute;
-
- }
-
- .profile_listing_info {
-
- margin-left: 60px;
- height: 40px;
-
- }
-
- .profile_listing_info p {
-
- margin: 0px;
-
- }
\ No newline at end of file +.avatar_menu_button {
+ width:15px;
+ height:15px;
+ position:absolute;
+ cursor:pointer;
+ display:none;
+ right:0;
+ bottom:0;
+}
+
+.usericon div.sub_menu {
+ z-index:9999;
+ display:none;
+ position:absolute;
+ padding:2px;
+ margin:0;
+ border-top:solid 1px #E5E5E5;
+ border-left:solid 1px #E5E5E5;
+ border-right:solid 1px #999999;
+ border-bottom:solid 1px #999999;
+ width:160px;
+ background:#FFFFFF;
+ text-align:left;
+}
+
+* html .usericon div.sub_menu { } /* IE6 */
+*+html .usericon div.sub_menu { } /* IE7 */
+
+.usericon div.sub_menu a {margin:0;padding:2px;}
+.usericon div.sub_menu a:link,
+.usericon div.sub_menu a:visited,
+.usericon div.sub_menu a:hover{ display:block;}
+.usericon div.sub_menu a:hover{ background:#cccccc; text-decoration:none;}
+.usericon a.item_line { border-top:solid 1px #dddddd;}
\ No newline at end of file |