UNPKG

zarm-web

Version:
230 lines (229 loc) 5.07 kB
/* border */ /* box shadow */ /* btn */ .ui-table { position: relative; color: #666; } .ui-table table th, .ui-table table td { padding: 6px 12px; } .ui-table.ui-table-radius .ui-table-body { border-radius: 4px; } .ui-table.ui-table-radius table { border-radius: 4px; } .ui-table-body { width: 100%; overflow-x: auto; transition: opacity 0.3s ease; } .ui-table-fixed-left { position: absolute; top: 0; left: 0; transition: box-shadow 0.3s ease-out; } .ui-table-fixed-left.shadow { border-right: 0; box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.12); } .ui-table-fixed-right { position: absolute; top: 0; right: 0; height: 100%; transition: box-shadow 0.3s ease-out; } .ui-table-fixed-right.shadow { border-left: 0; box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.12); } .ui-table .ui-popover-content { max-width: 300px; text-align: left; line-height: 24px; white-space: normal; } .ui-table table { border-collapse: separate; border-spacing: 0; background-color: #fff; } .ui-table table tr { line-height: normal; } .ui-table table th, .ui-table table td { white-space: nowrap; } .ui-table table th { background: #f4f4f4; font-weight: bold; height: 50px; line-height: 26px; transition: background 0.3s ease; position: relative; user-select: none; } .ui-table table td { height: 40px; line-height: 15px; } .ui-table table td .ellipsis-cell { max-width: 300px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .ui-table table tbody:last-child tr:last-child td { border-bottom: 0; } .ui-table table.ui-table-multi-headrow { text-align: center; } .ui-table table.ui-table-multi-headrow th { border-right: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; } .ui-table table.ui-table-multi-headrow th:last-child { border-right: 0; } .ui-table table.ui-table-multi-headrow tr:not(:first-child) th { border-right: 1px solid #e9e9e9; } .ui-table-expand-icon { display: inline-block; width: 17px; height: 17px; line-height: 13px; text-align: center; border: 1px solid #e8e8e8; user-select: none; background-color: #fff; cursor: pointer; } .ui-table-icon-expanded::before { content: "-"; } .ui-table-icon-collapsed::before { content: "+"; } .ui-table-expanded-row { background-color: #fbfbfb; } .ui-table-scroll { width: auto; min-width: 100%; text-align: left; } .ui-table.ui-table-bordered .ui-table-body { border-left: 1px solid #e9e9e9; border-right: 1px solid #e9e9e9; } .ui-table.ui-table-bordered.ui-table-multi-headrow { border: 1px solid #e9e9e9; border-left: 0; border-right: 0; } .ui-table.ui-table-bordered table { border: 1px solid #e9e9e9; border-left: 0; border-right: 0; } .ui-table.ui-table-bordered table th, .ui-table.ui-table-bordered table td { border-right: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; } .ui-table.ui-table-bordered table th:last-child, .ui-table.ui-table-bordered table td:last-child { border-right: 0; } .ui-table.ui-table-bordered table tr:not(:first-child) th { border-right: 1px solid #e9e9e9; } .ui-table.ui-table-bordered .ui-table-fixed-left, .ui-table.ui-table-bordered .ui-table-fixed-right { border: 1px solid #e9e9e9 !important; border-bottom: 0; } .ui-table.ui-table-striped tbody > tr:nth-of-type(even) { background: #fbfbfb; } .ui-table.ui-table-hover tbody tr:hover, .ui-table.ui-table-hover tbody tr.hover { background-color: #ecf6fd !important; } .ui-table.size-xl table th, .ui-table.size-xl table td { padding: 8px 16px; } .ui-table.size-xl.ui-table-radius .ui-table-body { border-radius: 6px; } .ui-table.size-xl.ui-table-radius table { border-radius: 6px; } .ui-table.size-lg table th, .ui-table.size-lg table td { padding: 7px 14px; } .ui-table.size-lg.ui-table-radius .ui-table-body { border-radius: 6px; } .ui-table.size-lg.ui-table-radius table { border-radius: 6px; } .ui-table.size-sm table th, .ui-table.size-sm table td { padding: 6px 12px/2 6px 12px; } .ui-table.size-sm.ui-table-radius .ui-table-body { border-radius: 4px; } .ui-table.size-sm.ui-table-radius table { border-radius: 4px; } .ui-table.size-xs table th, .ui-table.size-xs table td { padding: 4px 12px/2 4px 12px; } .ui-table.size-xs.ui-table-radius .ui-table-body { border-radius: 4px; } .ui-table.size-xs.ui-table-radius table { border-radius: 4px; } .ui-table-sorter { margin-left: 5px; display: inline-block; width: 8px; height: 16px; vertical-align: middle; text-align: center; } .ui-table-sorter-up, .ui-table-sorter-down { display: block; width: 0; height: 0; cursor: pointer; border-style: solid; } .ui-table-sorter-up { border-width: 0 4px 7px; border-color: transparent transparent #ddd; margin-bottom: 2px; } .ui-table-sorter-up.ui-table-sorter-active { border-color: transparent transparent #2db7f5; } .ui-table-sorter-down { border-width: 7px 4px 0; border-color: #ddd transparent transparent; } .ui-table-sorter-down.ui-table-sorter-active { border-color: #2db7f5 transparent transparent; }