aboutsummaryrefslogtreecommitdiff
path: root/plugins/versioning/src/main/resources/dokka/styles/multimodule.css
blob: 91798c1d1e767f99084081d3f37b97263c705ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
 * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
 */

.versions-dropdown {
  position: relative;
}

.versions-dropdown-button {
  display: flex;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.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;
    transform: rotate(90deg);
    width: 24px;
    height: 16px;
}

.versions-dropdown-data {
  display: none;
  position: absolute;
  background-color: #27282c;
  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 {
  display: block;
  padding: 5px;
  color: #fff;
  text-decoration: none;
}

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

.versions-dropdown:hover .versions-dropdown-data {
  display: block;
}