Loading spinner and helper classes
This commit is contained in:
parent
476465e53f
commit
689af0f7f0
@ -50,15 +50,6 @@ a {
|
|||||||
background-position: left 1.05em;
|
background-position: left 1.05em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading {
|
|
||||||
padding-top: 2em;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.small {
|
|
||||||
font-size: .8em;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
@ -68,6 +59,44 @@ button {
|
|||||||
transition: background .3s;
|
transition: background .3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.spinner {
|
||||||
|
animation: spin 1s infinite;
|
||||||
|
border: 3px solid $color-heading-bg;
|
||||||
|
border-radius: 50%;
|
||||||
|
border-right-color: $color-text;
|
||||||
|
display: inline-block;
|
||||||
|
height: 20px;
|
||||||
|
margin-bottom: -.3em;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-primary {
|
||||||
|
color: $color-primary;
|
||||||
|
}
|
||||||
|
|
||||||
|
.color-secondary {
|
||||||
|
color: $color-secondary;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loading {
|
||||||
|
padding-top: 2em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.small {
|
||||||
|
font-size: .8em;
|
||||||
|
}
|
||||||
|
|
||||||
.row {
|
.row {
|
||||||
@include row();
|
@include row();
|
||||||
|
|
||||||
@ -78,6 +107,10 @@ button {
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.inline {
|
.inline {
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user