summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2009-12-23 11:26:08 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2009-12-23 11:26:08 +0000
commit50662ee96a7c113128e4c35e2fa4baca9ecb8912 (patch)
tree621c955288d3e57c5613879f09ed939812d9a184 /WebContent/VAADIN
parent1014f3598918a96054f84f55f21d8b3dabd6cf78 (diff)
downloadvaadin-framework-50662ee96a7c113128e4c35e2fa4baca9ecb8912.tar.gz
vaadin-framework-50662ee96a7c113128e4c35e2fa4baca9ecb8912.zip
* Fixes #3907: Undefined wide MenuBar will drop items that do not fit in view
* Fixes #3908: MenuBar doesn't open sub-submenus with hover in IE7 svn changeset:10538/svn branch:6.2
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/themes/base/menubar/menubar.css7
-rw-r--r--WebContent/VAADIN/themes/base/styles.css7
-rw-r--r--WebContent/VAADIN/themes/reindeer/menubar/menubar.css1
-rw-r--r--WebContent/VAADIN/themes/reindeer/styles.css8
-rw-r--r--WebContent/VAADIN/themes/runo/styles.css7
5 files changed, 20 insertions, 10 deletions
diff --git a/WebContent/VAADIN/themes/base/menubar/menubar.css b/WebContent/VAADIN/themes/base/menubar/menubar.css
index 93ff5466b6..52dc6ae545 100644
--- a/WebContent/VAADIN/themes/base/menubar/menubar.css
+++ b/WebContent/VAADIN/themes/base/menubar/menubar.css
@@ -1,12 +1,14 @@
.v-menubar {
float: left; /* Force minimum width */
- overflow: hidden;
+ white-space: nowrap;
}
.v-menubar .v-menubar-menuitem {
cursor: default;
vertical-align: middle;
white-space: nowrap;
- float: left;
+ display: inline;
+ display: inline-block;
+ zoom: 1;
}
.v-menubar .v-menubar-menuitem-caption * {
vertical-align: middle;
@@ -21,6 +23,7 @@
}
.v-menubar-submenu .v-menubar-menuitem {
cursor: default;
+ display: block;
position: relative;
padding-right: 1.5em;
}
diff --git a/WebContent/VAADIN/themes/base/styles.css b/WebContent/VAADIN/themes/base/styles.css
index 9e2b872b58..f1840c6bf2 100644
--- a/WebContent/VAADIN/themes/base/styles.css
+++ b/WebContent/VAADIN/themes/base/styles.css
@@ -647,13 +647,15 @@ div.v-app-loading {
.v-menubar {
float: left; /* Force minimum width */
- overflow: hidden;
+ white-space: nowrap;
}
.v-menubar .v-menubar-menuitem {
cursor: default;
vertical-align: middle;
white-space: nowrap;
- float: left;
+ display: inline;
+ display: inline-block;
+ zoom: 1;
}
.v-menubar .v-menubar-menuitem-caption * {
vertical-align: middle;
@@ -668,6 +670,7 @@ div.v-app-loading {
}
.v-menubar-submenu .v-menubar-menuitem {
cursor: default;
+ display: block;
position: relative;
padding-right: 1.5em;
}
diff --git a/WebContent/VAADIN/themes/reindeer/menubar/menubar.css b/WebContent/VAADIN/themes/reindeer/menubar/menubar.css
index ac60652d11..77903356ce 100644
--- a/WebContent/VAADIN/themes/reindeer/menubar/menubar.css
+++ b/WebContent/VAADIN/themes/reindeer/menubar/menubar.css
@@ -1,6 +1,5 @@
.v-menubar {
height: 23px;
- overflow: hidden;
background: #323336 repeat-x;
background-image: url(img/bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */
color: #d1d3d6;
diff --git a/WebContent/VAADIN/themes/reindeer/styles.css b/WebContent/VAADIN/themes/reindeer/styles.css
index f8def1f262..2b298a2b33 100644
--- a/WebContent/VAADIN/themes/reindeer/styles.css
+++ b/WebContent/VAADIN/themes/reindeer/styles.css
@@ -647,13 +647,15 @@ div.v-app-loading {
.v-menubar {
float: left; /* Force minimum width */
- overflow: hidden;
+ white-space: nowrap;
}
.v-menubar .v-menubar-menuitem {
cursor: default;
vertical-align: middle;
white-space: nowrap;
- float: left;
+ display: inline;
+ display: inline-block;
+ zoom: 1;
}
.v-menubar .v-menubar-menuitem-caption * {
vertical-align: middle;
@@ -668,6 +670,7 @@ div.v-app-loading {
}
.v-menubar-submenu .v-menubar-menuitem {
cursor: default;
+ display: block;
position: relative;
padding-right: 1.5em;
}
@@ -3101,7 +3104,6 @@ td.v-datefield-calendarpanel-nextyear {
.v-menubar {
height: 23px;
- overflow: hidden;
background: #323336 repeat-x;
background-image: url(common/img/vertical-sprites.png);
-background-image: url(common/img/vertical-sprites-ie6.png);
diff --git a/WebContent/VAADIN/themes/runo/styles.css b/WebContent/VAADIN/themes/runo/styles.css
index a7d1dffdca..06bce5dfa9 100644
--- a/WebContent/VAADIN/themes/runo/styles.css
+++ b/WebContent/VAADIN/themes/runo/styles.css
@@ -647,13 +647,15 @@ div.v-app-loading {
.v-menubar {
float: left; /* Force minimum width */
- overflow: hidden;
+ white-space: nowrap;
}
.v-menubar .v-menubar-menuitem {
cursor: default;
vertical-align: middle;
white-space: nowrap;
- float: left;
+ display: inline;
+ display: inline-block;
+ zoom: 1;
}
.v-menubar .v-menubar-menuitem-caption * {
vertical-align: middle;
@@ -668,6 +670,7 @@ div.v-app-loading {
}
.v-menubar-submenu .v-menubar-menuitem {
cursor: default;
+ display: block;
position: relative;
padding-right: 1.5em;
}