【update】整体调整
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
@primary-color: #D52C26;
|
||||
@primary-color: #0064FA;
|
||||
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
||||
/* stylelint-disable no-duplicate-selectors */
|
||||
/* stylelint-disable */
|
||||
|
||||
+1
-29
@@ -115,35 +115,7 @@ export default {
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
#app {
|
||||
min-height: 100%;
|
||||
height: fit-content;
|
||||
background-image: url("~@assets/bg.png");
|
||||
background-size: cover;
|
||||
|
||||
/deep/.sider.light {
|
||||
background-color: transparent;
|
||||
|
||||
ul.ant-menu,
|
||||
.ant-menu-submenu > .ant-menu {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
/deep/ .ant-layout.layout {
|
||||
&, &.sidemenu {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ant-layout-header, .header {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
/deep/ .ant-layout.layout,
|
||||
/deep/ .ant-layout.layout .ant-layout-header,
|
||||
/deep/ .ant-layout.layout .header,
|
||||
/deep/ .ant-layout.sidemenu {
|
||||
background-color: transparent;
|
||||
}
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.watermark {
|
||||
|
||||
@@ -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