summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/table
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/table
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/table')
-rw-r--r--WebContent/VAADIN/themes/base/table/table.css35
1 files changed, 26 insertions, 9 deletions
diff --git a/WebContent/VAADIN/themes/base/table/table.css b/WebContent/VAADIN/themes/base/table/table.css
index 783fec6604..d7c9459e9e 100644
--- a/WebContent/VAADIN/themes/base/table/table.css
+++ b/WebContent/VAADIN/themes/base/table/table.css
@@ -159,22 +159,39 @@
.v-off {
color: #ddd;
}
-
+/*************************************
+ * Drag'n'drop styles
+ *************************************/
+.v-table-drag .v-table-body {
+ border-color: #1d9dff;
+}
.v-table-row-drag-middle .v-table-cell-content {
- background-color: cyan;
+ background-color: #bcdcff;
}
.v-table-row-drag-top .v-table-cell-content {
- border-top: 1px solid cyan ;
+ border-top: 2px solid #1d9dff;
}
.v-table-row-drag-top .v-table-cell-wrapper {
- margin-top: -1px; /* compensate the space consumed by border hint */
+ margin-top: -2px; /* compensate the space consumed by border hint */
}
.v-table-row-drag-bottom .v-table-cell-content {
- border-bottom: 1px solid cyan;
+ border-bottom: 2px solid #1d9dff;
}
.v-table-row-drag-bottom .v-table-cell-wrapper {
- margin-bottom: -1px; /* compensate the space consumed by border hint */
+ margin-bottom: -2px; /* compensate the space consumed by border hint */
}
-
-
-
+.v-table-row-drag-top .v-table-cell-content:first-child:before,
+.v-table-row-drag-bottom .v-table-cell-content:first-child:after {
+ display: block;
+ content: "";
+ position: absolute;
+ width: 6px;
+ height: 6px;
+ margin-top: -4px;
+ margin-left: -6px;
+ background: transparent url(../common/img/drag-slot-dot.png);
+}
+.v-ff .v-table-row-drag-bottom .v-table-cell-content:first-child:after,
+.v-ie .v-table-row-drag-bottom .v-table-cell-content:first-child:after {
+ margin-top: -2px;
+} \ No newline at end of file