.normal-data-table {
|
padding: 0 20px 30px;
|
table {
|
max-width: 100%;
|
width: 100%;
|
.ant-table-thead {
|
tr {
|
th {
|
position: relative;
|
.ant-table-column-title {
|
white-space: nowrap;
|
}
|
}
|
}
|
}
|
.ant-table-selection-column {
|
width: 60px;
|
min-width: 60px;
|
max-width: 60px;
|
}
|
.ant-table-tbody > tr.ant-table-row-selected td {
|
background-color: #c4ebfd;
|
}
|
.ant-table-tbody > tr.ant-table-row-selected:hover .ant-table-column-sort {
|
background-color: #c4ebfd;
|
}
|
}
|
.ant-table-body {
|
overflow-x: auto!important;
|
min-height: 90px;
|
border: 1px solid #e8e8e8;
|
border-radius: 4px;
|
border-top: none;
|
border-bottom: none;
|
table {
|
border-left: 0;
|
.ant-table-thead > tr > th:last-child {
|
border-right: 0;
|
}
|
.ant-table-tbody > tr > td:last-child {
|
border-right: 0;
|
}
|
.ant-table-tbody > tr > td {
|
vertical-align: top;
|
.content {
|
position: relative;
|
z-index: 1;
|
word-wrap: break-word;
|
word-break: break-word;
|
|
.content-fence {
|
position: relative;
|
width: 100%;
|
word-wrap: break-word;
|
word-break: break-word;
|
|
.content-fence-top {
|
position: relative;
|
word-wrap: break-word;
|
word-break: break-word;
|
width: 100%;
|
text-align: center;
|
margin-bottom: 5px;
|
|
img {
|
max-width: 100%;
|
display: block;
|
}
|
img + img {
|
margin-left: 10px;
|
}
|
}
|
.content-fence-bottom {
|
position: relative;
|
word-wrap: break-word;
|
word-break: break-word;
|
width: 100%;
|
}
|
.content-fence-left {
|
position: relative;
|
display: inline-block;
|
word-wrap: break-word;
|
word-break: break-word;
|
width: calc(50% - 5px);
|
|
img {
|
max-width: 100%;
|
display: block;
|
}
|
img + img {
|
margin-top: 10px;
|
}
|
}
|
.content-fence-right {
|
position: relative;
|
float: right;
|
word-wrap: break-word;
|
word-break: break-word;
|
width: calc(50% - 5px);
|
}
|
}
|
}
|
.picture-col {
|
img {
|
max-width: 100%;
|
display: block;
|
}
|
img + img {
|
margin-top: 10px;
|
}
|
.image-scale {
|
cursor: zoom-in;
|
}
|
}
|
.text {
|
.ant-btn > .anticon + span {
|
margin-left: 3px;
|
}
|
button {
|
border: 0;
|
background-color: transparent;
|
color: #1890ff;
|
box-shadow: none;
|
padding: 0 5px;
|
margin: 0px 5px;
|
}
|
}
|
.button {
|
button {
|
margin: 0px 5px;
|
}
|
}
|
}
|
.ant-table-tbody > tr > td.ant-table-column-has-actions {
|
position: relative;
|
.background {
|
position: absolute;
|
top: 0px;
|
left: 0px;
|
right: 0px;
|
bottom: 0px;
|
}
|
.link-menu {
|
cursor: pointer;
|
}
|
|
.content {
|
position: relative;
|
z-index: 1;
|
word-wrap: break-word;
|
word-break: break-word;
|
}
|
.red {
|
.content {
|
color: red;
|
}
|
}
|
.redbg {
|
.background {
|
background: lightcoral;
|
}
|
}
|
.orange {
|
.content {
|
color: orange;
|
}
|
}
|
.orangebg {
|
.background {
|
background: lightsalmon;
|
}
|
}
|
.green {
|
.content {
|
color: green;
|
}
|
}
|
.greenbg {
|
.background {
|
background: lightgreen;
|
}
|
}
|
}
|
.ant-table-tbody > tr > td .content {
|
p {
|
margin-bottom: 2px;
|
}
|
span {
|
display: inline-block;
|
margin-right: 5px;
|
}
|
}
|
.ant-table-tbody > tr > td .button {
|
.ant-btn {
|
margin-bottom: 10px;
|
}
|
}
|
}
|
}
|
.ant-table-body::-webkit-scrollbar {
|
width: 8px;
|
height: 10px;
|
}
|
::-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);
|
}
|
::-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);
|
}
|
.fix-header {
|
.ant-table-body {
|
min-height: unset
|
}
|
.ant-table-placeholder {
|
display: none;
|
}
|
.ant-table-wrapper {
|
display: none;
|
}
|
.ant-affix .ant-table-wrapper {
|
display: block;
|
}
|
}
|
}
|
.image-scale-modal {
|
width: 70vw;
|
min-height: 80vh;
|
top: 10vh;
|
.ant-modal-body {
|
min-height: calc(80vh - 110px);
|
line-height: calc(80vh - 160px);
|
text-align: center;
|
}
|
.ant-modal-footer {
|
text-align: center;
|
span {
|
display: inline-block;
|
color: #1890ff;
|
padding: 5px 15px;
|
cursor: pointer;
|
}
|
}
|
}
|