Skip to content

Commit

Permalink
Merge pull request #70 from mercadolibre/feature/mlu-mpe-new-payment-…
Browse files Browse the repository at this point in the history
…methods

[feature] - Agrego medios de pagos nuevos para mlu y mpe
  • Loading branch information
sabustamante authored Feb 4, 2019
2 parents d7b7556 + 3f358a5 commit a0afabf
Show file tree
Hide file tree
Showing 53 changed files with 322 additions and 141 deletions.
4 changes: 2 additions & 2 deletions css/countries/ar/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ar/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ar/payment-methods-default.png');
}

/*
Expand All @@ -14,7 +14,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ar/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ar/[email protected]');
background-size: 72px 1498px; /* original x1 image size */
}

Expand Down
4 changes: 2 additions & 2 deletions css/countries/ar/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


.paymentmethod-large{
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ar/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ar/payment-methods-large.png');
margin: 5px;
}

Expand All @@ -14,7 +14,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ar/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ar/[email protected]');
background-size: 116px 1494px; /* original x1 image size */
margin: 5px;
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/br/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/br/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/br/payment-methods-default.png');
height: 16px; /* most common height */
}

Expand All @@ -12,7 +12,7 @@

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/br/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/br/[email protected]');
background-size: 84px 569px; /* original x1 image size */
height: 16px;
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/br/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/br/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/br/payment-methods-large.png');
height: 25px; /* most common height */
margin: 5px;
}
Expand All @@ -14,7 +14,7 @@

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/br/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/br/[email protected]');
background-size: 116px 580px; /* original x1 image size */
height: 27px; /* most common height */
margin: 5px;
Expand Down
4 changes: 2 additions & 2 deletions css/countries/cl/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/cl/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/cl/payment-methods-default.png');
height: 16px; /* most common height */
}

Expand All @@ -12,7 +12,7 @@

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/cl/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/cl/[email protected]');
background-size: 80px 650px; /* original x1 image size */
height: 16px;
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/cl/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/cl/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/cl/payment-methods-large.png');
height: 26px; /* most common height */
margin: 5px;
}
Expand All @@ -14,7 +14,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/cl/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/cl/[email protected]');
background-size: 130px 650px; /* original x1 image size */
}

Expand Down
4 changes: 2 additions & 2 deletions css/countries/co/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/co/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/co/payment-methods-default.png');
height: 16px; /* most common height */
}
/*
Expand All @@ -11,7 +11,7 @@

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/co/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/co/[email protected]');
background-size: 72px 716px; /* original x1 image size */
height: 16px;
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/co/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/co/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/co/payment-methods-large.png');
margin: 5px;
}

Expand All @@ -12,7 +12,7 @@

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/co/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/co/[email protected]');
background-size: 116px 726px; /* original x1 image size */
}
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/mx/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/mx/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/mx/payment-methods-default.png');
height: 16px; /* most common height */
}

Expand All @@ -13,7 +13,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/mx/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/mx/[email protected]');
background-size: 72px 1256px; /* original x1 image size */
height: 16px; /* most common height */
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/mx/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/mx/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/mx/payment-methods-large.png');
margin: 5px;
}
/*
Expand All @@ -12,7 +12,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/mx/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/mx/[email protected]');
background-size: 117px 1265px; /* original x1 image size */
}

Expand Down
16 changes: 13 additions & 3 deletions css/countries/pe/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/pe/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/pe/payment-methods-default.png');
height: 16px; /* most common height */
}
/*
Expand All @@ -12,8 +12,8 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/pe/[email protected]');
background-size: 72px 350px; /* original x1 image size */
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/pe/[email protected]');
background-size: 72px 417px; /* original x1 image size */
height: 16px; /* most common height */
}

Expand Down Expand Up @@ -48,3 +48,13 @@
height: 13px;
width: 59px;
}

.paymentmethod-debmaster {
height: 24px;
width: 59px;
}

