Dropdowns and context menus

This commit is contained in:
James Barnsley
2017-06-19 09:04:27 +12:00
parent b52b8e18d2
commit c55454f00c
3 changed files with 83 additions and 56 deletions

View File

@ -122,11 +122,12 @@ input[type="submit"] {
@include animate_timeout(2s);
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 0;
height: 3px;
background: $red;
background: $black;
opacity: 0.25;
}
}
@ -148,7 +149,7 @@ input[type="submit"] {
display: block;
content: '';
animation: slideloader 1s infinite;
background: $white;
background: $mid_grey;
opacity: 0.5;
top: 0;
left: 0;
@ -156,30 +157,6 @@ input[type="submit"] {
right: 0;
z-index: 1;
}
&.primary {
&:after {
background: $turquoise;
}
}
&.secondary {
&:after {
background: $black;
}
}
&.destructive {
&:after {
background: $red;
}
}
&.white {
&:after {
background: $white;
}
}
}
&.context-menu-trigger {