2021-11-19 16:48:57 +01:00
|
|
|
.hero{
|
|
|
|
.search{
|
|
|
|
// @include xy-grid();
|
|
|
|
.input-group {
|
|
|
|
@include breakpoint(small){
|
|
|
|
// @include xy-cell (12);
|
|
|
|
// margin-left: auto;
|
|
|
|
// margin-right: auto;
|
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
// @include xy-cell (6);
|
|
|
|
// margin-left: auto;
|
|
|
|
// margin-right: auto;
|
|
|
|
}
|
|
|
|
@include breakpoint(large){
|
|
|
|
// @include xy-cell (4);
|
|
|
|
// margin-left: auto;
|
|
|
|
// margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} //end .hero
|
|
|
|
article,.omekas-entry-content {
|
2021-07-15 20:58:23 +02:00
|
|
|
.search{
|
2021-11-19 14:49:24 +01:00
|
|
|
@include xy-grid();
|
2021-07-15 20:58:23 +02:00
|
|
|
.input-group {
|
2021-11-19 14:49:24 +01:00
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell (12);
|
2021-11-19 15:08:36 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-11-19 14:49:24 +01:00
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
@include xy-cell (6);
|
2021-11-19 15:08:36 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-11-19 14:49:24 +01:00
|
|
|
}
|
2021-11-19 15:17:04 +01:00
|
|
|
@include breakpoint(large){
|
2021-11-19 14:49:24 +01:00
|
|
|
@include xy-cell (4);
|
2021-11-19 15:08:36 +01:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2021-11-19 14:49:24 +01:00
|
|
|
}
|
2021-11-19 16:48:57 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.search{
|
|
|
|
.input-group {
|
2021-07-15 20:58:23 +02:00
|
|
|
position: relative;
|
|
|
|
border-radius: 4rem;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-11-19 14:49:24 +01:00
|
|
|
.appear {
|
|
|
|
right: 0;
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0.3rem 1rem;
|
|
|
|
}
|
2021-07-15 20:58:23 +02:00
|
|
|
}
|
2021-11-19 14:49:24 +01:00
|
|
|
.input-group * {
|
|
|
|
margin: 0;
|
2021-07-15 20:58:23 +02:00
|
|
|
}
|
|
|
|
.button{
|
2021-07-02 14:17:32 +02:00
|
|
|
border-color: $primary-color;
|
|
|
|
}
|
2021-07-15 20:58:23 +02:00
|
|
|
.appear{
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
input{
|
|
|
|
&:active{
|
|
|
|
border-color: $primary-color;
|
2021-07-02 14:17:32 +02:00
|
|
|
background-color: $input-background-focus;
|
2021-07-15 20:58:23 +02:00
|
|
|
}
|
|
|
|
&:focus,&:focus-within{
|
|
|
|
border-color: $primary-color;
|
|
|
|
background-color: $input-background;
|
|
|
|
}
|
|
|
|
&:not(:placeholder-shown) {
|
|
|
|
border:none;
|
|
|
|
background-color: $input-background-focus;
|
|
|
|
position: relative;
|
2021-11-19 15:20:09 +01:00
|
|
|
padding-right: $global-padding * 9;
|
2021-07-15 20:58:23 +02:00
|
|
|
+ .appear {
|
|
|
|
display: block;
|
|
|
|
background-color: scale-color($input-background-focus, $lightness: -20%);
|
|
|
|
z-index: 2;
|
|
|
|
&:hover {
|
|
|
|
color: $white;
|
|
|
|
background-color: $primary-color;
|
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-15 20:58:23 +02:00
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-15 20:58:23 +02:00
|
|
|
.hollow {
|
|
|
|
border-color: $primary-color;
|
|
|
|
color: $primary-color;
|
|
|
|
&::after {
|
|
|
|
}
|
|
|
|
&::placeholder {
|
|
|
|
color: scale-color($primary-color, $lightness: -20%);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background-color: scale-color($primary-color, $lightness: 95%);
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background-color: scale-color($primary-color, $lightness: 85%);
|
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|