mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
43 lines
686 B
SCSS
43 lines
686 B
SCSS
.complete {
|
|
&-parent {
|
|
position: relative;
|
|
}
|
|
|
|
&-list {
|
|
@extend %box-radius-force, %popup-shadow;
|
|
|
|
position: absolute;
|
|
top: 100%;
|
|
z-index: $z-complete-113;
|
|
width: 14em;
|
|
min-height: 2em;
|
|
background-color: $c-bg-box;
|
|
|
|
&__empty {
|
|
text-align: center;
|
|
font-style: italic;
|
|
padding: 1em;
|
|
}
|
|
}
|
|
|
|
&-result {
|
|
@include padding-direction(0.4em, 0, 0.4em, 0.4em);
|
|
|
|
color: $c-font;
|
|
display: block;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&.complete-selected {
|
|
&,
|
|
& icon {
|
|
color: $c-font-clearer !important;
|
|
}
|
|
|
|
background: $m-primary_bg--mix-20;
|
|
}
|
|
}
|
|
}
|