UNPKG

audio-source-composer

Version:

Audio Source Composer

123 lines (96 loc) 2.24 kB
/** Editor Panels **/ div.asui-panel { /*background-color: #CCC;*/ /*border-radius: 4px;*/ vertical-align: top; /*display: inline-block;*/ margin: 1px; /*width: 100%;*/ } /** Transition **/ @keyframes slideOpen { 0% { max-height: 20px; /*max-width: 250px;*/ overflow: hidden; } 99% { max-height: 300px; /*max-width: 300px;*/ } 100% { max-height: inherit; /*max-width: inherit;*/ overflow: inherit; } } /** Header / Footer **/ div.asui-panel > div.footer, div.asui-panel > div.header { color: #FFF; font-size: 11px; font-weight: bold; text-align: center; margin: 0; } /** Header **/ div.asui-panel > div.header { background-color: #333; border-radius: 8px 8px 0 0; border-bottom: 1px solid #BBB; } div.asui-panel > div.header > div.text { white-space: nowrap; padding: 3px 2em 0px 2em; } div.asui-panel.view-mode > div.header > div.text { cursor: pointer; } div.asui-panel.large > div.header > div.text { padding: 1em; } div.asui-panel > div.header > div.config { float: right; padding-right: 4px; } /** Footer **/ div.asui-panel > div.footer { background: linear-gradient(to bottom, #CCC 0%,#666 100%); border-radius: 0 0 8px 8px ; min-height: 5px; } div.asui-panel.large > div.footer { min-height: 1em; } /** Container **/ div.asui-panel > div.container { background-color: #CCC; /*border-radius: 0 0 8px 8px;*/ /*overflow-y: auto;*/ display: flex; flex-wrap: wrap; min-height: 1.4em; } div.asui-panel.horizontal > div.container { flex-direction: column; } div.asui-panel.large > div.container { padding: 0.5em; } div.asui-panel:not(.minimize) > div.container { animation: slideOpen 0.4s ease-in; } /** Minimize **/ div.asui-panel.minimize { /*display: block !important;*/ } div.asui-panel.minimize > div.header { border-radius: 8px; } div.asui-panel.minimize > div.header > div.text { padding: 1em 2em; } /** Float **/ div.asui-panel.float { float: right; }