maycur-business
Version:
maycur business react components of web
156 lines (126 loc) • 3.38 kB
text/less
@import '../../../../style/variables.less';
.@{prefix}-filter-setting-list-wrapper {
.@{prefix}-filter-list-item {
display: flex;
justify-content: space-between;
border: none;
padding: 12px;
line-height: 18px;
&-actions {
display: none;
color: @maycur-color;
.fm-modify {
margin-right: 10px;
}
}
&:hover {
cursor: pointer;
background-color: @selected-background;
.@{prefix}-filter-list-item-actions {
display: flex;
}
}
}
.add-btn {
height: 30px;
margin-top: 5px;
color: @maycur-color;
cursor: pointer;
&:hover {
border-color: @maycur-color;
}
}
.@{prefix}-filter-empty {
padding: 20px;
text-align: center;
}
}
.@{prefix}-filter-setting-form-wrapper {
&.ant-form {
.filter-name-field {
margin-left: -8px;
margin-right: -8px;
}
.ant-form-item {
display: flex;
flex-direction: row;
justify-content: space-between;
.ant-form-item-label {
width: 80px;
text-align: right;
}
.mkbs-input-range-wraper {
padding: 1px 0 0;
}
.ant-input,
.ant-select-selection,
.department-picker-wrapper {
border: 1px solid #d9d9d9;
padding-left: 8px;
padding-right: 8px;
}
.ant-calendar-picker-input.ant-input {
padding: 4px 0;
.ant-calendar-range-picker-input {
padding: 0 8px;
}
}
.ant-select-arrow,
.anticon-calendar,
.ant-calendar-picker-clear {
right: 4px ;
}
.ant-input-group.ant-input-group-compact {
padding-left: 8px;
padding-right: 8px;
.ant-input-number {
width: auto;
flex-grow: 1;
}
&>.ant-input:not(:first-child):not(:last-child) {
border: none;
}
}
.ant-calendar-range-picker-input {
text-align: left;
}
.ant-form-item-control-wrapper {
flex: 1;
}
}
}
.line {
height: 1px;
background-color: rgba(225, 225, 225, 1);
margin: 10px 0;
}
.filter-item-title {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
.fm-trash {
cursor: pointer;
color: #bcbcbc;
&:hover {
color: #777;
}
}
}
.filter-item-form {
background-color: rgba(247, 247, 247, 1);
.ant-form-item {
padding: 12px 12px 12px 0;
&:not(:last-child) {
margin-bottom: 0;
padding-bottom: 0;
}
}
}
.add-condition-btn {
border: none;
padding: 0;
.fm-plus {
margin-right: 5px;
}
}
}