UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

127 lines (100 loc) 3.32 kB
.m_b23fa0ef { width: 100%; border-collapse: collapse; border-spacing: 0; line-height: var(--mantine-line-height); font-size: var(--mantine-font-size-sm); table-layout: var(--table-layout, auto); caption-side: var(--table-caption-side, bottom); border: none; } :where([data-mantine-color-scheme='light']) .m_b23fa0ef { --table-hover-color: var(--mantine-color-gray-1); --table-striped-color: var(--mantine-color-gray-0); --table-border-color: var(--mantine-color-gray-3); } :where([data-mantine-color-scheme='dark']) .m_b23fa0ef { --table-hover-color: var(--mantine-color-dark-5); --table-striped-color: var(--mantine-color-dark-6); --table-border-color: var(--mantine-color-dark-4); } .m_b23fa0ef:where([data-with-table-border]) { border: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color); } .m_b23fa0ef:where([data-tabular-nums]) { font-variant-numeric: tabular-nums; } .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) { font-weight: 500; } :where([data-mantine-color-scheme='light']) .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) { background-color: var(--mantine-color-gray-0); } :where([data-mantine-color-scheme='dark']) .m_b23fa0ef:where([data-variant='vertical']) :where(.m_4e7aa4f3) { background-color: var(--mantine-color-dark-6); } .m_4e7aa4f3 { text-align: left; } :where([dir="rtl"]) .m_4e7aa4f3 { text-align: right; } .m_4e7aa4fd { border-bottom: none; background-color: transparent; } @media (hover: hover) { .m_4e7aa4fd:hover:where([data-hover]) { background-color: var(--tr-hover-bg); } } @media (hover: none) { .m_4e7aa4fd:active:where([data-hover]) { background-color: var(--tr-hover-bg); } } .m_4e7aa4fd:where([data-with-row-border]) { border-bottom: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color); } .m_4e7aa4ef, .m_4e7aa4f3 { padding: var(--table-vertical-spacing) var(--table-horizontal-spacing, var(--mantine-spacing-xs)); } .m_4e7aa4ef:where([data-with-column-border]:not(:last-child)), .m_4e7aa4f3:where([data-with-column-border]:not(:last-child)) { border-inline-end: calc(0.0625rem * var(--mantine-scale)) solid var(--table-border-color); } .m_b2404537 :where(tr):where([data-with-row-border]:last-of-type) { border-bottom: none; } .m_b2404537 :where(tr):where([data-striped='odd']:nth-of-type(odd)) { background-color: var(--table-striped-color); } .m_b2404537 :where(tr):where([data-striped='even']:nth-of-type(even)) { background-color: var(--table-striped-color); } .m_b2404537 :where(tr)[data-hover] { --tr-hover-bg: var(--table-highlight-on-hover-color, var(--table-hover-color)); } .m_b242d975 { top: var(--table-sticky-header-offset, 0); z-index: 3; } .m_b242d975:where([data-sticky]) { position: sticky; background-color: var(--mantine-color-body); } .m_9e5a3ac7 { color: var(--mantine-color-dimmed); } .m_9e5a3ac7:where([data-side='top']) { margin-bottom: var(--mantine-spacing-xs); } .m_9e5a3ac7:where([data-side='bottom']) { margin-top: var(--mantine-spacing-xs); } .m_a100c15 { overflow-x: var(--table-overflow); } .m_62259741 { min-width: var(--table-min-width); }