Drag handle icon is always visible

This commit is contained in:
Thierry François 2014-12-02 17:05:01 +02:00
parent 7ca83e9cdd
commit 077125a30a
2 changed files with 16 additions and 4 deletions

View File

@ -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 {

View File

@ -1 +1 @@
<span class="handle ui-icon ui-icon-grip-dotted-vertical"></span> <span class="handle"><span class="icon"></span></span>