aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-09-01 14:12:33 +0200
committerGitHub <noreply@github.com>2021-09-01 14:12:33 +0200
commit88ff6bdfb90c7f2a141c0534f69ebf95080db4ea (patch)
tree70f45277b73289c757e36cb56658bad3dd1a689a /plugins/base/src/main
parentf9eb00ce6b2d9732e67b03cc666d873ada1fcaa0 (diff)
downloaddokka-88ff6bdfb90c7f2a141c0534f69ebf95080db4ea.tar.gz
dokka-88ff6bdfb90c7f2a141c0534f69ebf95080db4ea.tar.bz2
dokka-88ff6bdfb90c7f2a141c0534f69ebf95080db4ea.zip
Navigation hover should be visible on dark mode (#2107)
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index c3b4bd20..85a9c2f9 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -34,6 +34,7 @@
--secondary-text-color: rgba(39, 40, 44, .7);
--code-background: rgba(39, 40, 44, .05);
--border-color: rgba(39, 40, 44, .2);
+ --navigation-highlight-color: rgba(39, 40, 44, 0.05);
--top-navigation-height: 73px;
--max-width: 1160px;
--white-10: hsla(0,0%,100%,.1);
@@ -53,6 +54,7 @@
--active-tab-border-color: var(--default-font-color);
--inactive-tab-border-color: var(--border-color);
+ --navigation-highlight-color: rgba(255, 255, 255, 0.05);
--footer-background: hsla(0,0%,100%,0.05);
--footer-font-color: hsla(0,0%,100%,0.6);
--footer-go-to-top-color: var(--footer-font-color);
@@ -437,7 +439,7 @@ code.paragraph {
}
.overview:hover:before {
- background-color: rgba(39, 40, 44, 0.05);
+ background-color: var(--navigation-highlight-color);
}
#nav-submenu {