87 lines
2.6 KiB
SCSS
87 lines
2.6 KiB
SCSS
:host {
|
|
.woocommerce-MyAccount-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
.card-content {
|
|
position: relative;
|
|
height: 200px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
&__front, &__back {
|
|
display: block;
|
|
transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
|
|
transition-duration: .7s;
|
|
transition-property: transform, opacity;
|
|
color: #fff;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #fdfdfd;
|
|
border-radius: 12px;
|
|
border: solid #a3a3a3 1px;
|
|
box-shadow: 0 0 3px 1px #fff;
|
|
padding: 12px;
|
|
background-size: cover;
|
|
}
|
|
&__front {
|
|
transform: rotateY(0deg);
|
|
background-image: url(../../../../assets/background.svg);
|
|
}
|
|
&__back {
|
|
position: absolute;
|
|
opacity: 0;
|
|
top: 0px;
|
|
left: 0px;
|
|
transform: rotateY(-180deg);
|
|
background: #000;
|
|
}
|
|
&.active_back {
|
|
> .card-content__front {
|
|
transform: rotateY(180deg);
|
|
opacity: 0;
|
|
}
|
|
> .card-content__back {
|
|
opacity: 1;
|
|
transform: rotateY(0deg);
|
|
}
|
|
}
|
|
&__logo {
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
.title {
|
|
color: #03d1be;
|
|
font-weight: 600;
|
|
letter-spacing: 2px;
|
|
}
|
|
}
|
|
&__footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
position: absolute;
|
|
bottom: 12px;
|
|
width: calc(100% - 24px);
|
|
.count {
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
&__barcode-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
}
|
|
.explanation {
|
|
font-size: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
}
|
|
} |