Commit 84c857ac authored by rszrama's avatar rszrama

Issue #2089609 by JulienD, goldorak, rszrama: add PayPal Bill Me Later support...

Issue #2089609 by JulienD, goldorak, rszrama: add PayPal Bill Me Later support to the Express Checkout module.
parent ac1802a2
<?php
/**
* @file
* Remove variables required by Commerce PayPal EC.
*/
/**
* Implements hook_uninstall().
*/
function commerce_paypal_ec_uninstal() {
variable_del('commerce_paypal_ec_review_embedded_panes');
variable_del('commerce_paypal_ec_banners_settings');
}
This diff is collapsed.
/**
* @package commerce_paypal_ec
* @description Small script that displays a popin for PayPal bill me later.
*/
(function ($) {
Drupal.behaviors.commercePaypalEc = {
attach: function (context, settings) {
$('.paypal-bml-popin-text').hide();
$('.paypal-bml-popin').click(function (event) {
event.preventDefault();
$('.paypal-bml-popin-text').dialog({modal:true});
});
}
};
})(jQuery);
.paypal-ec-order-form {
.paypal-ec-order-form,
.paypal-bml-order-form {
text-align: right;
}
#edit-paypal-ec {
background: none;
border: none;
margin: 0 .5em 0 0;
.paypal-ec-bml-separator {
font-weight: bold;
padding: 0 55px 10px 0;
}
#edit-paypal-ec,
#edit-paypal-bml {
background: none;
border: none;
margin: 0 .5em 0 0;
padding: 0;
}
.commerce-paypal-ec-icon-wrapper {
#edit-paypal-bml {
margin-bottom: -25px;
}
.commerce-paypal-ec-icon-wrapper,
.commerce-paypal-bml-icon-wrapper {
line-height: 3em;
}
.commerce-paypal-ec-icon {
.commerce-paypal-ec-icon,
.commerce-paypal-bml-icon {
position: relative;
top: 15px;
}
#edit-paypal-ec-banners .form-item-settings-banner-size {
position: relative;
}
#edit-paypal-ec-banners .form-item-settings-banner-size .form-radio {
position: absolute;
top: 50%;
}
#edit-paypal-ec-banners .form-item-settings-banner-size label {
display: block;
}
#edit-paypal-ec-banners .form-item-settings-banner-size #edit-settings-banner-size label {
margin-left: 20px;
}
#edit-paypal-ec-banners .form-item-settings-banner-size label img {
border: 1px solid #C0C0C0;
}
#edit-paypal-ec-banners .form-item-settings-server {
clear: both;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment