mirror of
https://github.com/jlengrand/checkoutCreate.git
synced 2026-03-10 15:48:36 +00:00
650 lines
10 KiB
CSS
650 lines
10 KiB
CSS
/* General page body */
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
margin: 0;
|
|
font-family: "Fakt", "Segoe UI", sans-serif, Helvetica, Arial;
|
|
/*background-color: #E4D8B4; - All things retro */
|
|
}
|
|
|
|
*,
|
|
:after,
|
|
:before {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a,
|
|
u {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#header {
|
|
/*background: #C2B28F; - all things retro */
|
|
background: #fff;
|
|
border-bottom: 1px solid #e6e9eb;
|
|
height: 90px;
|
|
/* height: 44px; - original */
|
|
left: 0;
|
|
margin-bottom: 24px;
|
|
padding: 14px 26px;
|
|
position: fixed;
|
|
text-align: center;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 2;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Buttons */
|
|
|
|
.button {
|
|
/*background: #272324; - All things retro*/
|
|
background: #00112c;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-size: 1em;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
padding: 15px;
|
|
text-align: center;
|
|
transition: background 0.3s ease-out, box-shadow 0.3s ease-out;
|
|
width: 100%;
|
|
}
|
|
|
|
.button:hover {
|
|
background: #1c3045;
|
|
box-shadow: 0 3px 4px rgba(0, 15, 45, 0.2);
|
|
}
|
|
|
|
.logo-box {
|
|
/*float:left;
|
|
text-align: center;
|
|
width: 50%;
|
|
margin-bottom: 20px; - All things retro */
|
|
align-items: center;
|
|
}
|
|
|
|
.logo-image {
|
|
height: 64px;
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
margin-right: 16px;
|
|
/*width: 64px;*/
|
|
}
|
|
|
|
.logo-title {
|
|
font-family: 'Oleo Script', cursive;
|
|
font-size: 30px;
|
|
}
|
|
|
|
/* end General page body */
|
|
|
|
|
|
/* Index page */
|
|
|
|
.main-container {
|
|
margin: auto;
|
|
max-width: 1048px;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.integration-list {
|
|
display: flex;
|
|
max-width: 1048px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.integration-list {
|
|
margin-left: -8px;
|
|
margin-bottom: -8px;
|
|
margin-right: -8px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.integration-list {
|
|
margin-left: -16px;
|
|
margin-bottom: -16px;
|
|
margin-right: -16px;
|
|
}
|
|
}
|
|
|
|
.integration-list-item {
|
|
background: #f7f8f9;
|
|
border-radius: 6px;
|
|
flex: 1 1 0;
|
|
margin: 4px;
|
|
min-width: 40%;
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 1px solid #f7f8f9;
|
|
}
|
|
|
|
.integration-list-item:hover {
|
|
box-shadow: 0 16px 24px 0 #e5eaef;
|
|
text-decoration: none;
|
|
border: 1px solid #06f;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.integration-list-item {
|
|
margin: 16px;
|
|
min-width: 25%;
|
|
}
|
|
}
|
|
|
|
.integration-list-item-link {
|
|
padding: 20px;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.integration-list-item-link {
|
|
padding: 28px;
|
|
}
|
|
}
|
|
|
|
.integration-list-item-title {
|
|
text-align: center;
|
|
color: #00112c;
|
|
font-size: 1em;
|
|
font-weight: 700;
|
|
margin: 10px 0 0;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.integration-list-item-title {
|
|
font-size: 24px;
|
|
margin-left: 0;
|
|
margin-bottom: 6px;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.integration-list-item-subtitle {
|
|
color: #00112c;
|
|
font-size: 0.67em;
|
|
font-weight: 700;
|
|
margin: 10px 0 0;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.integration-list-item-subtitle {
|
|
font-size: 16px;
|
|
margin-left: 0;
|
|
margin-bottom: 6px;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.title-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.h3 {
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.info {
|
|
margin-top: 120px;
|
|
color: #00112c;
|
|
text-align: center;
|
|
}
|
|
|
|
/* end Index page */
|
|
|
|
/* Cart preview page */
|
|
|
|
.shopping-cart {
|
|
float: right;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.shopping-cart {
|
|
padding: 3px 0 0;
|
|
}
|
|
}
|
|
|
|
.shopping-cart-link {
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.order-summary-list-list-item.first-item {
|
|
border-top: 1px solid #e6e9eb;
|
|
}
|
|
|
|
.order-summary-list-list-item {
|
|
border-bottom: 1px solid #e6e9eb;
|
|
display: flex;
|
|
height: 117px;
|
|
}
|
|
|
|
.order-summary-list-list-item-image {
|
|
height: 64px;
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
margin-right: 16px;
|
|
width: auto;
|
|
}
|
|
|
|
.order-summary-list-list-item-title {
|
|
font-weight: 700;
|
|
margin: auto auto auto 0;
|
|
}
|
|
|
|
.order-summary-list-list-item-price {
|
|
color: #687282;
|
|
margin: auto 16px;
|
|
text-align: right;
|
|
width: 80px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.order-summary-list-list-item-price {
|
|
margin: auto 24px;
|
|
}
|
|
}
|
|
|
|
.cart {
|
|
text-align: center;
|
|
margin-top: 80px;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.cart-footer {
|
|
font-weight: 700;
|
|
margin-top: 17px;
|
|
text-align: right;
|
|
margin-bottom: 17px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.cart-footer {
|
|
margin-top: 24px;
|
|
}
|
|
}
|
|
|
|
.cart-footer .button {
|
|
margin-top: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.cart-footer .button {
|
|
margin-top: 0;
|
|
width: 288px;
|
|
}
|
|
}
|
|
|
|
.cart-footer-amount {
|
|
margin-left: 16px;
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.country-selector{
|
|
align-items:center;
|
|
background:#e5eaef;
|
|
border:1px solid #b9c4c9;
|
|
border-radius:6px;
|
|
display:flex;
|
|
height:40px;
|
|
margin:auto 0 auto auto;
|
|
outline:none;
|
|
padding:0 0 0 12px;
|
|
position:relative;
|
|
width:100%
|
|
}
|
|
@media (min-width:768px){
|
|
.country-selector{
|
|
width:200px
|
|
}
|
|
}
|
|
.country-selector__flag{
|
|
display:inline-flex;
|
|
margin-right:10px;
|
|
width:20px
|
|
}
|
|
.country-selector__select{
|
|
-webkit-appearance:none;
|
|
-moz-appearance:none;
|
|
appearance:none;
|
|
background:transparent;
|
|
border:0;
|
|
cursor:pointer;
|
|
flex:1;
|
|
font-size:1em;
|
|
height:100%;
|
|
margin:0 -12px 0 -42px;
|
|
outline:none;
|
|
padding-left:42px;
|
|
width:180px
|
|
}
|
|
.country-selector:focus{
|
|
box-shadow:none
|
|
}
|
|
.country-selector:hover{
|
|
border-color:#99a3ad
|
|
}
|
|
.country-selector .dropdown-icon{
|
|
margin-right:12px;
|
|
margin-top:3px
|
|
}
|
|
|
|
/* end of Cart preview page */
|
|
|
|
/* Payment page */
|
|
|
|
#payment-page .container {
|
|
margin-top: 100px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
max-width: 1110px;
|
|
}
|
|
|
|
#payment-page .checkout {
|
|
margin-top: 100px;
|
|
}
|
|
#payment-page .settings {
|
|
margin-top: 100px;
|
|
}
|
|
|
|
@media screen and (max-width: 1076px) {
|
|
#payment-page .container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.payment {
|
|
align-self: center;
|
|
}
|
|
}
|
|
|
|
.checkout-component-container {
|
|
border: none;
|
|
padding: 0;
|
|
margin: 8px 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* Adyen Components */
|
|
.payment {
|
|
width: 100%;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
/* end Payments page */
|
|
|
|
/* PBL page */
|
|
.qrcontainer {
|
|
padding: 10px;
|
|
}
|
|
|
|
.pbl-conatiner {
|
|
margin-top: 100px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
max-width: 1110px;
|
|
}
|
|
|
|
/* end PBL page */
|
|
|
|
/* Status page */
|
|
|
|
.status-container {
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.status {
|
|
margin: 100px 0 126px;
|
|
text-align: center;
|
|
}
|
|
|
|
.status .status-image {
|
|
display: block;
|
|
height: 100px;
|
|
margin: 16px auto 0;
|
|
}
|
|
|
|
.status .status-image-thank-you {
|
|
height: 66px;
|
|
}
|
|
|
|
.status .status-message {
|
|
margin: 8px 0 24px;
|
|
}
|
|
|
|
.status .button {
|
|
max-width: 236px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.status .button {
|
|
max-width: 200px;
|
|
}
|
|
}
|
|
|
|
/* end Status page */
|
|
|
|
/* Virtual Card CSS */
|
|
.card{
|
|
width: 320px;
|
|
height: 190px;
|
|
-webkit-perspective: 600px;
|
|
-moz-perspective: 600px;
|
|
perspective:600px;
|
|
|
|
}
|
|
|
|
.card__part{
|
|
box-shadow: 1px 1px #aaa3a3;
|
|
top: 0;
|
|
position: absolute;
|
|
z-index: 1000;
|
|
left: 0;
|
|
display: inline-block;
|
|
width: 320px;
|
|
height: 190px;
|
|
background-image: url('https://image.ibb.co/bVnMrc/g3095.png'), linear-gradient(to right bottom, #0abf53, #009a78, #007183, #00496f, #00112c); /*linear-gradient(to right bottom, #fd8369, #fc7870, #f96e78, #f56581, #ee5d8a)*/
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
border-radius: 8px;
|
|
|
|
-webkit-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
-moz-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
-ms-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
-o-transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
transition: all .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
-webkit-transform-style: preserve-3d;
|
|
-moz-transform-style: preserve-3d;
|
|
-webkit-backface-visibility: hidden;
|
|
-moz-backface-visibility: hidden;
|
|
}
|
|
|
|
.card__front{
|
|
padding: 18px;
|
|
-webkit-transform: rotateY(0);
|
|
-moz-transform: rotateY(0);
|
|
}
|
|
|
|
.card__back {
|
|
padding: 18px 0;
|
|
-webkit-transform: rotateY(-180deg);
|
|
-moz-transform: rotateY(-180deg);
|
|
}
|
|
|
|
.card__black-line {
|
|
margin-top: 5px;
|
|
height: 38px;
|
|
background-color: #303030;
|
|
}
|
|
|
|
.card__logo {
|
|
height: 40px;
|
|
}
|
|
|
|
.card__front-logo{
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 18px;
|
|
}
|
|
.card__square {
|
|
border-radius: 5px;
|
|
height: 40px;
|
|
}
|
|
|
|
.card_numer {
|
|
display: block;
|
|
width: 100%;
|
|
word-spacing: 4px;
|
|
font-size: 20px;
|
|
letter-spacing: 2px;
|
|
color: #fff;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.card__space-75 {
|
|
width: 75%;
|
|
float: left;
|
|
}
|
|
|
|
.card__space-25 {
|
|
width: 25%;
|
|
float: left;
|
|
}
|
|
|
|
.card__label {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
color: rgba(255,255,255,0.8);
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.card__info {
|
|
margin-bottom: 0;
|
|
margin-top: 5px;
|
|
font-size: 16px;
|
|
line-height: 18px;
|
|
color: #fff;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.card__back-content {
|
|
padding: 15px 15px 0;
|
|
}
|
|
.card__secret--last {
|
|
color: #303030;
|
|
text-align: right;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.card__secret {
|
|
padding: 5px 12px;
|
|
background-color: #fff;
|
|
position:relative;
|
|
}
|
|
|
|
.card__secret:before{
|
|
content:'';
|
|
position: absolute;
|
|
top: -3px;
|
|
left: -3px;
|
|
height: calc(100% + 6px);
|
|
width: calc(100% - 42px);
|
|
border-radius: 4px;
|
|
background: repeating-linear-gradient(45deg, #ededed, #ededed 5px, #f9f9f9 5px, #f9f9f9 10px);
|
|
}
|
|
|
|
.card__back-logo {
|
|
position: absolute;
|
|
bottom: 15px;
|
|
right: 15px;
|
|
}
|
|
|
|
.card__back-square {
|
|
position: absolute;
|
|
bottom: 15px;
|
|
left: 15px;
|
|
}
|
|
|
|
.card:focus .card__front {
|
|
-webkit-transform: rotateY(180deg);
|
|
-moz-transform: rotateY(180deg);
|
|
|
|
}
|
|
|
|
.card:focus .card__back {
|
|
-webkit-transform: rotateY(0deg);
|
|
-moz-transform: rotateY(0deg);
|
|
}
|
|
|
|
/* :root {
|
|
--back-rotate : rotateY(0deg);
|
|
--back-tran: rotateY(0deg);
|
|
--front-rotate: rotateY(180deg);
|
|
--front-tran: rotateY(180deg);
|
|
} */
|
|
|
|
:root {
|
|
--background-color: purple;
|
|
--button-edges: 10px;
|
|
--body-edges: 10px;
|
|
}
|
|
|
|
|
|
.adyen-checkout__button {
|
|
background: var(--background-color) !important;
|
|
border-radius: var(--button-edges) !important;
|
|
}
|
|
|
|
.adyen-checkout__payment-method {
|
|
border-radius: var(--body-edges) !important;
|
|
}
|
|
/* Copy button */
|
|
|