aboutsummaryrefslogtreecommitdiff
path: root/plugins/versioning/src/main/resources/dokka/styles
diff options
context:
space:
mode:
authorvmishenev <vad-mishenev@yandex.ru>2021-09-01 00:03:13 +0300
committervmishenev <vad-mishenev@yandex.ru>2021-09-20 19:01:44 +0300
commitfc5496fb8bb888c3a50717260dc05d8fe2d54306 (patch)
tree2b61c01babe696065c4b8bafad61cce7479561ad /plugins/versioning/src/main/resources/dokka/styles
parent8efe04e127e3bf0aef395b31f3f3d9f49a0afe26 (diff)
downloaddokka-fc5496fb8bb888c3a50717260dc05d8fe2d54306.tar.gz
dokka-fc5496fb8bb888c3a50717260dc05d8fe2d54306.tar.bz2
dokka-fc5496fb8bb888c3a50717260dc05d8fe2d54306.zip
Improve versioning plugin (#2104)
- support for single module projects - version navigator is on all pages - dropdown arrow for version navigator
Diffstat (limited to 'plugins/versioning/src/main/resources/dokka/styles')
-rw-r--r--plugins/versioning/src/main/resources/dokka/styles/multimodule.css30
1 files changed, 24 insertions, 6 deletions
diff --git a/plugins/versioning/src/main/resources/dokka/styles/multimodule.css b/plugins/versioning/src/main/resources/dokka/styles/multimodule.css
index 4334d759..541e2eb9 100644
--- a/plugins/versioning/src/main/resources/dokka/styles/multimodule.css
+++ b/plugins/versioning/src/main/resources/dokka/styles/multimodule.css
@@ -8,28 +8,46 @@
padding: 5px;
}
-.versions-dropdown-button:hover,
-.versions-dropdown-button:focus {
- background-color: #f1f1f1;
+.versions-dropdown-button::after {
+ content: '';
+ -webkit-mask: url("../images/arrow_down.svg") no-repeat 50% 50%;
+ mask: url("../images/arrow_down.svg") no-repeat 50% 50%;
+ mask-size: auto;
+ -webkit-mask-size: cover;
+ mask-size: cover;
+ background-color: #fff;
+ display: inline-block;
+ position: relative;
+ top: 2px;
+ transform: rotate(90deg);
+ width: 24px;
+ height: 16px;
}
.versions-dropdown-data {
display: none;
position: absolute;
- background-color: #f1f1f1;
+ background-color: #27282c;
+ border-style: solid;
+ border-width: 1px;
+ border-color: hsla(0,0%,100%,.6);
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
+ overflow-y: auto;
+ max-height: 200px;
+ min-width: 50px;
+
}
.versions-dropdown-data a {
padding: 5px;
+ padding-right: 18px;
text-decoration: none;
display: block;
- color: black;
}
.versions-dropdown-data a:hover {
- background-color: #ddd
+ background-color: hsla(0,0%,100%,.1)
}
.versions-dropdown:hover .versions-dropdown-data {