185 lines
2.9 KiB
Vue
185 lines
2.9 KiB
Vue
<script setup lang="ts">
|
|
import AppNavbarErr from "../components/layout/AppNavbar-err.vue";
|
|
import AppFooter from "~/components/layout/AppFooter.vue";
|
|
</script>
|
|
|
|
<template>
|
|
<div class="site-shell">
|
|
<!-- GLOBAL BACKGROUND -->
|
|
<div class="global-background" aria-hidden="true">
|
|
<!-- Fine Grid -->
|
|
<div
|
|
class="global-grid"
|
|
:style="{
|
|
backgroundImage: `
|
|
linear-gradient(
|
|
to right,
|
|
var(--grid) 1px,
|
|
transparent 1px
|
|
),
|
|
linear-gradient(
|
|
to bottom,
|
|
var(--grid) 1px,
|
|
transparent 1px
|
|
)
|
|
`,
|
|
backgroundSize: '72px 72px',
|
|
}"
|
|
></div>
|
|
|
|
<!-- Vertical Technical Lines -->
|
|
<!-- <div class="guide-line guide-left"></div>
|
|
<div class="guide-line guide-right"></div> -->
|
|
|
|
<!-- Horizontal Technical Lines -->
|
|
<!-- <div class="guide-line guide-top"></div>
|
|
<div class="guide-line guide-bottom"></div> -->
|
|
|
|
<!-- Corner Marks -->
|
|
<!-- <div class="corner corner-tl"></div>
|
|
<div class="corner corner-tr"></div>
|
|
<div class="corner corner-bl"></div>
|
|
<div class="corner corner-br"></div> -->
|
|
</div>
|
|
|
|
<!-- NAVBAR -->
|
|
<AppNavbarErr />
|
|
|
|
<!-- CONTENT -->
|
|
<main class="page-content">
|
|
<slot />
|
|
</main>
|
|
|
|
<!-- FOOTER -->
|
|
<footer class="site-footer">
|
|
<AppFooter />
|
|
</footer>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.site-shell {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
.global-background {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.global-grid {
|
|
position: absolute;
|
|
inset: 0;
|
|
|
|
opacity: 0.45;
|
|
|
|
background-image:
|
|
linear-gradient(
|
|
to right,
|
|
var(--grid) 1px,
|
|
transparent 1px
|
|
),
|
|
linear-gradient(
|
|
to bottom,
|
|
var(--grid) 1px,
|
|
transparent 1px
|
|
);
|
|
|
|
background-size: 72px 72px;
|
|
}
|
|
|
|
.guide-line {
|
|
position: absolute;
|
|
background: var(--grid);
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.guide-left,
|
|
.guide-right {
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 1px;
|
|
}
|
|
|
|
.guide-left {
|
|
left: 18%;
|
|
}
|
|
|
|
.guide-right {
|
|
right: 18%;
|
|
}
|
|
|
|
.guide-top,
|
|
.guide-bottom {
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
}
|
|
|
|
.guide-top {
|
|
top: 22%;
|
|
}
|
|
|
|
.guide-bottom {
|
|
bottom: 18%;
|
|
}
|
|
|
|
.corner {
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
|
|
border-color: var(--text-muted);
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.corner-tl {
|
|
top: 22%;
|
|
left: 18%;
|
|
|
|
border-top: 1px solid;
|
|
border-left: 1px solid;
|
|
}
|
|
|
|
.corner-tr {
|
|
top: 22%;
|
|
right: 18%;
|
|
|
|
border-top: 1px solid;
|
|
border-right: 1px solid;
|
|
}
|
|
|
|
.corner-bl {
|
|
bottom: 18%;
|
|
left: 18%;
|
|
|
|
border-bottom: 1px solid;
|
|
border-left: 1px solid;
|
|
}
|
|
|
|
.corner-br {
|
|
right: 18%;
|
|
bottom: 18%;
|
|
|
|
border-right: 1px solid;
|
|
border-bottom: 1px solid;
|
|
}
|
|
|
|
.page-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.site-footer {
|
|
position: relative;
|
|
z-index: 2;
|
|
background: var(--bg);
|
|
}
|
|
</style>
|