| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- .table-wrapper {
- width: 100%;
- overflow: auto;
- border-inline-start: 1px solid #f0f0f0;
- border-start-start-radius: 8px;
- border-start-end-radius: 8px;
- }
- .table {
- min-width: 100%;
- padding: 0;
- margin: 0;
- overflow: unset;
- font-size: 14px;
- line-height: 1.5714;
- color: rgb(0 0 0 / 88%);
- text-align: start;
- list-style: none;
- border-spacing: 0;
- border-collapse: separate;
- background: #fff;
- border-top: 1px solid #f0f0f0;
- border-radius: 8px 8px 0 0;
- & td {
- min-width: 0;
- }
- }
- .table-head {
- position: sticky;
- top: 0;
- text-align: center;
- }
- .table-head-th {
- position: relative;
- min-width: 0;
- padding: 16px;
- margin: 0;
- font-weight: 600;
- color: rgb(0 0 0 / 88%);
- text-align: center;
- overflow-wrap: anywhere;
- list-style: none;
- background-color: #fafafa;
- border-inline-end: 1px solid #f0f0f0;
- border-bottom: 1px solid #f0f0f0;
- border-start-start-radius: 8px;
- transition: background 0.2s ease;
- &:last-child {
- border-start-end-radius: 8px;
- }
- }
- .table-body {
- & td {
- position: relative;
- min-width: 0;
- padding: 16px;
- overflow-wrap: anywhere;
- border-inline-end: 1px solid #f0f0f0;
- border-bottom: 1px solid #f0f0f0;
- transition: background 0.2s, border-color 0.2s;
- }
- }
- .resizer {
- position: absolute;
- top: 0;
- right: 0;
- width: 5px;
- height: 100%;
- touch-action: none;
- cursor: col-resize;
- user-select: none;
- background: var(--primary-color);
- opacity: 0;
- &:hover {
- opacity: 0.4;
- }
- }
- .resizing {
- opacity: 0.4;
- }
- .sticky {
- width: 100%;
- }
- .pagination {
- width: 100%;
- margin-top: 16px;
- &:global(.ant-pagination) {
- display: flex;
- }
- }
|