summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/menubar/menubar.css
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2009-11-09 14:36:28 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2009-11-09 14:36:28 +0000
commitff991344bb16604fd60a1302c370edcaaf8f9cd1 (patch)
tree68be8a51d64b0b6f44dfccc7de78f5789b3dc94e /WebContent/VAADIN/themes/base/menubar/menubar.css
parent80dc4982a2483b141bd05fa7bc66b685744594df (diff)
downloadvaadin-framework-ff991344bb16604fd60a1302c370edcaaf8f9cd1.tar.gz
vaadin-framework-ff991344bb16604fd60a1302c370edcaaf8f9cd1.zip
MenuBar fixes & enhancements
* fixes #3507: Menubar.MenuItem needs setEnabled() * "More" menuitem now presented as an arrow * menu opening/closing now more intuitive * client side stylename for menuitems changed to v-menuitem svn changeset:9688/svn branch:6.2
Diffstat (limited to 'WebContent/VAADIN/themes/base/menubar/menubar.css')
-rw-r--r--WebContent/VAADIN/themes/base/menubar/menubar.css25
1 files changed, 18 insertions, 7 deletions
diff --git a/WebContent/VAADIN/themes/base/menubar/menubar.css b/WebContent/VAADIN/themes/base/menubar/menubar.css
index 610fb4d9b4..909d714f13 100644
--- a/WebContent/VAADIN/themes/base/menubar/menubar.css
+++ b/WebContent/VAADIN/themes/base/menubar/menubar.css
@@ -3,12 +3,12 @@
padding: 0;
margin: 0;
}
-.v-menubar .menuitem {
+.v-menubar .v-menubar-menuitem {
cursor: default;
vertical-align: middle;
white-space: nowrap;
}
-.v-menubar .menuitem * {
+.v-menubar .v-menubar-menuitem * {
vertical-align: middle;
}
.v-menubar-submenu {
@@ -24,25 +24,36 @@
padding: 0;
margin: 0;
}
-.v-menubar .menuitem-selected,
-.v-menubar-submenu .menuitem-selected {
+.v-menubar-menuitem-selected{
background: #333;
color: #fff;
}
-.v-menubar-submenu .menuitem {
+.v-menubar-submenu .v-menubar-menuitem {
cursor: default;
vertical-align: middle;
white-space: nowrap;
}
-.v-menubar-submenu .menuitem * {
+.v-menubar-submenu .v-menubar-menuitem * {
vertical-align: middle;
}
-.v-menubar .v-menubar-submenu-indicator {
+.v-menubar-submenu-indicator {
display: none;
+ /* Arial has the most coverage for geometric entity characters */
+ font-family: arial, helvetica, sans-serif;
}
.v-menubar-submenu .v-menubar-submenu-indicator {
+ display: inline;
+ display: inline-block;
+ zoom: 1;
margin-left: 1em;
float: right;
height: 100%;
font-size: 0.9em;
+}
+.v-menubar-menuitem-disabled {
+ color: #999;
+}
+.v-menubar-more-menuitem {
+ /* Arial has the most coverage for geometric entity characters */
+ font-family: arial, helvetica, sans-serif;
} \ No newline at end of file