diff options
Diffstat (limited to 'src/assets/styles/_buttons.scss')
-rw-r--r-- | src/assets/styles/_buttons.scss | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/assets/styles/_buttons.scss b/src/assets/styles/_buttons.scss index 2f961e00..b9b8073b 100644 --- a/src/assets/styles/_buttons.scss +++ b/src/assets/styles/_buttons.scss @@ -1,8 +1,14 @@ .btn { font-weight: $headings-font-weight; - svg { - vertical-align: sub; - margin-left: $spacer / 2; + padding-top: $spacer / 2; + padding-right: $spacer; + padding-bottom: $spacer / 2; + padding-left: $spacer; + + // Buttons with SVGs and text expect + // text to be wrapped in a span element + svg + span { + margin-left: $spacer / 4; } } @@ -17,10 +23,21 @@ .btn-link { fill: $primary; text-decoration: none !important; + &:focus { box-shadow: $btn-focus-box-shadow; } &:hover { fill: darken($primary, 15%); } +} + +.btn:disabled { + color: $gray-600; + fill: currentColor; + + &:not(.btn-link) { + border-color: $gray-400; + background-color: $gray-400; + } }
\ No newline at end of file |