Default auth engine (now live); Working buttons

This commit is contained in:
James Barnsley
2017-06-14 09:15:43 +12:00
parent 120ffff975
commit 3bf673b979
4 changed files with 28 additions and 25 deletions

View File

@ -133,7 +133,7 @@ input[type="submit"] {
&.timing-out {
position: relative;
&::before {
&:before {
@include animate_timeout(2s);
content: '';
position: absolute;
@ -175,19 +175,37 @@ input[type="submit"] {
position: absolute;
display: block;
content: '';
background: rgba(0,0,0,0.15);
background: $mid_grey;
opacity: 1;
animation: slideloader 1s infinite;
top: 0;
right: 0;
bottom: 0;
left: 0;
height: 3px;
z-index: 1;
}
&.primary {
&:after {
background: $turquoise;
}
}
&.secondary {
&:after {
background: $black;
}
}
&.destructive {
&:after {
background: $red;
}
}
&.white {
&:after {
background: rgba(255,255,255,0.5);
background: $white;
}
}
}