From 0081286c8d05c3751803181230092bd4b1e769f7 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 17 Aug 2016 23:02:37 +0300 Subject: Remove IE8-IE10 client side code Change-Id: I2ca0b41c3cc2ed851646ced2e0693a93b1853c95 --- .../src/main/themes/VAADIN/themes/base/base.scss | 2 - .../VAADIN/themes/base/shadow/img/bottom-left.png | Bin 221 -> 0 bytes .../VAADIN/themes/base/shadow/img/bottom-right.png | Bin 224 -> 0 bytes .../VAADIN/themes/base/shadow/img/bottom.png | Bin 132 -> 0 bytes .../VAADIN/themes/base/shadow/img/center.png | Bin 109 -> 0 bytes .../themes/VAADIN/themes/base/shadow/img/left.png | Bin 129 -> 0 bytes .../themes/VAADIN/themes/base/shadow/img/right.png | Bin 130 -> 0 bytes .../VAADIN/themes/base/shadow/img/top-left.png | Bin 208 -> 0 bytes .../VAADIN/themes/base/shadow/img/top-right.png | Bin 220 -> 0 bytes .../themes/VAADIN/themes/base/shadow/img/top.png | Bin 135 -> 0 bytes .../themes/VAADIN/themes/base/shadow/shadow.scss | 74 --------------------- .../themes/base/window/img/shadow/bottom-left.png | Bin 455 -> 0 bytes .../themes/base/window/img/shadow/bottom-right.png | Bin 437 -> 0 bytes .../themes/base/window/img/shadow/bottom.png | Bin 168 -> 0 bytes .../themes/base/window/img/shadow/center.png | Bin 109 -> 0 bytes .../VAADIN/themes/base/window/img/shadow/left.png | Bin 141 -> 0 bytes .../VAADIN/themes/base/window/img/shadow/right.png | Bin 143 -> 0 bytes .../themes/base/window/img/shadow/top-left.png | Bin 374 -> 0 bytes .../themes/base/window/img/shadow/top-right.png | Bin 473 -> 0 bytes .../VAADIN/themes/base/window/img/shadow/top.png | Bin 143 -> 0 bytes .../themes/VAADIN/themes/base/window/window.scss | 65 ------------------ .../src/main/themes/VAADIN/themes/runo/runo.scss | 2 - .../VAADIN/themes/runo/shadow/img/bottom-left.png | Bin 183 -> 0 bytes .../VAADIN/themes/runo/shadow/img/bottom-right.png | Bin 192 -> 0 bytes .../VAADIN/themes/runo/shadow/img/bottom.png | Bin 130 -> 0 bytes .../VAADIN/themes/runo/shadow/img/center.png | Bin 109 -> 0 bytes .../themes/VAADIN/themes/runo/shadow/img/left.png | Bin 124 -> 0 bytes .../themes/VAADIN/themes/runo/shadow/img/right.png | Bin 124 -> 0 bytes .../VAADIN/themes/runo/shadow/img/top-left.png | Bin 169 -> 0 bytes .../VAADIN/themes/runo/shadow/img/top-right.png | Bin 186 -> 0 bytes .../themes/VAADIN/themes/runo/shadow/img/top.png | Bin 125 -> 0 bytes .../themes/VAADIN/themes/runo/shadow/shadow.scss | 72 -------------------- .../themes/runo/window/img/shadow/bottom-left.png | Bin 683 -> 0 bytes .../themes/runo/window/img/shadow/bottom-right.png | Bin 583 -> 0 bytes .../themes/runo/window/img/shadow/bottom.png | Bin 150 -> 0 bytes .../themes/runo/window/img/shadow/center.png | Bin 109 -> 0 bytes .../VAADIN/themes/runo/window/img/shadow/left.png | Bin 144 -> 0 bytes .../VAADIN/themes/runo/window/img/shadow/right.png | Bin 146 -> 0 bytes .../themes/runo/window/img/shadow/top-left.png | Bin 510 -> 0 bytes .../themes/runo/window/img/shadow/top-right.png | Bin 654 -> 0 bytes .../VAADIN/themes/runo/window/img/shadow/top.png | Bin 148 -> 0 bytes .../themes/VAADIN/themes/runo/window/window.scss | 50 -------------- .../themes/VAADIN/themes/valo/shared/_overlay.scss | 50 -------------- 43 files changed, 315 deletions(-) delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/center.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/top-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/top-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/img/top.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/shadow/shadow.scss delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/center.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/center.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/img/top.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/shadow/shadow.scss delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/center.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-left.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-right.png delete mode 100644 themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top.png (limited to 'themes/src') diff --git a/themes/src/main/themes/VAADIN/themes/base/base.scss b/themes/src/main/themes/VAADIN/themes/base/base.scss index e776e007fd..001d00be49 100644 --- a/themes/src/main/themes/VAADIN/themes/base/base.scss +++ b/themes/src/main/themes/VAADIN/themes/base/base.scss @@ -40,7 +40,6 @@ $v-line-height: $line-height !default; @import "popupview/popupview.scss"; @import "progressindicator/progressindicator.scss"; @import "select/select.scss"; -@import "shadow/shadow.scss"; @import "slider/slider.scss"; @import "splitpanel/splitpanel.scss"; @import "table/table.scss"; @@ -117,7 +116,6 @@ $v-line-height: $line-height !default; @include base-progressindicator(v-progressindicator); @include base-select; - @include base-shadow; @include base-slider; @include base-splitpanel; @include base-table; diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-left.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-left.png deleted file mode 100644 index 6b2cd00a0d..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-right.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-right.png deleted file mode 100644 index c5c10a7bf5..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom.png deleted file mode 100644 index 14935a81d4..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/bottom.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/center.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/center.png deleted file mode 100644 index 1db9a53c75..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/center.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/left.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/left.png deleted file mode 100644 index 45634c05d8..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/right.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/right.png deleted file mode 100644 index 619c4034db..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/top-left.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/top-left.png deleted file mode 100644 index 10e743875e..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/top-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/top-right.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/top-right.png deleted file mode 100644 index 2088806475..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/top-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/img/top.png b/themes/src/main/themes/VAADIN/themes/base/shadow/img/top.png deleted file mode 100644 index 9daf3f41f4..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/shadow/img/top.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/shadow/shadow.scss b/themes/src/main/themes/VAADIN/themes/base/shadow/shadow.scss deleted file mode 100644 index b690ce02bd..0000000000 --- a/themes/src/main/themes/VAADIN/themes/base/shadow/shadow.scss +++ /dev/null @@ -1,74 +0,0 @@ -@mixin base-shadow($primaryStyleName : v-shadow) { - -.#{$primaryStyleName} { - position: absolute; - display: none; - pointer-events: none; -} - -.#{$primaryStyleName} .top-left { - position: absolute; overflow: hidden; - top: -3px; left: -5px; - width: 10px; height: 10px; - background: transparent url(img/top-left.png); -} - -.#{$primaryStyleName} .top { - position: absolute; overflow: hidden; - top: -3px; left: 5px; - height: 10px; right: 5px; - background: transparent url(img/top.png); -} - -.#{$primaryStyleName} .top-right { - position: absolute; overflow: hidden; - top: -3px; right: -5px; - width: 10px; height: 10px; - background: transparent url(img/top-right.png); -} - -.#{$primaryStyleName} .left { - position: absolute; overflow: hidden; - top: 7px; left: -5px; - width: 10px; - bottom: 3px; - background: transparent url(img/left.png); -} - -.#{$primaryStyleName} .center { - position: absolute; overflow: hidden; - top: 7px; left: 5px; - bottom: 3px; right: 5px; - background: transparent url(img/center.png); -} - -.#{$primaryStyleName} .right { - position: absolute; overflow: hidden; - top: 7px; right: -5px; - width: 10px; - bottom: 3px; - background: transparent url(img/right.png); -} - -.#{$primaryStyleName} .bottom-left { - position: absolute; overflow: hidden; - bottom: -7px; left: -5px; - width: 10px; height: 10px; - background: transparent url(img/bottom-left.png); -} - -.#{$primaryStyleName} .bottom { - position: absolute; overflow: hidden; - bottom: -7px; left: 5px; - right: 5px; height: 10px; - background: transparent url(img/bottom.png); -} - -.#{$primaryStyleName} .bottom-right { - position: absolute; overflow: hidden; - bottom: -7px; right: -5px; - width: 10px; height: 10px; - background: transparent url(img/bottom-right.png); -} - -} diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-left.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-left.png deleted file mode 100644 index f40e53f939..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-right.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-right.png deleted file mode 100644 index 8ef8376f7a..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom.png deleted file mode 100644 index 89096316e6..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/bottom.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/center.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/center.png deleted file mode 100644 index 1db9a53c75..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/center.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/left.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/left.png deleted file mode 100644 index bc526b1674..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/right.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/right.png deleted file mode 100644 index b837d90545..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-left.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-left.png deleted file mode 100644 index abd7943b21..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-right.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-right.png deleted file mode 100644 index d54b748be7..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top.png b/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top.png deleted file mode 100644 index 4d5272e7f3..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/base/window/img/shadow/top.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/base/window/window.scss b/themes/src/main/themes/VAADIN/themes/base/window/window.scss index e264c486e9..a0f68e2523 100644 --- a/themes/src/main/themes/VAADIN/themes/base/window/window.scss +++ b/themes/src/main/themes/VAADIN/themes/base/window/window.scss @@ -123,69 +123,4 @@ div.#{$primaryStyleName}-header { height: 100%; filter: alpha(opacity=50); } -/* Shadow for window */ -.v-shadow-window { - position: absolute; - display: none; - pointer-events: none; - -} -.v-shadow-window .top-left { - position: absolute; overflow: hidden; - top: -10px; left: -15px; - width: 28px; height: 28px; - background: transparent url(img/shadow/top-left.png); -} -.v-shadow-window .top { - position: absolute; overflow: hidden; - top: -10px; left: 13px; - height: 28px; - right: 13px; - background: transparent url(img/shadow/top.png); -} -.v-shadow-window .top-right { - position: absolute; overflow: hidden; - top: -10px; right: -15px; - width: 28px; height: 28px; - background: transparent url(img/shadow/top-right.png); -} -.v-shadow-window .left { - position: absolute; overflow: hidden; - top: 18px; left: -15px; - width: 28px; - bottom: 10px; - background: transparent url(img/shadow/left.png); -} -.v-shadow-window .center { - position: absolute; overflow: hidden; - top: 18px; left: 13px; - bottom: 10px; right: 13px; - background: transparent url(img/shadow/center.png); -} -.v-shadow-window .right { - position: absolute; overflow: hidden; - top: 18px; right: -15px; - width: 28px; - bottom: 10px; - background: transparent url(img/shadow/right.png); -} -.v-shadow-window .bottom-left { - position: absolute; overflow: hidden; - bottom: -18px; left: -15px; - width: 28px; height: 28px; - background: transparent url(img/shadow/bottom-left.png); -} -.v-shadow-window .bottom { - position: absolute; overflow: hidden; - bottom: -18px; left: 13px; - right: 13px; height: 28px; - background: transparent url(img/shadow/bottom.png); -} -.v-shadow-window .bottom-right { - position: absolute; overflow: hidden; - bottom: -18px; right: -15px; - width: 28px; height: 28px; - background: transparent url(img/shadow/bottom-right.png); -} - } diff --git a/themes/src/main/themes/VAADIN/themes/runo/runo.scss b/themes/src/main/themes/VAADIN/themes/runo/runo.scss index d481476d4c..3c1110968b 100644 --- a/themes/src/main/themes/VAADIN/themes/runo/runo.scss +++ b/themes/src/main/themes/VAADIN/themes/runo/runo.scss @@ -39,7 +39,6 @@ $v-grid-header-background-color: #e7e9ea !default; @import "popupview/popupview.scss"; @import "progressindicator/progressindicator.scss"; @import "select/select.scss"; -@import "shadow/shadow.scss"; @import "slider/slider.scss"; @import "splitpanel/splitpanel.scss"; @import "table/table.scss"; @@ -82,7 +81,6 @@ $v-grid-header-background-color: #e7e9ea !default; @include runo-progressindicator(v-progressindicator); @include runo-select; - @include runo-shadow; @include runo-slider; @include runo-splitpanel; @include runo-table; diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-left.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-left.png deleted file mode 100644 index b119a13119..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-right.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-right.png deleted file mode 100644 index 50aaa3bedc..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom.png deleted file mode 100644 index 96af859986..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/bottom.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/center.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/center.png deleted file mode 100644 index d6fb99a889..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/center.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/left.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/left.png deleted file mode 100644 index 4c3611c842..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/right.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/right.png deleted file mode 100644 index 34a46e7b13..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-left.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-left.png deleted file mode 100644 index 27cf4d3f61..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-right.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-right.png deleted file mode 100644 index 7f187ca556..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top.png b/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top.png deleted file mode 100644 index b654d78da9..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/shadow/img/top.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/shadow/shadow.scss b/themes/src/main/themes/VAADIN/themes/runo/shadow/shadow.scss deleted file mode 100644 index f24cab1bd2..0000000000 --- a/themes/src/main/themes/VAADIN/themes/runo/shadow/shadow.scss +++ /dev/null @@ -1,72 +0,0 @@ -@mixin runo-shadow($primaryStyleName : v-shadow) { - -.#{$primaryStyleName} { - position: absolute; -} - -.#{$primaryStyleName} .top-left { - position: absolute; overflow: hidden; - top: -3px; left: -4px; - width: 8px; height: 8px; - background: transparent url(img/top-left.png); -} - -.#{$primaryStyleName} .top { - position: absolute; overflow: hidden; - top: -3px; left: 4px; - height: 8px; right: 4px; - background: transparent url(img/top.png); -} - -.#{$primaryStyleName} .top-right { - position: absolute; overflow: hidden; - top: -3px; right: -4px; - width: 8px; height: 8px; - background: transparent url(img/top-right.png); -} - -.#{$primaryStyleName} .left { - position: absolute; overflow: hidden; - top: 5px; left: -4px; - width: 8px; - bottom: 3px; - background: transparent url(img/left.png); -} - -.#{$primaryStyleName} .center { - position: absolute; overflow: hidden; - top: 5px; left: 4px; - bottom: 3px; right: 4px; - background: transparent url(img/center.png); -} - -.#{$primaryStyleName} .right { - position: absolute; overflow: hidden; - top: 5px; right: -4px; - width: 8px; - bottom: 3px; - background: transparent url(img/right.png); -} - -.#{$primaryStyleName} .bottom-left { - position: absolute; overflow: hidden; - bottom: -5px; left: -4px; - width: 8px; height: 8px; - background: transparent url(img/bottom-left.png); -} - -.#{$primaryStyleName} .bottom { - position: absolute; overflow: hidden; - bottom: -5px; left: 4px; - right: 4px; height: 8px; - background: transparent url(img/bottom.png); -} - -.#{$primaryStyleName} .bottom-right { - position: absolute; overflow: hidden; - bottom: -5px; right: -4px; - width: 8px; height: 8px; - background: transparent url(img/bottom-right.png); -} - -} \ No newline at end of file diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-left.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-left.png deleted file mode 100644 index 1ffd763faf..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-right.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-right.png deleted file mode 100644 index af3552a4bc..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom.png deleted file mode 100644 index ed24b66705..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/bottom.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/center.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/center.png deleted file mode 100644 index f3825db0fb..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/center.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/left.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/left.png deleted file mode 100644 index 4c0b430f22..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/right.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/right.png deleted file mode 100644 index f81cfa0ce4..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-left.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-left.png deleted file mode 100644 index 7f79389398..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-left.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-right.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-right.png deleted file mode 100644 index feb490d565..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top-right.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top.png b/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top.png deleted file mode 100644 index 10bcc450ee..0000000000 Binary files a/themes/src/main/themes/VAADIN/themes/runo/window/img/shadow/top.png and /dev/null differ diff --git a/themes/src/main/themes/VAADIN/themes/runo/window/window.scss b/themes/src/main/themes/VAADIN/themes/runo/window/window.scss index bf2081674c..9b298309c3 100644 --- a/themes/src/main/themes/VAADIN/themes/runo/window/window.scss +++ b/themes/src/main/themes/VAADIN/themes/runo/window/window.scss @@ -153,54 +153,4 @@ } } -/* Shadow for window */ -.v-shadow-window .top-left { - top: -13px; left: -20px; - width: 39px; height: 39px; - background: transparent url(img/shadow/top-left.png); -} -.v-shadow-window .top { - top: -13px; left: 19px; - height: 39px; - right: 19px; - background: transparent url(img/shadow/top.png); -} -.v-shadow-window .top-right { - top: -13px; right: -20px; - width: 39px; height: 39px; - background: transparent url(img/shadow/top-right.png); -} -.v-shadow-window .left { - top: 26px; left: -20px; - width: 39px; - bottom: 12px; - background: transparent url(img/shadow/left.png); -} -.v-shadow-window .center { - top: 26px; left: 19px; - bottom: 12px; right: 19px; - background: transparent url(img/shadow/center.png); -} -.v-shadow-window .right { - top: 26px; right: -20px; - width: 39px; - bottom: 12px; - background: transparent url(img/shadow/right.png); -} -.v-shadow-window .bottom-left { - bottom: -27px; left: -20px; - width: 39px; height: 39px; - background: transparent url(img/shadow/bottom-left.png); -} -.v-shadow-window .bottom { - bottom: -27px; left: 19px; - right: 19px; height: 39px; - background: transparent url(img/shadow/bottom.png); -} -.v-shadow-window .bottom-right { - bottom: -27px; right: -20px; - width: 39px; height: 39px; - background: transparent url(img/shadow/bottom-right.png); -} - } \ No newline at end of file diff --git a/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss b/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss index 5af159b4ff..1c6f0c6fbc 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/shared/_overlay.scss @@ -144,56 +144,6 @@ $v-selection-item-font-weight: max(400, $v-font-weight); */ $v-selection-item-selection-color: $v-selection-color !default; - - - - -/* - * Simulates CSS box-shadow using the extraneous shadow elements in the DOM. - * - * @access private - * @deprecated The .v-shadow element is deprecated since 7.3.0 - * @group overlay - */ -@mixin valo-ie8-shadow($shadow, $element: top) { - .#{$element} { - $shadow-offset-x: nth($shadow, 1); - $shadow-offset-y: nth($shadow, 2); - $shadow-blur: nth($shadow, 3); - $shadow-spread: 0; - @if length($shadow) > 4 { - $shadow-spread: nth($shadow, 4); - } - $shadow-color: last($shadow); - $shadow-color-opacity: round(opacity($shadow-color) * 100); - $shadow-color: opacify($shadow-color, 1); - - position: absolute; - top: $shadow-offset-y - $shadow-blur - $shadow-spread; - right: -$shadow-offset-x + $shadow-blur - $shadow-spread; - bottom: -$shadow-offset-y + $shadow-blur - $shadow-spread; - left: $shadow-offset-x - $shadow-blur - $shadow-spread; - background: $shadow-color; - filter: alpha(opacity=#{$shadow-color-opacity}) progid:DXImageTransform.Microsoft.blur(pixelradius=#{strip-units($shadow-blur)}, makeShadow=false); - } -} - - - - - -// Not needed in modern browsers -.v-shadow, -.v-shadow-window { - display: none; -} - - - - - - - /** * Outputs styles for overlay elements * -- cgit v1.2.3