Fixes #1290, change selector for search icon to work with div, remove unused styles
This commit is contained in:
parent
f6cc77cd70
commit
3122fd76a4
1 changed files with 2 additions and 10 deletions
|
@ -15,7 +15,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button[type="submit"].searchbar__button {
|
div.searchbar__button {
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
width: #{31 / $base-font-size}rem;
|
width: #{31 / $base-font-size}rem;
|
||||||
height: #{36 / $base-font-size}rem;
|
height: #{36 / $base-font-size}rem;
|
||||||
|
@ -29,15 +29,6 @@ button[type="submit"].searchbar__button {
|
||||||
@include themify() {
|
@include themify() {
|
||||||
border-right-color: getThemifyVariable('input-border-color');
|
border-right-color: getThemifyVariable('input-border-color');
|
||||||
}
|
}
|
||||||
&:enabled:hover {
|
|
||||||
background-color: unset;
|
|
||||||
@include themify() {
|
|
||||||
border-right-color: getThemifyVariable('input-border-color');
|
|
||||||
}
|
|
||||||
& g {
|
|
||||||
fill: unset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchbar__icon {
|
.searchbar__icon {
|
||||||
|
@ -46,6 +37,7 @@ button[type="submit"].searchbar__button {
|
||||||
width: #{22 / $base-font-size}rem;
|
width: #{22 / $base-font-size}rem;
|
||||||
height: #{27 / $base-font-size}rem;
|
height: #{27 / $base-font-size}rem;
|
||||||
transform: scaleX(-1);
|
transform: scaleX(-1);
|
||||||
|
padding-top: #{3 / $base-font-size}rem;
|
||||||
@include themify() {
|
@include themify() {
|
||||||
fill: getThemifyVariable('input-text-color');
|
fill: getThemifyVariable('input-text-color');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue