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%;
|
2024-10-29 10:16:03 -04:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::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;
|
|
|
|
}
|
2024-10-21 15:47:54 -04:00
|
|
|
|
|
|
|
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);
|
2024-10-24 10:25:07 -04:00
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
width: 35vw;
|
|
|
|
}
|
2024-10-25 10:52:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&: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;
|
|
|
|
}
|
2024-11-15 11:31:08 -05:00
|
|
|
|
|
|
|
@include media-breakpoint-down(lg) {
|
|
|
|
@include heading-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
@include heading-xs;
|
|
|
|
|
|
|
|
line-clamp: 3;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
}
|
2024-10-21 15:47:54 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-highlight {
|
|
|
|
max-width: $templates-search-max-width;
|
|
|
|
}
|
|
|
|
|
2024-10-23 11:07:47 -04:00
|
|
|
.search-author {
|
|
|
|
display: block;
|
|
|
|
|
2024-10-25 10:58:47 -04:00
|
|
|
& + .badge-link-list {
|
2024-10-23 11:07:47 -04:00
|
|
|
margin-top: var(--spacing-06);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-21 15:47:54 -04:00
|
|
|
.gallery-official {
|
|
|
|
margin-left: var(--spacing-06);
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-16 14:00:47 -04:00
|
|
|
}
|