UNPKG

@bigfishtv/cockpit

Version:

113 lines (95 loc) 1.71 kB
.finder { margin: (@gutter * 2); max-height: calc(~'100vh - @{bulkhead-height}'); background: @white; border: 1px solid @light-grey; box-shadow: 0px 1px 5px fade(@black, 3.5%); [aria-label='grid'] { overflow-x: hidden !important; } @media @small-up { display: flex; flex: 1 0 auto; } } // Finder Menu .finder-menu { display: flex; flex-direction: column; flex: 0 0 24rem; max-width: 24rem; @media @large-up { flex: 0 0 30rem; max-width: 30rem; } @media @xsmall { display: block; } @media @small-up { border-right: 1px solid @light-grey; } .panel-content { max-height: calc(~'100vh - @{bulkhead-height} - (@{gutter} * 2) - 77px'); // Todo measure this properly } } // Finder Content .finder-content { flex: 1 0 auto; position: relative; background: @white; @media @small-up { .panel { position: absolute; width: 100%; height: 100%; } } .public_fixedDataTable_main { border: none; } .images { padding: @padding-small; } } .modal > .modal-inner > .panel > .panel-content { position: relative; > .finder { position: absolute; width: 100%; height: 100%; > .finder-content > .panel { margin: 0; } } } // Finder panel .finder { .file-drop-container { .cover(); } .panel { display: flex; flex-direction: column; flex: 1 0 auto; margin-bottom: 0; width: 100%; max-height: 100%; border: none; } .panel-header { flex: 0 0 auto; background: @white; border-bottom: 1px solid @light-grey; } .panel-content { flex: 1 1 auto; padding: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; } .panel-footer { flex: 0 0 auto; border-top: 1px solid @light-grey; } }