UNPKG

framework7

Version:

Full featured mobile HTML framework for building iOS & Android apps

64 lines (63 loc) 1.23 kB
/* === Sortable === */ .sortable { .sortable-handler { position: absolute; top: 0; bottom: 1px; z-index: 10; background-repeat: no-repeat; background-size: 18px 12px; opacity: 0; pointer-events: none; cursor: move; transition-duration: 300ms; .ltr({ right: 0; background-position: 100% 50%; }); .rtl({ left: 0; background-position: 0% 50%; }); } .item-inner { transition-duration: 300ms; } li.sorting { z-index: 50; background: rgba(255,255,255,0.8); transition-duration: 0ms; .item-inner { .hairline-remove(bottom); } } } .sortable-sorting li { transition-duration: 300ms; } .sortable-enabled { .sortable-handler { pointer-events: auto; opacity: 1; background-position: 50% 50%; } .item-link .item-inner, .item-link .item-title-row { background-image: none !important; } } // Dark Theme & when (@includeDarkTheme) { .theme-dark { .sortable, .sortable& { li.sorting { background-color: rgba(50, 50, 50, 0.8) } } } } & when (@includeIosTheme) { @import url('./sortable-ios.less'); } & when (@includeMdTheme) { @import url('./sortable-md.less'); }