aboutsummaryrefslogtreecommitdiff
path: root/plugins/versioning/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/versioning/src/main/resources')
-rw-r--r--plugins/versioning/src/main/resources/META-INF/services/org.jetbrains.dokka.plugability.DokkaPlugin1
-rw-r--r--plugins/versioning/src/main/resources/dokka/styles/multimodule.css37
2 files changed, 38 insertions, 0 deletions
diff --git a/plugins/versioning/src/main/resources/META-INF/services/org.jetbrains.dokka.plugability.DokkaPlugin b/plugins/versioning/src/main/resources/META-INF/services/org.jetbrains.dokka.plugability.DokkaPlugin
new file mode 100644
index 00000000..1b0f1e3e
--- /dev/null
+++ b/plugins/versioning/src/main/resources/META-INF/services/org.jetbrains.dokka.plugability.DokkaPlugin
@@ -0,0 +1 @@
+org.jetbrains.dokka.versioning.VersioningPlugin \ No newline at end of file
diff --git a/plugins/versioning/src/main/resources/dokka/styles/multimodule.css b/plugins/versioning/src/main/resources/dokka/styles/multimodule.css
new file mode 100644
index 00000000..4334d759
--- /dev/null
+++ b/plugins/versioning/src/main/resources/dokka/styles/multimodule.css
@@ -0,0 +1,37 @@
+.versions-dropdown {
+ float: right;
+}
+
+.versions-dropdown-button {
+ border: none;
+ cursor: pointer;
+ padding: 5px;
+}
+
+.versions-dropdown-button:hover,
+.versions-dropdown-button:focus {
+ background-color: #f1f1f1;
+}
+
+.versions-dropdown-data {
+ display: none;
+ position: absolute;
+ background-color: #f1f1f1;
+ box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
+ z-index: 1;
+}
+
+.versions-dropdown-data a {
+ padding: 5px;
+ text-decoration: none;
+ display: block;
+ color: black;
+}
+
+.versions-dropdown-data a:hover {
+ background-color: #ddd
+}
+
+.versions-dropdown:hover .versions-dropdown-data {
+ display: block;
+} \ No newline at end of file