diff options
-rw-r--r-- | static/style.css | 46 | ||||
-rw-r--r-- | templates/thread.tmpl | 4 | ||||
-rw-r--r-- | 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)}} -<div> - <h1>Thread <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1> -</div> +<h1>Thread <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1> {{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)}} -<div> - <h1>{{.Title}} <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1> -</div> +<h1>{{.Title}} <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1> {{if eq .Type "remote"}} <form action="/timeline/remote" method="GET"> |