<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, max-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css" />
<script src="js/jquery-3.3.1.slim.min.js"></script>
<script src="js/jquery.payment.min.js"></script>
<title>Tarjeta</title>
<!-- #87C53E -->
<!-- #666868 -->
<style>
.btn-action,
.steps-block.step-2:after,
.steps-block.step-3:after,
.step-2 li:nth-child(1)::before,
.step-3 li:nth-child(3)::before,
.step-3 li:nth-child(2)::before,
.step-3 li:nth-child(1)::before,
.content-checkbox input:checked+label::before {
background-color: #87C53E;
}
.content-summary h2,
.content-summary h3,
.step-1 li:nth-child(1),
.step-2 li:nth-child(1),
.step-2 li:nth-child(2),
.step-3 li:nth-child(1),
.step-3 li:nth-child(2),
.step-3 li:nth-child(3),
.content-summary small {
color: #666868;
}
.input-field input:focus,
.step-1 li:nth-child(1)::before,
.step-2 li:nth-child(2)::before,
.content-opt input:checked+label::before {
border-color: #87C53E;
}
</style>
</head>
<body>
<!--BEGIN HEADER DESKTOP-->
<div class="header">
<div class="header-back">
<a href="#">Regresar</a>
</div>
<div class="header-logo">
<a href="#">
<img src="img/logo.svg" alt="Instapago" />
</a>
</div>
<div class="header-lang">
<select class="dropdown-clean">
<option value="0">Español</option>
<option value="0">Ingles</option>
</select>
</div>
</div>
<!--BEGIN STEPS-->
<div class="steps">
<div class="steps-block step-1">
<ul>
<li><span>Tu tarjeta</span></li>
<li><span>Tus datos</span></li>
<li><span>¡Pago exitoso!</span></li>
</ul>
</div>
</div>
<!--BEGIN CONTENT-->
<div class="content">
<div class="content-wrapp">
<!--BEGIN FORM-->
<div class="content-main">
<div class="content-opt">
<input type="radio" name="opt" id="opt-1" checked/>
<label for="opt-1">Tarjeta **** **** **** 4565</label>
<img src="img/logo-visa.svg" alt="visa" />
</div>
<div class="content-opt">
<input type="radio" name="opt" id="opt-2" />
<label for="opt-2">Tarjeta de Credito</label>
<img src="img/logo-visa.svg" alt="visa" />
</div>
<div class="content-form">
<div class="input">
<label>Número de tarjeta</label>
<div class="input-field cc">
<input id="cc-number" class="cc-number" type="tel" autocomplete="cc-number" placeholder=" " />
</div>
</div>
<div class="input-flex">
<div class="input">
<label>Titular de tarjeta</label>
<div class="input-field">
<input type="text" placeholder=" " />
</div>
</div>
<div class="input">
<label>Fecha Exp</label>
<div class="input-field">
<input id="cc-exp" class="cc-exp" type="tel" autocomplete="cc-exp" placeholder="MM / AAAA" />
</div>
</div>
<div class="input">
<label>CVC</label>
<div class="input-field">
<input id="cc-cvc" type="tel" class="cc-cvc" placeholder=" " />
</div>
</div>
</div>
<div class="content-action">
<div class="content-checkbox">
<input id="check" type="checkbox" name="#" checked>
<label for="check">Guardar tarjeta para futuros pagos</label>
</div>
<div class="content-button">
<a href="2-datos.html" class="btn-action">Siguiente</a>
</div>
</div>
</div>
</div>
<!--BEGIN SUMMARY-->
<div class="content-summary pull-right">
<h2>Tu resumen</h2>
<div>
<small>Descripción de orden</small>
<h3>Order Reef Check #1</h3>
</div>
<div>
<small>Order ID</small>
<h3>100</h3>
</div>
<div>
<small>Monto Total</small>
<h3>RD$ 50.25</h3>
</div>
<div>
<small>Moneda</small>
<h3>DOP</h3>
</div>
</div>
<div class="info">
Pago realizado a favor de <b>"Nombre del merchant"</b>
</div>
</div>
</div>
<!--BEGIN FOOTER-->
<div class="footer">
<div>
Powered by
<a href="#" target="_blank">
<img src="img/logo.svg" alt="Instapago" />
</a>
Copyright 2018
</div>
<div>
Payment processing solution guaranteed by
<a href="#" target="_blank">
<img src="img/logo-cyber.svg" alt="CyberSource" />
</a>
</div>
</div>
<script>
jQuery(function($) {
$('.cc-number').payment('formatCardNumber');
$('.cc-exp').payment('formatCardExpiry');
$('.cc-cvc').payment('formatCardCVC');
});
</script>
</body>
</html>
body {
background-color: #fff;
font-family: Helvetica, Arial, sans-serif;
}
.header {
z-index: 1;
display: flex;
position: relative;
background-color: #fff;
box-shadow: 0 10px 17px rgba(0, 0, 0, .02);
}
.header>div {
width: 100%;
line-height: 80px;
}
.header-back a {
color: #9B999B;
margin-left: 30px;
padding-left: 30px;
background: url('../img/arrow-back.svg') left center no-repeat;
font-size: 18px;
}
.header-logo {
text-align: center;
}
.header-logo img {
max-width: 100%;
}
.header-lang select {
float: right;
outline: none;
padding-left: 0;
color: #9B999B;
line-height: 35px;
margin: 20px 30px 0;
}
.dropdown-clean {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
border-radius: 0;
background: url(../img/arrow-drop-down.svg) right center no-repeat;
border: none;
padding: 0 20px 0;
border-bottom: 1px solid #DEDCDC;
}
.steps {
text-align: center;
padding: 35px 30px 10px;
background-color: #eff2f9;
}
.steps-block {
margin: 0 auto;
position: relative;
display: inline-block;
}
.steps-block.step-3:after,
.steps-block.step-2:after,
.steps-block::before {
content: "";
height: 9px;
display: block;
top: 0;
background-color: #DCE2EE;
position: absolute;
right: 15%;
left: 15%;
}
.steps-block.step-2:after {
right: 50%;
}
.steps ul {
padding: 0;
margin: 0;
z-index: 1;
position: relative;
display: inline-block;
}
.steps ul li {
position: relative;
display: inline-block;
min-width: 122px;
text-align: center;
font-weight: bold;
font-size: 14px;
color: #B0B1C1;
top: -12px;
text-transform: uppercase;
}
.steps ul li span {
display: block;
margin-top: 15px;
}
.steps ul li::before {
content: "";
width: 32px;
height: 32px;
display: block;
margin: 0 auto;
border-radius: 50%;
background-color: #DCE2EE;
}
.step-1 li:nth-child(1)::before,
.step-2 li:nth-child(2)::before {
background-color: #fff;
border-width: 8px;
border-style: solid;
}
.content {
padding: 30px;
}
.content-main,
.content-summary {
width: 60%;
border-radius: 10px;
display: inline-block;
box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}
.content-main h2 {
margin: 0;
font-size: 18px;
color: #787778;
font-weight: 400;
padding: 23px 25px;
border-bottom: 1px solid #E8E9F1;
}
.content-main h4 {
margin: 25px 0 0;
font-size: 24px;
color: #87C53E;
font-weight: bold;
}
.content-summary {
width: 38%;
padding: 15px;
}
.content-wrapp {
margin: 0 auto;
max-width: 1000px;
}
.content-opt {
clear: both;
position: relative;
padding: 25px 20px 40px;
border-bottom: 1px solid #E8E9F1;
}
.content-opt:first-child {
margin-top: 0;
border-top: none;
}
.content-opt input {
display: none;
}
.content-opt input:checked+label::before {
border-width: 7px;
border-style: solid;
}
.content-opt label:before {
content: "";
width: 20px;
height: 20px;
float: left;
display: block;
border-radius: 50%;
margin-right: 10px;
border: 2px solid #BEC0CC;
}
.content-opt label {
margin: 0;
font-size: 18px;
font-weight: 300;
color: #787778;
line-height: 20px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 22px 22px;
}
.content-opt img {
float: right;
padding: 7px 7px;
margin-top: -4px;
border-radius: 2px;
border: 1px solid #EFEFEF;
}
.content-form {
padding: 25px;
}
.content-form p {
color: #787778;
margin-top: 20px;
}
.input label {
display: block;
font-size: 12px;
color: #B3B5C7;
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
}
.input-field {
height: 50px;
position: relative;
}
.input-field input {
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
outline: none;
font-size: 17px;
position: absolute;
border-radius: 6px;
padding: 0 15px 0 15px;
text-overflow: ellipsis;
border: 2px solid #cfd2e2;
}
::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
color: #CFD1E1;
line-height: 23px;
}
:-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: #CFD1E1;
}
::-ms-input-placeholder {
/* Microsoft Edge */
color: #CFD1E1;
}
#cc-number::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
background: url('../img/credit-card.svg') left -1px no-repeat;
}
#cc-number:-ms-input-placeholder {
/* Internet Explorer 10-11 */
background: url('../img/credit-card.svg') left -1px no-repeat;
}
#cc-number::-ms-input-placeholder {
/* Microsoft Edge */
background: url('../img/credit-card.svg') left -1px no-repeat;
}
#cc-cvc::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
background: url('../img/asterisk.svg') left -1px no-repeat;
}
#cc-cvc:-ms-input-placeholder {
/* Internet Explorer 10-11 */
background: url('../img/asterisk.svg') left -1px no-repeat;
}
#cc-cvc::-ms-input-placeholder {
/* Microsoft Edge */
background: url('../img/asterisk.svg') left -1px no-repeat;
}
/* .input,
.input-flex {
margin-top: 25px;
}
.input-flex .input,
.input:first-child {
margin-top: 0;
}
.input-flex {
display: flex;
}
.input-flex .input {
width: 30%;
margin-left: 13px;
}
.input-flex .input:first-child {
width: 70%;
margin-left: 0;
} */
.input-flex .input {
margin-top: 25px;
}
.content-action {
margin-top: 40px;
}
.content-checkbox input {
display: none;
}
.content-checkbox label::before {
content: "";
width: 22px;
float: left;
height: 22px;
display: block;
margin-right: 7px;
border-radius: 5px;
border: 2px solid #BEC0CC;
}
.content-checkbox input:checked+label::before {
border: none;
background: url('../img/check.svg') center no-repeat;
}
.content-checkbox label {
margin: 10px 0 0;
font-size: 14px;
color: #787778;
overflow: hidden;
font-weight: 400;
white-space: nowrap;
text-overflow: ellipsis;
}
.btn-action {
border: none;
color: #fff;
font-weight: bold;
border-radius: 6px;
padding: 10px 45px;
display: inline-block;
}
.content-summary h2 {
font-size: 18px;
font-weight: bold;
line-height: 20px;
padding: 10px 0 20px 0;
margin: 0 -15px 15px 10px;
text-transform: uppercase;
border-bottom: 1px solid #E8E9F1;
}
.content-summary>div {
padding: 15px 0 0 10px;
}
.content-summary small {
font-size: 14px;
}
.content-summary h3 {
font-size: 20px;
font-weight: bold;
margin: 5px 0 0;
}
.btn-back {
display: block;
font-size: 14px;
color: #787778;
margin-top: 10px;
padding-left: 15px;
background: url(../img/arrow-prev.svg) left center no-repeat;
}
.info {
color: #B3B5C7;
font-size: 14px;
margin-top: 20px;
}
.footer {
clear: both;
padding: 20px;
font-size: 18px;
text-align: center;
border-top: 1px solid #F4F2F2;
}
.footer img {
max-height: 21px;
}
@media (min-width: 768px) {
.input,
.input-flex {
margin-top: 25px;
}
.input-flex .input,
.input:first-child {
margin-top: 0;
}
.input-flex,
.content-action {
display: flex;
}
.input-flex .input {
width: 30%;
margin-left: 13px;
}
.input-flex .input:first-child {
width: 70%;
margin-left: 0;
}
.content-action>div,
.input-flex.split .input {
width: 100%;
}
.content-button {
text-align: right;
}
.header-lang select {
min-width: 170px;
font-size: 18px;
}
.footer {
margin-top: 70px;
}
}
@media (max-width: 767px) {
.header-back a {
text-indent: -9999em;
display: inline-block;
}
.header-lang select {
margin-right: 15px;
line-height: 30px;
padding-left: 0;
margin-top: 20px;
}
.steps-block {
zoom: .6;
}
.steps {
padding: 20px 15px 5px;
}
.content-wrapp {
display: block;
}
.content-main,
.content-summary {
width: 100%;
margin-bottom: 30px;
}
.input-flex .input {
margin-top: 15px;
}
.content-opt label {
font-size: 12px;
line-height: 23px;
}
.content {
padding: 15px;
}
.btn-action {
width: 100%;
margin-top: 20px;
}
}