2021-12-21 02:27:25 +01:00
|
|
|
@import '../init/breakpoints';
|
2021-10-28 22:25:34 +02:00
|
|
|
|
|
|
|
.filePrice {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
color: var(--color-purchased-text);
|
|
|
|
|
|
|
|
.credit-amount,
|
|
|
|
.icon--Key {
|
|
|
|
position: relative;
|
|
|
|
margin-left: var(--spacing-m);
|
|
|
|
white-space: nowrap;
|
2022-02-11 19:50:55 +01:00
|
|
|
color: var(--color-primary-contrast);
|
2021-10-28 22:25:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
|
|
|
left: 0;
|
|
|
|
width: 250%;
|
|
|
|
height: 160%;
|
|
|
|
transform: skew(15deg);
|
2022-02-11 19:50:55 +01:00
|
|
|
background-color: rgba(var(--color-primary-dynamic), 1);
|
2021-10-28 22:25:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filePrice--filepage {
|
|
|
|
font-size: var(--font-body);
|
|
|
|
top: calc(var(--spacing-xxs) * -1);
|
|
|
|
margin-left: var(--spacing-m);
|
2022-02-11 19:50:55 +01:00
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
height: 2.4rem;
|
2021-10-28 22:25:34 +02:00
|
|
|
|
|
|
|
.credit-amount {
|
|
|
|
margin: 0 var(--spacing-m);
|
2022-02-11 19:50:55 +01:00
|
|
|
margin-bottom: -0.9rem;
|
2021-10-28 22:25:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
height: 250%;
|
|
|
|
left: calc(var(--spacing-m) * -1);
|
|
|
|
border-radius: 0;
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
border-width: 5px;
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
height: 140%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filePrice--modal {
|
|
|
|
border: 5px solid var(--color-purchased);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
font-size: var(--font-body);
|
|
|
|
height: 4rem;
|
|
|
|
background-color: var(--color-purchased-alt);
|
|
|
|
transform: skew(15deg);
|
|
|
|
|
|
|
|
.icon,
|
|
|
|
.credit-amount {
|
|
|
|
transform: skew(-15deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.credit-amount {
|
|
|
|
margin: 0 var(--spacing-m);
|
|
|
|
margin-left: var(--spacing-l);
|
|
|
|
font-weight: var(--font-bold);
|
|
|
|
font-size: var(--font-large);
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filePrice__key {
|
|
|
|
@extend .filePrice;
|
|
|
|
color: var(--color-gray-5);
|
2022-04-05 16:02:32 +02:00
|
|
|
top: 0;
|
2021-10-28 22:25:34 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-color: var(--color-purchased);
|
|
|
|
height: 180%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filePrice__key--filepage {
|
|
|
|
@extend .filePrice--filepage;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
height: 300%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin: 0 var(--spacing-m);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
&::before {
|
|
|
|
top: calc(-1 * var(--spacing-s));
|
|
|
|
height: 110%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
top: calc(-1 * var(--spacing-s));
|
|
|
|
margin: 0 var(--spacing-xs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filePrice__key--modal {
|
|
|
|
@extend .filePrice--modal;
|
|
|
|
top: var(--spacing-m);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
height: 100%;
|
|
|
|
width: auto;
|
|
|
|
left: calc(var(--spacing-xl) * 1.5);
|
|
|
|
animation: moveKey 2.5s 1 ease-out;
|
|
|
|
overflow: visible;
|
|
|
|
stroke: var(--color-black);
|
|
|
|
|
|
|
|
g {
|
|
|
|
animation: turnKey 2.5s 1 ease-out;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
transform: skew(15deg);
|
|
|
|
animation: expand 2.5s 1 ease-out;
|
|
|
|
}
|
|
|
|
}
|