Fix dark mode bug in selectpicker widgets

This commit is contained in:
Pēteris Caune 2021-08-10 16:47:47 +03:00
parent 544ec7ea69
commit b43612806f
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
3 changed files with 17 additions and 5 deletions

View File

@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
### Bug Fixes
- Add handling for non-latin-1 characters in webhook headers
- Fix dark mode bug in selectpicker widgets
## v1.22.0 - 2020-08-06

View File

@ -19,6 +19,22 @@
border-color: var(--btn-active-border);
}
.open > .dropdown-toggle.btn-default,
.open > .dropdown-toggle.btn-default:active,
.open > .dropdown-toggle.btn-default:hover,
.open > .dropdown-toggle.btn-default:focus {
color: var(--btn-active-color);
background-color: var(--btn-active-bg);
border-color: var(--btn-active-border);
}
.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
color: var(--btn-default-color);
}
.alert-info {
background-color: var(--state-info-bg);
border-color: var(--state-info-border);

View File

@ -150,8 +150,3 @@ body.dark {
--text-color: hsl(240, 3.3%, 88.2%);
--text-muted: hsl(240, 3%, 55%);
}