From 0ccef2163522b756b7d31122ff5687720f803f4c Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 24 Jun 2014 16:37:51 +0300 Subject: Various fixes to Valo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- WebContent/VAADIN/themes/valo/shared/_global.scss | 5 +++++ WebContent/VAADIN/themes/valo/shared/_overlay.scss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'WebContent/VAADIN/themes/valo/shared') 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; -- cgit v1.2.3