Browse Source

Fix dark mode bug in selectpicker widgets

pull/551/head
Pēteris Caune 3 years ago
parent
commit
b43612806f
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
3 changed files with 17 additions and 5 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +16
    -0
      static/css/bootstrap-colors.css
  3. +0
    -5
      static/css/variables.css

+ 1
- 0
CHANGELOG.md View File

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


+ 16
- 0
static/css/bootstrap-colors.css View File

@ -19,6 +19,22 @@
border-color: var(--btn-active-border); 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 { .alert-info {
background-color: var(--state-info-bg); background-color: var(--state-info-bg);
border-color: var(--state-info-border); border-color: var(--state-info-border);


+ 0
- 5
static/css/variables.css View File

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

Loading…
Cancel
Save