blob: d2da44a3125e59d235e9ba6ac16b0ff9f259d75c (
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
|
.o_dropdown_menu {
> .dropdown-divider:first-child {
display: none;
}
min-width: 150px;
max-height: calc(100vh - 140px); // FIXME
overflow: auto;
.o_menu_item {
position: relative;
> .dropdown-item {
color: $o-main-text-color;
&:hover {
color: darken($o-main-text-color, 10%);
}
}
}
}
.dropdown-item {
position: relative;
color: $o-main-text-color;
&:hover {
color: darken($o-main-text-color, 10%);
}
&.selected { // TODO why not using standard BS4 "active" class ?
color: darken($o-main-text-color, 10%);
font-weight: bold;
&:before {
font-family: FontAwesome;
position: absolute;
left: 4px;
content: "\f00c";
}
}
.o_trash_button {
padding-left: 8px;
@include o-position-absolute($right: $dropdown-item-padding-x * 0.5);
}
}
|