-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add stripe elements styling guidelines for reference
relates #25
- Loading branch information
Showing
4 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* 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 { | ||
background-color: white; | ||
padding: 8px 12px; | ||
border-radius: 4px; | ||
border: 1px solid transparent; | ||
box-shadow: 0 1px 3px 0 #e6ebf1; | ||
-webkit-transition: box-shadow 150ms ease; | ||
transition: box-shadow 150ms ease; | ||
} | ||
|
||
.StripeElement--focus { | ||
box-shadow: 0 1px 3px 0 #cfd7df; | ||
} | ||
|
||
.StripeElement--invalid { | ||
border-color: #fa755a; | ||
} | ||
|
||
.StripeElement--webkit-autofill { | ||
background-color: #fefde5 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters