diff options
Diffstat (limited to 'src/components/ConnectionTable.module.scss')
| -rw-r--r-- | src/components/ConnectionTable.module.scss | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/components/ConnectionTable.module.scss b/src/components/ConnectionTable.module.scss new file mode 100644 index 0000000..80a8432 --- /dev/null +++ b/src/components/ConnectionTable.module.scss @@ -0,0 +1,51 @@ +.tr { + display: grid; + /* grid-template-columns: repeat(11, minmax(max-content, 1fr)); */ + grid-template-columns: repeat(11, minmax(max-content, auto)); +} + +.th { + padding: 8px 10px; + height: 50px; + background: var(--color-background); + position: sticky; + top: 0; + font-size: 0.8em; + text-align: center; + user-select: none; + + display: flex; + align-items: center; + justify-content: space-between; + + &:hover { + color: var(--color-text-highlight); + } +} + +.td { + padding: 8px 13px; + font-size: 0.9em; + + font-family: var(--font-normal); +} + +.td.odd { + background: var(--color-row-odd); +} + +/* download upload td cells */ +.du { + text-align: right; +} + +.sortIconContainer { + display: inline-flex; + margin-left: 10px; + width: 16px; + height: 16px; +} + +.rotate180 { + transform: rotate(180deg); +} |
