summaryrefslogtreecommitdiff
path: root/src/components/ConnectionTable.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-11-08 00:40:48 +0800
committerHaishan <[email protected]>2019-11-09 13:21:25 +0800
commit6754620d7abfb7273cff5f173349eb507fc0c8b7 (patch)
treed91136e4863b4c41ff521bf182dd8cc08bb355bc /src/components/ConnectionTable.module.css
parent130793446476e47b2e5f0457482dfbfdf1944b48 (diff)
feat: connections inspection
Diffstat (limited to 'src/components/ConnectionTable.module.css')
-rw-r--r--src/components/ConnectionTable.module.css38
1 files changed, 38 insertions, 0 deletions
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;
+}