.appGridWrapper { display: flex; flex-direction: column; flex-grow: 1; } .appGrid { display: grid; grid-template-columns: 240px 1fr; grid-template-rows: auto 1fr 210px; overflow: hidden; } .appGrid header { grid-row: 1; grid-column: 1/3; } .appGrid .settings { grid-column: 1; grid-row: 2; background-color: var(--c400); } .appGrid .viewer { grid-column: 2; grid-row: 2; background-color: var(--c200); } .appGrid .tools { grid-column: 1; grid-row: 3; background-color: var(--c300); } .appGrid .timeline { grid-column: 2; grid-row: 3; background-color: var(--c100); } .appGrid .viewer { display: grid; grid-template-rows: 1fr 80px; } .appGrid .viewer .player { margin: 16px; margin-bottom: 0px; } .appGrid .viewer .player .outer { border: 8px solid var(--piss); border-radius: 8px; } .appGrid .viewer .player { --aspect-ratio-h: 16; --aspect-ratio-v: 9; } .appGrid .viewer .player .outer { aspect-ratio: 16 / 9; max-width: 100%; max-height: 100%; width: 100%; } .appGrid .viewer .controls { position: relative; } .appGrid .viewer .controls .abscenter { margin-left: 24px; } .appGrid .viewer .controls .r0 { margin-right: 16px; } .appGrid .viewer .controls .MuiFab-root.playPause { background-color: var(--blue); } .appGrid .viewer .controls .MuiFab-root { color: var(--fg); } .appGrid .viewer .controls .MuiFab-root:not(.playPause) { background-color: var(--transparent); box-shadow: none; margin: 4px; }