diff options
| Commit | 81ee834ec6914f8b284e0724d541ed927513e6bd (patch) | |
|---|---|---|
| Author | 2018-11-20 11:54:48 +0800 | |
| Committer | 2018-11-20 11:54:48 +0800 | |
| Files | ac0c29f2a5fa344bb7a05638602dd6dc60ce9e37 /src/_buttons.scss | |
| Spectre-Dark-Gruvbox-0.5.6.tar Spectre-Dark-Gruvbox-0.5.6.tar.gz Spectre-Dark-Gruvbox-0.5.6.zip | ||
| Parent | ca1bdc5d86edb4d1baf3e9d1fabc89977950a2b4 (diff) | |
| Parent | ba4c380af32bc75dad1e03c2386b5f8a3fb9118f (diff) | |
Merge pull request #534 from picturepan2/0.5.6 v0.5.6
0.5.6
1 files changed, 6 insertions, 4 deletions
| -rw-r--r-- | src/_buttons.scss | 10 |
diff --git a/src/_buttons.scss b/src/_buttons.scss index 7de387a..9158f0f 100644 --- a/src/_buttons.scss +++ b/src/_buttons.scss @@ -1,6 +1,5 @@ // Buttons .btn { - @include control-transition(); appearance: none; background: $bg-color-light; border: $border-width solid $primary-color; @@ -15,6 +14,7 @@ padding: $control-padding-y $control-padding-x; text-align: center; text-decoration: none; + transition: background .2s, border .2s, box-shadow .2s, color .2s; user-select: none; vertical-align: middle; white-space: nowrap; @@ -134,16 +134,18 @@ background: transparent; border: 0; color: currentColor; - height: $unit-4; + height: $unit-5; line-height: $unit-4; margin-left: $unit-1; margin-right: -2px; opacity: 1; - padding: 0; + padding: $unit-h; text-decoration: none; - width: $unit-4; + width: $unit-5; + &:focus, &:hover { + background: rgba($bg-color, .5); opacity: .95; } |