UNPKG

@csr632/next

Version:

A configurable component library for web built on React.

498 lines (459 loc) 17.4 kB
@charset "UTF-8"; .next-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; margin: -1px; } /* put your code here */ .next-table { box-sizing: border-box; position: relative; } .next-table *, .next-table *:before, .next-table *:after { box-sizing: border-box; } .next-table.next-table-layout-fixed { overflow: auto; } .next-table.next-table-layout-fixed table { table-layout: fixed; } .next-table.next-table-layout-auto table { table-layout: auto; } .next-table.next-table-small th .next-table-cell-wrapper { padding: 8px 8px; padding: var(--table-size-s-header-padding-top, 8px) var(--table-size-s-header-padding-left, 8px); } .next-table.next-table-small td .next-table-cell-wrapper { padding: 8px 8px; padding: var(--table-size-s-cell-padding-top, 8px) var(--table-size-s-cell-padding-left, 8px); } .next-table.next-table-small .next-table-prerow .next-table-cell-wrapper { padding: 8px 8px; padding: var(--s-2, 8px) var(--s-2, 8px); } .next-table table { border-collapse: collapse; border-spacing: 0; width: 100%; background: #FFFFFF; background: var(--table-row-bg, #FFFFFF); } .next-table table tr:first-child td { border-top-width: 0; } .next-table th { padding: 0; background: #EBECF0; background: var(--table-th-bg, #EBECF0); color: #333333; color: var(--table-th-color, #333333); text-align: left; font-weight: normal; font-weight: var(--table-th-font-weight, normal); border: 1px solid #DCDEE3; border: var(--table-normal-border-width, 1px) var(--table-normal-border-style, solid) var(--table-normal-border-color, #DCDEE3); } .next-table th .next-table-cell-wrapper { padding: 12px 16px; padding: var(--table-header-padding-top, 12px) var(--table-header-padding-left, 16px); overflow: hidden; text-overflow: ellipsis; word-break: break-all; } .next-table th.next-table-prerow .next-table-cell-wrapper { padding: 12px 16px; padding: var(--s-3, 12px) var(--s-4, 16px); } .next-table-affix { z-index: 1; overflow: hidden; } .next-table-header-resizable { position: relative; } .next-table-header-resizable .next-table-resize-handler { position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: transparent; cursor: ew-resize; } .next-table td { padding: 0; border: 1px solid #DCDEE3; border: var(--table-normal-border-width, 1px) var(--table-normal-border-style, solid) var(--table-normal-border-color, #DCDEE3); } .next-table td .next-table-cell-wrapper { padding: 12px 16px; padding: var(--table-cell-padding-top, 12px) var(--table-cell-padding-left, 16px); overflow: hidden; text-overflow: ellipsis; word-break: break-all; } .next-table td .next-table-cell-wrapper .next-icon-arrow-down.next-table-tree-arrow, .next-table td .next-table-cell-wrapper .next-icon-arrow-right.next-table-tree-arrow, .next-table td .next-table-cell-wrapper .next-table-tree-placeholder { margin-right: 8px; outline: 0; cursor: pointer; } .next-table td .next-table-cell-wrapper .next-icon-arrow-right.next-table-tree-arrow:before, .next-table td .next-table-cell-wrapper .next-icon-arrow-right.next-table-tree-arrow .next-icon-remote { width: 12px; font-size: 12px; line-height: inherit; } .next-table td .next-table-cell-wrapper .next-icon-arrow-right.next-table-tree-arrow::before { content: ""; content: var(--table-tree-fold-icon-content, ""); } .next-table td .next-table-cell-wrapper .next-icon-arrow-down.next-table-tree-arrow:before, .next-table td .next-table-cell-wrapper .next-icon-arrow-down.next-table-tree-arrow .next-icon-remote { width: 12px; font-size: 12px; line-height: inherit; } .next-table td .next-table-cell-wrapper .next-icon-arrow-down.next-table-tree-arrow::before { content: ""; content: var(--table-tree-unfold-icon-content, ""); } .next-table td.next-table-prerow .next-table-cell-wrapper { padding: 12px 16px; padding: var(--s-3, 12px) var(--s-4, 16px); } .next-table .next-table-expanded .next-table-cell-wrapper, .next-table .next-table-selection .next-table-cell-wrapper { overflow: visible; } .next-table.no-header table tr:first-child td { border-top-width: 1px; } .next-table.only-bottom-border { border-width: 0; } .next-table.only-bottom-border th { border-width: 0 0 1px 0; border-width: 0 0 var(--table-normal-border-width, 1px) 0; } .next-table.only-bottom-border td { border-width: 0 0 1px 0; border-width: 0 0 var(--table-normal-border-width, 1px) 0; } .next-table.only-bottom-border .next-table-expanded-row th { border-width: 0 0 1px 0; border-width: 0 0 var(--table-normal-border-width, 1px) 0; } .next-table.only-bottom-border .next-table-expanded-row td { border-width: 0 0 1px 0; border-width: 0 0 var(--table-normal-border-width, 1px) 0; } .next-table.only-bottom-border table tr td:first-child, .next-table.only-bottom-border table tr th:first-child { border-left-width: 0; } .next-table-loading { display: block; } .next-table.zebra tr:nth-child(odd) td { background: #FFFFFF; background: var(--table-td-normal, #FFFFFF); } .next-table.zebra tr:nth-child(even) td { background: #F7F8FA; background: var(--table-td-gray, #F7F8FA); } .next-table.zebra .next-table-row.hovered td { background: #F2F3F7; background: var(--table-row-hover-bg, #F2F3F7); color: #333333; color: var(--table-row-hover-color, #333333); } .next-table.zebra .next-table-cell.hovered { background: #F2F3F7; background: var(--table-row-hover-bg, #F2F3F7); color: #333333; color: var(--table-row-hover-color, #333333); } .next-table.zebra .next-table-row.selected td { background: #F2F3F7; background: var(--table-row-selected-bg, #F2F3F7); color: #333333; color: var(--table-row-selected-color, #333333); } .next-table-empty { color: #A0A2AD; color: var(--table-empty-color, #A0A2AD); padding: 32px 0; padding: var(--table-empty-padding, 32px) 0; text-align: center; } .next-table-expanded-row > td { border-width: 0; } .next-table-expanded-row > td:first-child { border-left-width: 1px; } .next-table-expanded-row > td:last-child { border-right-width: 1px; } .next-table-expanded-row:last-child td { border-bottom-width: 1px; } .next-table-expanded-row .next-table .last td { border-bottom-width: 0; } .next-table-filter-footer { margin: 10px 10px 0; } .next-table-filter-footer button { margin-right: 5px; } .next-table-row { transition: all 100ms linear; transition: all var(--motion-duration-immediately, 100ms) var(--motion-linear, linear); background: #FFFFFF; background: var(--table-row-bg, #FFFFFF); color: #333333; color: var(--table-row-color, #333333); } .next-table-row.hidden { display: none; } .next-table-row.hovered { background: #F2F3F7; background: var(--table-row-hover-bg, #F2F3F7); color: #333333; color: var(--table-row-hover-color, #333333); } .next-table-row.selected { background: #F2F3F7; background: var(--table-row-selected-bg, #F2F3F7); color: #333333; color: var(--table-row-selected-color, #333333); } .next-table-cell.hovered { background: #F2F3F7; background: var(--table-row-hover-bg, #F2F3F7); color: #333333; color: var(--table-row-hover-color, #333333); } .next-table-tree-placeholder { display: inline-block; width: 12px; } .last .next-table-expanded-row td { border-bottom-width: 1px; } .next-table-body, .next-table-header { overflow: auto; font-size: 12px; font-size: var(--table-th-font-size, 12px); } .next-table-header { margin-bottom: -20px; padding-bottom: 20px; overflow: -moz-scrollbars-none; -ms-overflow-style: none; scrollbar-width: none; } .next-table-header::-webkit-scrollbar { display: none; } .next-table-body { font-size: 12px; font-size: var(--table-body-font-size, 12px); position: relative; } .next-table-fixed { border: 1px solid #DCDEE3; border: var(--table-normal-border-width, 1px) var(--table-normal-border-style, solid) var(--table-normal-border-color, #DCDEE3); } .next-table-fixed table { table-layout: fixed; } .next-table-fixed .next-table-header { background: #EBECF0; background: var(--table-th-bg, #EBECF0); } .next-table-fixed table tr td:first-child, .next-table-fixed table tr th:first-child { border-left-width: 0; } .next-table-fixed .next-table-header th { border-top-width: 0; } .next-table-fixed .next-table-header tr th:last-child { border-right-width: 0; } .next-table-fixed .next-table-body td { border-top-width: 0; } .next-table-fixed .next-table-body tr:last-child td { border-bottom-width: 0; } .next-table-fixed .next-table-body tr td:last-child { border-right-width: 0; } .next-table-fixed.next-table-group table tr td:first-child, .next-table-fixed.next-table-group table tr th:first-child { border-left-width: 1px; border-left-width: var(--table-normal-border-width, 1px); } .next-table-fixed.next-table-group .next-table-header th { border-top-width: 1px; border-top-width: var(--table-normal-border-width, 1px); } .next-table-fixed.next-table-group .next-table-header tr th:last-child { border-right-width: 1px; border-right-width: var(--table-normal-border-width, 1px); } .next-table-fixed.next-table-group .next-table-body td { border-top-width: 1px; border-top-width: var(--table-normal-border-width, 1px); } .next-table-fixed.next-table-group .next-table-body tr:last-child td { border-bottom-width: 1px; border-bottom-width: var(--table-normal-border-width, 1px); } .next-table-fixed.next-table-group .next-table-body tr td:last-child { border-right-width: 1px; border-right-width: var(--table-normal-border-width, 1px); } .next-table-lock .next-table-body { overflow-x: auto; overflow-y: visible; } .next-table-group { border-width: 0; } .next-table-group .next-table-body { margin-top: 8px; margin-top: var(--table-group-split, 8px); } .next-table-group .next-table-body table { margin-bottom: 8px; margin-bottom: var(--table-group-split, 8px); } .next-table-group .next-table-body table tr:first-child td { border-top-width: 1px; } .next-table-group .next-table-group-header td { background: #EBECF0; background: var(--table-group-th-bg, #EBECF0); color: #333333; color: var(--table-group-th-color, #333333); } .next-table-group .next-table-group-footer td { background: #EBECF0; background: var(--table-group-footer-bg, #EBECF0); color: #333333; color: var(--table-group-footer-color, #333333); } .next-table-group .next-table-row.hovered, .next-table-group .next-table-row.selected { background: #FFFFFF; background: var(--table-row-bg, #FFFFFF); color: #333333; color: var(--table-row-color, #333333); } .next-table-lock { position: relative; } .next-table-lock table { table-layout: fixed; } .next-table-header-inner { overflow: unset; } .next-table-wrap-empty .next-table-lock-left td, .next-table-wrap-empty .next-table-lock-right td { border: none; } .next-table-wrap-empty .next-table-lock-left .next-table-empty, .next-table-wrap-empty .next-table-lock-right .next-table-empty { display: none; } .next-table-wrap-empty > .next-table-inner > .next-table-body > table { table-layout: auto; } .next-table-lock-left, .next-table-lock-right { position: absolute; left: 0; top: 0; z-index: 1; border: 0; transition: box-shadow .3s ease; overflow: hidden; } .next-table-lock-left table, .next-table-lock-right table { width: auto; } .next-table-lock-left .next-table-body, .next-table-lock-right .next-table-body { overflow-y: scroll; overflow-x: hidden; margin-right: -20px; padding-right: 0; } .next-table-lock-right { right: 0; left: auto; } .next-table-lock-right table tr td:first-child, .next-table-lock-right table tr th:first-child { border-left-width: 1px; } .next-table-lock-right.shadow { box-shadow: -2px 0 3px rgba(0, 0, 0, 0.12); } .next-table-lock-left.shadow { box-shadow: 2px 0 3px rgba(0, 0, 0, 0.12); } .next-table-filter { line-height: 1; } .next-table-sort { position: relative; width: 16px; display: inline-block; line-height: 1; } .next-table-sort:focus { outline: 0; } .next-table-sort > a::before { content: ' '; display: inline-block; vertical-align: middle; } .next-table-sort .next-icon { position: absolute; left: -2px; color: #333333; color: var(--table-sort-color, #333333); } .next-table-sort .next-icon:before, .next-table-sort .next-icon .next-icon-remote { width: 12px; font-size: 12px; line-height: inherit; } .next-table-sort .current .next-icon { color: #5584FF; color: var(--table-sort-color-current, #5584FF); } .next-table-sort .next-icon-ascending { left: 2px; } .next-table-filter { cursor: pointer; width: 20px; display: inline-block; } .next-table-filter:focus { outline: 0; } .next-table-filter .next-icon { color: #333333; color: var(--table-sort-color, #333333); } .next-table-filter .next-icon:before, .next-table-filter .next-icon .next-icon-remote { width: 12px; font-size: 12px; line-height: inherit; } .next-table-header-icon { margin-left: 8px; } .next-table-expanded-ctrl { cursor: pointer; } .next-table-expanded-ctrl:focus { outline: 0; } .next-table-expanded-ctrl.disabled { color: #999999; color: var(--table-expanded-ctrl-disabled-color, #999999); } .next-table-expanded-ctrl .next-table-expand-unfold:before, .next-table-expanded-ctrl .next-table-expand-unfold .next-icon-remote { width: 12px; font-size: 12px; line-height: inherit; } .next-table-expanded-ctrl .next-table-expand-unfold::before { content: ""; content: var(--table-expand-unfold-icon-content, ""); } .next-table-expanded-ctrl .next-table-expand-fold:before, .next-table-expanded-ctrl .next-table-expand-fold .next-icon-remote { width: 12px; font-size: 12px; line-height: inherit; } .next-table-expanded-ctrl .next-table-expand-fold::before { content: ""; content: var(--table-expand-fold-icon-content, ""); } .next-table[dir="rtl"] th { text-align: right; } .next-table[dir="rtl"] .next-table-header-resizable .next-table-resize-handler { right: auto; left: 0; } .next-table[dir="rtl"] td .next-table-cell-wrapper .next-icon-arrow-down.next-table-tree-arrow, .next-table[dir="rtl"] td .next-table-cell-wrapper .next-icon-arrow-right.next-table-tree-arrow, .next-table[dir="rtl"] td .next-table-cell-wrapper .next-table-tree-placeholder { margin-left: 3px; margin-right: 0; float: right; } .next-table[dir="rtl"] .next-table-expanded-row td:first-child { border-left-width: 0; border-right-width: 1px; } .next-table[dir="rtl"] .next-table-expanded-row td:last-child { border-left-width: 1px; border-right-width: 0; } .next-table[dir="rtl"].only-bottom-border .next-table-expanded-row th { border-width: 0 0 1px 0; border-width: 0 0 var(--table-normal-border-width, 1px) 0; } .next-table[dir="rtl"].only-bottom-border .next-table-expanded-row td { border-width: 0 0 1px 0; border-width: 0 0 var(--table-normal-border-width, 1px) 0; } .next-table[dir="rtl"] .next-table-filter-footer button { margin-left: 5px; margin-right: 0; } .next-table[dir="rtl"] .next-table-lock-left, .next-table[dir="rtl"] .next-table-lock-right { left: auto; right: 0; } .next-table[dir="rtl"] .next-table-lock-right { right: auto; left: 0; } .next-table[dir="rtl"] .next-table-lock-right table tr td:first-child, .next-table[dir="rtl"] .next-table-lock-right table tr th:first-child { border-right-width: 1px; } .next-table[dir="rtl"] .next-table-lock-right.shadow { box-shadow: 2px 0 3px rgba(0, 0, 0, 0.12); } .next-table[dir="rtl"] .next-table-lock-left.shadow { box-shadow: -2px 0 3px rgba(0, 0, 0, 0.12); } .next-table[dir="rtl"] .next-table-sort .next-icon { right: 0; left: auto; } .next-table[dir="rtl"] .next-table-sort .next-icon-ascending { right: 4px; left: auto; } .next-table[dir="rtl"] .next-table-filter { margin-right: 5px; margin-left: 0; } .next-table-fixed[dir="rtl"] table tr td:first-child, .next-table-fixed[dir="rtl"] table tr th:first-child { border-left-width: 1px; border-left-width: var(--table-normal-border-width, 1px); border-right-width: 0; } .next-table-fixed[dir="rtl"] .next-table-header tr th:last-child { border-left-width: 1px; border-left-width: var(--table-normal-border-width, 1px); } .next-table-fixed[dir="rtl"] .next-table-body tr td:last-child { border-left-width: 1px; border-left-width: var(--table-normal-border-width, 1px); }