diff options
author | Marcin Aman <maman@virtuslab.com> | 2020-06-26 17:02:59 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-07-02 13:21:10 +0200 |
commit | 894fba7409dd5a2f306038cf436b878d9d160974 (patch) | |
tree | ec13debf8534dad1ece5c02e01e7aaaa3c3ac044 /plugins/base | |
parent | a89fef501de1ab2149417dc23a3ad94744a59e08 (diff) | |
download | dokka-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.css | 7 |
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 { |