From de4519fa2c45ca96d4bf0b9ce288cad600d09854 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 19 Feb 2016 22:59:47 -0500 Subject: Add subtasks drag and drop --- assets/css/src/table.css | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) (limited to 'assets/css/src') diff --git a/assets/css/src/table.css b/assets/css/src/table.css index 51d6ecde..49569381 100644 --- a/assets/css/src/table.css +++ b/assets/css/src/table.css @@ -62,7 +62,7 @@ th a:hover { text-overflow: ellipsis; } -.table-stripped tr:nth-child(odd) td { +.table-stripped tr:nth-child(odd) { background: #fefefe; } @@ -124,4 +124,38 @@ th a:hover { .column-70 { width: 70%; -} \ No newline at end of file +} + +.draggable-row-handle { + cursor: move; + color: #dedede; +} + +.draggable-row-handle:hover { + color: #333; +} + +tr.draggable-item-selected { + background: #fff; + border: 2px solid #666; + box-shadow: 4px 2px 10px -4px rgba(0,0,0,0.55); +} + +tr.draggable-item-selected td { + border-top: none; + border-bottom: none; +} + +tr.draggable-item-selected td:first-child { + border-left: none; +} + +tr.draggable-item-selected td:last-child { + border-right: none; +} + +.table-stripped tr.draggable-item-hover, +tr.draggable-item-hover { + background: #FEFFF2; +} + -- cgit v1.2.3