mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 19:26:48 +00:00
fix(css): light badges read in the dark themes
A count or label badge (badge text-bg-light border) kept Bootstrap's light background but took the theme's light-text colour: white on pale grey in Darkly and Superhero, white on cyan in Vapor. Such a badge now takes the page's own text and background colours, which every bundled theme sets to a readable pair.
This commit is contained in:
parent
2dab23cd9e
commit
9150c5688a
1 changed files with 8 additions and 0 deletions
|
|
@ -12,6 +12,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* a count or label badge: text-bg-light keeps a light background with the
|
||||
theme's light-text colour, white on grey in Darkly, Superhero and Vapor;
|
||||
the page's own colours read in every theme */
|
||||
.badge.text-bg-light.border {
|
||||
color: var(--bs-body-color) !important;
|
||||
background-color: var(--bs-body-bg) !important;
|
||||
}
|
||||
|
||||
#editor {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue