mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 20:53:57 +00:00
left iconbar
This commit is contained in:
31
packages/web-svelte/src/Screen.svelte
Normal file
31
packages/web-svelte/src/Screen.svelte
Normal file
@@ -0,0 +1,31 @@
|
||||
<script lang="ts">
|
||||
import WidgetIconPanel from './widgets/WidgetIconPanel.svelte';
|
||||
</script>
|
||||
|
||||
<div class="theme-dark">
|
||||
<div class="iconbar">
|
||||
<WidgetIconPanel />
|
||||
</div>
|
||||
<div class="statusbar" />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--widget-icon-size: 50px;
|
||||
--statusbar-height: 20px;
|
||||
}
|
||||
.iconbar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: var(--statusbar-height);
|
||||
width: var(--widget-icon-size);
|
||||
}
|
||||
.statusbar {
|
||||
position: fixed;
|
||||
height: var(--statusbar-height);
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user