FELIX-3841 CSS issues in IE with Web Console menus
Prevent the caret on the top-level menu from being displayed. This caret
is actually confusing and causes IE9 display to break.
Also we don't set the submenu icon pointing south; the default sounds
correct for now.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1432511 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/resources/res/ui/webconsole.css b/webconsole/src/main/resources/res/ui/webconsole.css
index 7b1ce8a..b8d24c8 100644
--- a/webconsole/src/main/resources/res/ui/webconsole.css
+++ b/webconsole/src/main/resources/res/ui/webconsole.css
@@ -70,13 +70,20 @@
#navmenu {
width: auto;
}
+
#navmenu li.ui-menu-item {
width: auto;
}
+
#navmenu li.navMenuItem-0 {
display: inline-block;
}
+/* Don't display caret on top-level menu (FELIX-3841) */
+#navmenu li.navMenuItem-0 > a > span {
+ display: none;
+}
+
/* CENTRAL CONTENT AREA STYLING */
#content, .ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-size: 8pt }
diff --git a/webconsole/src/main/resources/templates/main_header.html b/webconsole/src/main/resources/templates/main_header.html
index b6ddbfa..19d19e3 100644
--- a/webconsole/src/main/resources/templates/main_header.html
+++ b/webconsole/src/main/resources/templates/main_header.html
@@ -31,8 +31,7 @@
$( '#navmenu' ).menu({
position: {
my: "left top",
- at: "left bottom",
- submenu: "ui-icon-carat-1-s"
+ at: "left bottom"
}
});
});