fix/20210728 #14

Merged
chris merged 48 commits from fix/20210728 into develop 2021-07-29 22:39:06 +02:00
1 changed files with 59 additions and 58 deletions
Showing only changes of commit 0250b8f118 - Show all commits

View File

@ -1,66 +1,67 @@
.search{ .hero{
.input-group * { .search{
margin: 0; .input-group * {
} margin: 0;
.input-group {
position: relative;
border-radius: 4rem;
overflow: hidden;
padding: 0;
margin: 0;
}
.input-group .appear {
right: 0;
position: absolute;
height: 100%;
padding: 0.3rem 1rem;
}
.button{
border-color: $primary-color;
}
.appear{
display:none;
}
input{
&:active{
border-color: $primary-color;
background-color: $input-background-focus;
} }
&:focus,&:focus-within{ .input-group {
border-color: $primary-color;
background-color: $input-background;
}
&:not(:placeholder-shown) {
border:none;
background-color: $input-background-focus;
position: relative; position: relative;
right: 2rem; border-radius: 4rem;
+ .appear { overflow: hidden;
display: block; padding: 0;
color: $primary-color; margin: 0;
}
.input-group .appear {
right: 0;
position: absolute;
height: 100%;
padding: 0.3rem 1rem;
}
.button{
border-color: $primary-color;
}
.appear{
display:none;
}
input{
&:active{
border-color: $primary-color;
background-color: $input-background-focus; background-color: $input-background-focus;
z-index: 2; }
&:hover { &:focus,&:focus-within{
color: $white; border-color: $primary-color;
background-color: $primary-color; background-color: $input-background;
} }
&:not(:placeholder-shown) {
border:none;
background-color: $input-background-focus;
position: relative;
right: 2rem;
+ .appear {
display: block;
background-color: scale-color($input-background-focus, $lightness: -20%);
z-index: 2;
&:hover {
color: $white;
background-color: $primary-color;
}
}
}
}
.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%);
} }
} }
} }
.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%);
}
}
} }