summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-09-01 11:16:12 +0300
committerLeif Åstrand <leif@vaadin.com>2014-09-01 11:58:11 +0300
commit3aca4c731040c45664d2d8086ccc614692097f98 (patch)
treefe986cbe93ef3bfcb276a852a0d0dbd93f5ee877 /WebContent
parent22acb7fa65ca7a153604fe3cbf323b18ebe4e08f (diff)
downloadvaadin-framework-3aca4c731040c45664d2d8086ccc614692097f98.tar.gz
vaadin-framework-3aca4c731040c45664d2d8086ccc614692097f98.zip
Fix to Valo menu for iOS (make the header visible)7.3.0
Change-Id: Ib27db90a6dc48f8f8f34adc3c16aa3aa7222d19d
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_valo-menu.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_valo-menu.scss b/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
index 6429dc0896..59d3ddca4b 100644
--- a/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
+++ b/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
@@ -75,6 +75,7 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
@include valo-menubar-borderless-style;
margin: round($v-unit-size/2) round($v-unit-size/5);
display: block;
+ overflow: hidden;
text-align: center;
height: auto;
color: inherit;
@@ -83,6 +84,7 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
color: inherit;
white-space: normal;
line-height: 1.4;
+ margin: 0;
img.v-icon {
width: round($v-unit-size * 1.5);
@@ -93,6 +95,13 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
margin: 0 auto .3em;
border: valo-border();
}
+
+ &:after {
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ }
}
.v-menubar-menuitem-selected {
@@ -150,6 +159,10 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
border-right: none;
}
+ .valo-menu-part {
+ overflow: visible;
+ }
+
.valo-menu-toggle {
display: inline-block;
}