.modal-edit-table {
|
.editable-row {
|
.ant-form-explain {
|
position: absolute;
|
font-size: 12px;
|
margin-top: -4px;
|
white-space: nowrap;
|
}
|
.color-sketch-block {
|
width: 200px;
|
position: relative;
|
top: 8px;
|
}
|
.ant-select {
|
width: 100%;
|
}
|
span.ant-radio + * {
|
padding-left: 2px;
|
}
|
> td {
|
padding: 14px 10px;
|
}
|
> td:last-child {
|
padding: 0px;
|
}
|
textarea.ant-input {
|
vertical-align: middle;
|
}
|
}
|
.editable-row.active {
|
td {
|
background-color: #bae7ff!important;
|
}
|
}
|
.editable-row.hidden {
|
display: none;
|
}
|
.mk-index {
|
text-align: center;
|
white-space: nowrap;
|
}
|
|
thead tr th:last-child {
|
text-align: center;
|
}
|
.edit-operation-btn {
|
display: block;
|
text-align: center;
|
> span {
|
margin-right: 10px;
|
cursor: pointer;
|
font-size: 16px;
|
padding: 5px;
|
}
|
.primary {
|
color: #1890ff;
|
}
|
.copy {
|
color: #26C281;
|
}
|
.status {
|
color: #8E44AD;
|
}
|
.danger {
|
color: #ff4d4f;
|
}
|
span:last-child {
|
margin-right: 0px;
|
}
|
}
|
.edit-operation-btn.disabled {
|
cursor: default;
|
span {
|
cursor: default;
|
}
|
.primary {
|
color: rgba(0, 0, 0, .25);
|
}
|
.danger {
|
color: rgba(0, 0, 0, .25);
|
}
|
.status {
|
color: rgba(0, 0, 0, .25);
|
}
|
.copy {
|
color: rgba(0, 0, 0, .25);
|
}
|
}
|
.ant-empty {
|
margin: 0;
|
}
|
tr.drop-over-downward td {
|
border-bottom: 2px dashed #1890ff;
|
}
|
tr.drop-over-upward td {
|
border-top: 2px dashed #1890ff;
|
}
|
.copy-control {
|
display: inline-block;
|
position: absolute;
|
right: 10px;
|
top: 2px;
|
|
.anticon-copy {
|
margin-right: 7px;
|
color: #26C281;
|
}
|
.anticon-snippets {
|
color: purple;
|
}
|
.anticon-delete {
|
margin-left: 7px;
|
color: #ff4d4f;
|
}
|
}
|
.ant-typography {
|
margin: 3px 0px;
|
}
|
.add-row {
|
position: absolute;
|
z-index: 1;
|
right: 10px;
|
top: -30px;
|
padding: 5px;
|
font-size: 18px;
|
color: #26C281;
|
}
|
.footer-copy-control {
|
text-align: right;
|
margin: 10px;
|
display: block;
|
.anticon-copy {
|
margin-right: 15px;
|
color: #26C281;
|
}
|
.anticon-snippets {
|
color: purple;
|
}
|
}
|
.ant-typography-copy:not(.ant-typography-copy-success) {
|
opacity: 0;
|
transition: opacity 0.2s;
|
}
|
|
tr:hover {
|
.ant-typography-copy:not(.ant-typography-copy-success) {
|
opacity: 0.7;
|
}
|
.ant-typography-copy:hover {
|
opacity: 1;
|
}
|
}
|
}
|
|
.ant-modal.ant-modal-confirm.ant-modal-confirm-info.sql-example {
|
top: 100px;
|
.ant-modal-body {
|
padding: 24px;
|
}
|
}
|