From db8155f6aeec994d1a623b768bbbd1058c0e8bfc Mon Sep 17 00:00:00 2001 From: Catouse Date: Wed, 16 May 2018 15:31:13 +0800 Subject: [PATCH] * improve UI for sortable table. --- module/common/view/sortable.html.php | 2 +- module/product/view/all.html.php | 3 ++- module/project/view/all.html.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/common/view/sortable.html.php b/module/common/view/sortable.html.php index 440261dfcd..a3ed8424bf 100644 --- a/module/common/view/sortable.html.php +++ b/module/common/view/sortable.html.php @@ -7,7 +7,7 @@ tbody.sortable-sorting > tr {transition: all .2s; position: relative; z-index: 5 tbody.sortable-sorting {cursor: move;} tbody.sortable-sorting > tr.drag-row {opacity: 1; z-index: 10; box-shadow: 0 2px 4px red} tbody.sortable-sorting > tr.drag-row + tr > td {box-shadow: inset 0 4px 2px rgba(0,0,0,.2)} -tbody.sortable-sorting > tr.drag-row > td {background-color: #edf3fe!important} +tbody.sortable-sorting > tr.drag-row > td {background-color: #E9F2FB!important} tbody.sortable > tr.drop-success > td {background-color: #cfe0ff; transition: background-color 2s;}