First upload
This commit is contained in:
164
shop/source/modules/oe/oepaypal/out/src/css/paypal.css
Normal file
164
shop/source/modules/oe/oepaypal/out/src/css/paypal.css
Normal file
@@ -0,0 +1,164 @@
|
||||
/**
|
||||
* This file is part of O3-Shop Paypal module.
|
||||
*
|
||||
* O3-Shop is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* O3-Shop is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
||||
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
.paypalExpressCheckoutBox {
|
||||
min-width: 145px;
|
||||
float: right;
|
||||
padding-right: 15px;
|
||||
margin-right: 18px;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.paypalExpressCheckoutMsg {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
line-height: 20px;
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.paypalExpressCheckoutMsg input {
|
||||
float: left;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.payment .paypalDescBox {
|
||||
position: relative;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
.payment .paypalPaymentDesc {
|
||||
margin: 12px 0 5px;
|
||||
}
|
||||
|
||||
.paypalHelpIcon {
|
||||
position: absolute;
|
||||
left: 163px;
|
||||
top: 23px;
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: #eee;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.paypalHelpIcon.small {
|
||||
top: 0;
|
||||
left: -20px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.paypalDescBox .helpIcon:hover {
|
||||
color: #777;
|
||||
border-color: #aaa;
|
||||
}
|
||||
|
||||
.paypalHelpBox {
|
||||
top: 22px;
|
||||
left: -20px;
|
||||
width: 190px;
|
||||
white-space: normal;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#paypalPartnerLogo {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
/*Express checkout in mini basket*/
|
||||
#paypalExpressCheckoutMiniBasketImage {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
#paypalExpressCheckoutMiniBasketBox {
|
||||
border: none;
|
||||
float: left;
|
||||
height: auto;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#paypalExpressCheckoutMiniBasketBox .paypalExpressCheckoutMsg {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
/*Express checkout in checkout user step page*/
|
||||
.oePayPalECSForm {
|
||||
padding: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lineBox.paypalExpressCheckoutBoxUser {
|
||||
height: auto;
|
||||
background-color: #f2f4f5;
|
||||
}
|
||||
|
||||
.paypalExpressCheckoutBoxUser .paypalExpressCheckoutMsg {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
/*Express checkout in details page*/
|
||||
.paypalExpressCheckoutDetailsBox {
|
||||
border: none;
|
||||
float: left;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.paypalExpressCheckoutDetailsBox .paypalExpressCheckoutMsg {
|
||||
float: left;
|
||||
margin-left: 22px;
|
||||
}
|
||||
|
||||
.paypalExpressCheckoutDetailsButton {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.paypalExpressCheckoutDetailsButton[disabled] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#productPrice, #amountToBasket {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/*Express checkout popup*/
|
||||
.oePayPalPopupNav {
|
||||
text-align: right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.oePayPalPopupNav a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.oePayPalPopupNav button {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
#details_container #paypal-installment-banner-container {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* This file is part of OXID eSales PayPal module.
|
||||
*
|
||||
* OXID eSales PayPal module is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* OXID eSales PayPal module is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with OXID eSales PayPal module. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @link http://www.oxid-esales.com
|
||||
* @copyright (C) OXID eSales AG 2003-2020
|
||||
*/
|
||||
|
||||
#paypal-installment-banner-container {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* This file is part of O3-Shop Paypal module.
|
||||
*
|
||||
* O3-Shop is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, version 3.
|
||||
*
|
||||
* O3-Shop is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with O3-Shop. If not, see <http://www.gnu.org/licenses/>
|
||||
*
|
||||
* @copyright Copyright (c) 2022 OXID eSales AG (https://www.oxid-esales.com)
|
||||
* @copyright Copyright (c) 2022 O3-Shop (https://www.o3-shop.com)
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU General Public License 3 (GPLv3)
|
||||
*/
|
||||
(function ($) {
|
||||
/**
|
||||
* Changes form function name and submits.
|
||||
*/
|
||||
var oePayPalOnClickProceedAction = {
|
||||
options: {
|
||||
sAction: 'actionExpressCheckoutFromDetailsPage',
|
||||
sForm: '#detailsMain form.js-oxProductForm'
|
||||
},
|
||||
|
||||
_create: function () {
|
||||
var self = this;
|
||||
|
||||
$(self.element).click(function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
$(self.options.sForm + ' input[name="fnc"]').val(self.options.sAction);
|
||||
$(self.options.sForm).submit();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
$.widget("ui.oePayPalOnClickProceedAction", oePayPalOnClickProceedAction);
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user