| | |
| | | @import (reference) '../../../../design/index.less'; |
| | | @border-color: hsla(0, 0%, 80.8%, 0.25); |
| | | @border-color: #cecece4d; |
| | | |
| | | .basic-table { |
| | | &-title { |
| | |
| | | } |
| | | |
| | | &-toolbar { |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | > * { |
| | | margin-right: 10px; |
| | | } |
| | | } |
| | | |
| | | .resize-table-th { |
| | | position: relative !important; |
| | | |
| | | .table-draggable-handle { |
| | | position: absolute; |
| | | right: -5px; |
| | | bottom: 0; |
| | | left: auto !important; |
| | | height: 100% !important; |
| | | cursor: col-resize; |
| | | transform: none !important; |
| | | touch-action: none; |
| | | } |
| | | } |
| | | |
| | | &-drag-body { |
| | | position: relative; |
| | | cursor: move; |
| | | } |
| | | |
| | | .drag-line td { |
| | | border-top: 2px dashed @primary-color; |
| | | } |
| | | |
| | | .ant-table-wrapper { |
| | |
| | | border-radius: 2px; |
| | | |
| | | .ant-table-title { |
| | | padding: 0 0 10px 0 !important; |
| | | padding: 0 0 8px 0 !important; |
| | | } |
| | | |
| | | .ant-table.ant-table-bordered .ant-table-title { |
| | |
| | | } |
| | | } |
| | | |
| | | &.inset { |
| | | .ant-table-wrapper { |
| | | padding: 0; |
| | | } |
| | | } |
| | | |
| | | // |
| | | .ant-table { |
| | | border: none; |
| | | |
| | | &-title { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 8px 6px; |
| | | border-bottom: none; |
| | | } |
| | | |
| | | .ant-table-thead > tr > th, |
| | | .ant-table-header { |
| | | background: #f1f3f4; |
| | | background-color: #f1f3f4 !important; |
| | | } |
| | | |
| | | .ant-table-tbody > tr.ant-table-row-selected td { |
| | |
| | | .ant-table-bordered .ant-table-body > table, |
| | | .ant-table-bordered .ant-table-fixed-left table, |
| | | .ant-table-bordered .ant-table-fixed-right table { |
| | | border: 1px solid @border-color; |
| | | border: 1px solid @border-color !important; |
| | | } |
| | | |
| | | .ant-table-thead { |
| | | tr { |
| | | border: none; |
| | | } |
| | | |
| | | th { |
| | | border: none; |
| | | } |
| | | } |
| | | |
| | | .ant-table-bordered .ant-table-tbody > tr > td { |
| | | border-bottom: 1px solid @border-color; |
| | | border-bottom: 1px solid @border-color !important; |
| | | |
| | | &:last-child { |
| | | border-right: none !important; |
| | |
| | | |
| | | .ant-table-bordered .ant-table-thead > tr > th, |
| | | .ant-table-bordered .ant-table-tbody > tr > td { |
| | | border-right: 1px solid @border-color; |
| | | } |
| | | |
| | | .ant-table-thead > tr > th, |
| | | .ant-table-tbody > tr > td { |
| | | padding: 9px 8px !important; |
| | | border-right: 1px solid @border-color !important; |
| | | } |
| | | |
| | | .ant-pagination { |
| | |
| | | } |
| | | |
| | | .ant-table-fixed-right .ant-table-header { |
| | | border-left: 1px solid @border-color; |
| | | border-left: 1px solid @border-color !important; |
| | | |
| | | .ant-table-fixed { |
| | | border-bottom: none; |
| | | |
| | | .ant-table-thead th { |
| | | background: rgb(241, 243, 244); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | .ant-table-bordered .ant-table-thead > tr:not(:last-child) > th, |
| | | .ant-table-tbody > tr > td { |
| | | word-break: break-word; |
| | | border-color: @border-color; |
| | | border-color: @border-color !important; |
| | | } |
| | | |
| | | .ant-table-footer { |