diff --git a/docs/script.js b/docs/script.js index 5d27019..4a2cb7f 100644 --- a/docs/script.js +++ b/docs/script.js @@ -11,7 +11,7 @@ const sampleCollection = [ { title: 'buttons', showCode: false, - code: `Normal + code: `Normal diff --git a/scss/elements/buttons.scss b/scss/elements/buttons.scss index c93d05c..e20fb06 100644 --- a/scss/elements/buttons.scss +++ b/scss/elements/buttons.scss @@ -12,8 +12,7 @@ box-shadow: inset -4px -4px $shadow; } - &:hover, - &:focus { + &:hover { color: inherit; text-decoration: none; background-color: $hover-background; @@ -23,6 +22,10 @@ } } + &:focus { + box-shadow: 0 0 0 6px rgba($shadow, 0.3); + } + &:active:not(.is-disabled)::after { box-shadow: inset 4px 4px $shadow; }