ordered the scss forms file definitions

This commit is contained in:
jorge 2022-04-25 00:49:03 +02:00
parent bde71ecdbf
commit 263d1a144d
3 changed files with 28 additions and 28 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,31 @@
//search block size in content
article,.omekas-entry-content {
.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;
}
}
}
}
// search elements // search elements
.search{ .search{
.input-group { .input-group {
position: relative; position: relative;
border-radius: 4rem; border-radius: $global-padding*4;
overflow: hidden; overflow: hidden;
padding: 0; padding: 0;
margin: 0; margin: 0;
@ -10,7 +33,7 @@
right: 0; right: 0;
position: absolute; position: absolute;
height: 100%; height: 100%;
padding: 0.3rem 1rem; padding: $global-padding*0.3 $global-padding;
} }
} }
.input-group * { .input-group * {
@ -51,7 +74,7 @@
.hollow { .hollow {
border-color: $primary-color; border-color: $primary-color;
color: $primary-color; color: $primary-color;
&::after { &:after {
} }
&::placeholder { &::placeholder {
color: scale-color($primary-color, $lightness: -20%); color: scale-color($primary-color, $lightness: -20%);
@ -64,26 +87,3 @@
} }
} }
} }
//search block size in content
article,.omekas-entry-content {
.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;
}
}
}
}