/*! UIkit 2.27.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ /* ======================================================================== Component: Nestable ========================================================================== */ .cw-nestable { padding: 0; list-style: none; } /* * Disables the default callout shown when you touch and hold a touch target * Currently only works in Webkit */ .cw-nestable a, .cw-nestable img { -webkit-touch-callout: none; } /* Sub-object `cw-nestable-list` ========================================================================== */ .cw-nestable-list { margin: 0; padding-left: 40px; list-style: none; } /* Sub-modifier `cw-nestable-item` ========================================================================== */ /* * 1. Deactivate browser touch actions in IE11 */ .cw-nestable-item { /* 1 */ touch-action: none; } .cw-nestable-item + .cw-nestable-item { margin-top: 10px; } .cw-nestable-list:not(.cw-nestable-dragged) > .cw-nestable-item:first-child { margin-top: 10px; } /* Sub-modifier `cw-nestable-dragged` ========================================================================== */ /* * 1. Reset style */ .cw-nestable-dragged { position: absolute; z-index: 1050; pointer-events: none; /* 1 */ padding-left: 0; } /* Sub-modifier `cw-nestable-placeholder` ========================================================================== */ .cw-nestable-placeholder { position: relative; } .cw-nestable-placeholder > * { opacity: 0; } .cw-nestable-placeholder:after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; border: 1px dashed #ddd; opacity: 1; } /* Empty List ========================================================================== */ .cw-nestable-empty { min-height: 30px; } /* Sub-object `cw-nestable-handle` ========================================================================== */ /* * Deactivate browser touch actions in IE11 */ .cw-nestable-handle { touch-action: none; } /* Hover */ .cw-nestable-handle:hover { cursor: move; } /* Sub-object `cw-nestable-moving` ========================================================================== */ .cw-nestable-moving, .cw-nestable-moving * { cursor: move; } /* Fixes dragging items over iframes */ .cw-nestable-moving iframe { pointer-events: none; } /* [data-nestable-action='toggle'] ========================================================================== */ /* * 1. Makes text unselectable. Happens if double clicked by mistake */ [data-nestable-action='toggle'] { cursor: pointer; /* 1 */ -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } /* Sub-object `.cw-nestable-toggle` ========================================================================== */ .cw-nestable-toggle { display: inline-block; visibility: hidden; } .cw-nestable-toggle:after { content: "\f147"; font-family: FontAwesome; } .cw-parent > :not(.cw-nestable-list) .cw-nestable-toggle { visibility: visible; } /* * Collapsed */ .cw-collapsed .cw-nestable-list { display: none; } .cw-collapsed .cw-nestable-toggle:after { content: "\f196"; } /* Sub-object `cw-nestable-panel` ========================================================================== */ .cw-nestable-panel { padding: 5px; background: #f5f5f5; }