From 6754620d7abfb7273cff5f173349eb507fc0c8b7 Mon Sep 17 00:00:00 2001 From: Haishan Date: Fri, 8 Nov 2019 00:40:48 +0800 Subject: feat: connections inspection --- src/components/ConnectionTable.module.css | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/components/ConnectionTable.module.css (limited to 'src/components/ConnectionTable.module.css') diff --git a/src/components/ConnectionTable.module.css b/src/components/ConnectionTable.module.css new file mode 100644 index 0000000..f145542 --- /dev/null +++ b/src/components/ConnectionTable.module.css @@ -0,0 +1,38 @@ +.thead .tr { + display: grid; + grid-template-columns: repeat(12, max-content); +} + +.th { + padding: 8px 0 14px 10px; + height: 50px; + background: var(--color-background); + position: sticky; + top: 0; + + display: flex; + align-items: center; + justify-content: space-between; +} + +.th span:last-child { + margin-left: 10px; + width: 16px; + height: 16px; +} + +.td { + padding: 8px 10px; + font-size: 0.9em; + + font-family: var(--font-normal); +} + +.td.odd { + background: var(--color-row-odd); +} + +/* download upload td cells */ +.du { + text-align: right; +} -- cgit v1.3.1