2024-10-16 14:00:47 -04:00
|
|
|
.gallery-search {
|
2024-10-25 10:52:21 -04:00
|
|
|
margin-bottom: var(--spacing-16);
|
|
|
|
|
2024-10-16 14:00:47 -04:00
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
gap: var(--spacing-04);
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
.form-control-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
padding-top: var(--spacing-06);
|
|
|
|
padding-right: var(--spacing-06);
|
|
|
|
padding-bottom: var(--spacing-06);
|
|
|
|
height: 48px;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
width: 544px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-21 15:47:54 -04:00
|
|
|
|
|
|
|
.search-hits {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--spacing-08);
|
|
|
|
|
2024-10-23 11:07:19 -04:00
|
|
|
.search-hits-loading,
|
|
|
|
.search-hits-empty,
|
|
|
|
.search-hit:first-of-type {
|
|
|
|
margin-top: var(--spacing-16);
|
|
|
|
}
|
|
|
|
|
2024-10-21 15:47:54 -04:00
|
|
|
.search-hit {
|
|
|
|
display: flex;
|
|
|
|
gap: var(--spacing-08);
|
|
|
|
|
|
|
|
.search-image {
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
img {
|
2024-10-25 10:52:47 -04:00
|
|
|
@include shadow-md;
|
|
|
|
|
2024-10-21 15:47:54 -04:00
|
|
|
width: 185px;
|
2024-10-25 10:52:47 -04:00
|
|
|
border-radius: var(--border-radius-base);
|
|
|
|
position: relative;
|
2024-10-24 10:25:07 -04:00
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
width: 35vw;
|
|
|
|
}
|
2024-10-25 10:52:47 -04:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
background: var(--neutral-90);
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: var(--border-radius-base);
|
|
|
|
transition: opacity 0.15s ease-in-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&::before {
|
|
|
|
opacity: 0.08;
|
|
|
|
transition: opacity 0.15s ease-in-out;
|
|
|
|
}
|
2024-10-21 15:47:54 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-title {
|
|
|
|
margin-bottom: var(--spacing-04);
|
|
|
|
max-width: $templates-search-max-width;
|
2024-10-24 10:25:07 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-10-21 15:47:54 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
@include heading-md;
|
|
|
|
|
2024-10-24 10:25:07 -04:00
|
|
|
line-clamp: 2;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
overflow-y: hidden;
|
2024-10-21 15:47:54 -04:00
|
|
|
color: var(--content-primary);
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-highlight {
|
|
|
|
max-width: $templates-search-max-width;
|
|
|
|
}
|
|
|
|
|
2024-10-23 11:07:47 -04:00
|
|
|
.search-author {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
& + .search-hit-tags {
|
|
|
|
margin-top: var(--spacing-06);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-21 15:47:54 -04:00
|
|
|
.gallery-official {
|
|
|
|
margin-left: var(--spacing-06);
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-hit-tags {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
display: flex;
|
2024-10-24 10:25:07 -04:00
|
|
|
flex-wrap: wrap;
|
2024-10-21 15:47:54 -04:00
|
|
|
gap: var(--spacing-04);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-16 14:00:47 -04:00
|
|
|
}
|