From 44c537174946309d16b04c95bafe07c326ad8884 Mon Sep 17 00:00:00 2001 From: manolobevia Date: Wed, 25 May 2011 02:35:36 +0000 Subject: [PATCH] NIHVIVO-2588: Updated identity.ftl in wilma to accommodate the new user menu (when logged in) in header links. My account and My profile don't link to any URL yet. Rebecca will need to provide the $profileURL to be used for the "My profile" link, and Jim Blake will need to provide $accountURL to be used for the "My account Link. --- themes/wilma/css/wilma.css | 89 ++++++++++++++++++ themes/wilma/images/arrow-down-account.gif | Bin 0 -> 175 bytes .../wilma/images/arrow-down-over-account.gif | Bin 0 -> 56 bytes themes/wilma/images/arrow-menu-account.gif | Bin 0 -> 170 bytes themes/wilma/templates/identity.ftl | 19 +++- 5 files changed, 105 insertions(+), 3 deletions(-) create mode 100644 themes/wilma/images/arrow-down-account.gif create mode 100644 themes/wilma/images/arrow-down-over-account.gif create mode 100644 themes/wilma/images/arrow-menu-account.gif diff --git a/themes/wilma/css/wilma.css b/themes/wilma/css/wilma.css index 3ad89178..b62801cc 100644 --- a/themes/wilma/css/wilma.css +++ b/themes/wilma/css/wilma.css @@ -1535,3 +1535,92 @@ form.customForm #reset-password { padding-top: 0; margin-top: 5px; } +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + +@charset "UTF-8"; +/* CSS Document */ +/* -------------------------------------------------> */ +/* DROP DOWN USER MENU ----------------------------> */ +/* -------------------------------------------------> */ + +/* LEVEL ONE */ +ul.dropdown { + position: relative; +} +ul.dropdown li { + float: left; + zoom: 1; + padding: 0 !important; +} +ul.dropdown li a { + display: block; + font-size: 1.4em; +} +ul.dropdown li#user-menu { + background: url(../images/arrow-down-over-account.gif) right 9px no-repeat; +} +ul.dropdown li#user-menu a { + margin-right: 18px; +} +ul.dropdown li#user-menu.hover, +ul.dropdown li#user-menu:hover { + color: #000 !important; + position: relative; + background: #fff url(../images/arrow-down-account.gif) right 9px no-repeat; + padding-right: 10px; + border-bottom: 1px solid #cdcfcf; +} +ul.dropdown li.hover a, +ul.dropdown li:hover a { + color: #000 !important; + padding: 0 10px; +} +/* LEVEL TWO */ +ul.dropdown ul.sub_menu { + background-color: #fff; + font-size: 1.4em; + visibility: hidden; + position: absolute; + top: 100%; + right: 0; + z-index: 999; + color: #000; +} +ul.dropdown ul.sub_menu li { + float: none; + clear: both; + padding-left: 14px !important; + width: 88px; + border-right: none !important; + border-bottom: 1px solid #cdcfcf; + background: #fff url(../images/arrow-menu-account.gif) 7px 8px no-repeat; +} +ul.dropdown ul.sub_menu li:last-child { +} +/* IE 6 & 7 Needs Inline Block */ +/* ADD IN IE6.css and IE7.css*/ +ul.dropdown ul.sub_menu li a { + width: 90%; + display: inline-block; + color: #000 !important; + background-color: #fff; + padding: 0; + padding-left: 8px; + height: 24px; +} +ul.dropdown ul.sub_menu li.inactive { + color: #aab0ae !important; + font-size: 1em !important; + padding-left: 22px !important; +} +ul.dropdown ul.sub_menu li a:hover, +ul.dropdown ul.sub_menu li a.hover { + color: #999 !important; +} +/* LEVEL THREE */ +ul.dropdown ul ul { + left: 100%; top: 0; +} +ul.dropdown li:hover > ul { + visibility: visible; +} \ No newline at end of file diff --git a/themes/wilma/images/arrow-down-account.gif b/themes/wilma/images/arrow-down-account.gif new file mode 100644 index 0000000000000000000000000000000000000000..0f5463ebaa8ae4b7964f0e3a94a809cac6de77c7 GIT binary patch literal 175 zcmZ?wbhEHb6lY*(IKsg2`Rg~!*!;#BORn5`U>uPxWE*_*!IMv4zCC~Q?$WLMN6ue; z|LKcSc-F@+U-_&8xy<}bBXh6cf5c?q@&EsS1|opsPZmZ724MyrkXn$P46Hf}6naxM wHG@~J^Guw^v+3N*k9&klF4R1k(ZZH5v9njg#EC^^Wht4NfByVA zcmDj5qenAxbMM{1|Ni~^sWWEe6cl{<`gO+a*-xH6t*Wc5uCKpw>(;-2{|+BL`t#?{ zxa8#j|Nk?9f#OdVMg|611|1L&WG4fwdP2BhENA42uq+wzmEH>qj$KI&sV+Hu)UwB^ TiCLf|Vv@V& +