proper separation between block presentation and element construtio in search block

This commit is contained in:
jorge 2021-11-19 16:48:57 +01:00
parent 4cfabe9ad5
commit acfb3316a0
2 changed files with 29 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,28 @@
// .hero{
.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 {
.search{
@include xy-grid();
// display: flex;
// flex-direction: column;
// align-items: center;
.input-group {
@include breakpoint(small){
@include xy-cell (12);
@ -20,6 +39,11 @@
margin-left: auto;
margin-right: auto;
}
}
}
}
.search{
.input-group {
position: relative;
border-radius: 4rem;
overflow: hidden;
@ -83,4 +107,3 @@
}
}
}
// } //end .hero