summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-03-11 22:20:51 +0200
committerArtur Signell <artur@vaadin.com>2013-03-11 22:23:54 +0200
commit04ee1d7fbbe908c91f0c26e2fc6e72b628718b76 (patch)
tree858787251f5f63e09563b03722191f2227eba6a6 /WebContent/VAADIN/themes/reindeer
parent2af3a297286fa6adeaee3ee0b88df705e095154a (diff)
downloadvaadin-framework-04ee1d7fbbe908c91f0c26e2fc6e72b628718b76.tar.gz
vaadin-framework-04ee1d7fbbe908c91f0c26e2fc6e72b628718b76.zip
Applied IE9 CSS fixes to IE10 also (#11301)
Change-Id: I50e5d33773127e9073e820bc4e307979bbcbd875
Diffstat (limited to 'WebContent/VAADIN/themes/reindeer')
-rw-r--r--WebContent/VAADIN/themes/reindeer/notification/notification.scss4
-rw-r--r--WebContent/VAADIN/themes/reindeer/panel/panel.scss36
-rw-r--r--WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-minimal-style.scss12
-rw-r--r--WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss7
4 files changed, 32 insertions, 27 deletions
diff --git a/WebContent/VAADIN/themes/reindeer/notification/notification.scss b/WebContent/VAADIN/themes/reindeer/notification/notification.scss
index 4884f19f8b..ec0d15df2f 100644
--- a/WebContent/VAADIN/themes/reindeer/notification/notification.scss
+++ b/WebContent/VAADIN/themes/reindeer/notification/notification.scss
@@ -10,9 +10,11 @@
font-weight: bold;
}
-.v-ie9 & .#{$primaryStyleName} H1 {
+.v-ie9 &, .v-ie10 & {
+ .#{$primaryStyleName} H1 {
/* Fix for #6793 */
font-weight: bold;
+ }
}
.#{$primaryStyleName} p {
diff --git a/WebContent/VAADIN/themes/reindeer/panel/panel.scss b/WebContent/VAADIN/themes/reindeer/panel/panel.scss
index b095fb4ffb..74ee10837d 100644
--- a/WebContent/VAADIN/themes/reindeer/panel/panel.scss
+++ b/WebContent/VAADIN/themes/reindeer/panel/panel.scss
@@ -12,14 +12,24 @@
border-bottom: 1px solid #e5e5e5;
line-height: 16px; /* accommodate minimum icon size */
}
-.v-webkit & .#{$primaryStyleName}-caption,
-.v-webkit & .#{$primaryStyleName}-nocaption,
-.v-gecko & .#{$primaryStyleName}-caption,
-.v-gecko & .#{$primaryStyleName}-nocaption,
-.v-ie9 & .#{$primaryStyleName}-caption,
-.v-ie9 & .#{$primaryStyleName}-nocaption {
- border-bottom-color: rgba(0,0,0,.08);
+
+.v-webkit &,
+.v-gecko &,
+.v-ie9 &,
+.v-ie10 & {
+ .#{$primaryStyleName}-caption,
+ .#{$primaryStyleName}-nocaption {
+ border-bottom-color: rgba(0,0,0,.08);
+ }
+ .#{$primaryStyleName}-content {
+ border-top-color: rgba(0,0,0,.07);
+ }
+ .#{$primaryStyleName}-deco {
+ border-top-color: rgba(0,0,0,.1);
+ background: rgba(0,0,0,.08);
+ }
}
+
.#{$primaryStyleName}-caption {
padding-bottom: 2px;
}
@@ -30,11 +40,7 @@
border-bottom: none;
border-top: none;
}
-.v-webkit & .#{$primaryStyleName}-content,
-.v-gecko & .#{$primaryStyleName}-content,
-.v-ie9 & .#{$primaryStyleName}-content {
- border-top-color: rgba(0,0,0,.07);
-}
+
.blue .#{$primaryStyleName}-deco {
border-color: #92a3ac;
background: #adc2cd;
@@ -46,12 +52,6 @@
background: #e2e2e2;
overflow: hidden;
}
-.v-webkit & .#{$primaryStyleName}-deco,
-.v-gecko & .#{$primaryStyleName}-deco,
-.v-ie9 & .#{$primaryStyleName}-deco {
- border-top-color: rgba(0,0,0,.1);
- background: rgba(0,0,0,.08);
-}
.#{$primaryStyleName}-caption .v-errorindicator {
height: 16px;
width: 13px;
diff --git a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-minimal-style.scss b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-minimal-style.scss
index fe17d90e26..77d4922535 100644
--- a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-minimal-style.scss
+++ b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-minimal-style.scss
@@ -105,15 +105,17 @@
-moz-border-radius: 7px;
}
-.v-ie9 & .#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-tabitem .#{$primaryStyleName}-caption-close {
- &, &:hover, &:active {
+.v-ie9 &, .v-ie10 & {
+ .#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-tabitem .#{$primaryStyleName}-caption-close {
+ &, &:hover, &:active {
- /* IE9 suffers from rounding subpixel values errors when measuring the tabs which makes the close button wrap. */
+ /* IE9/IE10 suffers from rounding subpixel values errors when measuring the tabs which makes the close button wrap. */
margin-left: 2.5px;
- /* The close button is a pixel too high in IE9, adjust for that */
+ /* The close button is a pixel too high in IE9/IE10, adjust for that */
margin-top: 1px;
- }
+ }
+ }
}
.#{$primaryStyleName}-tabs-minimal .#{$primaryStyleName}-caption-close:hover,
diff --git a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss
index 56bad4ed72..4141586d5a 100644
--- a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss
+++ b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-small-style.scss
@@ -55,11 +55,12 @@
.v-ff & .#{$primaryStyleName}-tabs-bar .#{$primaryStyleName}-caption-close {
margin-top: -14px;
}
-.v-ie9 & .#{$primaryStyleName}-tabs-bar .#{$primaryStyleName}-caption-close:only-child,
-.v-ie9 & .#{$primaryStyleName}-tabs-bar .v-captiontext:first-child + .#{$primaryStyleName}-caption-close {
+.v-ie9 &, .v-ie10 & {
+ .#{$primaryStyleName}-tabs-bar .#{$primaryStyleName}-caption-close:only-child,
+ .#{$primaryStyleName}-tabs-bar .v-captiontext:first-child + .#{$primaryStyleName}-caption-close {
margin-top: -14px;
+ }
}
-
.#{$primaryStyleName}-tabs-bar .#{$primaryStyleName}-caption-close:hover {
background: #bfbfbf;
-webkit-box-shadow: 0 1px 0 #fff;