diff options
author | Artur Signell <artur@vaadin.com> | 2012-12-14 15:28:17 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-12-17 21:46:54 +0200 |
commit | b7aa5ead03310a45587284b3cfec64f56613fbd6 (patch) | |
tree | 8e66eba1be016c6527b2c1501fc1eca1862489b4 /WebContent/VAADIN/themes/reindeer | |
parent | 95d9349d2381b751526c6617f4d0d9d13fac18d3 (diff) | |
download | vaadin-framework-b7aa5ead03310a45587284b3cfec64f56613fbd6.tar.gz vaadin-framework-b7aa5ead03310a45587284b3cfec64f56613fbd6.zip |
Fixed IE scrollbar issues for most if not all components
Fixed by defining font-size:0 and line-height:normal for all v-scrollable elements. A font-size is defined using $font-size for all themes and this is reset in v-widget. Similarly for $line-height.
Should fix at least #9004, #9552, #9572
Change-Id: I78da2c2ce497a0a22962644c9c97df5a0e41e056
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer')
3 files changed, 6 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss index c6ffaa4823..77fe1c0b9a 100644 --- a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss +++ b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss @@ -18,6 +18,9 @@ border-top: 1px solid #bebebe; text-shadow: #fff 0 1px 0; } +.#{$primaryStyleName}-item-caption .v-caption { + font-size: 11px; +} .#{$primaryStyleName}-item-caption .v-captiontext{ vertical-align:baseline; diff --git a/WebContent/VAADIN/themes/reindeer/reindeer.scss b/WebContent/VAADIN/themes/reindeer/reindeer.scss index f02fcf18a8..d6b252513b 100644 --- a/WebContent/VAADIN/themes/reindeer/reindeer.scss +++ b/WebContent/VAADIN/themes/reindeer/reindeer.scss @@ -35,6 +35,8 @@ @mixin reindeer { // should this be here? + $font-size: 12px; + $line-height: normal; @include base; // TODO @each diff --git a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss index 2f1d0c7081..556b5de443 100644 --- a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss +++ b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss @@ -21,10 +21,10 @@ .#{$primaryStyleName}-tabs-bar .#{$primaryStyleName}-spacertd div { height: 20px; background-image: url(img/bar/tab-bg.png); /** sprite-ref: verticals; sprite-alignment: repeat */ - font-size: 11px; margin: 0; } .#{$primaryStyleName}-tabs-bar .#{$primaryStyleName}-tabitem .v-caption { + font-size: 11px; height: 18px; background-image: url(img/bar/tab-right.png); /** sprite-ref: verticals; sprite-alignment: right */ padding: 2px 12px 0 10px; |