From 83ae8350b79ec1b57b31faa63b5f11b0a37ec574 Mon Sep 17 00:00:00 2001 From: Johannes Schriewer Date: Sun, 5 Jan 2025 19:02:14 +0100 Subject: [PATCH] Add new styles for listing tables --- inventory/static/inventory/css/main.css | 46 ++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/inventory/static/inventory/css/main.css b/inventory/static/inventory/css/main.css index e3169fc..f9d7117 100644 --- a/inventory/static/inventory/css/main.css +++ b/inventory/static/inventory/css/main.css @@ -78,6 +78,11 @@ nav .icon-only-button { background-color: transparent; } +nav .icon-nav { + border-left: 1px solid white; + padding-left: 25px; +} + h1 { margin-top: 20px; } @@ -136,7 +141,7 @@ main { } } -.icon { +img.icon { display: inline-block; margin-right: 10px; width: 18px; @@ -145,6 +150,24 @@ main { top: 2px; } +td.icon, th.icon { + width: 28px; +} + +td.icon img, th.icon img { + max-height: 18px; +} + +td.logo { + padding-right: 10px; + width: 70px; +} + +.logo img { + max-height: 18px; + max-width: 50px; +} + h2 .icon { width: 25px; height: 25px; @@ -159,6 +182,7 @@ ul.nav-list { width: 30%; margin: 0; padding: 0; + align-items: left; } ul.nav-list li { @@ -170,3 +194,23 @@ ul.nav-list li { text-indent: 0; list-style-type: none; } + +table.list { + border: 2px solid black; + border-spacing: 0px; + border-collapse: collapse; +} + +table.list thead th { + text-align: left; + border-bottom: 2px solid black; + padding: 10px; +} + +table.list tbody tr { +} + +table.list tbody td { + border-bottom: 1px solid black; + padding: 10px; +} \ No newline at end of file