# HG changeset patch # User Adrien Vigneron # Date 1308343074 -7200 # Node ID 386d27dd3fbbcdc458c185d7210cc2aa69dee5e0 # Parent 4a157389a981939f62c5abe48fb9843d392e9c12 browser side: menu CSS fix diff -r 4a157389a981 -r 386d27dd3fbb public/libervia.css --- a/public/libervia.css Wed Jun 15 21:05:47 2011 +0200 +++ b/public/libervia.css Fri Jun 17 22:37:54 2011 +0200 @@ -100,15 +100,19 @@ /* Misc Pyjamas stuff */ +.menuContainer { + margin: 0 32px 0 20px; +} + .gwt-MenuBar,.gwt-MenuBar-horizontal { /*background-color: #01FF78; border: 1px solid #87B3FF; cursor: default;*/ - width: 97%; + width: 100%; height: 28px; - margin: 0 0 0 1.5%; + margin: 0; font: normal 0.8em/1.4em Arial, Helvetica, sans-serif; - padding: 5px 0 0 5px; + padding: 5px 5px 0 5px; line-height: 100%; box-shadow:0px 1px 4px #000 -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); @@ -151,6 +155,16 @@ cursor: pointer; } +.menuSeparator { + width: 100%; +} + +.menuSeparator.gwt-MenuItem-selected { + border: 0; + background: inherit; + cursor: default; +} + .gwt-MenuBar { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#fff’, endColorstr=’#ccc’); background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc)); @@ -181,6 +195,7 @@ padding: 8px 15px; } + .gwt-MenuBar .gwt-MenuItem-selected { background: #cf2828 !important; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#cf2828’, endColorstr=’#b01e1e’); @@ -205,12 +220,6 @@ -moz-border-radius: 0 0 9px 9px; } -.gwt-MenuItem { - /*padding: 1px 20px 1px 10px; - font-size: smaller; - cursor: default;*/ -} - .gwt-AutoCompleteTextBox { width: 80%;