summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-11-14 09:50:00 +0000
committerDries Buytaert <dries@buytaert.net>2007-11-14 09:50:00 +0000
commit6049f23760cc3653e46ee4bf3f7843590d9954f8 (patch)
treeed41382080f5f28965e5c73bc9eb4a9ccb565f37 /modules/system
parent44373cf0b16a181b5dd380b1f6e6aae1e2d118d5 (diff)
downloadbrdo-6049f23760cc3653e46ee4bf3f7843590d9954f8.tar.gz
brdo-6049f23760cc3653e46ee4bf3f7843590d9954f8.tar.bz2
- Patch #181066 by quicksketch et al: drag and drop of table rows on the block adminsitration page.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.css48
1 files changed, 48 insertions, 0 deletions
diff --git a/modules/system/system.css b/modules/system/system.css
index 795ed99cc..172fc29a8 100644
--- a/modules/system/system.css
+++ b/modules/system/system.css
@@ -3,6 +3,9 @@
/*
** HTML elements
*/
+body.drag {
+ cursor: move;
+}
th.active img {
display: inline;
}
@@ -11,6 +14,12 @@ tr.even, tr.odd {
border-bottom: 1px solid #ccc;
padding: 0.1em 0.6em;
}
+tr.drag {
+ background-color: #fffff0;
+}
+tr.drag-previous {
+ background-color: #ffd;
+}
td.active {
background-color: #ddd;
}
@@ -32,6 +41,21 @@ thead th {
.breadcrumb {
padding-bottom: .5em
}
+div.indentation {
+ width: 20px;
+ margin: -0.4em 0.2em -0.4em -0.4em;
+ padding: 0.4em 0 0.4em 0.6em;
+ float: left;
+}
+div.tree-child {
+ background: url(../../misc/tree.png) no-repeat 11px center;
+}
+div.tree-child-last {
+ background: url(../../misc/tree-bottom.png) no-repeat 11px center;
+}
+div.tree-child-horizontal {
+ background: url(../../misc/tree.png) no-repeat -11px center;
+}
.error {
color: #e55;
}
@@ -334,6 +358,30 @@ html.js .resizable-textarea textarea {
}
/*
+** Table drag and drop.
+*/
+a.tabledrag-handle {
+ cursor: move;
+ float: left;
+ height: 1.7em;
+ margin: -0.42em 0 -0.42em -0.5em;
+ padding: 0.42em 1.5em 0.42em 0.5em;
+ text-decoration: none;
+}
+a.tabledrag-handle:hover {
+ text-decoration: none;
+}
+a.tabledrag-handle .handle {
+ margin-top: 4px;
+ height: 13px;
+ width: 13px;
+ background: url(../../misc/draggable.png) no-repeat 0 0;
+}
+a.tabledrag-handle-hover .handle {
+ background-position: 0 -20px;
+}
+
+/*
** Teaser splitter
*/
.joined + .grippie {