Skip to content

Commit

Permalink
Payments Pro - PayFlow and DDP - Update credit card forms, ref #395
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Jan 20, 2016
1 parent 3c57f34 commit d560d72
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 251 deletions.
44 changes: 1 addition & 43 deletions assets/css/checkout.css
Original file line number Diff line number Diff line change
@@ -1,49 +1,7 @@
a img{
border: none;
}
#paypal_pro_payflow_card_number {
width: 47%;
margin-right: 6% !important;
float: left;
}
#paypal_pro_payflow_card_csc {
width: auto;
padding-right: 1em;
}
#paypal_pro_payflow_card_type_image {
background: url(../images/payflow-cards.png) no-repeat 32px 0;
width: 32px;
height: 24px;
margin: 0 0 0 -3px;
position: relative;
float: left;
display: none;
}
#paypal_pro_payflow_card_type_image.visa,
#paypal_pro_payflow_card_type_image.visa_electron {
background-position: 0 0;
display: block;
}
#paypal_pro_payflow_card_type_image.mastercard {
background-position: -33px 0;
display: block;
}
#paypal_pro_payflow_card_type_image.maestro {
background-position: -66px 0;
display: block;
}
#paypal_pro_payflow_card_type_image.amex {
background-position: -132px 0;
display: block;
}
#paypal_pro_payflow_card_type_image.discover {
background-position: -99px 0;
display: block;
}
#paypal_pro_payflow_card_type_image.jcb {
background-position: -165px 0;
display: block;
}

body.woocommerce-checkout .woocommerce #checkout_paypal_message #paypal_box_button > div img {
display: block;
width: 150px;
Expand Down
3 changes: 0 additions & 3 deletions assets/js/card-type-detection.min.js

This file was deleted.

Loading

0 comments on commit d560d72

Please sign in to comment.