summaryrefslogtreecommitdiff
path: root/_sass/base/_buttons.scss
diff options
context:
space:
mode:
Diffstat (limited to '_sass/base/_buttons.scss')
-rw-r--r--_sass/base/_buttons.scss31
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;
+ }
+}