Skip to content
This repository has been archived by the owner on Aug 8, 2018. It is now read-only.

Commit

Permalink
[#155003820] refactored styles for Checkout and Add Donation buttons …
Browse files Browse the repository at this point in the history
  • Loading branch information
otarza committed Apr 11, 2018
1 parent 16e8f29 commit 1392dac
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend-gifts/src/components/BasketWithGifts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const BasketWithGifts = ({ currentCurrency, products }) => {
currency={currentCurrency}
/>

<CheckoutButton className="btn btn-primary btn-block space-top-none">
<CheckoutButton className="btn btn-primary btn-block btn-checkout space-top-none">
Checkout
</CheckoutButton>
</Sticky>
Expand Down
6 changes: 6 additions & 0 deletions frontend-gifts/src/styles/sass/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,12 @@ input[type="button"] {
&:focus { color: $gray-dark; }
}

// Checkout Button
.btn-checkout {
font-weight: bold;
text-transform: uppercase !important;
}


/*!
* Waves v0.6.0
Expand Down
8 changes: 7 additions & 1 deletion frontend-gifts/src/styles/sass/falcon/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
color: $brand-alternate;
border-color: $brand-alternate;
}

&:active, &:focus {
color: $btn-font-color-alt !important;
background-color: darken($btn-primary-bg, 10%) !important;
border-color: transparent;
}
}

// Introduce new button type.
Expand Down Expand Up @@ -75,4 +81,4 @@
line-height: 32px;
font-size: 14px;
}
}
}

0 comments on commit 1392dac

Please sign in to comment.