mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
💄 美化样式
This commit is contained in:
14
src/App.vue
14
src/App.vue
@@ -1,9 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- glass-app{background: rgba(255, 255, 255, 0.1) !important;} -->
|
<v-app>
|
||||||
<v-app class="glass-app">
|
|
||||||
<TSidebar v-if="isMain" />
|
<TSidebar v-if="isMain" />
|
||||||
<v-main>
|
<v-main>
|
||||||
<v-container fluid class="app-container">
|
<v-container :fluid="true" class="app-container">
|
||||||
<router-view />
|
<router-view />
|
||||||
</v-container>
|
</v-container>
|
||||||
</v-main>
|
</v-main>
|
||||||
@@ -79,7 +78,12 @@ async function createDataDir () {
|
|||||||
<style lang="css">
|
<style lang="css">
|
||||||
.app-container {
|
.app-container {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
background: #f9e9cd; /* 米色 */
|
||||||
background: var(--page-bg);
|
color: #132c33; /* 深灰蓝 */
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .app-container {
|
||||||
|
background: #363433; /* 长石灰 */
|
||||||
|
color: #f9e9cd; /* 米色 */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ html {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @description 侧边滚动条样式
|
* @description 侧边滚动条样式
|
||||||
* @since Alpha v0.1.3
|
* @since Alpha v0.2.1
|
||||||
*/
|
*/
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
@@ -40,20 +40,15 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
background: var(--scroll-bg);
|
background: #847c74; /* 夜灰 */
|
||||||
box-shadow: inset 0 0 5px var(--scroll-bg);
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background: #96979A;
|
background: #c7d2d4; /* 鸥蓝 */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
|
||||||
background: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* card action 内的按钮 */
|
/* card action 内的按钮 */
|
||||||
.card-btn {
|
.card-btn {
|
||||||
background: #4a5366;
|
background: #4a5366;
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ html.dark {
|
|||||||
--common-text-2: var(--common-color-white); /* text */
|
--common-text-2: var(--common-color-white); /* text */
|
||||||
--common-text-3: var(--common-color-grey); /* quote */
|
--common-text-3: var(--common-color-grey); /* quote */
|
||||||
|
|
||||||
--page-bg:#2a2a2a;
|
|
||||||
--scroll-bg: rgba(0, 0, 0, 0.5);
|
|
||||||
--calendar-btn-bg: #1e1e1e;
|
--calendar-btn-bg: #1e1e1e;
|
||||||
--back-top-shadow: #000000;
|
--back-top-shadow: #000000;
|
||||||
--theme-switch-icon: #e1e1e1;
|
--theme-switch-icon: #e1e1e1;
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ html.default {
|
|||||||
--common-text-2: var(--common-color-blue-2); /* text */
|
--common-text-2: var(--common-color-blue-2); /* text */
|
||||||
--common-text-3: var(--common-color-blue-3); /* quote */
|
--common-text-3: var(--common-color-blue-3); /* quote */
|
||||||
|
|
||||||
--page-bg:#ece5d8;
|
|
||||||
--scroll-bg: rgba(0, 0, 0, 0.2);
|
|
||||||
--calendar-btn-bg: #393b40;
|
--calendar-btn-bg: #393b40;
|
||||||
--back-top-shadow: #546d8b;
|
--back-top-shadow: #546d8b;
|
||||||
--theme-switch-icon: #393b40;
|
--theme-switch-icon: #393b40;
|
||||||
|
|||||||
Reference in New Issue
Block a user