Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 2f348855 authored by Julie Thezenas's avatar Julie Thezenas
Browse files

search test

parent c5e35e0a
No related branches found
No related tags found
No related merge requests found
@import "common/foundation/mixins";
$max-width: 600px;
.display-search-banner {
#main-outlet {
padding-top: 0;
}
}
.search-banner {
@if $background-image != "none" {
background-image: url($background-image);
} @else {
background: none;
}
@if $tile-background_image == "true" {
background-size: auto;
} @else {
background-size: cover;
background-repeat: no-repeat;
}
}
.custom-search-banner-wrap {
border-radius: 10%;
box-sizing: border-box;
position: relative;
padding: 2.5em 0 3em;
margin: 1em auto;
@include breakpoint(tablet) {
padding: 1em 8px 2em;
margin-top: 0.5em;
}
> div {
margin: 0 auto;
max-width: $max-width;
}
.search-menu {
position: relative;
display: flex;
input[type="text"] {
margin: 0;
width: 100%;
padding-right: 4em;
}
}
.search-input {
flex: 1 1 auto;
margin: 0;
padding: 0;
.searching {
// spinner
top: 0.5em;
right: 2.25em;
}
}
h1 {
font-size: var(--font-up-6);
line-height: $line-height-medium;
@include breakpoint(tablet) {
font-size: var(--font-up-4);
}
}
h1,
p {
text-align: center;
}
.search-icon {
position: absolute;
z-index: 2;
order: 2;
right: 0;
background: transparent;
.discourse-no-touch & {
&:hover {
background: transparent;
.d-icon {
color: var(--primary-high);
}
}
}
}
.search-context,
.results {
margin: 0 auto;
max-width: $max-width;
}
.search-context {
position: absolute;
z-index: 10;
right: 0;
top: 2.67em;
display: inline-flex;
align-items: center;
label {
margin-right: 1em;
}
}
.results {
box-sizing: border-box;
background: var(--secondary);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
position: absolute;
width: $max-width;
z-index: 9;
margin-left: auto;
margin-right: auto;
left: 0;
top: 2.4em;
right: 0;
padding: 0.5em;
@include breakpoint(mobile-extra-large) {
width: 100%;
}
ul,
ol {
list-style-type: none;
margin: 0;
}
}
.searching a.show-advanced-search {
display: none;
}
.search-link .d-icon {
color: var(--primary-medium);
}
span.keyword {
color: var(--primary);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment