aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-11-21 13:38:31 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-11-21 13:38:31 +0000
commitfdc8e9a3445612adb21e620ca9822455663e34ba (patch)
tree51e17ed9913d7cbf374788f5c5e8a651e527494c /WebContent
parente8f99a58c30d2813f0ddc60787fe7dc8774dac4e (diff)
downloadvaadin-framework-fdc8e9a3445612adb21e620ca9822455663e34ba.tar.gz
vaadin-framework-fdc8e9a3445612adb21e620ca9822455663e34ba.zip
dragandropwrapper can now initiate html5 drags, fixes #7833
svn changeset:22081/svn branch:6.8
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css b/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css
index f7654a0296..2061fec8c3 100644
--- a/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css
+++ b/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css
@@ -3,6 +3,27 @@
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
+ position: relative;
+}
+[draggable=true] {
+ -khtml-user-drag: element;
+ -webkit-user-drag: element;
+ -khtml-user-select: none;
+ -webkit-user-select: none;
+}
+.v-ie .v-ddwrapper a.drag-start {
+ display: block;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ width: 100%;
+ height: 100%;
+ opacity: 0;
+ /* Some color needed to make it draggable */
+ background-color:cyan;
+ filter: alpha(opacity=0);
}
.v-ddwrapper-over {
border: 2px solid #1d9dff;