Browse Source

- Fix top menu in Web UI

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
83da56b0eb
  1. 23
      src/webui/css/Layout.css
  2. 4
      src/webui/css/style.css

23
src/webui/css/Layout.css

@ -102,9 +102,14 @@ body {
#desktopNavbar { #desktopNavbar {
background: #f2f2f2; background: #f2f2f2;
height: 30px; /*height: 30px;*/
margin: 0 0px; margin: 0 0px;
overflow: hidden; /* Remove this line if you want the menu to be backward compatible with Firefox 2 */ overflow: hidden; /* Remove this line if you want the menu to be backward compatible with Firefox 2 */
/* Fixes by Chris */
/*background-color: #ccc;*/
height: 20px;
margin-bottom: 5px;
border-bottom: 1px solid #3f3f3f;
} }
#desktopNavbar ul { #desktopNavbar ul {
@ -123,13 +128,17 @@ body {
} }
#desktopNavbar ul li a { #desktopNavbar ul li a {
padding: 6px 10px 6px 10px; /*padding: 6px 10px 6px 10px;*/
color: #333; color: #333;
font-weight: normal; font-weight: normal;
/* Fix by Chris */
padding: 2px 10px 6px 10px;
} }
#desktopNavbar ul li a:hover { #desktopNavbar ul li a:hover {
color: #333; color: #333;
/* Fix By Chris */
background-color: #fff;
} }
#desktopNavbar ul li a.arrow-right, #desktopNavbar ul li a:hover.arrow-right { #desktopNavbar ul li a.arrow-right, #desktopNavbar ul li a:hover.arrow-right {
@ -146,6 +155,8 @@ body {
width: 164px; width: 164px;
left: -999em; left: -999em;
z-index: 8000; z-index: 8000;
/* Fix by Chris */
margin-top: -6px;
} }
#desktopNavbar li:hover ul ul, #desktopNavbar li:hover ul ul,
@ -173,10 +184,12 @@ body {
#desktopNavbar li ul li a { #desktopNavbar li ul li a {
position: relative; position: relative;
padding: 1px 9px 1px 25px; /*padding: 1px 9px 1px 25px;*/
width: 130px; width: 130px;
color: #3f3f3f; color: #3f3f3f;
font-weight: normal; font-weight: normal;
/* Fix By Chris */
padding: 1px 9px 1px 20px; /* Reduce left padding */
} }
#desktopNavbar li ul li a:hover { #desktopNavbar li ul li a:hover {

4
src/webui/css/style.css

@ -235,4 +235,6 @@ a.propButton img {
#mochaToolbar .divider { #mochaToolbar .divider {
background: url(../images/skin/toolbox-divider.gif) left center no-repeat; background: url(../images/skin/toolbox-divider.gif) left center no-repeat;
padding: 25px 0 0 14px; padding: 25px 0 0 14px;
} }

Loading…
Cancel
Save