|
|
|
@ -138,17 +138,24 @@
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: .5em;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: .5em;
|
|
|
|
|
width: 1rem;
|
|
|
|
|
height: 1rem;
|
|
|
|
|
width: 2rem;
|
|
|
|
|
height: 2rem;
|
|
|
|
|
opacity: .3;
|
|
|
|
|
@extend %content-box, %hide-text;
|
|
|
|
|
@extend %hide-text;
|
|
|
|
|
|
|
|
|
|
&:hover { opacity: .5; }
|
|
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: .5rem;
|
|
|
|
|
left: .5rem;
|
|
|
|
|
@extend %icon;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@if $style == 'dark' {
|
|
|
|
|
&:before { @extend %icon, %icon-close-white; }
|
|
|
|
|
&:before { @extend %icon-close-white; }
|
|
|
|
|
} @else {
|
|
|
|
|
&:before { @extend %icon, %icon-clear; }
|
|
|
|
|
&:before { @extend %icon-clear; }
|
|
|
|
|
}
|
|
|
|
|
._search-active > & { display: block; }
|
|
|
|
|
}
|
|
|
|
|