-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
62 lines (61 loc) · 1.76 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<template>
<NuxtLayout class="max-w-screen max-h-screen">
<template #top>
<div class="h-[1.5em] bottom-border flex flex-row">
<div class="font-ttw select-none ml-2 mr-3 self-center">
open-konstruktor
</div>
<div class="flex-1">
<MenuBar />
</div>
</div>
</template>
<template #bottom>
<div class="h-[1.5em] top-border"></div>
</template>
<template #left>
<div class="w-[10em] h-full right-border flex flex-col">
<div class="text-xs font-ttw text-center m-1 select-none">Designs</div>
<ToolboxDesignSelect class="flex-1" />
<div class="text-xs font-ttw text-center m-1 select-none">Snippets</div>
<ToolboxSnippetsSelect class="flex-1" />
</div>
</template>
<template #right>
<div class="w-[5em] h-full left-border flex flex-col">
<div class="text-xs font-ttw text-center m-1 select-none">Toolbox</div>
<ToolboxControls class="mx-2" />
</div>
</template>
<div class="absolute inset-0">
<div class="flex flex-col h-full">
<div class="flex-1 overflow-hidden">
<CircuitField />
</div>
<div class="top-border">
<CircuitScope class="min-h-[10em]" />
</div>
<div class="top-border py-2">
<CircuitControls class="w-full h-full" />
</div>
</div>
<div class="absolute inset-x-0 top-0 flex flex-row justify-center">
<DialogInfoBox class="m-2 w-[1000px]" />
</div>
</div>
</NuxtLayout>
</template>
<style scoped>
.bottom-border {
border-bottom: 1px solid black;
}
.top-border {
border-top: 1px solid black;
}
.left-border {
border-left: 1px solid black;
}
.right-border {
border-right: 1px solid black;
}
</style>