1
0
Fork 0
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:
catborise 2026-10-31 14:32:32 +03:00
parent 2dab23cd9e
commit 9150c5688a

View file

@ -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;