48 lines
921 B
CSS
48 lines
921 B
CSS
.app-preview {
|
|
width: 100%;
|
|
height: 100vh;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
background: var(--color-bg);
|
|
color: var(--color-text);
|
|
}
|
|
.app.is-preview {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 1fr;
|
|
}
|
|
.app.is-preview .app-nav {
|
|
display: none;
|
|
}
|
|
.app-preview-controls {
|
|
background: var(--color-bg-bright);
|
|
width: 80px;
|
|
color: var(--color-text);
|
|
height: 100vh;
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
.app-preview-logo {
|
|
margin: 50px 0 50px -5px;
|
|
max-width: 500px;
|
|
height: 22px;
|
|
transform: rotate(-90deg);
|
|
transform-origin: 50% 50%;
|
|
}
|
|
.app-preview-frame {
|
|
width: 100%;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background: white;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.app-preview-frame iframe {
|
|
border-radius: var(--radius);
|
|
margin: 0;
|
|
border: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
} |