This commit is contained in:
Jeremy Thomas
2017-05-28 16:07:29 +01:00
parent c7d4f806de
commit eb3fd3bc66
5 changed files with 80 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ $button-focus-border: $link-focus-border !default
$button-active: $link-active !default
$button-active-border: $link-active-border !default
$button-static: $grey !default
$button-static-background: $white-ter !default
$button-static-border: $grey-lighter !default
$button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
// The button sizes use mixins so they can be used at different breakpoints
@@ -178,6 +182,12 @@ $button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
+loader
+center(1em)
position: absolute !important
&.is-static
background-color: $button-static-background
border-color: $button-static-border
color: $button-static
box-shadow: none
pointer-events: none
// Adjustment for vertical spacing
button.button,