-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/src/styles/theme/core/layout.scss b/src/styles/theme/core/layout.scss
index 1553550..887bc4d 100644
--- a/src/styles/theme/core/layout.scss
+++ b/src/styles/theme/core/layout.scss
@@ -1,13 +1,21 @@
/** Layout 相关 */
-.app-wrapper {
+#app {
color: $font-color;
+ // 右侧设置面板
+ .handle-button {
+ background-color: lighten($theme-bg-color, 20%) !important;
+ }
+}
+
+.app-wrapper {
+ // Logo
+ .layout-logo-container {
+ background-color: lighten($theme-bg-color, 2%) !important;
+ }
// 侧边栏
.sidebar-container {
- .sidebar-logo-container {
- background-color: lighten($theme-bg-color, 2%) !important;
- }
.el-menu {
background-color: lighten($theme-bg-color, 4%) !important;
.el-menu-item {
@@ -24,6 +32,11 @@
}
}
+ // Header
+ .layout-header {
+ border-bottom: 1px solid lighten($theme-bg-color, 10%) !important;
+ }
+
// 顶部导航栏
.navigation-bar {
background-color: $theme-bg-color;
@@ -37,7 +50,6 @@
// TagsView
.tags-view-container {
background-color: $theme-bg-color !important;
- border-bottom: 1px solid lighten($theme-bg-color, 10%) !important;
.tags-view-item {
background-color: $theme-bg-color !important;
color: $font-color !important;
@@ -58,9 +70,4 @@
}
}
}
-
- // 右侧设置面板
- .handle-button {
- background-color: lighten($theme-bg-color, 20%) !important;
- }
}
diff --git a/src/styles/transition.scss b/src/styles/transition.scss
index dd845b9..ae5e8b1 100644
--- a/src/styles/transition.scss
+++ b/src/styles/transition.scss
@@ -14,12 +14,12 @@
transform: translateX(30px);
}
-// sidebar-logo-fade
-.sidebar-logo-fade-enter-active,
-.sidebar-logo-fade-leave-active {
+// layout-logo-fade
+.layout-logo-fade-enter-active,
+.layout-logo-fade-leave-active {
transition: opacity 1.5s;
}
-.sidebar-logo-fade-enter-from,
-.sidebar-logo-fade-leave-to {
+.layout-logo-fade-enter-from,
+.layout-logo-fade-leave-to {
opacity: 0;
}
diff --git a/src/styles/variables.css b/src/styles/variables.css
index 6c26a3f..d22b5f5 100644
--- a/src/styles/variables.css
+++ b/src/styles/variables.css
@@ -4,6 +4,7 @@
--v3-body-bg-color: #f2f3f5;
/** Header 区域 = NavigationBar 组件 + TagsView 组件 */
--v3-header-height: calc(var(--v3-navigationbar-height) + var(--v3-tagsview-height));
+ --v3-header-bg-color: #ffffff;
/** NavigationBar 组件 */
--v3-navigationbar-height: 50px;
/** Sidebar 组件 */
@@ -15,8 +16,6 @@
--v3-sidebar-menu-hover-bg-color: #ffffff10;
--v3-sidebar-menu-text-color: #c0c4cc;
--v3-sidebar-menu-active-text-color: #ffffff;
- /** SidebarLogo 组件 */
- --v3-sidebarlogo-bg-color: #001428;
/** TagsView 组件 */
--v3-tagsview-height: 34px;
--v3-tagsview-tag-text-color: #495060;