summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/shared
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-06-24 16:37:51 +0300
committerJouni Koivuviita <jouni@vaadin.com>2014-06-25 11:45:07 +0000
commit0ccef2163522b756b7d31122ff5687720f803f4c (patch)
treef5a1848ee75543c87e7ddb5a4833927ed0e33873 /WebContent/VAADIN/themes/valo/shared
parent659027ab785e65f0d24011822d042bc22a7c581e (diff)
downloadvaadin-framework-0ccef2163522b756b7d31122ff5687720f803f4c.tar.gz
vaadin-framework-0ccef2163522b756b7d31122ff5687720f803f4c.zip
Various fixes to Valo
Add a small API for checkbox, radio button and option group. Fix border radius for ComboBox (no-text-input + small/large style). Add better support for form layout section captions (now supports h2, h3 and h4 labels instead of just h4). Add “align-right” and “align-center” utility style names for label. Fix black line artifacts in iOS for panel, window and tabsheet (visible at certain zoom levels). Refactor tab sheet styles to be more modular (so you can combine framed with icons-on-top for instance). Fix tab sheet loading indicator reserving unnecessary space in parent layout. Readonly style for richtextarea. Fix slider handle focus border color. Fix #14058: Valo causes Table headers to be overly long - Table now reserves as little space as necessary - TreeTable works slightly differently, causing it to reserve more space in some situations Rename table mixins to follow naming convention (mixins that do not output top-level selectors should be suffixed with “-style”, others not). Fix TreeTable treespacer style so that it works correctly with row captions/icons. Prevent text size adjust on iOS. Refine default overlay shadow. Change-Id: I31fa8905c5aa34ab810c3d1c7ac35c3f572c8c04
Diffstat (limited to 'WebContent/VAADIN/themes/valo/shared')
-rw-r--r--WebContent/VAADIN/themes/valo/shared/_global.scss5
-rw-r--r--WebContent/VAADIN/themes/valo/shared/_overlay.scss2
2 files changed, 6 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/shared/_global.scss b/WebContent/VAADIN/themes/valo/shared/_global.scss
index 1aca0dd117..0e55402449 100644
--- a/WebContent/VAADIN/themes/valo/shared/_global.scss
+++ b/WebContent/VAADIN/themes/valo/shared/_global.scss
@@ -28,6 +28,11 @@ $valo-global-included: false !default;
height: 100%;
// Cancel tap highlight from all elements inside the app
-webkit-tap-highlight-color: rgba(0,0,0,0);
+
+ // Prevent iOS text size adjust after orientation change, without disabling user zoom
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%;
}
.v-ui {
diff --git a/WebContent/VAADIN/themes/valo/shared/_overlay.scss b/WebContent/VAADIN/themes/valo/shared/_overlay.scss
index 5d92f4c974..53b7586ce4 100644
--- a/WebContent/VAADIN/themes/valo/shared/_overlay.scss
+++ b/WebContent/VAADIN/themes/valo/shared/_overlay.scss
@@ -17,7 +17,7 @@ $v-overlay-padding: round($v-unit-size/9) !default;
$v-overlay-padding-vertical: $v-overlay-padding !default;
$v-overlay-padding-horizontal: $v-overlay-padding !default;
-$v-overlay-shadow: 0 2px 4px 0 v-shade, 0 3px 5px 0 v-shade, 0 0 0 $v-overlay-border-width (v-shade (2.5 - color-luminance($v-background-color)/255 + $v-bevel-depth/100%)) !default;
+$v-overlay-shadow: 0 4px 10px 0 (v-shade 2), 0 3px 5px 0 v-shade, 0 0 0 $v-overlay-border-width (v-shade (2.5 - color-luminance($v-background-color)/255 + $v-bevel-depth/100%)) !default;
$v-selection-overlay-background-color: $v-overlay-background-color !default;
$v-selection-overlay-padding: $v-overlay-padding !default;