diff --git a/web/css/form.css b/web/css/form.css index 5828005..447b545 100644 --- a/web/css/form.css +++ b/web/css/form.css @@ -1,3 +1,8 @@ +input, select, textarea { + background-color: var(--main-input-bg-color); + color: var(--main-text-color); +} + .input-grid { display: grid; gap: 5px 10px; diff --git a/web/css/style.css b/web/css/style.css index e0d91a4..1f5b860 100644 --- a/web/css/style.css +++ b/web/css/style.css @@ -11,7 +11,6 @@ --main-text-color: white; --main-card-bg-color: #202020; --main-card-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 80%), 0 2px 10px 0 rgb(0 0 0 / 80%); - --main-table-header-bg-color: black; --main-input-bg-color: #404040; } @@ -20,7 +19,6 @@ --main-text-color: black; --main-card-bg-color: white; --main-card-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%), 0 2px 10px 0 rgb(0 0 0 / 20%); - --main-table-header-bg-color: #808080; --main-input-bg-color: white; } } @@ -31,7 +29,6 @@ --main-text-color: black; --main-card-bg-color: white; --main-card-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 20%), 0 2px 10px 0 rgb(0 0 0 / 20%); - --main-table-header-bg-color: #808080; --main-input-bg-color: white; } @@ -40,18 +37,17 @@ --main-text-color: white; --main-card-bg-color: #202020; --main-card-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 80%), 0 2px 10px 0 rgb(0 0 0 / 80%); - --main-table-header-bg-color: black; --main-input-bg-color: #404040; } } -html { +* { box-sizing: border-box; - background-color: var(--main-bg-color); + font-family: monospace; } -* { - font-family: monospace; +html { + background-color: var(--main-bg-color); } body { @@ -77,23 +73,6 @@ main { margin-top: 16px; } -th { - background-color: var(--main-table-header-bg-color); -} - -td { - background-color: var(--main-card-bg-color); -} - -input, select, textarea { - background-color: var(--main-input-bg-color); - color: var(--main-text-color); -} - -img.clickable, svg.clickable { - cursor: pointer; -} - img, svg { height: 1em; width: 1em; @@ -108,6 +87,10 @@ hr { border-color: var(--main-text-color); } +.clickable { + cursor: pointer; +} + .flex { display: flex; } diff --git a/web/templates/backups.go.tmpl b/web/templates/backups.go.tmpl index bd2a3ce..04215a0 100644 --- a/web/templates/backups.go.tmpl +++ b/web/templates/backups.go.tmpl @@ -13,10 +13,6 @@ margin: 0px; padding: 0px; } - svg { - height: 1em; - width: 1em; - }

{{.TimeFormatted}}

diff --git a/web/templates/resource-chart.go.tmpl b/web/templates/resource-chart.go.tmpl index 5cf1ce1..c444cb5 100644 --- a/web/templates/resource-chart.go.tmpl +++ b/web/templates/resource-chart.go.tmpl @@ -4,10 +4,6 @@