diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-06-11 06:22:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-06-11 06:22:27 +0000 |
commit | cf7ff1acc93c08e09132c971671f752613978464 (patch) | |
tree | 59646fa6d13ea005a62c8517fe564c51d858bdfe /public/stylesheets/application.css | |
parent | 53710d80fc886297d901ac913b4b7570ff5acdb4 (diff) | |
download | redmine-cf7ff1acc93c08e09132c971671f752613978464.tar.gz redmine-cf7ff1acc93c08e09132c971671f752613978464.zip |
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
Diffstat (limited to 'public/stylesheets/application.css')
-rw-r--r-- | public/stylesheets/application.css | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 021cb822d..c6d6e4c05 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -51,7 +51,24 @@ pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;} padding: 4px 10px 4px 10px; } #main-menu li a:hover {background:#759FCF; color:#fff;} +#main-menu li:hover ul.menu-children {display: block;} #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;} +#main-menu li a.new-object { background-color:#759FCF; } + +#main-menu .menu-children { + display: none; + position:absolute; + width: inherit; + z-index:1; + background-color:#fff; + border-right: 1px solid #759FCF; + border-bottom: 1px solid #759FCF; + border-left: 1px solid #759FCF; +} +#main-menu .menu-children li {float:left; clear:both; width:100%;} +#main-menu .menu-children li a {color: #555; background-color:#fff; font-weight:normal;} +#main-menu .menu-children li a:hover {color: #fff; background-color: #759FCF;} + #main-menu .tabs-buttons { right: 6px; background-color: transparent; |