UNPKG

gridstack-profile

Version:

TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)

217 lines (209 loc) 6.44 kB
/** * gridstack SASS styles 8.2.1-dev * Copyright (c) 2021 Alain Dumesny - see GridStack root license */ .grid-stack { position: relative; } .grid-stack-rtl { direction: ltr; } .grid-stack-rtl > .grid-stack-item { direction: rtl; } .grid-stack-placeholder > .placeholder-content { background-color: rgba(0, 0, 0, 0.1); margin: 0; position: absolute; width: auto; z-index: 0 !important; } .grid-stack > .grid-stack-item { position: absolute; top: 0px; left: 0%; padding: 0; } .grid-stack > .grid-stack-item > .grid-stack-item-content { margin: 0; position: absolute; width: auto; overflow-x: hidden; overflow-y: auto; } .grid-stack-item > .ui-resizable-handle { position: absolute; font-size: 0.1px; display: block; -ms-touch-action: none; touch-action: none; } .grid-stack-item.ui-resizable-disabled > .ui-resizable-handle, .grid-stack-item.ui-resizable-autohide > .ui-resizable-handle { display: none; } .grid-stack-item > .ui-resizable-ne, .grid-stack-item > .ui-resizable-nw, .grid-stack-item > .ui-resizable-se, .grid-stack-item > .ui-resizable-sw { background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lv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TQ4LTEuODA4LTkuMjMyLTUuNDIxLTEyLjg1NCAgIEMzMzguMTQyLDQwMy44MDIsMzMzLjg1Nyw0MDEuOTk0LDMyOC45MDYsNDAxLjk5NHoiIGZpbGw9IiM2NjY2NjYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K); background-repeat: no-repeat; background-position: center; } .grid-stack-item > .ui-resizable-ne { transform: translate(0, 10px) rotate(45deg); } .grid-stack-item > .ui-resizable-sw { transform: rotate(45deg); } .grid-stack-item > .ui-resizable-nw { transform: translate(0, 10px) rotate(-45deg); } .grid-stack-item > .ui-resizable-se { transform: rotate(-45deg); } .grid-stack-item > .ui-resizable-nw { cursor: nw-resize; width: 20px; height: 20px; top: 0; } .grid-stack-item > .ui-resizable-n { cursor: n-resize; height: 10px; top: 0; left: 25px; right: 25px; } .grid-stack-item > .ui-resizable-ne { cursor: ne-resize; width: 20px; height: 20px; top: 0; } .grid-stack-item > .ui-resizable-e { cursor: e-resize; width: 10px; top: 15px; bottom: 15px; } .grid-stack-item > .ui-resizable-se { cursor: se-resize; width: 20px; height: 20px; } .grid-stack-item > .ui-resizable-s { cursor: s-resize; height: 10px; left: 25px; bottom: 0; right: 25px; } .grid-stack-item > .ui-resizable-sw { cursor: sw-resize; width: 20px; height: 20px; } .grid-stack-item > .ui-resizable-w { cursor: w-resize; width: 10px; top: 15px; bottom: 15px; } .grid-stack-item.ui-draggable-dragging > .ui-resizable-handle { display: none !important; } .grid-stack-item.ui-draggable-dragging, .grid-stack-item.ui-resizable-resizing { z-index: 100; } .grid-stack-item.ui-draggable-dragging > .grid-stack-item-content, .grid-stack-item.ui-resizable-resizing > .grid-stack-item-content { box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2); opacity: 0.8; } .grid-stack-item.ui-draggable-dragging { will-change: left, top; cursor: move; } .grid-stack-item.ui-resizable-resizing { will-change: width, height; } .grid-stack-animate, .grid-stack-animate .grid-stack-item { transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s; } .grid-stack-animate .grid-stack-item.ui-draggable-dragging, .grid-stack-animate .grid-stack-item.ui-resizable-resizing, .grid-stack-animate .grid-stack-item.grid-stack-placeholder { transition: left 0s, top 0s, height 0s, width 0s; } .gs-12 > .grid-stack-item { width: 8.333%; } .gs-12 > .grid-stack-item[gs-x="1"] { left: 8.333%; } .gs-12 > .grid-stack-item[gs-w="2"] { width: 16.667%; } .gs-12 > .grid-stack-item[gs-x="2"] { left: 16.667%; } .gs-12 > .grid-stack-item[gs-w="3"] { width: 25%; } .gs-12 > .grid-stack-item[gs-x="3"] { left: 25%; } .gs-12 > .grid-stack-item[gs-w="4"] { width: 33.333%; } .gs-12 > .grid-stack-item[gs-x="4"] { left: 33.333%; } .gs-12 > .grid-stack-item[gs-w="5"] { width: 41.667%; } .gs-12 > .grid-stack-item[gs-x="5"] { left: 41.667%; } .gs-12 > .grid-stack-item[gs-w="6"] { width: 50%; } .gs-12 > .grid-stack-item[gs-x="6"] { left: 50%; } .gs-12 > .grid-stack-item[gs-w="7"] { width: 58.333%; } .gs-12 > .grid-stack-item[gs-x="7"] { left: 58.333%; } .gs-12 > .grid-stack-item[gs-w="8"] { width: 66.667%; } .gs-12 > .grid-stack-item[gs-x="8"] { left: 66.667%; } .gs-12 > .grid-stack-item[gs-w="9"] { width: 75%; } .gs-12 > .grid-stack-item[gs-x="9"] { left: 75%; } .gs-12 > .grid-stack-item[gs-w="10"] { width: 83.333%; } .gs-12 > .grid-stack-item[gs-x="10"] { left: 83.333%; } .gs-12 > .grid-stack-item[gs-w="11"] { width: 91.667%; } .gs-12 > .grid-stack-item[gs-x="11"] { left: 91.667%; } .gs-12 > .grid-stack-item[gs-w="12"] { width: 100%; } .gs-1 > .grid-stack-item { width: 100%; }