Style nested menus as drop downs on hover (#15880).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15502 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-06-11 06:22:27 +00:00
parent 53710d80fc
commit cf7ff1acc9
3 changed files with 35 additions and 0 deletions

View File

@@ -13,6 +13,15 @@ h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {border-bottom: 0px;}
#main-menu li a { background-color: #507AAA; font-weight: bold;}
#main-menu li a:hover { background: #507AAA; text-decoration: underline; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color:#EEEEEE; }
#main-menu li a.new-object { background-color:#507AAA; text-decoration: none; }
#main-menu .menu-children {
border-right: 1px solid #507AAA;
border-bottom: 1px solid #507AAA;
border-left: 1px solid #507AAA;
}
#main-menu .menu-children li a:hover { background-color: #507AAA;}
/* Tables */
table.list tbody td, table.list tbody tr:hover td { border: solid 1px #d7d7d7; }

View File

@@ -12,6 +12,15 @@ body{ color:#303030; background:#e8eaec; }
#main-menu li a { background-color: #578bb8; border-right: 1px solid #fff; font-size: 90%; padding: 4px 8px 4px 8px; font-weight: bold; }
#main-menu li a:hover { background-color: #80b0da; color: #ffffff; }
#main-menu li a.selected, #main-menu li a.selected:hover { background-color: #80b0da; color: #ffffff; }
#main-menu li a.new-object { background-color:#80b0da; }
#main-menu .menu-children {
border-right: 1px solid #80b0da;
border-bottom: 1px solid #80b0da;
border-left: 1px solid #80b0da;
}
#main-menu .menu-children li a { border-right: none; }
#main-menu .menu-children li a:hover { background-color: #80b0da }
#footer { background-color: #578bb8; border: 0; color: #fff;}
#footer a { color: #fff; font-weight: bold; }