【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 at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */ /* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */ /* stylelint-disable */
+1 -29
View File
@@ -115,35 +115,7 @@ export default {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
#app { #app {
min-height: 100%; 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;
}
} }
.watermark { .watermark {
+1 -1
View File
@@ -161,7 +161,7 @@ export default {
<style lang="less"> <style lang="less">
.ant-menu.ant-menu-root { .ant-menu.ant-menu-root {
& > .ant-menu-item:first-child { & > .ant-menu-item:first-child {
background-color: transparent; //background-color: transparent;
& > a, & > a:hover { & > a, & > a:hover {
color: rgba(0, 0, 0, 0.65); 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 { .layout {
min-height: 100vh !important; min-height: 100vh !important;
overflow-x: hidden; overflow-x: hidden;