aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-07-08 11:32:54 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2014-07-08 11:32:54 +0300
commit770b5b5aced652cd7eed9d49e6c477908a9d7efb (patch)
treec4b2b7a6335f919510f323af419c79da74fdf7c7 /WebContent/VAADIN/themes/base
parentec205707eacb1187ab8f21e7e7c5150944ef349b (diff)
parent8c36375edb9cadfec64a67f034d2a6828242df6f (diff)
downloadvaadin-framework-770b5b5aced652cd7eed9d49e6c477908a9d7efb.tar.gz
vaadin-framework-770b5b5aced652cd7eed9d49e6c477908a9d7efb.zip
Merge remote-tracking branch 'origin/master' into grid
Conflicts: WebContent/release-notes.html Change-Id: I7f97cb771665485dbc9130a3c9b0365185615fc5
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r--WebContent/VAADIN/themes/base/common/common.scss14
-rw-r--r--WebContent/VAADIN/themes/base/datefield/datefield.scss3
-rw-r--r--WebContent/VAADIN/themes/base/shadow/shadow.scss6
-rw-r--r--WebContent/VAADIN/themes/base/window/window.scss6
4 files changed, 29 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/common/common.scss b/WebContent/VAADIN/themes/base/common/common.scss
index 6ec85e3c6d..0a493e0356 100644
--- a/WebContent/VAADIN/themes/base/common/common.scss
+++ b/WebContent/VAADIN/themes/base/common/common.scss
@@ -11,6 +11,19 @@
.v-caption {
cursor: default;
}
+/* add box-shadows to overlay elements */
+.v-window {
+ box-shadow: 0 5px 18px 0 rgba(0, 0, 0, .5);
+}
+.v-datefield-popup,
+.v-filterselect-suggestpopup,
+.v-menubar-popup,
+.v-slider-feedback,
+.v-popupview-popup,
+.v-contextmenu {
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .5);
+}
+
body &.v-app .v-app-loading {
/* You can use this to provide indication for the user that the application is loading. */
/* It is applied to the same element as .v-app */
@@ -115,6 +128,7 @@ body &.v-app .v-app-loading {
.v-tooltip {
cursor: default;
background: #fff;
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .5);
}
.v-tooltip-text {
overflow: auto;
diff --git a/WebContent/VAADIN/themes/base/datefield/datefield.scss b/WebContent/VAADIN/themes/base/datefield/datefield.scss
index d094235c0f..57a691211d 100644
--- a/WebContent/VAADIN/themes/base/datefield/datefield.scss
+++ b/WebContent/VAADIN/themes/base/datefield/datefield.scss
@@ -95,6 +95,9 @@
}
.#{$primaryStyleName}-popup {
background: #fff;
+ .v-ie9 &, .v-ie10 &, .v-ie11 & {
+ box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .5);
+ }
}
.#{$primaryStyleName}-popupcalendar input.#{$primaryStyleName}-textfield {
-webkit-box-sizing: border-box;
diff --git a/WebContent/VAADIN/themes/base/shadow/shadow.scss b/WebContent/VAADIN/themes/base/shadow/shadow.scss
index 47bf4acfde..3c369d3fef 100644
--- a/WebContent/VAADIN/themes/base/shadow/shadow.scss
+++ b/WebContent/VAADIN/themes/base/shadow/shadow.scss
@@ -2,6 +2,12 @@
.#{$primaryStyleName} {
position: absolute;
+ display: none;
+ pointer-events: none;
+
+ .v-ie8 & {
+ display: block;
+ }
}
.#{$primaryStyleName} .top-left {
diff --git a/WebContent/VAADIN/themes/base/window/window.scss b/WebContent/VAADIN/themes/base/window/window.scss
index 05f3b115ad..4e414379cf 100644
--- a/WebContent/VAADIN/themes/base/window/window.scss
+++ b/WebContent/VAADIN/themes/base/window/window.scss
@@ -125,6 +125,12 @@ div.#{$primaryStyleName}-header {
/* Shadow for window */
.v-shadow-window {
position: absolute;
+ display: none;
+ pointer-events: none;
+
+ .v-ie8 & {
+ display: block;
+ }
}
.v-shadow-window .top-left {
position: absolute; overflow: hidden;