diff options
author | Julian <julian@vantage-design.com> | 2020-05-13 23:05:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 23:05:47 +0300 |
commit | 94982f7998875e98de9d00482a35dcbe6a5df5eb (patch) | |
tree | f1d69328b12553024a9b4817ccc4b808ed989dcd /assets/css/bootstrap/_buttons.scss | |
parent | b8aab92a90099fe7bde3c2fbf029f50a29825be4 (diff) | |
parent | c3e9fedca8577469dc58981e59a71ab78d0ced34 (diff) |
Merge pull request #11 from vantagedesign/dev1.0.4
v1.0.4 - updated Bootstrap to v4.5
Diffstat (limited to 'assets/css/bootstrap/_buttons.scss')
-rw-r--r-- | assets/css/bootstrap/_buttons.scss | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/assets/css/bootstrap/_buttons.scss b/assets/css/bootstrap/_buttons.scss index e87d339..6ee24ba 100644 --- a/assets/css/bootstrap/_buttons.scss +++ b/assets/css/bootstrap/_buttons.scss @@ -10,9 +10,9 @@ font-weight: $btn-font-weight; color: $body-color; text-align: center; + text-decoration: if($link-decoration == none, null, none); white-space: $btn-white-space; vertical-align: middle; - cursor: if($enable-pointer-cursor-for-buttons, pointer, null); user-select: none; background-color: transparent; border: $btn-border-width solid transparent; @@ -37,12 +37,16 @@ @include box-shadow(none); } - &:not(:disabled):not(.disabled):active, - &:not(:disabled):not(.disabled).active { - @include box-shadow($btn-active-box-shadow); + &:not(:disabled):not(.disabled) { + cursor: if($enable-pointer-cursor-for-buttons, pointer, null); - &:focus { - @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); + &:active, + &.active { + @include box-shadow($btn-active-box-shadow); + + &:focus { + @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); + } } } } @@ -89,7 +93,6 @@ fieldset:disabled a.btn { &:focus, &.focus { text-decoration: $link-hover-decoration; - box-shadow: none; } &:disabled, |