]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed broken Tabsheet styles after fixes to #10682 47/647/1
authorJohn Ahlroos <john@vaadin.com>
Tue, 15 Jan 2013 09:30:47 +0000 (11:30 +0200)
committerJohn Ahlroos <john@vaadin.com>
Tue, 15 Jan 2013 09:30:47 +0000 (11:30 +0200)
Change-Id: I752e2cd2a83b89c0ac2623f57b3311aa7ae9934b

WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-minimal-style.scss
WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss

index 75ce9e1094226ae4d2ca00ece267f0358c3958b2..989e1d3f5a4a3db7556b7864145eda29c1e0fb2b 100644 (file)
        -webkit-border-radius: 7px;
        -moz-border-radius: 7px;
 }
-.#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-caption-close {
-       margin-top: 1px;
-}
-.v-ff & .#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-caption-close {
-       margin-top: -15px;
+
+.v-ie9 & .#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-caption-close:only-child,
+.v-ie9 & .#{$primaryStyleName}-tabs-minimal .v-captiontext:first-child + .#{$primaryStyleName}-caption-close {
+    margin-top: -14px;
 }
+
 .#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-caption-close:hover,
 .white .#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-caption-close:hover {
        color: #fff;
index 7dde13e55edb4209bdc52fa9ae486f2a6f511069..91bb3915be942c6f977e48c21c1ff8d86d84840a 100644 (file)
        font-size: 14px;
        font-weight: normal;
 }
-.v-ff & .#{$primaryStyleName}-caption-close {
-       margin-top: -15px;
+.v-ff & .#{$primaryStyleName}-caption-close{
+       margin-top: -17px;
 }
+
+.v-ff & .#{$primaryStyleName}-caption-close:only-child {
+    margin-top: -1px;
+}
+
+
 .#{$primaryStyleName}-caption-close:hover {
        background-image: url(img/close-btn-hover.png); /** sprite-ref: verticals */
 }