From 894fba7409dd5a2f306038cf436b878d9d160974 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Fri, 26 Jun 2020 17:02:59 +0200 Subject: Show anchors icon only on hover --- plugins/base/src/main/resources/dokka/styles/style.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/base') 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 { -- cgit