aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-06-26 17:02:59 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-07-02 13:21:10 +0200
commit894fba7409dd5a2f306038cf436b878d9d160974 (patch)
treeec13debf8534dad1ece5c02e01e7aaaa3c3ac044 /plugins/base
parenta89fef501de1ab2149417dc23a3ad94744a59e08 (diff)
downloaddokka-894fba7409dd5a2f306038cf436b878d9d160974.tar.gz
dokka-894fba7409dd5a2f306038cf436b878d9d160974.tar.bz2
dokka-894fba7409dd5a2f306038cf436b878d9d160974.zip
Show anchors icon only on hover
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 02b4899d..db42e3c0 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -734,8 +734,15 @@ td.content {
color: var(--hover-link-color);
}
+.main-subrow:hover .anchor-icon {
+ opacity: 1;
+ transition: 0.2s;
+}
+
.main-subrow .anchor-icon {
padding: 0 8px;
+ opacity: 0;
+ transition: 0.2s 0.5s;
}
.main-subrow .anchor-icon > svg path {