Merging into one

This commit is contained in:
James Barnsley
2018-01-25 17:04:19 +13:00
parent c9b76c9e17
commit 768508a99f
7 changed files with 84 additions and 35 deletions

View File

@ -168,6 +168,8 @@ input[type="submit"] {
&.working {
position: relative;
cursor: wait !important;
background: $grey;
color: $mid_grey;
&:after {
pointer-events: none;
@ -175,7 +177,7 @@ input[type="submit"] {
display: block;
content: '';
animation: slideloader 1s infinite;
background: rgba(200,200,200,0.4);
background: rgba(200,200,200,0.3);
top: 0;
left: 0;
bottom: 0;

View File

@ -117,9 +117,21 @@ $bp_shallow: 650px;
}
@keyframes slideloader {
0% { left: 0%; right: 100%; }
50% { left: 0%; right: 0%; }
100% { left: 100%; right: 0%; }
0% {
left: 0%;
right: 100%;
border-radius: 3px 0 0 3px;
}
50% {
left: 0%;
right: 0%;
border-radius: 3px;
}
100% {
left: 100%;
right: 0%;
border-radius: 0 3px 3px 0;
}
}