删除无用的全局样式

pull/170/head^2
zhangdaiscott 2022-09-23 17:48:26 +08:00
parent 3ecae67e48
commit e7b860181e
2 changed files with 0 additions and 31 deletions

View File

@ -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;

View File

@ -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);
}
}