mirror of https://github.com/halo-dev/halo
parent
05df5f626b
commit
f9f00181c6
24
src/App.vue
24
src/App.vue
|
@ -8,6 +8,30 @@ import { RouterView } from "vue-router";
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
body {
|
body {
|
||||||
|
overflow-y: overlay;
|
||||||
background: #eff4f9;
|
background: #eff4f9;
|
||||||
}
|
}
|
||||||
|
*::-webkit-scrollbar-track-piece {
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
-webkit-border-radius: 2em;
|
||||||
|
-moz-border-radius: 2em;
|
||||||
|
border-radius: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #ddd;
|
||||||
|
background-clip: padding-box;
|
||||||
|
-webkit-border-radius: 2em;
|
||||||
|
-moz-border-radius: 2em;
|
||||||
|
border-radius: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
*::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: #bbb;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -85,7 +85,7 @@ function handleClick() {
|
||||||
@apply relative;
|
@apply relative;
|
||||||
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 8px 10px;
|
padding: 6px 10px;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&.active {
|
&.active {
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.menu-label {
|
.menu-label {
|
||||||
padding-top: 12px;
|
padding-top: 10px;
|
||||||
padding-bottom: 13px;
|
padding-bottom: 10px;
|
||||||
color: #847e7e;
|
color: #847e7e;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex h-full">
|
<div class="flex h-full">
|
||||||
<aside class="navbar h-full" style="background: #fff">
|
<aside class="navbar fixed h-full overflow-y-auto" style="background: #fff">
|
||||||
<div class="logo flex justify-center py-6 animate-pulse">
|
<div class="logo flex justify-center py-5">
|
||||||
<img :src="logo" style="width: 80px" alt="Halo Logo" />
|
<img :src="logo" alt="Halo Logo" style="width: 78px" />
|
||||||
</div>
|
</div>
|
||||||
<VRoutesMenu :menus="menus" />
|
<VRoutesMenu :menus="menus" />
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -20,6 +20,9 @@ import logo from "@/assets/logo.svg";
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.navbar {
|
.navbar {
|
||||||
flex: 0 0 270px;
|
width: 260px;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
margin-left: 260px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue