Skip to content

Commit

Permalink
Fix: dropdown for multiple versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed Jan 31, 2023
1 parent 80e8795 commit 447630f
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions plugins/versioning/src/main/resources/dokka/styles/multimodule.css
@@ -1,8 +1,9 @@
.versions-dropdown {
float: right;
position: relative;
}

.versions-dropdown-button {
display: flex;
border: none;
cursor: pointer;
padding: 5px;
Expand All @@ -12,13 +13,11 @@
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;
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;
Expand All @@ -28,25 +27,22 @@
display: none;
position: absolute;
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);
border: 1px solid hsla(0, 0%, 100%, .6);
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
z-index: 1;
overflow-y: auto;
max-height: 200px;
min-width: 50px;

}

.versions-dropdown-data a {
.versions-dropdown-data > a {
display: block;
padding: 5px;
padding-right: 18px;
color: #fff;
text-decoration: none;
display: block;
}

.versions-dropdown-data a:hover {
.versions-dropdown-data > a:hover {
background-color: hsla(0,0%,100%,.1)
}

Expand Down

0 comments on commit 447630f

Please sign in to comment.