.edit-table-columns {
|
position: relative;
|
.ant-table {
|
color: inherit;
|
font-size: inherit;
|
}
|
.submit-btn {
|
min-height: 24px;
|
height: auto;
|
margin-right: 10px;
|
background-color: #1890ff;
|
border-width: 0;
|
}
|
.ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters > .ant-table-column-title {
|
position: unset;
|
}
|
.ant-table-body {
|
overflow-x: auto;
|
tr {
|
td {
|
background: #ffffff;
|
}
|
td:not(.ant-table-selection-column) {
|
position: relative;
|
padding: 12px 8px;
|
>.profile {
|
position: absolute;
|
top: 2px;
|
right: 2px;
|
color: purple;
|
font-size: 12px;
|
}
|
}
|
}
|
.action-column {
|
.card-detail-row:empty {
|
min-height: 40px;
|
}
|
}
|
tr:hover td {
|
background: #ffffff!important;
|
}
|
}
|
|
.ant-table-thead {
|
th {
|
position: relative;
|
.ant-table-column-sorter::before {
|
position: absolute;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
content: '';
|
}
|
}
|
> tr > th {
|
padding: 12px 8px;
|
.ant-table-column-sorter .ant-table-column-sorter-inner {
|
.ant-table-column-sorter-up.on, .ant-table-column-sorter-down.on {
|
color: unset;
|
}
|
}
|
}
|
}
|
.col-control {
|
position: relative;
|
float: right;
|
z-index: 2;
|
>.anticon, >div > .anticon {
|
font-size: 16px;
|
margin-right: 10px;
|
cursor: pointer;
|
}
|
>.anticon-copy {
|
color: #26C281;
|
}
|
>.anticon-delete {
|
color: #ff4d4f;
|
}
|
>.anticon-file-sync {
|
color: #1890ff;
|
}
|
>div >.profile {
|
color: purple;
|
}
|
}
|
.ant-table-small > .ant-table-content > .ant-table-body {
|
margin: 0;
|
}
|
}
|
.edit-table-columns.false {
|
.ant-pagination {
|
display: none;
|
}
|
}
|
|
.edit-table-columns.ghost {
|
.ant-table-thead > tr {
|
> th {
|
color: inherit;
|
background: transparent;
|
.ant-table-column-sorter .ant-table-column-sorter-inner {
|
color: inherit;
|
}
|
}
|
> th:hover {
|
background: transparent;
|
}
|
}
|
.ant-table-body {
|
overflow-x: auto;
|
tr {
|
td {
|
background: transparent;
|
}
|
}
|
tr:hover td {
|
background: transparent!important;
|
}
|
}
|
}
|