SumOfUs/Champaign

View on GitHub
app/javascript/components/Payment/Payment.css

Summary

Maintainability
Test Coverage
.Payment__config.Checkbox {
  text-align: left;
}

html[dir='rtl'] .Payment__config.Checkbox {
  text-align: right;
}

.Payment__form-group-label {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  display: block;
}

.Payment__form-group-label > input {
  position: absolute;
  left: 0;
  top: 0;
}

.Payment__paypal-logo {
  margin: 0;
  height: 25px;
}

.Payment__submit {
  margin-top: 20px;
  display: table-cell;
  vertical-align: middle;
}

.Payment__submit span {
  margin-right: 10px;
}

.Payment__prompt {
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #989898;
}

.Payment__fine-print {
  color: #989898;
  font-size: 12px;
  line-height: 16px;
  width: 100%;
  margin: 20px 0;
  text-align: left;
}

html[dir='rtl'] .Payment__fine-print {
  text-align: right;
}

.Payment__fine-print .ReCaptchaBranding {
  margin-top: 5px;
  margin-bottom: 5px;
}

.Payment__direct-debit-logo {
  display: flex;
  justify-content: center;
}

.Payment .gpay-button {
  width: 100%;
  height: 60px;
}
.Payment .gpay-button:focus {
  outline: none;
}

.PaymentExpressDonationConflict {
  width: 600px;
  text-align: center;
}

.PaymentExpressDonationConflict--reason {
  font-size: 22px;
  line-height: 1.3em;
  margin-bottom: 1em;
}

.PaymentExpressDonationConflict--accept.Button-root,
.PaymentExpressDonationConflict--decline.Button-root {
  max-width: 300px;
  margin: 20px auto;
}

.PaymentExpressDonationConflict--decline.Button-root {
  background: transparent;
  border: none;
  color: #00c0cf;
  text-transform: none;
  height: auto;
  width: auto;
  font-weight: normal;
}

.PaymentExpressDonationConflict--decline.Button-root:hover {
  background: transparent;
  border: none;
  text-decoration: underline;
}

.PaymentExpressDonationConflict--decline.Button-root:active {
  box-shadow: none;
}

@media (max-width: 700px) {
  .PaymentExpressDonationConflict {
    width: 100%;
  }
}

.PaymentMethod__monthly {
  font-weight: 700;
  width: 100%;
  font-size: 14px;
  line-height: 17px;
  margin: 20px 0 5px;
  line-height: 20px;
}

.PaymentMethod__complete-donation {
  font-weight: 700;
  width: 100%;
  font-size: 16px;
  line-height: 17px;
  margin: 20px 0 5px;
  text-align: center;
}

.donation-amount-text-2x {
  text-align: center;
  font-size: 22px;
}

.payment-message {
  margin-top: 15px;
  border-top: #dfdfdf 1px solid;
  line-height: 20px;
  text-align: left;
}

html[dir='rtl'] .payment-message {
  text-align: right;
}

.mb-10 {
  margin-bottom: 10px !important;
}