summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2013-01-29 12:25:00 +0200
committerJohn Ahlroos <john@vaadin.com>2013-01-29 14:36:40 +0200
commit480da62d38602ae5fca738feb5ceb15b82c9ce0a (patch)
tree2964e039a316f3116b20103d0da5fa55195ee6cd /WebContent
parent35f2f4ffff97ac37c29dbadbb176329b8cf39a54 (diff)
downloadvaadin-framework-480da62d38602ae5fca738feb5ceb15b82c9ce0a.tar.gz
vaadin-framework-480da62d38602ae5fca738feb5ceb15b82c9ce0a.zip
Fixes caption icons too low in Accordion #10872 #10635
Change-Id: Ib23c49d988aeecc7619727f02423ac16bab8f64d
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/reindeer/accordion/accordion.scss12
1 files changed, 7 insertions, 5 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss
index 77fe1c0b9a..cd2ca4b21d 100644
--- a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss
+++ b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss
@@ -23,25 +23,27 @@
}
.#{$primaryStyleName}-item-caption .v-captiontext{
- vertical-align:baseline;
+ vertical-align:baseline;
}
.#{$primaryStyleName}-item-first .#{$primaryStyleName}-item-caption {
border-top: none;
}
.#{$primaryStyleName}-item-caption .v-caption {
- padding: 3px 0 3px 10px;
+ padding: 3px 0 0 10px;
}
.#{$primaryStyleName}-item-open .#{$primaryStyleName}-item-caption {
background-image: url(../tabsheet/img/tabbar-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */
border-bottom: 1px solid #bbb;
}
.#{$primaryStyleName}-item-caption .v-icon {
- margin-top: -1px;
+ margin-top: -3px;
}
-.v-ie & .#{$primaryStyleName}-item-caption .v-icon {
- vertical-align: top;
+.v-ie & .#{$primaryStyleName}-item-caption .v-icon,
+.v-ff & .#{$primaryStyleName}-item-caption .v-icon {
+ margin-top: -6px;
}
+
/* Borderless style */
.#{$primaryStyleName}-borderless {
border: none;