.mk-pop-select-wrap {
|
position: relative;
|
box-sizing: border-box;
|
margin: 0;
|
padding: 0 30px 0 11px;
|
color: rgba(0, 0, 0, 0.65);
|
font-size: 14px;
|
font-variant: tabular-nums;
|
list-style: none;
|
font-feature-settings: 'tnum';
|
position: relative;
|
display: inline-block;
|
width: 100%;
|
outline: 0;
|
border: 1px solid #d9d9d9;
|
border-top-width: 1.02px;
|
background: #ffffff;
|
user-select: none;
|
height: 32px;
|
cursor: pointer;
|
transition: all 0.3s;
|
overflow: hidden;
|
white-space: nowrap;
|
text-overflow: ellipsis;
|
line-height: 30px;
|
|
.anticon-table {
|
padding: 7px;
|
color: rgba(0, 0, 0, 0.25);
|
transition: color 0.3s;
|
font-size: 14px;
|
position: absolute;
|
right: 0px;
|
top: 0px;
|
}
|
.anticon-close-circle {
|
color: rgba(0, 0, 0, 0.25);
|
transition: all 0.3s;
|
padding: 7px;
|
opacity: 0;
|
position: absolute;
|
right: 25px;
|
}
|
.anticon-close-circle:hover {
|
color: rgba(0, 0, 0, 0.45);
|
}
|
}
|
.mk-pop-select-wrap:hover, .mk-pop-select-mask:hover + .mk-pop-select-wrap {
|
border-color: var(--mk-sys-color5);
|
box-shadow: 0 0 0 2px var(--mk-sys-color2);
|
|
.anticon-table {
|
color: var(--mk-sys-color);
|
}
|
.anticon-close-circle {
|
opacity: 1;
|
}
|
}
|
.mk-pop-select-mask {
|
position: absolute;
|
background: #ffffff;
|
top: 0px;
|
left: 0px;
|
right: 0px;
|
bottom: 0px;
|
height: auto;
|
border: 1px solid #d9d9d9;
|
cursor: pointer;
|
}
|
.mk-pop-select-mask + .mk-pop-select-wrap {
|
border: none;
|
box-shadow: none!important;
|
padding-left: 0px;
|
}
|
.mk-pop-select-modal {
|
.ant-modal-body {
|
min-height: 200px;
|
max-height: calc(100vh - 210px);
|
overflow-y: auto;
|
|
.ant-input-search {
|
max-width: 300px;
|
margin-bottom: 20px;
|
}
|
table {
|
td {
|
padding: 12px 16px;
|
}
|
tr:not(.ant-table-row-selected):hover > td {
|
background-color: var(--mk-sys-color1);
|
}
|
tr.ant-table-row-selected td {
|
background-color: var(--mk-sys-color3);
|
}
|
tr:not(.mk-disable-line) {
|
cursor: pointer;
|
}
|
.mk-disable-line {
|
color: rgba(0, 0, 0, 0.35);
|
}
|
}
|
}
|
.ant-modal-body::-webkit-scrollbar {
|
width: 7px;
|
}
|
.ant-modal-body::-webkit-scrollbar-thumb {
|
border-radius: 5px;
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
|
background: rgba(0, 0, 0, 0.13);
|
}
|
.ant-modal-body::-webkit-scrollbar-track {
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
|
border-radius: 3px;
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
background: rgba(0, 0, 0, 0);
|
}
|
|
.ant-modal-footer {
|
.ant-btn-primary {
|
display: none;
|
}
|
}
|
}
|