diff options
author | Dmitrii Rogozin <dmitrii@vaadin.com> | 2014-06-24 15:29:40 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-07-02 14:59:08 +0000 |
commit | 90f66298c0c7179b22ebe4f78c95eba7fc432f4d (patch) | |
tree | 044f033bae6bda75ae7f37ec7be4e06d0539bf85 /WebContent/VAADIN/themes/runo | |
parent | d8ac5d4b10609f2e6db2f29e9ce4bf00c5a1b301 (diff) | |
download | vaadin-framework-90f66298c0c7179b22ebe4f78c95eba7fc432f4d.tar.gz vaadin-framework-90f66298c0c7179b22ebe4f78c95eba7fc432f4d.zip |
Disabled shadow divs. Instead use css box-shadow (#13885)
Change-Id: Ibf8888de795b08aed0446607165d7318f94ee6f4
Diffstat (limited to 'WebContent/VAADIN/themes/runo')
-rw-r--r-- | WebContent/VAADIN/themes/runo/common/common.scss | 10 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/runo/window/window.scss | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/runo/common/common.scss b/WebContent/VAADIN/themes/runo/common/common.scss index 36447d9593..c33b490411 100644 --- a/WebContent/VAADIN/themes/runo/common/common.scss +++ b/WebContent/VAADIN/themes/runo/common/common.scss @@ -38,6 +38,16 @@ .v-window select { padding: 0; } +.v-window +.v-datefield-popup, +.v-filterselect-suggestpopup, +.v-menubar-menuitem, +.v-slider-popup, +.v-tooltip-text, +.v-popupview-popup, +.v-contextmenu { + box-shadow: 0 2px 5px 0 rgba(0,0,0, .28); +} /* Custom tooltip */ .v-tooltip { background-color: #fffcdd; diff --git a/WebContent/VAADIN/themes/runo/window/window.scss b/WebContent/VAADIN/themes/runo/window/window.scss index 1a7cfd3b01..bf2081674c 100644 --- a/WebContent/VAADIN/themes/runo/window/window.scss +++ b/WebContent/VAADIN/themes/runo/window/window.scss @@ -1,5 +1,10 @@ @mixin runo-window($primaryStyleName : v-window) { +/* add box-shadows to an overlay element */ +.#{$primaryStyleName} { + box-shadow: 0 10px 24px 0 rgba(42, 45, 46, .4); + border-radius: 10px; +} .#{$primaryStyleName} { color: #464f52; font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif; |