UNPKG

tntd

Version:

tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。

108 lines (98 loc) 2.29 kB
.tnt-querylistscene { position: relative; &.large-size { .tnt-querylistscene-title { height: 48px; } } &-title { position: sticky; top: 0; height: 40px; background: #fff; line-height: 40px; padding: 0 20px; z-index: 1; & > span { font-size: 14px; color: @text-color; letter-spacing: 0; } } &-toolbar { padding: 12px 16px 12px; background: #fff; // box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.06); border-radius: @table-border-radius-base @table-border-radius-base 0 0; & > *:not(:last-child) { margin-right: 12px; } } &-content { background: #f1f2f5; padding: 16px 20px; } &-list { background: #fff; // box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.06); border-radius: @table-border-radius-base; .hasToolbar & { border-radius: 0 0 @table-border-radius-base @table-border-radius-base; } .ant-table-pagination.ant-pagination { position: relative; width: 100%; text-align: right; margin-bottom: 0; padding: 12px 16px; background: #fff; margin-top: 0; border-radius: 0 0 @table-border-radius-base @table-border-radius-base; // box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.06); z-index: 1; // .ant-pagination-item { // height: 28px; // line-height: 28px; // &:not(.ant-pagination-item-active) { // border: none; // } // } .ant-pagination-total-text { float: left; } .ant-pagination-options { text-align: left; } .ant-pagination-prev, .ant-pagination-next, .ant-pagination-jump-prev, .ant-pagination-jump-next { height: 28px; line-height: 28px; .ant-pagination-item-link { border: none; } } } .ant-table-placeholder { .ant-empty { padding: 104px 0; .tnt-drawer &, .tntd-modal & { padding: 0; } } } &.paginationSticky { .ant-table-pagination.ant-pagination { position: sticky; bottom: 0; } } &.hasScrollToBottom { .ant-table-pagination.ant-pagination { box-shadow: none; } } } }