فهرست منبع

style: 调整头部背景

lanjianrong 5 سال پیش
والد
کامیت
38478c982f
1فایلهای تغییر یافته به همراه9 افزوده شده و 5 حذف شده
  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
-  }
 }