【update】整体调整
This commit is contained in:
@@ -161,7 +161,7 @@ export default {
|
||||
<style lang="less">
|
||||
.ant-menu.ant-menu-root {
|
||||
& > .ant-menu-item:first-child {
|
||||
background-color: transparent;
|
||||
//background-color: transparent;
|
||||
|
||||
& > a, & > a:hover {
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
|
||||
@@ -201,6 +201,31 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
// 全局背景
|
||||
.ant-layout.layout {
|
||||
background-image: url("~@assets/bg.png");
|
||||
background-size: cover;
|
||||
|
||||
.sider.light {
|
||||
background-color: transparent;
|
||||
|
||||
ul.ant-menu,
|
||||
.ant-menu-submenu > .ant-menu {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
.ant-layout.sidemenu {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ant-layout-header, .header.light {
|
||||
background-color: transparent;
|
||||
}
|
||||
.ant-menu-inline .ant-menu-selected::after, .ant-menu-inline .ant-menu-item-selected::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
.layout {
|
||||
min-height: 100vh !important;
|
||||
overflow-x: hidden;
|
||||
|
||||
Reference in New Issue
Block a user