@jiess/plus
Version:
基于Jiess核心库的强化与拓展,为Jiess应用的完整形态
88 lines (74 loc) • 1.37 kB
text/less
@import '../../common/css/base.less';
@theme: #409eff;
@border: 1px solid #EBEEF5;
.jiess-space-item {
&>.el-form-item{
width: 100%;
.jiess-item{
width: 100%;
}
}
}
.no-padding-y{
.el-dialog__body{
padding: 0 20px
}
}
.no-padding{
.el-dialog__body{
padding: 0
}
}
// 为了让筛选区的阴影透传出来
.el-tabs__content{
overflow: unset;
}
.filter-layout{
display: flex;
align-items: center;
border-radius: 4px;
overflow: hidden;
border-top: @border;
border-bottom: @border;
background-color: white;
box-shadow: 0 2px 6px 0 #9993;
&.no-expand>div:first-child{
padding-top: 18px;
border-radius: 4px;
// border-right: @border;
}
.el-collapse{
flex:1;
border-radius: 4px;
border-top: none;
border-bottom: none;
// border-right: @border;
padding-right: 12px;
}
.el-collapse-item__header{
height: auto;
}
.el-collapse-item__content{
padding-bottom: 0;
}
.el-collapse-item__header{
// 强制顶开为校验预留的底部间隙
.el-form{
.jiess-space-item{
&>.el-form-item {
margin-top: 18px;
}
}
}
}
&.divider{
.el-collapse-item__content{
border-top: @border;
// 有rule被撑开18px
// 无rule则需单独撑开18px
.el-form{
padding-top: 18px;
}
}
}
}