diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-15 08:57:32 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-15 08:57:32 +0000 |
commit | 200e2e2e2faa065e6b6ca30accfb4aada3042432 (patch) | |
tree | abaded91c64e43ead9744ce924af5207dcad707a | |
parent | dbd17ea3457fad212b1f5434ae1d46649abdf8c1 (diff) | |
download | elgg-200e2e2e2faa065e6b6ca30accfb4aada3042432.tar.gz elgg-200e2e2e2faa065e6b6ca30accfb4aada3042432.tar.bz2 |
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
-rw-r--r-- | mod/profile/views/default/profile/css.php | 139 | ||||
-rw-r--r-- | mod/profile/views/default/profile/userdetails.php | 12 | ||||
-rw-r--r-- | views/default/css.php | 5 |
3 files changed, 80 insertions, 76 deletions
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 @@ -<?php
-
-?>
-
-/* ***************************************
- 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;
+<?php + +?> + +/* *************************************** + 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 "</div>"; - - - // close the icon and links div + echo "<div class=\"clearfloat\"></div>"; + // display relevant links + echo elgg_view("profile/profilelinks", array("entity" => $vars['entity'])); + + // close profile_info_column_left echo "</div>"; ?> -<!-- /#profile_info_column_left --> </td> <td> diff --git a/views/default/css.php b/views/default/css.php index 353330628..5d9b8d9d8 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -463,6 +463,11 @@ h6 { font-size: 0.8em; } margin:0 15px 0 5px; color:white; } +/* IE6 */ +* html #elgg_topbar_container_left a.privatemessages_new { background-position: left -18px; } +/* IE7 */ +*+html #elgg_topbar_container_left a.privatemessages_new { background-position: left -18px; } + #elgg_topbar_container_left a.privatemessages_new:hover { text-decoration: none; } |