Pusher part one

This commit is contained in:
James Barnsley
2016-10-27 16:58:11 +13:00
parent c4fcf43b3c
commit 6de44cda53
10 changed files with 192 additions and 10 deletions

View File

@ -36,6 +36,14 @@ input[type="submit"] {
}
}
&.secondary {
background: #000000;
color: #FFFFFF;
&:hover {
background: lighten( #000000, 20% );
}
}
&.confirming,
&.destructive {
background: $red;
@ -45,6 +53,20 @@ input[type="submit"] {
}
}
&.timing-out {
position: relative;
&::before {
@include animate_timeout(2s);
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 0;
background: rgba(255,255,255,0.15);
}
}
&[disabled],
&[disabled="disabled"] {
background: $light_grey !important;