improve swap and loading animation

This commit is contained in:
Laura Klünder 2017-11-23 01:59:08 +01:00
parent 4221604159
commit 80cb5ea47a

View file

@ -91,14 +91,14 @@ main.map {
#search { #search {
z-index: 4; z-index: 4;
min-height: 54px; min-height: 54px;
/*noinspection CssUnknownTarget*/
background: url('../../img/loader.gif') no-repeat 4px 3px;
min-width: 54px; min-width: 54px;
width: 100%; width: 100%;
transition: width 150ms; transition: width 150ms;
flex-shrink: 0; flex-shrink: 0;
} }
#search.loading { #search.loading {
/*noinspection CssUnknownTarget*/
background: url('../../img/loader.gif') no-repeat 4px 3px;
width: 5%; width: 5%;
} }
@ -284,7 +284,6 @@ main.show-details #resultswrapper .details {
.locationinput { .locationinput {
position: relative; position: relative;
padding: 0; padding: 0;
background-color: #ffffff;
} }
.locationinput input { .locationinput input {
box-sizing: border-box; box-sizing: border-box;