1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

Optimize/drag and drop UI (#7432)

* update the sorting effect in views tree

* update table header sort ui

---------

Co-authored-by: zhouwenxuan <aries@Mac.local>
This commit is contained in:
Aries
2025-02-07 18:50:08 +08:00
committed by GitHub
parent db1ea4f07d
commit 5b5423c63f
9 changed files with 98 additions and 45 deletions

View File

@@ -86,6 +86,10 @@
background: #f8f8f8;
}
.grid-drop-show * {
pointer-events: none;
}
.selection-box {
position: absolute;
background-color: rgba(0, 120, 215, 0.3);

View File

@@ -124,7 +124,24 @@
}
.tree-node-drop {
background-color: #FFEFB2;
border-radius: 4px;
background-color: rgb(200, 220, 240);
}
.tree-node-sort {
position: relative;
}
.tree-node-sort::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background-color: rgb(200, 220, 240);
border-radius: 2px;
z-index: 1;
}
.tree-node-icon {
@@ -305,7 +322,7 @@
}
.dir-view-path .path-item-drop {
background-color: #FFEFB2;
background-color: rgb(200, 220, 240);
}
.dir-view-path .path-split {