Parcourir la source

feat(less): global gray color

Lind il y a 3 ans
Parent
commit
094b08b3cc
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      src/global.less

+ 5 - 0
src/global.less

@@ -4,6 +4,8 @@ html,
 body,
 #root {
   height: 100%;
+  // 变成灰色
+  //-webkit-filter: grayscale(.95);
 }
 
 .colorWeak {
@@ -13,6 +15,7 @@ body,
 .ant-layout {
   min-height: 100vh;
 }
+
 .ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
   left: unset;
 }
@@ -36,11 +39,13 @@ ol {
   .ant-table {
     width: 100%;
     overflow-x: auto;
+
     &-thead > tr,
     &-tbody > tr {
       > th,
       > td {
         white-space: pre;
+
         > span {
           display: block;
         }