Explorar o código

style: 调整头部背景

lanjianrong %!s(int64=5) %!d(string=hai) anos
pai
achega
38478c982f
Modificáronse 1 ficheiros con 9 adicións e 5 borrados
  1. 9 5
      src/layouts/BasicLayout.less

+ 9 - 5
src/layouts/BasicLayout.less

@@ -4,15 +4,19 @@
     color: #333333;
     background: #ffffff;
   }
-  :gloabl(.ant-menu-dark .ant-menu-inline.ant-menu-sub) {
+  :global(.ant-drawer-body) {
+    padding: 0;
+  }
+
+  :global(.ant-pro-basicLayout .ant-layout-header.ant-pro-fixed-header) {
+    background-color: linear-gradient(to right, #584475 0%, #7c62a4 50%, #7c62a4 50%, #584475 100%);
+  }
+
+  :global(.ant-menu-dark .ant-menu-inline.ant-menu-sub) {
     color: #333333;
     background: #ffffff;
   }
   // :global(.ant-table-body) {
   //   height: calc(100vh - 48px - 48px - 64px - 46px - 60px);
   // }
-
-  :global(.ant-drawer-body) {
-    padding: 0
-  }
 }