Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHECKOUT-2461 Style optimized checkout checklist radios buttons #1088

Merged
merged 1 commit into from
Sep 25, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Draft
- Style optimized checkout new checklist radio buttons [#1088](https://github.com/bigcommerce/cornerstone/pull/1088)

## 1.9.3 (2017-09-19)
- Fixes image overlapping details on product page and Quick View on small viewports [#1067](https://github.com/bigcommerce/cornerstone/pull/1067)
Expand Down
20 changes: 20 additions & 0 deletions assets/scss/optimized-checkout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,26 @@ $optimizedCheckout-input--error-boxShadow: 0 0 3px transparentize(stencilColor("
border-color: stencilColor("optimizedCheckout-formChecklist-borderColor");
}

.optimizedCheckout-form-checklist-checkbox {
~ .form-label::after,
~ .form-label::before {
background-color: stencilColor("optimizedCheckout-formField-backgroundColor");
border-color: stencilColor("optimizedCheckout-formField-borderColor");
}

&:focus ~ .form-label {
box-shadow: inset 0 0 0 1px stencilColor("optimizedCheckout-colorFocus");
}

&:checked ~ .form-label::before {
border-color: stencilColor("optimizedCheckout-formField-inputControlColor");
}

&:checked ~ .form-label::after {
background: stencilColor("optimizedCheckout-formField-inputControlColor");
}
}

//
// Loading Toaster
// Background & Text Color
Expand Down