You are here

commerce_stripe.form.css in Commerce Stripe 8

Stripe payment form styles for the Commerce Stripe module.

File

css/commerce_stripe.form.css
View source
  1. /**
  2. * @file
  3. * Stripe payment form styles for the Commerce Stripe module.
  4. */
  5. /*
  6. * Add drupal core form elements styling to the Stripe payment form.
  7. */
  8. .stripe-form .form-text {
  9. border: 1px solid #ccc;
  10. color: #3b3b3b;
  11. font-size: 0.929em;
  12. box-sizing: border-box;
  13. margin: 2px 0;
  14. padding: 4px;
  15. }
  16. .stripe-form .error {
  17. background-color: hsl(15, 75%, 97%);
  18. border-color: #e62600;
  19. border-width: 1px;
  20. box-shadow: 0 5px 5px -5px #b8b8b8 inset;
  21. color: #a51b00;
  22. }
  23. .stripe-form #card-number-element {
  24. width: 12em;
  25. }
  26. .stripe-form #expiration-element {
  27. width: 5em;
  28. }
  29. .stripe-form #security-code-element {
  30. width: 4em;
  31. }