Use a green horizontal line as the drag-and-drop placeholder
This commit is contained in:
parent
b99ac92a52
commit
08992dec7e
|
@ -1864,9 +1864,10 @@ $(document).ready(function(){
|
|||
handle: ".wihandle",
|
||||
start: sortableOnStart,
|
||||
stop: sortableOnStop,
|
||||
placeholder: "wisortable-placeholder",
|
||||
cursor: "move",
|
||||
tolerance: "pointer",
|
||||
opacity: 0.42,
|
||||
opacity: 0.21,
|
||||
revert: 173,
|
||||
scrollSensitivity: 64,
|
||||
scrollSpeed: 10,
|
||||
|
|
|
@ -262,6 +262,7 @@ chunk.editing, chunk.editing * {
|
|||
}
|
||||
|
||||
#wimenu {
|
||||
padding-top: 10px;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -566,6 +567,16 @@ chunk.editing, chunk.editing * {
|
|||
cursor: move;
|
||||
}
|
||||
|
||||
.wisortable-placeholder {
|
||||
height: 4px;
|
||||
transform: translate(0%, -14px);
|
||||
-moz-transform: translate(0%, -14px);
|
||||
-webkit-transform: translate(0%, -14px);
|
||||
-ms-transform: translate(0%, -14px);
|
||||
-o-transform: translate(0%, -14px);
|
||||
background-color: #3bf723;
|
||||
}
|
||||
|
||||
.wisortable-body {
|
||||
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<link rel="stylesheet" href="static/jquery-ui.sortable.min.css">
|
||||
<link rel="stylesheet" href="static/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="static/bootstrap-toggle.min.css">
|
||||
<link rel="stylesheet" href="static/custom.css?ver=1.16.4b">
|
||||
<link rel="stylesheet" href="static/custom.css?ver=1.16.4c">
|
||||
<link rel="stylesheet" href="static/open-iconic-bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue