]>
BookStack Code Mirror - hacks/commitdiff
projects
/
hacks
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c36325a
)
feat(mermaid-viewer): Improve dark mode button hover
author
Alexander Wilms
<redacted>
Thu, 26 Jun 2025 22:01:07 +0000
(
00:01
+0200)
committer
Alexander Wilms
<redacted>
Thu, 26 Jun 2025 22:01:07 +0000
(
00:01
+0200)
Uses BookStack's CSS variables for hover state consistency.
content/mermaid-viewer/head.html
patch
|
blob
|
history
diff --git
a/content/mermaid-viewer/head.html
b/content/mermaid-viewer/head.html
index e83065898e02f49408159596c67565d54c45815c..3037a8a0897fa6e38e76dc435a1a485e506648ee 100644
(file)
--- a/
content/mermaid-viewer/head.html
+++ b/
content/mermaid-viewer/head.html
@@
-529,6
+529,10
@@
background: #f6f8fa;
}
+ .dark-mode .mermaid-viewer-button-base:hover {
+ background: var(--color-bg-alt);
+ }
+
/* Override for pure white icons in dark mode */
.dark-mode .mermaid-viewer-button-base {
color: #fff;