mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Drag handle icon is always visible
This commit is contained in:
parent
7ca83e9cdd
commit
077125a30a
@ -117,17 +117,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ss-gridfield-orderable .col-reorder {
|
.ss-gridfield-orderable .col-reorder {
|
||||||
|
position: relative;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
width: 16px !important;
|
width: 16px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ss-gridfield-orderable .col-reorder .handle {
|
.ss-gridfield-orderable .col-reorder .handle {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
cursor: move;
|
cursor: move;
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ss-gridfield-orderable tbody tr:hover .col-reorder .handle {
|
.ss-gridfield-orderable .col-reorder .handle .icon {
|
||||||
display: block;
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 5px;
|
||||||
|
height: 11px;
|
||||||
|
margin: -5px 0 0 -2px;
|
||||||
|
background-image: url('../../framework/thirdparty/jquery-ui-themes/smoothness/images/ui-icons_222222_256x240.png');
|
||||||
|
background-position: -5px -227px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ss-gridfield-orderhelper {
|
.ss-gridfield-orderhelper {
|
||||||
|
@ -1 +1 @@
|
|||||||
<span class="handle ui-icon ui-icon-grip-dotted-vertical"></span>
|
<span class="handle"><span class="icon"></span></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user