diff options
author | HombreLaser <sebastian-440@live.com> | 2024-02-08 16:36:31 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2024-02-08 16:36:31 -0600 |
commit | e182245d3205d929881f51da9b48d6c4ed97a682 (patch) | |
tree | d390e8754dec70a9c9293afb801321b96f043c15 /_sass/base/_buttons.scss |
Diffstat (limited to '_sass/base/_buttons.scss')
-rw-r--r-- | _sass/base/_buttons.scss | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/_sass/base/_buttons.scss b/_sass/base/_buttons.scss new file mode 100644 index 0000000..f902f60 --- /dev/null +++ b/_sass/base/_buttons.scss @@ -0,0 +1,31 @@ +#{$all-button-inputs}, +button { + @include appearance(none); + -webkit-font-smoothing: antialiased; + background-color: $action-color; + border-radius: $base-border-radius; + border: none; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: $base-font-family; + font-size: $base-font-size; + font-weight: 600; + line-height: 1; + padding: 0.75em 1em; + text-decoration: none; + user-select: none; + vertical-align: middle; + white-space: nowrap; + + &:hover, + &:focus { + background-color: darken($action-color, 15%); + color: #fff; + } + + &:disabled { + cursor: not-allowed; + opacity: 0.5; + } +} |