diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-11-21 13:38:31 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2011-11-21 13:38:31 +0000 |
commit | fdc8e9a3445612adb21e620ca9822455663e34ba (patch) | |
tree | 51e17ed9913d7cbf374788f5c5e8a651e527494c /WebContent | |
parent | e8f99a58c30d2813f0ddc60787fe7dc8774dac4e (diff) | |
download | vaadin-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.css | 21 |
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; |