2017-11-15 21:50:51 +01:00
|
|
|
/* ==========================================================================
|
|
|
|
SEARCH
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.layout--search {
|
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
2017-11-15 20:43:31 +01:00
|
|
|
}
|
2017-12-07 14:56:14 +01:00
|
|
|
|
|
|
|
.search__toggle {
|
|
|
|
margin-left: 1rem;
|
|
|
|
margin-right: 1rem;
|
2018-11-26 02:20:03 +01:00
|
|
|
height: $nav-toggle-height;
|
2017-12-07 14:56:14 +01:00
|
|
|
border: 0;
|
|
|
|
outline: none;
|
2018-11-26 02:20:03 +01:00
|
|
|
color: $primary-color;
|
2017-12-07 14:56:14 +01:00
|
|
|
background-color: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-transition: 0.2s;
|
|
|
|
transition: 0.2s;
|
|
|
|
|
|
|
|
&:hover {
|
2018-11-26 02:20:03 +01:00
|
|
|
color: mix(#000, $primary-color, 25%);
|
2017-12-07 14:56:14 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-icon {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-content {
|
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
|
|
|
padding-top: 1em;
|
|
|
|
padding-bottom: 1em;
|
|
|
|
|
|
|
|
&__inner-wrap {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
-webkit-animation: $intro-transition;
|
|
|
|
animation: $intro-transition;
|
|
|
|
-webkit-animation-delay: 0.15s;
|
|
|
|
animation-delay: 0.15s;
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
2019-04-09 02:59:58 +02:00
|
|
|
max-width: $max-width;
|
2017-12-07 14:56:14 +01:00
|
|
|
}
|
2019-07-17 22:05:50 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&__form {
|
|
|
|
background-color: transparent;
|
2017-12-07 14:56:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-input {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: transparent;
|
|
|
|
font-size: $type-size-3;
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
font-size: $type-size-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
font-size: $type-size-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is--visible {
|
|
|
|
display: block;
|
|
|
|
visibility: visible;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.results__found {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
font-size: $type-size-6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-title {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-excerpt {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-02-16 20:20:42 +01:00
|
|
|
|
|
|
|
/* Algolia search */
|
|
|
|
|
|
|
|
.ais-search-box {
|
|
|
|
max-width: 100% !important;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-title .ais-Highlight {
|
2018-10-22 19:56:43 +02:00
|
|
|
color: $primary-color;
|
2018-02-16 20:20:42 +01:00
|
|
|
font-style: normal;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2019-07-17 22:05:50 +02:00
|
|
|
|
2018-02-16 20:20:42 +01:00
|
|
|
.archive__item-excerpt .ais-Highlight {
|
2018-10-22 19:56:43 +02:00
|
|
|
color: $primary-color;
|
2018-02-16 20:20:42 +01:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|