GrafiteInc/Scaffold

View on GitHub
resources/sass/_stripe.scss

Summary

Maintainability
Test Coverage
/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
.StripeElement {
    box-sizing: border-box;

    height: 40px;

    padding: 10px 12px;

    border: 1px solid $input-border-color;
    border-radius: 4px;
    background-color: $input-bg;
    color: $input-color !important;

    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}