24 lines
2.0 KiB
CSS
24 lines
2.0 KiB
CSS
.slides-page{height:100dvh;margin:0;display:flex;flex-direction:column;overflow:hidden}
|
|
.slides-page .topbar{position:static;flex-shrink:0;display:flex;gap:1rem;align-items:center;padding:.5rem 1rem}
|
|
.slides-page .topbar span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
.slides-page [data-slides-viewer]{flex:1;min-height:0;width:100%}
|
|
.slides-preview{position:relative;min-height:300px;background:var(--bg);color:var(--fg)}
|
|
.slides-frame{display:block;border:0;width:100%;height:100%;min-height:300px;background:inherit}
|
|
.slides-frame[hidden],.slides-fallback[hidden]{display:none!important}
|
|
.slides-fallback{padding:1rem;overflow:auto;max-height:100%}
|
|
.slides-fallback section{padding:1rem;border-bottom:1px solid var(--border)}
|
|
.slides-preview:fullscreen{background:var(--bg);height:100dvh;width:100vw}
|
|
.mode-editor .slides-preview{padding:0!important;height:100%;overflow:hidden}
|
|
[data-editor-action=slides][aria-pressed=true]{color:var(--accent);background:var(--bg-elevated,var(--bg))}
|
|
@media(max-width:700px){.slides-frame{min-height:240px}.slides-page .topbar button,.slides-page .topbar a{min-height:44px;min-width:44px;display:grid;place-items:center}}
|
|
@media(max-width:700px){
|
|
body.mode-editor:has([data-editor-action=slides]){display:flex;flex-direction:column;height:100dvh}
|
|
body.mode-editor:has([data-editor-action=slides]) .topbar{height:auto;flex-shrink:0;flex-wrap:wrap;gap:.25rem}
|
|
body.mode-editor:has([data-editor-action=slides]) .topbar .brand,body.mode-editor:has([data-editor-action=slides]) .auth-user-name{display:none}
|
|
body.mode-editor:has([data-editor-action=slides]) .editor-head{flex:0 0 100%;order:1;gap:.5rem}
|
|
body.mode-editor:has([data-editor-action=slides]) .editor-head-right{flex-shrink:0}
|
|
body.mode-editor:has([data-editor-action=slides]) .container{flex:1;min-height:0;height:auto}
|
|
body.mode-editor .editor-grid:has(.slides-preview):not(.preview-hidden){grid-template-columns:1fr!important}
|
|
body.mode-editor .editor-grid:has(.slides-preview):not(.preview-hidden) .editor-pane{display:none}
|
|
}
|