فهرست منبع

删除无用的全局样式

zhangdaiscott 2 سال پیش
والد
کامیت
e7b860181e
2فایلهای تغییر یافته به همراه0 افزوده شده و 31 حذف شده
  1. 0 1
      src/design/index.less
  2. 0 30
      src/design/lowApp/global.less

+ 0 - 1
src/design/index.less

@@ -3,7 +3,6 @@
 @import 'public.less';
 @import 'ant/index.less';
 @import './theme.less';
-@import './lowApp/global.less';
 
 input:-webkit-autofill {
   -webkit-box-shadow: 0 0 0 1000px white inset !important;

+ 0 - 30
src/design/lowApp/global.less

@@ -1,30 +0,0 @@
-// ---------------
-//  lowApp全局样式
-// ---------------
-
-// 生成display样式
-.low-app-display(@type) {
-  display: @type !important;
-
-  & + .ant-divider,
-  & + .ant-dropdown-menu-item-divider {
-    display: @type !important;
-  }
-}
-
-// lowApp外隐藏
-.low-app-show {
-  .low-app-display(none);
-}
-
-[data-low-app] {
-  // lowApp内隐藏
-  .low-app-hide {
-    .low-app-display(none);
-  }
-
-  // lowApp内显示
-  .low-app-show {
-    .low-app-display(block);
-  }
-}