You are here

commerce_braintree.form.css in Commerce Braintree 8

#edit-commerce-payment-payment-details-braintree-number {
  width: 16em;
  margin-top: 10px;
  margin-right: 10px;
}

#edit-commerce-payment-payment-details-braintree-cvv {
  margin-top: 10px;
  width: 82px;
}

#edit-commerce-payment-payment-details-braintree-amount {
  margin-top: 10px;
  width: 82px;
}

.credit-card-form__expiration {
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 1em;
}

.braintree-hosted-field {
  height: 1.2em;
  border: 1px solid #D6D2C4;
  padding: 4px;
  background: #FFF;
  box-sizing: content-box;
}

.braintree-form #card-number {
  width: 16em;
}

.braintree-form #expiration-month {
  width: 3em;
}

.braintree-form #expiration-year {
  width: 3em;
}

.braintree-form #cvv {
  width: 5em;
}

.braintree-hosted-fields-focused {
  border-color: #777;
}

.braintree-hosted-fields-invalid {
  border-color: red;
}

.braintree-hosted-fields-valid {
  border-color: limegreen;
}

File

css/commerce_braintree.form.css
View source
  1. #edit-commerce-payment-payment-details-braintree-number {
  2. width: 16em;
  3. margin-top: 10px;
  4. margin-right: 10px;
  5. }
  6. #edit-commerce-payment-payment-details-braintree-cvv {
  7. margin-top: 10px;
  8. width: 82px;
  9. }
  10. #edit-commerce-payment-payment-details-braintree-amount {
  11. margin-top: 10px;
  12. width: 82px;
  13. }
  14. .credit-card-form__expiration {
  15. margin-top: 10px;
  16. margin-right: 10px;
  17. margin-bottom: 1em;
  18. }
  19. .braintree-hosted-field {
  20. height: 1.2em;
  21. border: 1px solid #D6D2C4;
  22. padding: 4px;
  23. background: #FFF;
  24. box-sizing: content-box;
  25. }
  26. .braintree-form #card-number {
  27. width: 16em;
  28. }
  29. .braintree-form #expiration-month {
  30. width: 3em;
  31. }
  32. .braintree-form #expiration-year {
  33. width: 3em;
  34. }
  35. .braintree-form #cvv {
  36. width: 5em;
  37. }
  38. .braintree-hosted-fields-focused {
  39. border-color: #777;
  40. }
  41. .braintree-hosted-fields-invalid {
  42. border-color: red;
  43. }
  44. .braintree-hosted-fields-valid {
  45. border-color: limegreen;
  46. }