UNPKG

@pi0/framework7

Version:

Full featured mobile HTML framework for building iOS & Android apps

55 lines (54 loc) 1.24 kB
/* === Sortable === */ .sortable { .sortable-handler { position: absolute; top: 0; bottom: 1px; z-index: 10; background-repeat: no-repeat; background-size: 18px 12px; .svg-background("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='#c7c7cc'><path d='M0,2V0h22v2H0z'/><path d='M0,7V5h22v2H0z'/><path d='M0,12v-2h22v2H0z'/></svg>"); 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; } } & when (@include-ios-theme) { @import url('./sortable-ios.less'); } & when (@include-md-theme) { @import url('./sortable-md.less'); }