【update】整体调整

This commit is contained in:
danshihao
2024-06-13 16:58:44 +08:00
parent 3421e5fbe0
commit 41ed25fbba
4 changed files with 28 additions and 31 deletions
+1 -1
View File
@@ -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
View File
@@ -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 {
+1 -1
View File
@@ -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);
+25
View File
@@ -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;