2022-10-17 16:49:29 +08:00
|
|
|
/** Layout 相关 */
|
|
|
|
|
2024-03-25 13:48:08 +08:00
|
|
|
body {
|
|
|
|
background-color: $theme-bg-color;
|
|
|
|
}
|
|
|
|
|
2023-07-06 13:02:52 +08:00
|
|
|
#app {
|
2022-10-17 16:49:29 +08:00
|
|
|
color: $font-color;
|
2023-07-06 13:02:52 +08:00
|
|
|
// 右侧设置面板
|
|
|
|
.handle-button {
|
|
|
|
background-color: lighten($theme-bg-color, 20%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-wrapper {
|
2022-10-17 16:49:29 +08:00
|
|
|
// 侧边栏
|
|
|
|
.sidebar-container {
|
2023-07-19 09:05:55 +08:00
|
|
|
background-color: lighten($theme-bg-color, 2%);
|
2022-10-17 16:49:29 +08:00
|
|
|
.el-menu {
|
2023-07-19 09:05:55 +08:00
|
|
|
background-color: lighten($theme-bg-color, 2%) !important;
|
2022-10-17 16:49:29 +08:00
|
|
|
.el-menu-item {
|
2023-07-19 09:05:55 +08:00
|
|
|
background-color: lighten($theme-bg-color, 2%) !important;
|
2022-10-17 16:49:29 +08:00
|
|
|
&.is-active,
|
|
|
|
&:hover {
|
2023-07-19 09:05:55 +08:00
|
|
|
background-color: lighten($theme-bg-color, 6%) !important;
|
2022-10-17 16:49:29 +08:00
|
|
|
color: $active-font-color !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.el-sub-menu__title {
|
2023-07-19 09:05:55 +08:00
|
|
|
background-color: lighten($theme-bg-color, 2%) !important;
|
2022-10-17 16:49:29 +08:00
|
|
|
}
|
2023-07-18 11:14:07 +08:00
|
|
|
.el-sub-menu {
|
|
|
|
&.is-active {
|
2023-08-16 14:48:50 +08:00
|
|
|
> .el-sub-menu__title {
|
2023-07-18 11:14:07 +08:00
|
|
|
color: $active-font-color !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-10-17 16:49:29 +08:00
|
|
|
}
|
|
|
|
|
2023-07-06 13:02:52 +08:00
|
|
|
// Header
|
|
|
|
.layout-header {
|
2023-07-19 09:05:55 +08:00
|
|
|
background-color: $theme-bg-color;
|
2023-07-06 13:02:52 +08:00
|
|
|
border-bottom: 1px solid lighten($theme-bg-color, 10%) !important;
|
|
|
|
}
|
|
|
|
|
2022-10-17 16:49:29 +08:00
|
|
|
// 顶部导航栏
|
|
|
|
.navigation-bar {
|
|
|
|
background-color: $theme-bg-color;
|
|
|
|
.right-menu {
|
|
|
|
.svg-icon {
|
|
|
|
color: $font-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// TagsView
|
|
|
|
.tags-view-container {
|
|
|
|
background-color: $theme-bg-color !important;
|
|
|
|
.tags-view-item {
|
|
|
|
background-color: $theme-bg-color !important;
|
|
|
|
color: $font-color !important;
|
|
|
|
border: 1px solid $border-color !important;
|
|
|
|
&.active {
|
2022-10-26 12:18:12 +08:00
|
|
|
background-color: $theme-color !important;
|
2022-10-17 16:49:29 +08:00
|
|
|
color: $active-font-color !important;
|
|
|
|
border-color: $border-color !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 右键菜单
|
|
|
|
.contextmenu {
|
|
|
|
background-color: lighten($theme-bg-color, 8%);
|
|
|
|
color: $font-color;
|
|
|
|
li:hover {
|
|
|
|
background-color: lighten($theme-bg-color, 16%);
|
|
|
|
color: $active-font-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|