From 200e2e2e2faa065e6b6ca30accfb4aada3042432 Mon Sep 17 00:00:00 2001 From: pete Date: Fri, 15 Aug 2008 08:57:32 +0000 Subject: IE 6 & 7 profile page avatar menu and submenu fixed, toolbar new msg icon position, git-svn-id: https://code.elgg.org/elgg/trunk@1926 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/css.php | 139 +++++++++++----------- mod/profile/views/default/profile/userdetails.php | 12 +- 2 files changed, 75 insertions(+), 76 deletions(-) (limited to 'mod/profile/views') diff --git a/mod/profile/views/default/profile/css.php b/mod/profile/views/default/profile/css.php index 8ae78601b..74d7df38a 100644 --- a/mod/profile/views/default/profile/css.php +++ b/mod/profile/views/default/profile/css.php @@ -1,71 +1,70 @@ - - -/* *************************************** - AVATAR CONTEXTUAL MENU -*************************************** */ -#profile_icon_wrapper { - float:left; -} - -.usericon { - position:relative; -} - -.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 .item_line { } - -.usericon div.sub_menu h3 {font-size:1.2em;padding-bottom:3px;border-bottom:solid 1px #dddddd;} - -.user_menu_addfriend, -.user_menu_removefriend, -.user_menu_profile, -.user_menu_friends, -.user_menu_friends_of, -.user_menu_blog, -.user_menu_file, -.user_menu_messages, -.user_menu_admin { - margin:0; - padding:0; -} -.user_menu_admin { - border-bottom:solid 1px #dddddd; - border-top:solid 1px #dddddd; -} -.user_menu_admin a { - color:#cc0033; + + +/* *************************************** + AVATAR CONTEXTUAL MENU +*************************************** */ +#profile_icon_wrapper { + float:left; +} + +.usericon { + position:relative; +} + +.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 div.sub_menu h3 {font-size:1.2em;padding-bottom:3px;border-bottom:solid 1px #dddddd;} + +.user_menu_addfriend, +.user_menu_removefriend, +.user_menu_profile, +.user_menu_friends, +.user_menu_friends_of, +.user_menu_blog, +.user_menu_file, +.user_menu_messages, +.user_menu_admin { + margin:0; + padding:0; +} +.user_menu_admin { + border-bottom:solid 1px #dddddd; + border-top:solid 1px #dddddd; +} +.user_menu_admin a { + color:#cc0033; } \ No newline at end of file diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index 44a257770..dae093bfb 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -42,16 +42,16 @@ ) ); - // display relevant links - echo elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); + echo ""; - - - // close the icon and links div + echo "
"; + // display relevant links + echo elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); + + // close profile_info_column_left echo ""; ?> - -- cgit v1.2.3