Cleaned up dark mode styles inc. setting browser color scheme

Forces browser colorscheme based on BookStack color scheme, via
'color-scheme' css property.
Sets proper dark mode colors for some previously missed areas like
templates and attachment control buttons.
Also fixed search bar icon position for some search inputs.
This commit is contained in:
Dan Brown
2022-11-28 12:38:30 +00:00
parent b786ed07be
commit 09fa2d2c9c
6 changed files with 16 additions and 8 deletions

View File

@ -5,6 +5,6 @@
<form refs="entity-search@searchForm" class="search-box flexible" role="search">
<input refs="entity-search@searchInput" type="text"
aria-label="{{ $label }}" name="term" placeholder="{{ $label }}">
<button type="submit" aria-label="{{ trans('common.search') }}">@icon('search')</button>
<button tabindex="-1" type="submit" aria-label="{{ trans('common.search') }}">@icon('search')</button>
</form>
</div>