# HG changeset patch # User Aleksej Bobylev # Date 1430256586 -10800 # Node ID 4ad87af96a432dbf7981d725a94038a4adb1b561 # Parent 098e260f32cdadf2b86b43f69a594dcaa4d0754f base.css: fix menu hover switching, add menu shadows. diff -r 098e260f32cd -r 4ad87af96a43 styles/default/base.css --- a/styles/default/base.css Tue Apr 28 18:19:43 2015 +0300 +++ b/styles/default/base.css Wed Apr 29 00:29:46 2015 +0300 @@ -47,6 +47,10 @@ /* menu panel */ #toolbarMenu { margin: 0; padding: 0; height: 100%; font: menu; } +/* shadows */ +#toolbar { z-index: 10; box-shadow: 0 0 8px #000; } +menu.opened, menu.opened li:hover menu { z-index: 9; box-shadow: 2px 2px 8px hsla(0, 0%, 0%, 0.3); } + /* menu items */ #toolbarMenu li { list-style: none; @@ -118,9 +122,10 @@ /* Clicking this layer close menu */ #noMenu { position: fixed; + position: absolute; top: 63px; bottom: 0; left: 0; right: 0; background-color: transparent; display: none; - height: 100%; width: 100%; + z-index: 9; }