NIHVIVO-2588: Moved styles and images for user menu dropdown to vitro.css

This commit is contained in:
manolobevia 2011-06-20 18:56:57 +00:00
parent 482992f837
commit 4b641d5dc7

View file

@ -1569,6 +1569,16 @@ section.accounts .delete-account{
.accounts-per-page-form { .accounts-per-page-form {
display: inline-block; display: inline-block;
} }
nav.alpha-browse-account {
width: 20px;
border: 1px solid green;
width: 18px;
height: 12px;
}
nav.alpha-browse-account a {
margin: 0;
padding: 0;
}
/* ADD ACCOUNTS ------> */ /* ADD ACCOUNTS ------> */
form.customForm p { form.customForm p {
margin-top: 8px; margin-top: 8px;
@ -1611,92 +1621,40 @@ form.customForm p.note{
margin-bottom: 0; margin-bottom: 0;
} }
/* RESET PASSWORD ------> */ /* RESET PASSWORD ------> */
#reset-password p.note {
margin-top: 0;
}
/* -------------------------------------------------> */ /* -------------------------------------------------> */
/* DROP DOWN USER MENU ----------------------------> */ /* MENU MANAGEMENT ------------------------------------> */
/* -------------------------------------------------> */ /* -------------------------------------------------> */
/*table#menu-management {
/* LEVEL ONE */ table-layout: auto;
ul.dropdown { width: 450px;
position: relative; text-align: left;
margin: 0 auto;
border-collapse: collapse;
empty-cells: show;
caption-side: top;
margin: 20px 0 20px 0;
} }
ul.dropdown li { table#menu-management caption {
float: left; display: none;
zoom: 1;
padding: 0 !important;
} }
ul.dropdown li a { table#menu-management th{
display: block;
font-size: 1.4em;
}
ul.dropdown li#user-menu {
background: url(../images/arrow-down-over-account.gif) right 9px no-repeat;
min-width:110px;
}
ul.dropdown li#user-menu a {
margin-right: 28px;
margin-left:10px;
}
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;
border-bottom: 1px solid #cdcfcf;
}
ul.dropdown li.hover a,
ul.dropdown li:hover a {
color: #000 !important;
margin-left:10px;
}
/* LEVEL TWO */
ul.dropdown ul.sub_menu {
background-color: #fff; background-color: #fff;
font-size: 1.4em; display: none;
visibility: hidden;
position: absolute;
top: 100%;
right: 0;
z-index: 999;
color: #000;
} }
ul.dropdown ul.sub_menu li { table#menu-management td {
float: none; vertical-align: top;
clear: both; padding: .5em;
padding-left: 14px !important; border: 1px solid #F7F9F9;
width: 96px; font-size: .9em;
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 { table#menu-management tr {
width: 96px;
}
/* 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; background-color: #fff;
padding: 0;
padding-left: 0px;
height: 24px;
} }
ul.dropdown ul.sub_menu li.inactive { table#menu-management tr:nth-child(2n+1) {
color: #aab0ae !important; background-color: rgba(200, 200, 180,.25);
font-size: 1em !important;
padding-left: 22px !important;
width: 88px;
}
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;
} }
*/