blob: 513c57a10195831eb98d138d91b4e929d86dc876 (
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
|
.GitBook-Dropdown {
display: inline-block;
position: relative;
}
.GitBook-DropdownMenu {
position: absolute;
top: 100%;
right: 0;
z-index: 300;
border: 1px solid @dropdown-border-color;
margin: 5px;
margin-top: 0px;
border-radius: 3px;
&:before {
content: " ";
width: 0;
height: 0;
border-left: @dropdown-arrow-width solid transparent;
border-right: @dropdown-arrow-width solid transparent;
border-bottom: @dropdown-arrow-width solid @dropdown-border-color;
position: absolute;
top: -@dropdown-arrow-width;
right: 10px;
}
&:after {
content: " ";
width: 0;
height: 0;
border-left: (@dropdown-arrow-width - 1) solid transparent;
border-right: (@dropdown-arrow-width - 1) solid transparent;
border-bottom: (@dropdown-arrow-width - 1) solid #fff;
position: absolute;
top: -(@dropdown-arrow-width - 1);
right: 11px;
}
}
.GitBook-DropdownItem {
padding: @dropdown-padding-v @dropdown-padding-h;
}
.GitBook-DropdownItemLink {
width: 100%;
display: inline-block;
padding: @dropdown-padding-v @dropdown-padding-h;
text-align: center;
color: @dropdown-color;
&:hover {
color: @dropdown-hover-color;
}
}
|