.paymentmethod-diners {
height: 17px;
width: 59px;
}
16 changes: 13 additions & 3 deletions css/countries/pe/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/pe/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/pe/payment-methods-large.png');
height: 26px;
margin: 5px;
}
Expand All @@ -13,8 +13,8 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/pe/[email protected]');
background-size: 116px 350px; /* original x1 image size */
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/pe/[email protected]');
background-size: 116px 432px; /* original x1 image size */
height: 26px;
margin: 5px;
}
Expand Down Expand Up @@ -54,3 +54,13 @@
height: 20px;
width: 92px;
}

.paymentmethod-debmaster.paymentmethod-large {
height: 36px;
width: 92px;
}

.paymentmethod-diners.paymentmethod-large {
height: 26px;
width: 95px;
}
16 changes: 15 additions & 1 deletion css/countries/pe/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,18 @@
.paymentmethod-debvisa,
.paymentmethod-debvisa.paymentmethod-large {
background-position: 0 -300px;
}
}
.paymentmethod-debmaster {
background-position: 0 -337px
}
.paymentmethod-debmaster.paymentmethod-large {
background-position: 0 -339px;
}

.paymentmethod-diners {
background-position: 0 -382px
}
.paymentmethod-diners.paymentmethod-large {
background-position: 0 -393px;
}

10 changes: 7 additions & 3 deletions css/countries/uy/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/uy/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/uy/payment-methods-default.png');
height: 16px; /* most common height */
}
/*
Expand All @@ -12,8 +12,8 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/uy/[email protected]');
background-size: 72px 418px; /* original x1 image size */
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/uy/[email protected]');
background-size: 72px 469px; /* original x1 image size */
height: 16px; /* most common height */
}

Expand Down Expand Up @@ -60,3 +60,7 @@
height: 18px;
width: 24px;
}
.paymentmethod-debvisa {
height: 30px;
width: 60px;
}
11 changes: 8 additions & 3 deletions css/countries/uy/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/uy/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/uy/payment-methods-large.png');
height: 26px;
margin: 5px;
}
Expand All @@ -13,8 +13,8 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/uy/[email protected]');
background-size: 116px 430px; /* original x1 image size */
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/uy/[email protected]');
background-size: 116px 486px; /* original x1 image size */
height: 26px;
margin: 5px;
}
Expand Down Expand Up @@ -62,3 +62,8 @@
height: 30px;
width: 41px;
}

.paymentmethod-debvisa.paymentmethod-large {
height: 30px;
width: 94px;
}
8 changes: 8 additions & 0 deletions css/countries/uy/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@
.paymentmethod-lider.paymentmethod-large {
background-position: 0 -400px;
}

.paymentmethod-debvisa {
background-position: 0 -430px;
}

.paymentmethod-debvisa.paymentmethod-large {
background-position: 0 -443px;
}
4 changes: 2 additions & 2 deletions css/countries/ve/default/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ve/payment-methods-default.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ve/payment-methods-default.png');
height: 16px; /* most common height */
}
/*
Expand All @@ -12,7 +12,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

[class*='paymentmethod'] {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ve/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ve/[email protected]');
background-size: 72px 425px; /* original x1 image size */
height: 16px; /* most common height */
}
Expand Down
4 changes: 2 additions & 2 deletions css/countries/ve/large/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---------------------------------------------------------------*/

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ve/payment-methods-large.png');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ve/payment-methods-large.png');
height: 26px;
margin: 5px;
}
Expand All @@ -13,7 +13,7 @@
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {

.paymentmethod-large {
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.8/ve/[email protected]');
background-image: url('https://http2.mlstatic.com/secure/org-img/ui/payment-methods/1.7.9/ve/[email protected]');
background-size: 116px 450px; /* original x1 image size */
height: 26px;
margin: 5px;
Expand Down
2 changes: 1 addition & 1 deletion css/payment-methods.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Payment Methods Logos
* @authors: ndevalle, ipianciola, gandre, aramos, dudesl, sabustamante
* @description: common component for each country's payment methods logos.
* @version: 1.7.8
* @version: 1.7.9
*/

/* Common Structure
Expand Down
Loading

0 comments on commit a0afabf

Please sign in to comment.