summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/custom/_buttons.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/styles/bmc/custom/_buttons.scss')
-rw-r--r--src/assets/styles/bmc/custom/_buttons.scss43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/assets/styles/bmc/custom/_buttons.scss b/src/assets/styles/bmc/custom/_buttons.scss
new file mode 100644
index 00000000..b9b8073b
--- /dev/null
+++ b/src/assets/styles/bmc/custom/_buttons.scss
@@ -0,0 +1,43 @@
+.btn {
+ font-weight: $headings-font-weight;
+ padding-top: $spacer / 2;
+ padding-right: $spacer;
+ padding-bottom: $spacer / 2;
+ padding-left: $spacer;
+
+ // Buttons with SVGs and text expect
+ // text to be wrapped in a span element
+ svg + span {
+ margin-left: $spacer / 4;
+ }
+}
+
+.btn-primary {
+ fill: currentColor;
+}
+
+.btn-secondary {
+ fill: currentColor;
+}
+
+.btn-link {
+ fill: $primary;
+ text-decoration: none !important;
+
+ &:focus {
+ box-shadow: $btn-focus-box-shadow;
+ }
+ &:hover {
+ fill: darken($primary, 15%);
+ }
+}
+
+.btn:disabled {
+ color: $gray-600;
+ fill: currentColor;
+
+ &:not(.btn-link) {
+ border-color: $gray-400;
+ background-color: $gray-400;
+ }
+} \ No newline at end of file