69 lines
1.3 KiB
Vue
Executable File
69 lines
1.3 KiB
Vue
Executable File
<script lang="ts" setup>
|
|
const colorMode = useColorMode()
|
|
const {$gsap} = useNuxtApp()
|
|
onMounted(() => {
|
|
const tl = $gsap.timeline({defaults: {duration: 0.5}})
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="login-layout">
|
|
<div class="art"></div>
|
|
<div class="left-content">
|
|
<NuxtPage/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
@import "base";
|
|
|
|
.login-layout{
|
|
background: white;
|
|
height: 100%;
|
|
min-height: 100vh;
|
|
width: 100%;
|
|
padding: 32px;
|
|
gap: 32px;
|
|
display: grid;
|
|
grid-template-columns: 1fr minmax(800px,1fr);
|
|
grid-template-rows: 1fr;
|
|
*{
|
|
@include SC_Font;
|
|
}
|
|
>div{
|
|
border-radius: $radius;
|
|
}
|
|
}
|
|
.art{
|
|
background: url("/bg1.jpg") no-repeat center center / cover;
|
|
//border: $border;
|
|
box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
|
|
}
|
|
.left-content{
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
.affirm{
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 33%;
|
|
color: #959CB6;
|
|
text-align: center;
|
|
font-feature-settings: 'clig' off, 'liga' off;
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 100%; /* 16px */
|
|
letter-spacing: 0.16px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1200px){
|
|
.login-layout{
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: 200px 1fr;
|
|
}
|
|
}
|
|
</style> |