forked from lichess-org/lila
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_context-menu.scss
More file actions
46 lines (37 loc) · 739 Bytes
/
_context-menu.scss
File metadata and controls
46 lines (37 loc) · 739 Bytes
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
#analyse-cm {
@extend %box-radius, %popup-shadow;
@include prevent-select;
background: $c-bg-box;
position: absolute;
display: none;
z-index: $z-context-menu-108;
cursor: default;
overflow: hidden;
&.visible {
display: block;
}
.title {
@extend %san, %metal-bg;
padding: 0.4em;
text-align: center;
font-size: 1.2em;
border-bottom: $border;
margin: 0;
}
a {
@extend %flex-center-nowrap;
@include padding-direction(0.5em, 0.6em, 0.5em, 0.3em);
color: $c-font;
&::before {
width: 2em;
text-align: center;
}
&:hover {
background: $m-primary--fade-70;
}
}
&.transparent {
opacity: 0.7;
transition: opacity 0.2s ease;
}
}