删除无用的全局样式
parent
3ecae67e48
commit
e7b860181e
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue