DigitalConsumer.ISS/public/css/hop-styling.css
Alex Humphries 10f4469ebb INSR-8720: Fix payment-page defects
- Adjust error message font size
- Hide redundant loading modal for PayPal
- Adjust iframe resize behavior for when Afterpay opens in the iframe
  instead of as a pop-up
2026-03-06 09:57:01 -05:00

376 lines
10 KiB
CSS

/* IMPORTANT: READ README.md in this folder! Do not edit .css file directly! */
/* IMPORTANT: READ README.md in this folder! Do not edit .css file directly! */
/* IMPORTANT: READ README.md in this folder! Do not edit .css file directly! */
/* IMPORTANT: READ README.md in this folder! Do not edit .css file directly! */
@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");
@font-face {
font-family: "Glyphicons Halflings";
src: url(/fonts/glyphicons-halflings-regular.eot);
src: url(/fonts/glyphicons-halflings-regular.eot?#iefix) format("embedded-opentype"), url(/fonts/glyphicons-halflings-regular.woff2) format("woff2"), url(/fonts/glyphicons-halflings-regular.woff) format("woff"), url(/fonts/glyphicons-halflings-regular.ttf) format("truetype"), url(/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format("svg");
}
body {
font-family: Urbanist, Roboto, Arial, sans-serif;
font-weight: 400;
letter-spacing: 0.03em;
color: #4d4e53;
margin: 0;
background-color: white;
margin-bottom: 1rem;
font-size: 1rem;
}
body .validation-info {
color: #db0020;
}
body .italicSmall {
font-weight: normal;
font-style: italic;
font-size: 12px;
}
body span {
line-height: 24px;
}
body a {
color: #0070D1;
text-decoration: none;
font-weight: 500;
}
body a:hover {
text-decoration: underline;
color: #167cac;
}
body .form-group {
display: block;
position: relative;
}
body .headerlinecontainer {
color: #000;
}
body .headerlinecontainer .headerline1 {
margin-bottom: 0.75rem;
margin-top: 0rem;
font-weight: 600;
font-size: 1.25rem;
line-height: 1.375rem;
}
body .headerlinecontainer .headerline5v2 {
display: block;
padding: 0.75rem 0;
color: #db0020;
font-style: italic;
font-size: 12px;
}
body input,
body select {
height: 2.8125rem;
border: solid 1px #b3b4b5;
border-radius: 4px;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
color: #525656;
font-family: inherit;
font-weight: normal;
font-style: normal;
font-stretch: normal;
font-size: 16px;
line-height: 1.56;
padding: 10px;
width: 100%;
}
body input:focus, body input:focus-visible,
body select:focus,
body select:focus-visible {
border: solid 2.5px #0070d1;
outline: none;
}
body select {
border-radius: 4px;
background: url(/icons/select.png) no-repeat 98% #ffffff;
background-size: 10px 17px;
appearance: none;
font-size: 16px;
color: #000;
}
body h3 {
font-size: 1rem;
font-weight: 600;
margin-top: 1.375rem;
margin-bottom: 0.6875rem;
color: #000;
}
body .creditCardSpecific div label {
font-weight: 500;
}
body .creditCardSpecific #infoRow2 {
margin-bottom: 0;
}
body #cardExpirationContainer {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 0;
}
@media (min-width: 400px) {
body #cardExpirationContainer {
flex-direction: row;
}
body #cardExpirationContainer .card_expirationYear,
body #cardExpirationContainer .card_expirationMonth {
display: flex;
flex-direction: column;
width: 100%;
}
body #cardExpirationContainer .card_expirationYear {
margin-left: 16px;
}
}
body .optional-label span {
display: none;
}
body .buttonContainer #sghopcancelbutton {
float: left;
}
body .buttonContainer #sghopsubmitbutton {
float: right;
}
body .buttonContainer #sghopsubmitbutton.creditCardSpecific {
float: right;
}
@media (max-width: 500px) {
body .buttonContainer #sghopsubmitbutton.creditCardSpecific {
float: left;
width: 100%;
}
}
body .buttonContainer #selectPaymentTypeButton {
float: right;
}
@media (max-width: 500px) {
body .buttonContainer #selectPaymentTypeButton {
float: left;
width: 100%;
}
}
body .buttonContainer .btn-success {
width: 99%;
height: 45px;
border: none;
border-radius: 22.5px;
font-size: 16px;
line-height: 0.94;
font-weight: 600;
color: #ffffff;
background-color: #0c7e47;
border-color: #0a673a;
font-family: Urbanist;
cursor: pointer;
}
body .buttonContainer .btn-success:hover {
background-color: #084f2d;
}
body .buttonContainer .btn-success:focus, body .buttonContainer .btn-success:active {
outline: none;
background-color: #0c7e47;
box-shadow: 0 0 0 3px #ffffff, 0 0 0 5.5px #0c7e47;
}
body .has-error input.form-control,
body .has-error select.form-control {
border-color: #db0020;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
body .has-error input.form-control:focus,
body .has-error select.form-control:focus {
box-shadow: none;
}
body .has-error select {
background-image: url(/icons/select-error.png);
}
body .has-error small {
font-size: 1rem;
line-height: 1.56;
margin-bottom: 0.3125rem;
color: #db0020;
}
body .has-success .control-label {
color: #4d4e53;
}
body .has-success input.form-control,
body .has-success select.form-control {
border-color: #0c7e47;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
body .has-success input.form-control:focus,
body .has-success select.form-control:focus {
box-shadow: none;
}
body .has-success select {
background-image: url(/icons/select-success.png);
}
body .cc-error-container #alert-message {
background-color: #fcbfbb;
border: 1px solid #d4281c;
}
#fmg-checkout-shared .form-group .list-group.radio .list-group-item {
border-radius: 5px;
}
#fmg-checkout-shared .form-group .list-group.radio .list-group-item.active {
box-shadow: 0 0 0 5px #b9d7e6;
}
#fmg-checkout-shared .form-group .list-group.radio .list-group-item label {
padding: 12px 20px;
}
#fmg-checkout-shared #applepay-and-paypal-container {
display: inline-flex;
width: 80%;
justify-content: space-between;
}
#fmg-checkout-shared #applepay-and-paypal-container #paypalParentDiv {
padding-left: 10px;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group {
margin: 0;
width: 48%;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group .list-group.paymentSelection .list-group-item {
border-radius: 35px;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group .list-group.paymentSelection .list-group-item#applepayParentLink {
margin: 0;
border: none;
box-shadow: none;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group .list-group.paymentSelection .list-group-item#applepayParentLink label {
padding: 0;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group .list-group.paymentSelection .list-group-item#applepayParentLink label apple-pay-button {
width: 100%;
vertical-align: middle;
--apple-pay-button-height: 47px;
--apple-pay-button-border-radius: 35px;
--apple-pay-button-padding: 2px 0;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group .list-group #paypalParentLink {
margin: 0;
}
#fmg-checkout-shared #applepay-and-paypal-container .form-group .list-group #paypalParentLink #paypalImage {
max-width: 90px;
}
#fmg-checkout-shared #applepay-and-paypal-container.no-applepay .form-group {
width: 100%;
}
#fmg-checkout-shared #applepay-and-paypal-container.no-applepay .form-group#applepayParentDiv {
display: none;
}
#fmg-checkout-shared #applepay-and-paypal-container.no-applepay .form-group#paypalParentDiv {
padding-left: 0;
}
#fmg-checkout-shared #applepay-and-paypal-container.no-applepay .form-group .list-group.paymentSelection {
width: 100%;
}
#fmg-checkout-shared #applepay-and-paypal-container.no-applepay .form-group .list-group #paypalParentLink #paypalImage {
max-width: 5.3125rem;
}
#fmg-checkout-shared #other-payments-container label {
display: block;
text-align: left;
align-items: flex-start;
justify-content: space-between;
font-size: 16px;
font-weight: 600;
line-height: 1.56;
}
#fmg-checkout-shared #other-payments-container label.control-label {
justify-content: start;
}
#fmg-checkout-shared #other-payments-container label span.paymentOptionText {
margin: auto 0;
padding-left: 0;
font-weight: 600;
}
#fmg-checkout-shared #other-payments-container #afterpayParentLink label > span:first-of-type {
width: 100%;
}
#fmg-checkout-shared #other-payments-container #afterpayParentLink label > span:last-of-type {
width: 0;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv #creditCardParentLink {
margin-bottom: 0;
}
@media (max-width: 33.9em) {
#fmg-checkout-shared #other-payments-container #creditCardParentDiv #creditCardParentLink {
min-height: 3.5rem;
}
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv #creditCardParentLink label {
display: flex;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv #creditCardParentLink label .paymentOptionText {
text-align: left;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv.active {
padding-bottom: 10px;
border: 1px solid #0070D1;
border-radius: 5px;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv.active > .paymentSelection #creditCardParentLink {
min-height: unset;
border-bottom-color: #0070D1;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv .paymentSelection #creditCardImages {
display: flex;
flex-direction: row;
width: 50%;
justify-content: flex-end;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv .paymentSelection #creditCardImages img {
max-width: fit-content;
width: 25%;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv .paymentSelection #creditCardImages img:not(:last-of-type) {
margin-right: 1%;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv .creditCardSpecific {
padding: 0 2%;
}
#fmg-checkout-shared #other-payments-container #creditCardParentDiv .creditCardSpecific > .form-group {
width: 100%;
margin-bottom: 0.5rem;
}
#fmg-checkout-shared #other-payments-container .italicSmall {
margin-top: 10px;
}
#fmg-checkout-shared #other-payments-container .disclaimerContainerv2 {
margin: 1rem 0;
}
@media only screen and (max-device-width: 767px) {
#fmg-checkout-shared #applepay-and-paypal-container {
width: 100%;
}
#fmg-checkout-shared #other-payments-container > .form-group {
width: 100%;
}
}
.form-control-feedback {
position: absolute;
top: 0;
right: 0;
z-index: 2;
display: block;
width: 38px;
height: 38px;
line-height: 38px;
text-align: center;
pointer-events: none;
top: 27px;
}
.form-control-feedback.glyphicon {
display: none;
}
.form-control-feedback.glyphicon-remove:before {
content: "\e014";
}
.form-control-feedback.glyphicon-ok:before {
content: "\e013";
}