mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
77 lines
1.1 KiB
SCSS
77 lines
1.1 KiB
SCSS
#clinput {
|
|
display: flex;
|
|
height: $site-header-height;
|
|
|
|
input {
|
|
@extend %page-text;
|
|
|
|
line-height: $site-header-height;
|
|
background: none;
|
|
padding: 0;
|
|
border: 0;
|
|
width: 0;
|
|
|
|
@media (min-width: at-least($x-large)) {
|
|
@include transition(width);
|
|
}
|
|
|
|
body.clinput & {
|
|
width: 20ch;
|
|
}
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
}
|
|
|
|
&:has(input:focus) {
|
|
> a {
|
|
color: $c-primary;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.clinput #top {
|
|
@media (max-width: at-most($x-large)) {
|
|
#topnav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: at-most($x-small)) {
|
|
.site-title,
|
|
.site-title-nav__donate {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: at-most($xx-small)) {
|
|
.site-buttons > *:not(#clinput) {
|
|
display: none;
|
|
}
|
|
|
|
#clinput {
|
|
width: 75vw;
|
|
}
|
|
}
|
|
}
|
|
|
|
#clinput {
|
|
.complete-result--menu {
|
|
&::before {
|
|
@extend %data-icon;
|
|
|
|
content: $licon-GreaterThan;
|
|
display: inline-block;
|
|
text-align: center;
|
|
width: 1.5em;
|
|
color: $c-link;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
&:has(+ .user-link) {
|
|
border-bottom: $border;
|
|
}
|
|
}
|
|
}
|