VIS Design Resources
United Kingdom Terminal Checkout: Portrait Style 2
Initiate Purchase
HTML
<div class='page-portrait2 initiate-purchase-page'>
<p class='info'>£648.00</p>
<p class='action'>Tap, Insert or Swipe Card</p>
<div class="image-container">
<img src="/cs-templates//_next/static/image/public/contactless-visa.7f10be0ee8a78378f482fdc4edbc681b.svg"/>
</div>
</div>
CSS (Global)
/* Global Style */
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
height: 100vh;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}
/* General Style */
.page-landscape, .page-portrait1, .page-mini, .page-portrait2 {
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}
.image-container img {
width: 100%;
height: 100%;
}
.top-bar-title {
width: 100%;
height: 56px;
background-color: #1434CB;
text-align: center;
line-height: 56px;
color: #ffffff;
font-size: 20px;
font-weight: 500;
}
.summary {
text-align: center;
width: 100%;
}
/* Device Size Portrait2 */
.page-portrait2 {
width: 320px;
height: 439px;
}
.page-portrait2 .backbtn {
position: absolute;
top: 14px;
left: 17px;
}
.page-portrait2 .buttons-wrapper .bottom-buttons {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
position: relative;
}
.page-portrait2 .buttons-wrapper .bottom-buttons>p {
position: absolute;
top:-10px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
margin: 0px;
background: #ffffff;
width: 27px;
color: #979797;
text-align: center;
font-weight: 500;
font-size: 18px;
}
.page-portrait2 .title {
font-size: 18px;
font-weight: 500;
margin: 14px 0px;
}
.page-portrait2 .copyright {
font-size: 14px;
font-weight: 300;
display: flex;
flex-direction: row;
align-items: center;
flex: auto;
}
.page-portrait2.confirm-approved-page .copyright {
flex: unset;
margin-top: 24px;
}
/* Initiate Purchase Page */
.initiate-purchase-page {
background-color: #1434CB;
color: #ffffff
}
.page-portrait2.initiate-purchase-page {
align-items: center;
justify-content: center;
}
.page-portrait2.initiate-purchase-page .action {
font-size: 21px;
margin: 0px;
}
.page-portrait2.initiate-purchase-page .info {
font-size: 44px;
font-weight: 500;
margin: 0px 0px 6px 0px;
align-self: flex-start;
padding-left: 40px;
}
.page-portrait2.initiate-purchase-page .image-container {
width: 100px;
height: 60px;
margin-top: 32px;
margin-left: 40px;
align-self: flex-start;
}
/* Payment Option Page */
.payment-option-page {
background-color: #ffffff;
color: #000000;
align-items: center;
}
.page-portrait2.payment-option-page .buttons-wrapper {
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 0px;
padding: 0px 16px;
}
/* Terms & Condition Page */
.terms-conditions-page {
background-color: #ffffff;
align-items: center;
justify-content: flex-start;
}
.terms-conditions-page .content-wrapper {
padding: 0px 16px;
}
.terms-conditions-page .terms p {
margin: 0px;
}
.page-portrait2.terms-conditions-page .months-text {
font-size: 14px;
margin-top: 8px;
}
.page-portrait2.market-uk.terms-conditions-page .months-text {
font-size: 18px;
margin-top: 16px;
}
.page-portrait2.terms-conditions-page .amount-text {
font-size: 28px;
margin: 8px 0px 4px 0px;
}
.page-portrait2.market-uk.terms-conditions-page .amount-text {
font-size: 24px;
margin-top: 5px;
font-weight: 500;
}
.page-portrait2.terms-conditions-page .amount-unit-text {
font-size: 14px;
}
.page-portrait2.terms-conditions-page .detail {
margin: 5px 0px 12px 0px;
font-size: 14px;
}
.page-portrait2.market-uk.terms-conditions-page .detail {
margin: 4px 0px 0px 0px;
font-size: 12px;
line-height: 16px;
}
.page-portrait2.terms-conditions-page .detail .detail-divide {
color: #979797;
margin: 0px 8px;
}
.page-portrait2.terms-conditions-page .detail .detail-bold {
font-weight: 500;
}
.page-portrait2.terms-conditions-page .terms {
font-weight: 400;
font-size: 14PX;
margin-top: 10px;
width: 100%;
max-height: 195px;
overflow-y: auto;
}
.page-portrait2.market-uk.terms-conditions-page .terms{
margin-top: 16px;
max-height: 160px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar {
width: 4px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-thumb {
background: #D8D8D8;
width: 4px;
border-radius: 100px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-track {
background: transparent;
}
.page-portrait2.terms-conditions-page .bottom-buttons-group {
width: 100%;
padding:16px;
box-shadow: 0px 0px 8px rgb(0, 0, 0, 0.3);
display: flex;
justify-content: center;
flex: auto;
}
/* Confirm Progress Page */
.confirm-progress-page {
background-color: #ffffff;
align-items: center;
justify-content: center;
}
.confirm-approved-page .result {
font-size: 32px;
font-weight:500;
margin: 11px 0px 2px 0px;
}
.page-portrait2.confirm-progress-page img {
width: 320px;
}
/* Confirm Aprroved Page */
.confirm-approved-page {
background-color: #1434CB;
align-items: center;
justify-content: center;
color: #ffffff;
}
/* Basic button styles */
.primary {
background-color: #1434CB;
border: none;
border-radius: 2px;
width: 100%;
height: auto;
}
.primary .button-title {
color: #FFFFFF;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.primary .button-subtitle {
color: #FFFFFF;
font-size: 14px;
line-height: 16px;
}
.secondary {
background-color: #FFFFFF;
border: 3px solid #1434CB;
position: relative;
box-sizing: border-box;
border-radius: 2px;
padding: 0;
width: 100%;
height: auto;
}
.secondary .button-subtitle {
color: #000000;
font-size: 14px;
}
.secondary .tag {
align-self: flex-start;
background-color: #1434CB;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
border-bottom-right-radius: 5px;
position: absolute;
top: 0px;
left: 0px;
padding: 3px 12px 6px 9px;
}
.secondary .button-title {
color: #000000;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.secondary .button-title .button-title-unit {
font-size: 18px;
line-height: 20px;
font-weight: 500;
}
.secondary.market-uk .button-subtitle {
font-size: 12px;
line-height: 16px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:first-of-type {
margin-bottom: 2px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:last-of-type {
margin-bottom: 0px;
}
.secondary.market-uk .button-subtitle .button-subtitle-bold {
font-weight: 500;
}
.secondary .button-subtitle .button-subtitle-divide {
color: #979797;
margin: 0px 4px;
}
.circle-tag {
width: 22px;
height: 22px;
display: inline-block;
font-size: 14px;
text-align: center;
line-height: 22px;
border-radius: 25px;
color: #ffffff;
}
.image-button {
background-color: transparent;
border: none;
display: flex;
padding: 0px;
}
.text-button {
display: flex;
align-items: center;
justify-content: center;
}
/* Portrait 2 button styles */
.page-portrait2.primary .button-title {
font-size: 20px;
font-weight: 500;
}
.page-portrait2.payment-option-secondary-button {
margin-top: 16px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 9px 0;
}
.page-portrait2.secondary .button-title {
width: 100%;
font-size: 24px;
margin-bottom: 4px;
}
.page-portrait2.market-uk.secondary .button-title {
margin-bottom: 2px;
}
.page-portrait2.secondary.top .button-title {
margin-bottom: 0px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top, .page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
font-size: 18px;
line-height: 24px;
font-weight: 400;
}
.page-portrait2.secondary.market-us.top .button-subtitle-top, .page-portrait2.secondary.market-canada.top .button-subtitle-top {
margin-bottom: 4px;
}
.page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
margin-bottom: 8px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top{
margin-bottom: 8px;
}
.page-portrait2 .circle-tag {
position: absolute;
background-color: #1434CB;
left: 5px;
top: 5px;
}
.page-portrait2.market-uk.payment-option-secondary-button {
margin-top: 8px;
padding: 5px 0 9px 0;
}
.page-portrait2.market-uk.payment-option-secondary-button.top {
margin: 16px 0 0 0;
}
Select a Plan
HTML
<div class='page-portrait2 market-uk payment-option-page'>
<div class='top-bar-title'}>
MAKE A SELECTION
</div>
<div class='buttons-wrapper'>
<button class="page-portrait2 market-uk secondary payment-option-secondary-button top">
<div class='button-subtitle-top'>
Pay Full Amount
</div>
<div class="button-title">
<span class='circle-tag'>1</span>
$648.00
</div>
</button>
<div class='bottom-buttons'>
<button class="page-portrait2 market-uk secondary payment-option-secondary-button">
<div class='button-subtitle-top'>
6 Monthly Payments
</div>
<div class="button-title">
<span class='circle-tag'>2</span>
£108.00<span class='button-title-unit'>/mo.</span>
</div>
<div class='button-subtitle-group'>
<div class='button-subtitle'>
<span class='button-subtitle-bold'>FEE: </span>
£108.00/MONTH (APR: 0%)}
</div>
<div class='button-subtitle'>
<span class='button-subtitle-bold'>TOTAL: </span>
£648.00 (INCL. £0.00 FEE)
</div>
</div>
</button>
<button class="page-portrait2 market-uk secondary payment-option-secondary-button">
<div class='button-subtitle-top'>12 Monthly Payments</div>
<div class="button-title">
<span class='circle-tag'>3</span>
£58.49<span class='button-title-unit'>/mo.</span>
</div>
<div class='button-subtitle-group'>
<div class='button-subtitle'>
<span class='button-subtitle-bold'>FEE: </span>
£58.49/MONTH (APR: 15%)}
</div>
<div class='button-subtitle'>
<span class='button-subtitle-bold'>TOTAL: </span>
£701.88 (INCL. £42.89 FEE)
</div>
</div>
</button>
</div>
</div>
<div class='copyright'>
<img src="/cs-templates//_next/static/image/public/installments-united-kingdom-visa-blue.3b2cfca36a2572e48fa2e38fb010aa72.svg" height="13" width="200" />
</div>
</div>
CSS (Global)
/* Global Style */
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
height: 100vh;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}
/* General Style */
.page-landscape, .page-portrait1, .page-mini, .page-portrait2 {
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}
.image-container img {
width: 100%;
height: 100%;
}
.top-bar-title {
width: 100%;
height: 56px;
background-color: #1434CB;
text-align: center;
line-height: 56px;
color: #ffffff;
font-size: 20px;
font-weight: 500;
}
.summary {
text-align: center;
width: 100%;
}
/* Device Size Portrait2 */
.page-portrait2 {
width: 320px;
height: 439px;
}
.page-portrait2 .backbtn {
position: absolute;
top: 14px;
left: 17px;
}
.page-portrait2 .buttons-wrapper .bottom-buttons {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
position: relative;
}
.page-portrait2 .buttons-wrapper .bottom-buttons>p {
position: absolute;
top:-10px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
margin: 0px;
background: #ffffff;
width: 27px;
color: #979797;
text-align: center;
font-weight: 500;
font-size: 18px;
}
.page-portrait2 .title {
font-size: 18px;
font-weight: 500;
margin: 14px 0px;
}
.page-portrait2 .copyright {
font-size: 14px;
font-weight: 300;
display: flex;
flex-direction: row;
align-items: center;
flex: auto;
}
.page-portrait2.confirm-approved-page .copyright {
flex: unset;
margin-top: 24px;
}
/* Initiate Purchase Page */
.initiate-purchase-page {
background-color: #1434CB;
color: #ffffff
}
.page-portrait2.initiate-purchase-page {
align-items: center;
justify-content: center;
}
.page-portrait2.initiate-purchase-page .action {
font-size: 21px;
margin: 0px;
}
.page-portrait2.initiate-purchase-page .info {
font-size: 44px;
font-weight: 500;
margin: 0px 0px 6px 0px;
align-self: flex-start;
padding-left: 40px;
}
.page-portrait2.initiate-purchase-page .image-container {
width: 100px;
height: 60px;
margin-top: 32px;
margin-left: 40px;
align-self: flex-start;
}
/* Payment Option Page */
.payment-option-page {
background-color: #ffffff;
color: #000000;
align-items: center;
}
.page-portrait2.payment-option-page .buttons-wrapper {
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 0px;
padding: 0px 16px;
}
/* Terms & Condition Page */
.terms-conditions-page {
background-color: #ffffff;
align-items: center;
justify-content: flex-start;
}
.terms-conditions-page .content-wrapper {
padding: 0px 16px;
}
.terms-conditions-page .terms p {
margin: 0px;
}
.page-portrait2.terms-conditions-page .months-text {
font-size: 14px;
margin-top: 8px;
}
.page-portrait2.market-uk.terms-conditions-page .months-text {
font-size: 18px;
margin-top: 16px;
}
.page-portrait2.terms-conditions-page .amount-text {
font-size: 28px;
margin: 8px 0px 4px 0px;
}
.page-portrait2.market-uk.terms-conditions-page .amount-text {
font-size: 24px;
margin-top: 5px;
font-weight: 500;
}
.page-portrait2.terms-conditions-page .amount-unit-text {
font-size: 14px;
}
.page-portrait2.terms-conditions-page .detail {
margin: 5px 0px 12px 0px;
font-size: 14px;
}
.page-portrait2.market-uk.terms-conditions-page .detail {
margin: 4px 0px 0px 0px;
font-size: 12px;
line-height: 16px;
}
.page-portrait2.terms-conditions-page .detail .detail-divide {
color: #979797;
margin: 0px 8px;
}
.page-portrait2.terms-conditions-page .detail .detail-bold {
font-weight: 500;
}
.page-portrait2.terms-conditions-page .terms {
font-weight: 400;
font-size: 14PX;
margin-top: 10px;
width: 100%;
max-height: 195px;
overflow-y: auto;
}
.page-portrait2.market-uk.terms-conditions-page .terms{
margin-top: 16px;
max-height: 160px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar {
width: 4px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-thumb {
background: #D8D8D8;
width: 4px;
border-radius: 100px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-track {
background: transparent;
}
.page-portrait2.terms-conditions-page .bottom-buttons-group {
width: 100%;
padding:16px;
box-shadow: 0px 0px 8px rgb(0, 0, 0, 0.3);
display: flex;
justify-content: center;
flex: auto;
}
/* Confirm Progress Page */
.confirm-progress-page {
background-color: #ffffff;
align-items: center;
justify-content: center;
}
.confirm-approved-page .result {
font-size: 32px;
font-weight:500;
margin: 11px 0px 2px 0px;
}
.page-portrait2.confirm-progress-page img {
width: 320px;
}
/* Confirm Aprroved Page */
.confirm-approved-page {
background-color: #1434CB;
align-items: center;
justify-content: center;
color: #ffffff;
}
/* Basic button styles */
.primary {
background-color: #1434CB;
border: none;
border-radius: 2px;
width: 100%;
height: auto;
}
.primary .button-title {
color: #FFFFFF;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.primary .button-subtitle {
color: #FFFFFF;
font-size: 14px;
line-height: 16px;
}
.secondary {
background-color: #FFFFFF;
border: 3px solid #1434CB;
position: relative;
box-sizing: border-box;
border-radius: 2px;
padding: 0;
width: 100%;
height: auto;
}
.secondary .button-subtitle {
color: #000000;
font-size: 14px;
}
.secondary .tag {
align-self: flex-start;
background-color: #1434CB;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
border-bottom-right-radius: 5px;
position: absolute;
top: 0px;
left: 0px;
padding: 3px 12px 6px 9px;
}
.secondary .button-title {
color: #000000;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.secondary .button-title .button-title-unit {
font-size: 18px;
line-height: 20px;
font-weight: 500;
}
.secondary.market-uk .button-subtitle {
font-size: 12px;
line-height: 16px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:first-of-type {
margin-bottom: 2px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:last-of-type {
margin-bottom: 0px;
}
.secondary.market-uk .button-subtitle .button-subtitle-bold {
font-weight: 500;
}
.secondary .button-subtitle .button-subtitle-divide {
color: #979797;
margin: 0px 4px;
}
.circle-tag {
width: 22px;
height: 22px;
display: inline-block;
font-size: 14px;
text-align: center;
line-height: 22px;
border-radius: 25px;
color: #ffffff;
}
.image-button {
background-color: transparent;
border: none;
display: flex;
padding: 0px;
}
.text-button {
display: flex;
align-items: center;
justify-content: center;
}
/* Portrait 2 button styles */
.page-portrait2.primary .button-title {
font-size: 20px;
font-weight: 500;
}
.page-portrait2.payment-option-secondary-button {
margin-top: 16px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 9px 0;
}
.page-portrait2.secondary .button-title {
width: 100%;
font-size: 24px;
margin-bottom: 4px;
}
.page-portrait2.market-uk.secondary .button-title {
margin-bottom: 2px;
}
.page-portrait2.secondary.top .button-title {
margin-bottom: 0px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top, .page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
font-size: 18px;
line-height: 24px;
font-weight: 400;
}
.page-portrait2.secondary.market-us.top .button-subtitle-top, .page-portrait2.secondary.market-canada.top .button-subtitle-top {
margin-bottom: 4px;
}
.page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
margin-bottom: 8px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top{
margin-bottom: 8px;
}
.page-portrait2 .circle-tag {
position: absolute;
background-color: #1434CB;
left: 5px;
top: 5px;
}
.page-portrait2.market-uk.payment-option-secondary-button {
margin-top: 8px;
padding: 5px 0 9px 0;
}
.page-portrait2.market-uk.payment-option-secondary-button.top {
margin: 16px 0 0 0;
}
Review Terms and Conditions
HTML
<div class="page-portrait2 market-uk terms-conditions-page">
<div class='top-bar-title'>
PLAN DETAIL
</div>
<div class='backbtn'>
<button class='image-button'>
<img src="/cs-templates//_next/static/image/public/arrow_back_white.a91c5de642538deff94cfd87ad61ffd2.svg" width="26" height="26"/>
</button>
</div>
<div class='content-wrapper'>
<div class="summary">
<p class='months-text'>
6 Monthly Payment
</p>
<p class='amount-text'>
£108.00<span class='amount-unit-text'>/months</span>
</p>
<p class='detail'>
<span class='detail-bold'>FEE:</span> £0.00/MONTH(APR:0%)
</p>
<p class='detail'>
<span class='detail-bold'>Total:</span> £648.00 (INCL. £0.00 FEE)
</p>
</div>
<div class='terms'>
<p>
Terms and Conditions: Please take time to review the Term and Condition carefully! You are selecting a 6-month installment plan. Total purchase amount will be deducted from your available credit card limit. Interest rate is per annum, and calculated and payable per your Cardholder Agreement and Installment Plan T&Cs. Per Cardholder Agreement, interest will not be charged on purchase amount if installment payments are made on time. If an installment payment is missed, APR 0% per annum for purchases under Cardholder Agreement will apply on past due installment payment, Installment Plan may be cancelled and remaining amount due would be subject to Cardholder Agreement APR.
</p>
</div>
</div>
<div class='bottom-buttons-group'>
<button class="page-portrait2 primary text-button">
<div class="button-title">
Accept & Paid
</div>
</button>
</div>
</div>
CSS (Global)
/* Global Style */
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
height: 100vh;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}
/* General Style */
.page-landscape, .page-portrait1, .page-mini, .page-portrait2 {
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}
.image-container img {
width: 100%;
height: 100%;
}
.top-bar-title {
width: 100%;
height: 56px;
background-color: #1434CB;
text-align: center;
line-height: 56px;
color: #ffffff;
font-size: 20px;
font-weight: 500;
}
.summary {
text-align: center;
width: 100%;
}
/* Device Size Portrait2 */
.page-portrait2 {
width: 320px;
height: 439px;
}
.page-portrait2 .backbtn {
position: absolute;
top: 14px;
left: 17px;
}
.page-portrait2 .buttons-wrapper .bottom-buttons {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
position: relative;
}
.page-portrait2 .buttons-wrapper .bottom-buttons>p {
position: absolute;
top:-10px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
margin: 0px;
background: #ffffff;
width: 27px;
color: #979797;
text-align: center;
font-weight: 500;
font-size: 18px;
}
.page-portrait2 .title {
font-size: 18px;
font-weight: 500;
margin: 14px 0px;
}
.page-portrait2 .copyright {
font-size: 14px;
font-weight: 300;
display: flex;
flex-direction: row;
align-items: center;
flex: auto;
}
.page-portrait2.confirm-approved-page .copyright {
flex: unset;
margin-top: 24px;
}
/* Initiate Purchase Page */
.initiate-purchase-page {
background-color: #1434CB;
color: #ffffff
}
.page-portrait2.initiate-purchase-page {
align-items: center;
justify-content: center;
}
.page-portrait2.initiate-purchase-page .action {
font-size: 21px;
margin: 0px;
}
.page-portrait2.initiate-purchase-page .info {
font-size: 44px;
font-weight: 500;
margin: 0px 0px 6px 0px;
align-self: flex-start;
padding-left: 40px;
}
.page-portrait2.initiate-purchase-page .image-container {
width: 100px;
height: 60px;
margin-top: 32px;
margin-left: 40px;
align-self: flex-start;
}
/* Payment Option Page */
.payment-option-page {
background-color: #ffffff;
color: #000000;
align-items: center;
}
.page-portrait2.payment-option-page .buttons-wrapper {
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 0px;
padding: 0px 16px;
}
/* Terms & Condition Page */
.terms-conditions-page {
background-color: #ffffff;
align-items: center;
justify-content: flex-start;
}
.terms-conditions-page .content-wrapper {
padding: 0px 16px;
}
.terms-conditions-page .terms p {
margin: 0px;
}
.page-portrait2.terms-conditions-page .months-text {
font-size: 14px;
margin-top: 8px;
}
.page-portrait2.market-uk.terms-conditions-page .months-text {
font-size: 18px;
margin-top: 16px;
}
.page-portrait2.terms-conditions-page .amount-text {
font-size: 28px;
margin: 8px 0px 4px 0px;
}
.page-portrait2.market-uk.terms-conditions-page .amount-text {
font-size: 24px;
margin-top: 5px;
font-weight: 500;
}
.page-portrait2.terms-conditions-page .amount-unit-text {
font-size: 14px;
}
.page-portrait2.terms-conditions-page .detail {
margin: 5px 0px 12px 0px;
font-size: 14px;
}
.page-portrait2.market-uk.terms-conditions-page .detail {
margin: 4px 0px 0px 0px;
font-size: 12px;
line-height: 16px;
}
.page-portrait2.terms-conditions-page .detail .detail-divide {
color: #979797;
margin: 0px 8px;
}
.page-portrait2.terms-conditions-page .detail .detail-bold {
font-weight: 500;
}
.page-portrait2.terms-conditions-page .terms {
font-weight: 400;
font-size: 14PX;
margin-top: 10px;
width: 100%;
max-height: 195px;
overflow-y: auto;
}
.page-portrait2.market-uk.terms-conditions-page .terms{
margin-top: 16px;
max-height: 160px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar {
width: 4px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-thumb {
background: #D8D8D8;
width: 4px;
border-radius: 100px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-track {
background: transparent;
}
.page-portrait2.terms-conditions-page .bottom-buttons-group {
width: 100%;
padding:16px;
box-shadow: 0px 0px 8px rgb(0, 0, 0, 0.3);
display: flex;
justify-content: center;
flex: auto;
}
/* Confirm Progress Page */
.confirm-progress-page {
background-color: #ffffff;
align-items: center;
justify-content: center;
}
.confirm-approved-page .result {
font-size: 32px;
font-weight:500;
margin: 11px 0px 2px 0px;
}
.page-portrait2.confirm-progress-page img {
width: 320px;
}
/* Confirm Aprroved Page */
.confirm-approved-page {
background-color: #1434CB;
align-items: center;
justify-content: center;
color: #ffffff;
}
/* Basic button styles */
.primary {
background-color: #1434CB;
border: none;
border-radius: 2px;
width: 100%;
height: auto;
}
.primary .button-title {
color: #FFFFFF;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.primary .button-subtitle {
color: #FFFFFF;
font-size: 14px;
line-height: 16px;
}
.secondary {
background-color: #FFFFFF;
border: 3px solid #1434CB;
position: relative;
box-sizing: border-box;
border-radius: 2px;
padding: 0;
width: 100%;
height: auto;
}
.secondary .button-subtitle {
color: #000000;
font-size: 14px;
}
.secondary .tag {
align-self: flex-start;
background-color: #1434CB;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
border-bottom-right-radius: 5px;
position: absolute;
top: 0px;
left: 0px;
padding: 3px 12px 6px 9px;
}
.secondary .button-title {
color: #000000;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.secondary .button-title .button-title-unit {
font-size: 18px;
line-height: 20px;
font-weight: 500;
}
.secondary.market-uk .button-subtitle {
font-size: 12px;
line-height: 16px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:first-of-type {
margin-bottom: 2px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:last-of-type {
margin-bottom: 0px;
}
.secondary.market-uk .button-subtitle .button-subtitle-bold {
font-weight: 500;
}
.secondary .button-subtitle .button-subtitle-divide {
color: #979797;
margin: 0px 4px;
}
.circle-tag {
width: 22px;
height: 22px;
display: inline-block;
font-size: 14px;
text-align: center;
line-height: 22px;
border-radius: 25px;
color: #ffffff;
}
.image-button {
background-color: transparent;
border: none;
display: flex;
padding: 0px;
}
.text-button {
display: flex;
align-items: center;
justify-content: center;
}
/* Portrait 2 button styles */
.page-portrait2.primary .button-title {
font-size: 20px;
font-weight: 500;
}
.page-portrait2.payment-option-secondary-button {
margin-top: 16px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 9px 0;
}
.page-portrait2.secondary .button-title {
width: 100%;
font-size: 24px;
margin-bottom: 4px;
}
.page-portrait2.market-uk.secondary .button-title {
margin-bottom: 2px;
}
.page-portrait2.secondary.top .button-title {
margin-bottom: 0px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top, .page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
font-size: 18px;
line-height: 24px;
font-weight: 400;
}
.page-portrait2.secondary.market-us.top .button-subtitle-top, .page-portrait2.secondary.market-canada.top .button-subtitle-top {
margin-bottom: 4px;
}
.page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
margin-bottom: 8px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top{
margin-bottom: 8px;
}
.page-portrait2 .circle-tag {
position: absolute;
background-color: #1434CB;
left: 5px;
top: 5px;
}
.page-portrait2.market-uk.payment-option-secondary-button {
margin-top: 8px;
padding: 5px 0 9px 0;
}
.page-portrait2.market-uk.payment-option-secondary-button.top {
margin: 16px 0 0 0;
}
Transaction Approved
HTML
<div class="page-portrait2 confirm-approved-page">
<img src="/cs-templates//_next/static/image/public/checkmark.2216bff4de679799ceed3bd65699f39d.svg" height="40" width="52">
<p class="result">Approved</p>
<div class="copyright">
<img src="/cs-templates//_next/static/image/public/installments-united-kingdom-white.55852ee8665eae14bcf8d25a324eeb6d.svg" height="13" width="200">
</div>
</div>
CSS (Global)
/* Global Style */
html,
body {
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
height: 100vh;
}
a {
color: inherit;
text-decoration: none;
}
* {
box-sizing: border-box;
}
/* General Style */
.page-landscape, .page-portrait1, .page-mini, .page-portrait2 {
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}
.image-container img {
width: 100%;
height: 100%;
}
.top-bar-title {
width: 100%;
height: 56px;
background-color: #1434CB;
text-align: center;
line-height: 56px;
color: #ffffff;
font-size: 20px;
font-weight: 500;
}
.summary {
text-align: center;
width: 100%;
}
/* Device Size Portrait2 */
.page-portrait2 {
width: 320px;
height: 439px;
}
.page-portrait2 .backbtn {
position: absolute;
top: 14px;
left: 17px;
}
.page-portrait2 .buttons-wrapper .bottom-buttons {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 100%;
position: relative;
}
.page-portrait2 .buttons-wrapper .bottom-buttons>p {
position: absolute;
top:-10px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
margin: 0px;
background: #ffffff;
width: 27px;
color: #979797;
text-align: center;
font-weight: 500;
font-size: 18px;
}
.page-portrait2 .title {
font-size: 18px;
font-weight: 500;
margin: 14px 0px;
}
.page-portrait2 .copyright {
font-size: 14px;
font-weight: 300;
display: flex;
flex-direction: row;
align-items: center;
flex: auto;
}
.page-portrait2.confirm-approved-page .copyright {
flex: unset;
margin-top: 24px;
}
/* Initiate Purchase Page */
.initiate-purchase-page {
background-color: #1434CB;
color: #ffffff
}
.page-portrait2.initiate-purchase-page {
align-items: center;
justify-content: center;
}
.page-portrait2.initiate-purchase-page .action {
font-size: 21px;
margin: 0px;
}
.page-portrait2.initiate-purchase-page .info {
font-size: 44px;
font-weight: 500;
margin: 0px 0px 6px 0px;
align-self: flex-start;
padding-left: 40px;
}
.page-portrait2.initiate-purchase-page .image-container {
width: 100px;
height: 60px;
margin-top: 32px;
margin-left: 40px;
align-self: flex-start;
}
/* Payment Option Page */
.payment-option-page {
background-color: #ffffff;
color: #000000;
align-items: center;
}
.page-portrait2.payment-option-page .buttons-wrapper {
width: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 0px;
padding: 0px 16px;
}
/* Terms & Condition Page */
.terms-conditions-page {
background-color: #ffffff;
align-items: center;
justify-content: flex-start;
}
.terms-conditions-page .content-wrapper {
padding: 0px 16px;
}
.terms-conditions-page .terms p {
margin: 0px;
}
.page-portrait2.terms-conditions-page .months-text {
font-size: 14px;
margin-top: 8px;
}
.page-portrait2.market-uk.terms-conditions-page .months-text {
font-size: 18px;
margin-top: 16px;
}
.page-portrait2.terms-conditions-page .amount-text {
font-size: 28px;
margin: 8px 0px 4px 0px;
}
.page-portrait2.market-uk.terms-conditions-page .amount-text {
font-size: 24px;
margin-top: 5px;
font-weight: 500;
}
.page-portrait2.terms-conditions-page .amount-unit-text {
font-size: 14px;
}
.page-portrait2.terms-conditions-page .detail {
margin: 5px 0px 12px 0px;
font-size: 14px;
}
.page-portrait2.market-uk.terms-conditions-page .detail {
margin: 4px 0px 0px 0px;
font-size: 12px;
line-height: 16px;
}
.page-portrait2.terms-conditions-page .detail .detail-divide {
color: #979797;
margin: 0px 8px;
}
.page-portrait2.terms-conditions-page .detail .detail-bold {
font-weight: 500;
}
.page-portrait2.terms-conditions-page .terms {
font-weight: 400;
font-size: 14PX;
margin-top: 10px;
width: 100%;
max-height: 195px;
overflow-y: auto;
}
.page-portrait2.market-uk.terms-conditions-page .terms{
margin-top: 16px;
max-height: 160px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar {
width: 4px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-thumb {
background: #D8D8D8;
width: 4px;
border-radius: 100px;
}
.page-portrait2.terms-conditions-page .terms::-webkit-scrollbar-track {
background: transparent;
}
.page-portrait2.terms-conditions-page .bottom-buttons-group {
width: 100%;
padding:16px;
box-shadow: 0px 0px 8px rgb(0, 0, 0, 0.3);
display: flex;
justify-content: center;
flex: auto;
}
/* Confirm Progress Page */
.confirm-progress-page {
background-color: #ffffff;
align-items: center;
justify-content: center;
}
.confirm-approved-page .result {
font-size: 32px;
font-weight:500;
margin: 11px 0px 2px 0px;
}
.page-portrait2.confirm-progress-page img {
width: 320px;
}
/* Confirm Aprroved Page */
.confirm-approved-page {
background-color: #1434CB;
align-items: center;
justify-content: center;
color: #ffffff;
}
/* Basic button styles */
.primary {
background-color: #1434CB;
border: none;
border-radius: 2px;
width: 100%;
height: auto;
}
.primary .button-title {
color: #FFFFFF;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.primary .button-subtitle {
color: #FFFFFF;
font-size: 14px;
line-height: 16px;
}
.secondary {
background-color: #FFFFFF;
border: 3px solid #1434CB;
position: relative;
box-sizing: border-box;
border-radius: 2px;
padding: 0;
width: 100%;
height: auto;
}
.secondary .button-subtitle {
color: #000000;
font-size: 14px;
}
.secondary .tag {
align-self: flex-start;
background-color: #1434CB;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
border-bottom-right-radius: 5px;
position: absolute;
top: 0px;
left: 0px;
padding: 3px 12px 6px 9px;
}
.secondary .button-title {
color: #000000;
font-weight: 500;
font-size: 28px;
line-height: 28px;
}
.secondary .button-title .button-title-unit {
font-size: 18px;
line-height: 20px;
font-weight: 500;
}
.secondary.market-uk .button-subtitle {
font-size: 12px;
line-height: 16px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:first-of-type {
margin-bottom: 2px;
}
.secondary.market-uk .button-subtitle-group .button-subtitle:last-of-type {
margin-bottom: 0px;
}
.secondary.market-uk .button-subtitle .button-subtitle-bold {
font-weight: 500;
}
.secondary .button-subtitle .button-subtitle-divide {
color: #979797;
margin: 0px 4px;
}
.circle-tag {
width: 22px;
height: 22px;
display: inline-block;
font-size: 14px;
text-align: center;
line-height: 22px;
border-radius: 25px;
color: #ffffff;
}
.image-button {
background-color: transparent;
border: none;
display: flex;
padding: 0px;
}
.text-button {
display: flex;
align-items: center;
justify-content: center;
}
/* Portrait 2 button styles */
.page-portrait2.primary .button-title {
font-size: 20px;
font-weight: 500;
}
.page-portrait2.payment-option-secondary-button {
margin-top: 16px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 9px 0;
}
.page-portrait2.secondary .button-title {
width: 100%;
font-size: 24px;
margin-bottom: 4px;
}
.page-portrait2.market-uk.secondary .button-title {
margin-bottom: 2px;
}
.page-portrait2.secondary.top .button-title {
margin-bottom: 0px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top, .page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
font-size: 18px;
line-height: 24px;
font-weight: 400;
}
.page-portrait2.secondary.market-us.top .button-subtitle-top, .page-portrait2.secondary.market-canada.top .button-subtitle-top {
margin-bottom: 4px;
}
.page-portrait2.secondary.market-us .button-subtitle-top, .page-portrait2.secondary.market-canada .button-subtitle-top {
margin-bottom: 8px;
}
.page-portrait2.secondary.market-uk .button-subtitle-top{
margin-bottom: 8px;
}
.page-portrait2 .circle-tag {
position: absolute;
background-color: #1434CB;
left: 5px;
top: 5px;
}
.page-portrait2.market-uk.payment-option-secondary-button {
margin-top: 8px;
padding: 5px 0 9px 0;
}
.page-portrait2.market-uk.payment-option-secondary-button.top {
margin: 16px 0 0 0;
}
These materials and steps outlined on this website are provided “AS IS” and are intended for illustrative purposes only. They should not be relied upon for marketing, legal, tax, financial, regulatory or other advice. You are responsible for the legal aspects of any implementation of the concepts illustrated herein. Further, Visa neither makes any warranty or representation as to the completeness or accuracy of this information, nor assumes any liability or responsibility that may result from reliance on such information. You should not act or rely on such content without seeking the advice of a professional. All brand names, logos and/or trademarks are the property of their respective owners, are used for identification purposes only, and do not necessarily imply product endorsement or affiliation with Visa.