Skip to content
Snippets Groups Projects
Commit ab47b733 authored by mattwire's avatar mattwire
Browse files

Change style of card element

parent a685f21d
Branches
Tags
1 merge request!1096.4
......@@ -6,10 +6,14 @@
padding: 2%;
margin: 2% auto;
max-width: 800px;
background-color: ghostwhite;
-webkit-box-shadow: 10px 10px 7px -6px rgba(0,0,0,0.81);
-moz-box-shadow: 10px 10px 7px -6px rgba(0, 0, 0, 0.81);
box-shadow: 10px 10px 7px -6px rgba(0, 0, 0, 0.81);
background-color: #f0f0f0;
-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.2);
-moz-box-shadow: 0 0 1px 1px rgba(0,0,0,0.2);
box-shadow: 0 0 1px 1px rgba(0,0,0,0.2);
border: 1px solid transparent;
}
#card-element.StripeElement--focus {
border: 1px solid gold;
}
#card-errors {
......
......@@ -16,7 +16,6 @@
{* Add the components required for a Stripe card element *}
{crmScope extensionKey='com.drastikbydesign.stripe'}
<label for="card-element"><legend>{ts}Credit or debit card{/ts}</legend></label>
<div id="card-element"></div>
{* Area for Stripe to report errors *}
<div id="card-errors" role="alert" class="crm-error alert alert-danger"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment