From 1792daae63e7798b19109ac819fc0ecf42d34627 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 17 Jan 2024 10:11:17 +0000 Subject: [PATCH] Fix issues in the updated theme --- static/style.css | 46 +++++++++++++++++++++++++++++++---------- templates/thread.tmpl | 4 +--- templates/timeline.tmpl | 4 +--- 3 files changed, 37 insertions(+), 17 deletions(-) diff --git a/static/style.css b/static/style.css index 9cc203d..ad5a360 100644 --- a/static/style.css +++ b/static/style.css @@ -275,7 +275,7 @@ a:hover, } .btn-link:disabled { - color: #5a5a77; + color: #666666; cursor: unset; } @@ -557,6 +557,15 @@ input::file-selector-button:active { background-color: #cacaca; } +input[type=submit]:disabled, +button:disabled, +select:disabled, +input:disabled::file-selector-button { + color: #666666; + background-color: #eaeaea; + border: 2px solid #bababa; +} + .dark, .dark body, .dark .more-content { @@ -581,16 +590,6 @@ input::file-selector-button:active { background-color: #181818; } -.dark a, -.dark .btn-link { - color: #6090a3; -} - -.dark a:hover, -.dark .btn-link:hover { - color: #497091; -} - .dark *:focus-visible { outline: 1px solid #dcdcdc; } @@ -626,6 +625,7 @@ input::file-selector-button:active { .dark button, .dark select, .dark input::file-selector-button { + color: #dcdcdc; background-color: #242424; border: 2px solid #333333; } @@ -650,3 +650,27 @@ input::file-selector-button:active { .dark input::file-selector-button:active { background-color: #3f3f3f; } + +.dark input[type=submit]:disabled, +.dark button:disabled, +.dark select:disabled, +.dark input:disabled::file-selector-button { + color: #666666; + background-color: #242424; + border: 2px solid #333333; +} + +.dark a, +.dark btn-link, +.dark input.btn-link { + color: #6090a3; +} + +.dark a:hover, +.dark .btn-link:hover { + color: #497091; +} + +.dark .btn-link:disabled { + color: #666666; +} diff --git a/templates/thread.tmpl b/templates/thread.tmpl index 2426434..f32b065 100644 --- a/templates/thread.tmpl +++ b/templates/thread.tmpl @@ -1,8 +1,6 @@ {{with $s := .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}} -
-

Thread refresh

-
+

Thread refresh

{{range .Statuses}} diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl index 5b02c5f..8de6705 100644 --- a/templates/timeline.tmpl +++ b/templates/timeline.tmpl @@ -1,8 +1,6 @@ {{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}} -
-

{{.Title}} refresh

-
+

{{.Title}} refresh

{{if eq .Type "remote"}}