update store and views for new ui
This commit is contained in:
@ -6,17 +6,12 @@
|
||||
<section class="viewer">
|
||||
{#if $current}
|
||||
<Viewer></Viewer>
|
||||
<Controls></Controls>
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
<section class="queue">
|
||||
<Queue></Queue>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
<section class="controls">
|
||||
<Controls></Controls>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@ -33,59 +28,5 @@
|
||||
.app {
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
|
||||
display: grid;
|
||||
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
grid-template-areas:
|
||||
"header"
|
||||
"viewer"
|
||||
"queue"
|
||||
"controls";
|
||||
}
|
||||
|
||||
.header {
|
||||
grid-area: header;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: blueviolet;
|
||||
color: whitesmoke;
|
||||
|
||||
padding: 0.4rem 0.8rem;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.viewer {
|
||||
grid-area: viewer;
|
||||
}
|
||||
|
||||
.queue {
|
||||
grid-area: queue;
|
||||
}
|
||||
|
||||
.controls {
|
||||
grid-area: controls;
|
||||
width: 100%;
|
||||
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
|
||||
background: whitesmoke;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.app {
|
||||
grid-template-columns: 2fr 3fr;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
|
||||
grid-template-areas:
|
||||
"header queue"
|
||||
"viewer queue"
|
||||
"controls controls"
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user