From 1051212fe311bd8f30e035d499a78a9ccd97def2 Mon Sep 17 00:00:00 2001 From: regdos Date: Wed, 3 Apr 2024 13:42:28 +0200 Subject: [PATCH] Fix credit logotypes, Add credit logotypes to Presta 1.6 --- payu/css/payu.css | 35 ++++++++++++++++++++++++- payu/img/payu_installment.svg | 6 ++--- payu/img/payu_later_klarna_logo.svg | 27 ++++++++++--------- payu/img/payu_later_paypo_logo.svg | 25 +++++++++--------- payu/img/payu_later_twisto_logo.svg | 27 +++++++++---------- payu/views/templates/hook/payment16.tpl | 2 +- 6 files changed, 78 insertions(+), 44 deletions(-) diff --git a/payu/css/payu.css b/payu/css/payu.css index 84d3332..8a71035 100644 --- a/payu/css/payu.css +++ b/payu/css/payu.css @@ -33,9 +33,42 @@ p.payment_module a.payu_main { } p.payment_module a.payu_main { - padding: 33px 40px 34px 80px; + padding: 33px 40px 34px 75px; +} + +p.payment_module a.payu_klarna { + background: url('../img/payu_later_klarna_logo.svg') 15px 33px no-repeat #fbfbfb; +} + +p.payment_module a.payu_klarna { + padding: 33px 40px 34px 90px; } +p.payment_module a.payu_paypo { + background: url('../img/payu_later_paypo_logo.svg') 15px 33px no-repeat #fbfbfb; +} + +p.payment_module a.payu_paypo { + padding: 33px 40px 34px 115px; +} + +p.payment_module a.payu_twisto { + background: url('../img/payu_later_twisto_logo.svg') 15px 33px no-repeat #fbfbfb; +} + +p.payment_module a.payu_twisto { + padding: 33px 40px 34px 110px; +} + +p.payment_module a.payu_installment { + background: url('../img/payu_installment.svg') 15px 33px no-repeat #fbfbfb; +} + +p.payment_module a.payu_installment { + padding: 33px 40px 34px 120px; +} + + p.payment_module a.payu:after, .payu-payment-credit-tile:after { display: block; content: "\f054"; diff --git a/payu/img/payu_installment.svg b/payu/img/payu_installment.svg index 96d4630..07fe9ad 100644 --- a/payu/img/payu_installment.svg +++ b/payu/img/payu_installment.svg @@ -1,4 +1,4 @@ - + @@ -10,7 +10,7 @@ .st3{fill:#FFFFFF;} - + @@ -33,4 +33,4 @@ - + diff --git a/payu/img/payu_later_klarna_logo.svg b/payu/img/payu_later_klarna_logo.svg index da67bfa..2f1b868 100644 --- a/payu/img/payu_later_klarna_logo.svg +++ b/payu/img/payu_later_klarna_logo.svg @@ -1,14 +1,15 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/payu/img/payu_later_paypo_logo.svg b/payu/img/payu_later_paypo_logo.svg index 5cd939c..e540b75 100644 --- a/payu/img/payu_later_paypo_logo.svg +++ b/payu/img/payu_later_paypo_logo.svg @@ -1,13 +1,14 @@ - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/payu/img/payu_later_twisto_logo.svg b/payu/img/payu_later_twisto_logo.svg index 4069245..4d46b79 100644 --- a/payu/img/payu_later_twisto_logo.svg +++ b/payu/img/payu_later_twisto_logo.svg @@ -1,15 +1,14 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/payu/views/templates/hook/payment16.tpl b/payu/views/templates/hook/payment16.tpl index 9d1c3ec..d041c80 100644 --- a/payu/views/templates/hook/payment16.tpl +++ b/payu/views/templates/hook/payment16.tpl @@ -117,7 +117,7 @@