From 70cf9b99deb255df23407c4230e9c45cf5388932 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Tue, 8 Aug 2023 23:52:55 +1000 Subject: Cosmetic improvements to ViewMedia page --- wwwroot/styles/global.css | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'wwwroot') diff --git a/wwwroot/styles/global.css b/wwwroot/styles/global.css index 6c6e6f1..4a76f87 100644 --- a/wwwroot/styles/global.css +++ b/wwwroot/styles/global.css @@ -21,4 +21,43 @@ input { border: 1px solid #aaa; background: rgba(0, 0, 0, 0.3); border-radius: 5px; +} + +button { + background: #f0f; + border-radius: 10px; + border: none; + box-sizing: border-box; + height: 30px; + padding: 0 7px 0 7px; +} + +button:hover { + background: #f8f; +} + +button:active { + background: #fff; +} + +table.data-table { + border-collapse: collapse; + width: 100%; +} + +table.data-table > tbody > tr > th { + border-bottom: 1px solid white; + padding: 4px; +} + +table.data-table > tbody > tr > td { + padding: 4px; +} + +table.data-table > tbody > tr:nth-child(2n):not(:last-child) { + background: rgba(255, 255, 255, 0.2); +} + +table.data-table > tbody > tr > td:not(:last-child) { + border-right: 1px solid white; } \ No newline at end of file -- cgit v1.3