add site-search-block scss script

pull/3186/head
REJack 2020-12-02 09:25:20 +01:00
parent 700e5a0784
commit 260e610e65
1 changed files with 36 additions and 0 deletions

View File

@ -143,3 +143,39 @@
}
}
}
// Site Search
.site-search-block {
position: absolute;
padding: 0 $nav-link-padding-x;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 10;
display: none;
justify-content: center;
flex-direction: column;
@each $color, $value in $theme-colors {
@if $color != dark and $color != light {
.navbar-#{$color} & {
background-color: $value;
}
}
}
@each $color, $value in $colors {
.navbar-#{$color} & {
background-color: $value;
}
}
&.site-search-open {
display: flex;
}
.input-group {
width: 100%;
}
}