提交 1b5bf4d6 编写于 作者: Shine-zwj's avatar Shine-zwj

update:更新样式

上级 253d569a
...@@ -3,32 +3,57 @@ ...@@ -3,32 +3,57 @@
font-size: var(--app-font-size); font-size: var(--app-font-size);
line-height: var(--app-line-height); line-height: var(--app-line-height);
color: var(--app-color-black); color: var(--app-color-black);
.index-view-sider { .index-view-sider {
flex: none !important; flex: none !important;
max-width: none !important; max-width: none !important;
transition: none 0s ease 0s; transition: none 0s ease 0s;
background-color: var(--app-color-white); background-color: #001529;
color: var(--app-color-white);
.index-view-sider__top { .index-view-sider__top {
font-size: 21px;
font-weight: 700;
height: 64px; height: 64px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.app-icon {
width: 37px;
height: 37px;
}
.app-caption {
font-size: 21px;
font-weight: 700;
margin-left: 10px;
color: var(--app-color-white);
}
} }
.app-menu { .app-menu {
height: calc(100% - 64px); height: calc(100% - 164px);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
} }
.index-view-sider__bottom {
.collapse-icon {
font-size: 20px;
color: var(--app-color-white);
margin-left: 15px;
cursor: pointer;
&:hover {
color: var(--app-color-blue);
}
}
}
} }
.index-view-split { .index-view-split {
position: absolute; position: absolute;
left: 195px; left: 204px;
width: 5px; width: 4px;
height: 100%; height: 100%;
cursor: w-resize; cursor: w-resize;
} }
...@@ -38,8 +63,8 @@ ...@@ -38,8 +63,8 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
background-color: var(--app-color-white); background-color: #001529;
color: var(--app-color-black); color: var(--app-color-white);
.index-view-header__left { .index-view-header__left {
display: flex; display: flex;
......
<template> <template>
<layout class="index-view-layout index-view-layout--left" id="movebox"> <layout class="index-view-layout index-view-layout--left" id="movebox">
<sider class="index-view-sider" :width="collapseChange ? 64 : 200" hide-trigger id="left_move"> <sider class="index-view-sider" :width="collapseChange ? 64 : 208" hide-trigger id="left_move">
<div class="index-view-sider__top"> <div class="index-view-sider__top">
<slot name="siderTop" /> <slot name="siderTop" />
</div> </div>
<slot name="siderContent" /> <slot name="siderContent" />
<div class="index-view-sider__bottom">
<slot name="siderBottom" />
</div>
</sider> </sider>
<div v-show="!collapseChange" class="index-view-split" id="move_axis"></div> <div v-show="!collapseChange" class="index-view-split" id="move_axis"></div>
<layout id="right_move"> <layout id="right_move">
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
font-size: var(--app-font-size); font-size: var(--app-font-size);
line-height: var(--app-line-height); line-height: var(--app-line-height);
color: var(--app-color-black); color: var(--app-color-black);
.index-view-header { .index-view-header {
height: 64px; height: 64px;
display: flex; display: flex;
...@@ -9,25 +10,30 @@ ...@@ -9,25 +10,30 @@
align-items: center; align-items: center;
background-color: var(--app-color-black); background-color: var(--app-color-black);
color: var(--app-color-white); color: var(--app-color-white);
.index-view-header__left { .index-view-header__left {
font-size: 21px; font-size: 21px;
font-weight: 700; font-weight: 700;
margin-left: 50px; margin-left: 50px;
.app-caption { .app-caption {
color: var(--app-color-white); color: var(--app-color-white);
} }
.app-icon { .app-icon {
width: 36px; width: 37px;
height: 37px; height: 37px;
margin-right: 6px; margin-right: 6px;
} }
} }
.index-view-header__right { .index-view-header__right {
display: flex; display: flex;
align-items: center; align-items: center;
margin-right: 38px; margin-right: 38px;
} }
} }
.index-view-content { .index-view-content {
height: calc(100% - 64px); height: calc(100% - 64px);
overflow: auto; overflow: auto;
...@@ -35,13 +41,16 @@ ...@@ -35,13 +41,16 @@
background-color: var(--app-color-gray-400); background-color: var(--app-color-gray-400);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
>.view-container { >.view-container {
flex-grow: 1; flex-grow: 1;
+.copyright-notice { +.copyright-notice {
position: relative; position: relative;
} }
} }
} }
.copyright-notice { .copyright-notice {
height: 100px; height: 100px;
width: 100%; width: 100%;
...@@ -49,6 +58,7 @@ ...@@ -49,6 +58,7 @@
flex-shrink: 0; flex-shrink: 0;
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
.notice { .notice {
padding-top: 10px; padding-top: 10px;
color: var(--app-color-gray-200); color: var(--app-color-gray-200);
......
.el-menu--horizontal { .el-menu--horizontal {
display: flex; display: flex;
.el-menu-item, .el-submenu__title {
.el-menu-item,
.el-submenu__title {
background-color: var(--app-color-black) !important; background-color: var(--app-color-black) !important;
color: var(--app-color-white) !important; color: var(--app-color-white) !important;
&:hover, &.is-active {
&:hover,
&.is-active {
background: #202027 !important; background: #202027 !important;
} }
} }
>.el-menu-item { >.el-menu-item {
height: 64px; height: 64px;
&.is-active { &.is-active {
background: #202027 !important; background: #202027 !important;
border-bottom: 4px solid var(--app-color-yellow); border-bottom: 4px solid var(--app-color-yellow);
border-bottom-color: var(--app-color-yellow) !important; border-bottom-color: var(--app-color-yellow) !important;
} }
} }
>.el-submenu { >.el-submenu {
.el-submenu__title { .el-submenu__title {
height: 64px; height: 64px;
} }
&.is-active, &.is-opened {
&.is-active,
&.is-opened {
.el-submenu__title { .el-submenu__title {
border-bottom: 4px solid var(--app-color-yellow); border-bottom: 4px solid var(--app-color-yellow);
border-bottom-color: var(--app-color-yellow) !important; border-bottom-color: var(--app-color-yellow) !important;
} }
} }
} }
.el-submenu__icon-arrow { .el-submenu__icon-arrow {
display: none; display: none;
} }
&.app-popper-menu { &.app-popper-menu {
.el-menu--popup { .el-menu--popup {
padding: 0; padding: 0;
.el-menu-item, .el-submenu__title {
.el-menu-item,
.el-submenu__title {
height: 40px; height: 40px;
padding: 0 12px; padding: 0 12px;
border-bottom: 1px solid var(--app-color-gray-250); border-bottom: 1px solid var(--app-color-gray-250);
...@@ -42,22 +55,32 @@ ...@@ -42,22 +55,32 @@
} }
} }
.el-menu--vertical { .el-menu {
.el-menu-item, .el-submenu__title { border-right: none;
height: 57px; background-color: #001529;
color: var(--app-color-gray-100) !important;
&:hover, &.is-active { .el-menu--vertical {
color: var(--app-color-blue) !important;
} .el-menu-item,
&.is-active { .el-submenu__title {
border-left: 4px solid var(--app-color-blue); color: var(--app-color-white) !important;
background-color: var(--app-color-white) !important;
.fa,
.el-submenu__icon-arrow {
color: var(--app-color-white) !important;
}
&:hover,
&.is-active {
background-color: var(--app-color-blue);
}
} }
}
.el-submenu { .el-submenu {
&.is-active { &.is-active {
>.el-submenu__title { >.el-submenu__title {
color: var(--app-color-blue) !important; background-color: var(--app-color-blue);
}
} }
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册