From f4d2bf40e7b7e62aeb27bf0f1cabe53e35e68fd2 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Wed, 27 Jul 2022 10:25:16 +0200 Subject: Disable copy button for signatures (#2577) * Disable copy button for signatures --- plugins/base/src/main/resources/dokka/styles/style.css | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'plugins/base/src/main/resources/dokka/styles') diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css index b3749e73..ad8569ea 100644 --- a/plugins/base/src/main/resources/dokka/styles/style.css +++ b/plugins/base/src/main/resources/dokka/styles/style.css @@ -341,15 +341,15 @@ code.paragraph { cursor: pointer; } -.symbol span.copy-icon, .sample-container span.copy-icon { +.sample-container span.copy-icon { display: none; } -.symbol:hover span.copy-icon, .sample-container:hover span.copy-icon { +.sample-container:hover span.copy-icon { display: inline-block; } -.symbol span.copy-icon::before, .sample-container span.copy-icon::before { +.sample-container span.copy-icon::before { width: 24px; height: 24px; display: inline-block; @@ -362,7 +362,7 @@ code.paragraph { background-color: var(--copy-icon-color); } -.symbol span.copy-icon:hover::before, .sample-container span.copy-icon:hover::before { +.sample-container span.copy-icon:hover::before { background-color: var(--copy-icon-hover-color); } @@ -399,7 +399,6 @@ code.paragraph { left: -15em; } -.symbol:hover .copy-popup-wrapper.active-popup, .sample-container:hover .copy-popup-wrapper.active-popup { display: flex !important; } -- cgit