mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
47 lines
717 B
SCSS
47 lines
717 B
SCSS
#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;
|
|
|
|
&.visible {
|
|
display: block;
|
|
}
|
|
|
|
.title {
|
|
@extend %san, %metal;
|
|
|
|
padding: 0.4em;
|
|
text-align: center;
|
|
font-size: 1.2em;
|
|
border-bottom: $border;
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
@extend %flex-center-nowrap;
|
|
|
|
color: $c-font;
|
|
|
|
@include padding-direction(0.5em, 0.6em, 0.5em, 0.3em);
|
|
|
|
&::before {
|
|
width: 2em;
|
|
text-align: center;
|
|
}
|
|
|
|
&:hover {
|
|
background: $m-primary--fade-70;
|
|
}
|
|
}
|
|
|
|
&.transparent {
|
|
opacity: 0.7;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
}
|