Skip to content

Commit

Permalink
0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 22, 2017
1 parent 64cc2e0 commit 31ea49c
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 42 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Yandex.Kassa also works in Armenia, Azerbaijan, Belarus, Georgia, Kazakhstan, Ky

## [Screenshots](https://mage2.pro/tags/yandex-kassa-screenshots)
- The frontend checkout screen:
- [in the «**images**» mode](https://mage2.pro/t/topic/4562)
- [in the «**text**» mode](https://mage2.pro/t/topic/4559)
- [The backend settings](https://mage2.pro/t/topic/4498)

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/yandex-kassa"
,"version": "0.1.6"
,"version": "0.1.7"
,"description": "The «Yandex.Kassa» (Яндекс.Касса, Yandex.Checkout) payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/yandex-kassa"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.12.13"}
,"require": {"mage2pro/core": ">=2.12.16"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\YandexKassa\\": ""}}
,"keywords": [
"API"
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
type='select'
>
<label>Payment options display mode</label>
<comment><![CDATA[]]></comment>
<comment><![CDATA[See the screenshots:<ul class='df-note'><li><a href='https://mage2.pro/t/4562' target='_blank'>the «<b>images</b>» mode</a></li><li><a href='https://mage2.pro/t/4559' target='_blank'>the «<b>text</b>» mode</a></li></ul>]]></comment>
<depends>
<field id='enable'>1</field>
<field id='optionsLocation'>magento</field>
Expand Down
Binary file modified view/frontend/web/i/cash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/psb-33.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/psb-50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/qiwi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/sberbank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/webmoney.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added view/frontend/web/i/yandex-money.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 25 additions & 39 deletions view/frontend/web/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,47 @@ form.dfe_yandex_kassa {
// 'withOptions-displayMode-' + this.config('optionsDisplayMode')
// Note 2. [Yandex.Kassa] The payment options: https://mage2.pro/t/4494
.withOptions-displayMode-images & {
.df-choice label {display: inline-block; color: transparent;}
.df-choice label {
background-position: center;
background-repeat: no-repeat;
color: transparent;
display: inline-block;
width: 200px; height: 50px;
}
// 2017-09-22 Альфа-Банк
.df-option-AB label {background: url('./i/alfabank.png'); width: 169px; height: 50px;}
.df-option-AB label {background-image: url('./i/alfabank.png');}
// 2017-09-22 Банковская карта
.df-option-AC label {
background: url('./i/bank-card.png') center no-repeat;
width: 200px; height: 39px; padding: 5px 0 6px 0;
}
.df-option-AC label {background-image: url('./i/bank-card.png');}
// 2017-09-22 Наличные
.df-option-GP label {background: url('./i/cash.png'); width: 47px; height: 50px;}
.df-option-GP label {background-image: url('./i/cash.png');}
// 2017-09-22
// ЕРИП (raschet.by, Беларусь)
// I have found the logo here: https://raschet.by/o-sisteme/o-sisteme
// See the «Материалы для скачивания» section.
.df-option-EP label {background: url('./i/raschet.by.png') center no-repeat; width: 75px; height: 50px; }
.df-option-EP label {background-image: url('./i/raschet.by.png');}
// 2017-09-22
// КупиВкредит
// The logo sources:
// 1) In the EPS format:
// 2) In the PNG format: https://www.kupivkredit.ru/join
// See the «Логотипы, кнопки, баннеры и доп. материалы» section.
.df-option-KV label {
background: url('./i/kupivkredit.ru.png') center no-repeat;
width: 194px; height: 48px; padding: 1px 0;
}
.df-option-KV label {background-image: url('./i/kupivkredit.ru.png');}
// 2017-09-22
// MasterPass. I have found the logo here: https://developer.mastercard.com/page/masterpass-digital-assets
.df-option-MA label {
background:
url('https://static.masterpass.com/dyn/img/btn/global/mp_chk_btn_180x042px.svg')
center no-repeat
;
width: 180px; height: 42px; padding: 4px 0;
background-image: url('https://static.masterpass.com/dyn/img/btn/global/mp_chk_btn_180x042px.svg');
}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 STUB
.df-option-STUB label {}
// 2017-09-22 Баланс телефона
.df-option-MC label {background-image: url('./i/phone.png');}
// 2017-09-22 Интернет-банк Промсвязьбанка
.df-option-PB label {background-image: url('./i/psb-33.png');}
// 2017-09-22 QIWI Wallet
.df-option-QW label {background-image: url('./i/qiwi.png');}
// 2017-09-22 Сбербанк Онлайн
.df-option-SB label {background-image: url('./i/sberbank.png');}
// 2017-09-22 WebMoney
.df-option-WM label {background-image: url('./i/webmoney.png');}
// 2017-09-22 Яндекс.Деньги
.df-option-PC label {background-image: url('./i/yandex-money.png');}
}
}

0 comments on commit 31ea49c

Please sign in to comment.