Skip to content

Commit

Permalink
Add loader to answerbox
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Oct 19, 2021
1 parent b4392c9 commit 452b94f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions src/SearchBlock/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -833,9 +833,47 @@ div.ui.modal.facet {
}
}

@keyframes progres {
0% {
width: 0%;
}

25% {
width: 50%;
}

50% {
width: 75%;
}

75% {
width: 85%;
}

100% {
width: 100%;
}
}

.answers-list {
margin-top: 3em;

.answers__loading {
.progress {
height: 3px;
margin-top: 1em;

.color {
position: relative;
background-color: #2d9390;
width: 0px;
height: 10px;
border-radius: 1px;
animation: progres 4s infinite linear;
}
}
}

.answers__directAnswer {
font-size: xx-large;
}
Expand All @@ -857,6 +895,7 @@ div.ui.modal.facet {

.answer__domain {
padding-left: 0.3em;
font-size: x-small;
}
}

Expand Down Expand Up @@ -889,6 +928,7 @@ div.ui.modal.facet {
color: #ccc;
margin: 0em;
}

.answers__bottom__spacer {
border-bottom: 1px solid #ccc;
flex-grow: 2;
Expand All @@ -899,6 +939,10 @@ div.ui.modal.facet {

.rating {
margin-left: 0em;

.icon.active {
color: #2d9390;
}
}
}

Expand Down

0 comments on commit 452b94f

Please sign in to comment.