aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/dragwrapper
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2010-03-24 10:20:36 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2010-03-24 10:20:36 +0000
commitd0413c62982ab2d2fe6182d0cffc08f7a06c0a17 (patch)
tree7656cc71e2188d14272901b2d5bdd7eb8ba55df6 /WebContent/VAADIN/themes/base/dragwrapper
parent4e1d1321ec50c130aafca8d1251a71f12f5e28d1 (diff)
downloadvaadin-framework-d0413c62982ab2d2fe6182d0cffc08f7a06c0a17.tar.gz
vaadin-framework-d0413c62982ab2d2fe6182d0cffc08f7a06c0a17.zip
Drag-n-drop related styles.
svn changeset:12056/svn branch:6.3
Diffstat (limited to 'WebContent/VAADIN/themes/base/dragwrapper')
-rw-r--r--WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css131
1 files changed, 131 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css b/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css
new file mode 100644
index 0000000000..56288306d2
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.css
@@ -0,0 +1,131 @@
+.v-ddwrapper {
+ padding: 2px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+}
+.v-ddwrapper-over {
+ border: 2px solid #1d9dff;
+ background-color: #bcdcff;
+ padding: 0;
+}
+.v-ddwrapper-over {
+ background-color: rgba(169,209,255,.6);
+}
+.no-box-drag-hints .v-ddwrapper-over {
+ border: none;
+ background-color: transparent;
+ padding: 2px;
+}
+.v-app .v-ddwrapper-over-top,
+.v-window .v-ddwrapper-over-top,
+.v-popupview-popup .v-ddwrapper-over-top {
+ border: none;
+ border-top: 2px solid #1d9dff;
+ background-color: transparent;
+ padding: 2px;
+ padding-top: 0;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+}
+.v-app .v-ddwrapper-over-bottom,
+.v-window .v-ddwrapper-over-bottom,
+.v-popupview-popup .v-ddwrapper-over-bottom {
+ border: none;
+ border-bottom: 2px solid #1d9dff;
+ background-color: transparent;
+ padding: 2px;
+ padding-bottom: 0;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+}
+.v-app .v-ddwrapper-over-left,
+.v-window .v-ddwrapper-over-left,
+.v-popupview-popup .v-ddwrapper-over-left {
+ border: none;
+ border-left: 2px solid #1d9dff;
+ background-color: transparent;
+ padding: 2px;
+ padding-left: 0;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+}
+.v-app .v-ddwrapper-over-right,
+.v-window .v-ddwrapper-over-right,
+.v-popupview-popup .v-ddwrapper-over-right {
+ border: none;
+ border-right: 2px solid #1d9dff;
+ background-color: transparent;
+ padding: 2px;
+ padding-right: 0;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ border-radius: 0;
+}
+.v-ddwrapper,
+.v-ddwrapper-over,
+.v-app .v-ddwrapper-over-top,
+.v-window .v-ddwrapper-over-top,
+.v-popupview-popup .v-ddwrapper-over-top,
+.v-app .v-ddwrapper-over-bottom,
+.v-window .v-ddwrapper-over-bottom,
+.v-popupview-popup .v-ddwrapper-over-bottom,
+.v-app .v-ddwrapper-over-left,
+.v-window .v-ddwrapper-over-left,
+.v-popupview-popup .v-ddwrapper-over-left,
+.v-app .v-ddwrapper-over-right,
+.v-window .v-ddwrapper-over-right,
+.v-popupview-popup .v-ddwrapper-over-right {
+ border-color: rgba(0,109,232,.6);
+}
+
+.v-ddwrapper-over-top:before,
+.v-ddwrapper-over-bottom:after,
+.v-ddwrapper-over-left:before,
+.v-ddwrapper-over-right:before {
+ display: block;
+ content: "";
+ position: absolute;
+ width: 6px;
+ height: 6px;
+ margin-top: -4px;
+ margin-left: -2px;
+ background: transparent url(../common/img/drag-slot-dot.png) no-repeat;
+}
+.v-ddwrapper-over-bottom:after {
+ margin-top: -2px;
+}
+.v-ddwrapper-over-left:before,
+.v-ddwrapper-over-right:before {
+ background-position: 0 -6px;
+ margin-top: -2px;
+ margin-left: -4px;
+}
+.v-ddwrapper-over-right:before {
+ position: relative;
+ margin-bottom: -4px;
+ margin-right: -4px;
+ margin-left: 0;
+ width: auto;
+ background-position: 100% -6px;
+}
+
+.no-horizontal-drag-hints .v-ddwrapper-over-left {
+ padding-left: 2px;
+ border-left: none;
+}
+.no-horizontal-drag-hints .v-ddwrapper-over-right {
+ padding-right: 2px;
+ border-right: none;
+}
+.no-vertical-drag-hints .v-ddwrapper-over-top {
+ padding-top: 2px;
+ border-top: none;
+}
+.no-vertical-drag-hints .v-ddwrapper-over-bottom {
+ padding-bottom: 2px;
+ border-bottom: none;
+}