summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-11-29 20:31:02 +0200
committerArtur Signell <artur@vaadin.com>2012-12-10 11:39:15 +0200
commiteb0a22d5ac67808a89e046f81b7032955d41be3c (patch)
treeb358ae94569ef37bc29276decd0d4781c89fe9e5 /WebContent/VAADIN/themes
parentc5cbf6243d4f2c7cd4c42f00fff94d7870670543 (diff)
downloadvaadin-framework-eb0a22d5ac67808a89e046f81b7032955d41be3c.tar.gz
vaadin-framework-eb0a22d5ac67808a89e046f81b7032955d41be3c.zip
Additional fixes for accordion/IE (#9552)
Fixes Accordion for other themes than Reindeer aswell Change-Id: If849e77adfb07e6a14784139c19e45b3b35a43b9
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r--WebContent/VAADIN/themes/base/accordion/accordion.scss3
-rw-r--r--WebContent/VAADIN/themes/reindeer/accordion/accordion.scss5
-rw-r--r--WebContent/VAADIN/themes/runo/accordion/accordion.scss6
3 files changed, 6 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/base/accordion/accordion.scss b/WebContent/VAADIN/themes/base/accordion/accordion.scss
index 833060ade8..65906d491f 100644
--- a/WebContent/VAADIN/themes/base/accordion/accordion.scss
+++ b/WebContent/VAADIN/themes/base/accordion/accordion.scss
@@ -8,7 +8,8 @@
}
.v-accordion-item {
position: relative;
- zoom: 1;
+ display: inline-block;
+ width: 100%;
}
.v-accordion-item-caption {
overflow: visible;
diff --git a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss
index bc332dd13b..c6ffaa4823 100644
--- a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss
+++ b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss
@@ -5,12 +5,9 @@
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
- overflow: visible;
}
.#{$primaryStyleName}-item {
background-color: #fff;
- display: inline-block;
- width: 100%;
}
.#{$primaryStyleName}-item-caption {
height: 19px;
@@ -30,7 +27,7 @@
border-top: none;
}
.#{$primaryStyleName}-item-caption .v-caption {
- padding: 3px 0 0px 10px;
+ padding: 3px 0 3px 10px;
}
.#{$primaryStyleName}-item-open .#{$primaryStyleName}-item-caption {
background-image: url(../tabsheet/img/tabbar-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */
diff --git a/WebContent/VAADIN/themes/runo/accordion/accordion.scss b/WebContent/VAADIN/themes/runo/accordion/accordion.scss
index deeb494371..f85a1dadab 100644
--- a/WebContent/VAADIN/themes/runo/accordion/accordion.scss
+++ b/WebContent/VAADIN/themes/runo/accordion/accordion.scss
@@ -9,8 +9,8 @@
border-top: 1px solid #c8cccd;
}
.#{$primaryStyleName}-item-caption .v-caption {
- padding: 7px 0 6px 31px;
- background: transparent url(img/collapsed-icon.png) no-repeat 18px 50%;
+ padding: 7px 0 4px 31px;
+ background: transparent url(img/collapsed-icon.png) no-repeat 18px 55%;
}
.#{$primaryStyleName}-item-open .#{$primaryStyleName}-item-caption {
color: #3b4b57;
@@ -20,7 +20,7 @@
}
.#{$primaryStyleName}-item-open .#{$primaryStyleName}-item-caption .v-caption {
background-image: url(img/expanded-icon.png);
- background-position: 17px 50%;
+ background-position: 17px 55%;
}
.#{$primaryStyleName}-item-first .#{$primaryStyleName}-item-caption {
border-top: none;