Component-Builder/admin/custom/uikit/css/components/sortable.css

67 lines
1.7 KiB
CSS

/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
/* ========================================================================
Component: Sortable
========================================================================== */
.uk-sortable {
position: relative;
}
/*
* Deactivate browser touch actions in IE11
*/
.uk-sortable > * {
touch-action: none;
}
/*
* Disables the default callout shown when you touch and hold a touch target
* Currently only works in Webkit
*/
.uk-sortable a,
.uk-sortable img {
-webkit-touch-callout: none;
}
/*
* Remove margin from the last-child
*/
.uk-sortable > :last-child {
margin-bottom: 0;
}
/* Sub-modifier `uk-sortable-dragged`
========================================================================== */
.uk-sortable-dragged {
position: absolute;
z-index: 1050;
pointer-events: none;
}
/* Sub-modifier `uk-sortable-placeholder`
========================================================================== */
.uk-sortable-placeholder {
opacity: 0;
}
/* Empty List
========================================================================== */
.uk-sortable-empty {
min-height: 30px;
}
/* Sub-object `uk-sortable-handle`
========================================================================== */
/*
* Deactivate browser touch actions in IE11
*/
.uk-sortable-handle {
touch-action: none;
}
/* Hover */
.uk-sortable-handle:hover {
cursor: move;
}
/* Sub-object `uk-sortable-moving`
========================================================================== */
.uk-sortable-moving,
.uk-sortable-moving * {
cursor: move;
}
/* Fixes dragging items over iframes */
.uk-sortable-moving iframe {
pointer-events: none;
}