211 lines
4.1 KiB
CSS
Raw Normal View History

2024-11-04 12:41:18 +01:00
.wallet-card {
2024-11-06 21:11:50 +01:00
background-image: -webkit-image-set(
url(/img/wallet.webp),
url(/img/wallet.png)
);
background-image: image-set(
url(/img/wallet.webp) type("image/webp"),
url(/img/wallet.png) type("image/png")
);
2024-11-04 12:41:18 +01:00
background-repeat: no-repeat;
background-size: cover;
2024-11-26 18:41:40 +01:00
border: 1px solid rgba(150, 150, 150, 0.2);
2024-11-04 12:41:18 +01:00
border-radius: 16px;
padding: 16px;
box-sizing: border-box;
position: relative;
2024-11-04 15:44:41 +01:00
display: flex;
flex-direction: column;
2024-11-04 12:41:18 +01:00
&::before {
content: " ";
2024-11-04 15:44:41 +01:00
width: 42%;
height: 50%;
2024-11-04 12:41:18 +01:00
position: absolute;
bottom: -1px;
right: 0;
background: transparent;
backdrop-filter: blur(3px);
}
header {
2024-11-11 09:41:58 +07:00
display: flex;
justify-content: space-between;
margin-bottom: 16px;
align-items: center;
2024-11-04 12:41:18 +01:00
button {
2024-11-26 18:41:40 +01:00
background-color: rgb(22, 22, 22);
border: 1px solid rgba(150, 150, 150, 0.2);
2024-11-04 12:41:18 +01:00
height: 24px;
width: 24px;
cursor: pointer;
transition: box-shadow 0.35s;
2024-11-06 21:11:50 +01:00
display: inline-flex;
justify-content: center;
align-items: center;
2024-11-04 12:41:18 +01:00
&:hover {
2024-11-26 18:41:40 +01:00
box-shadow: 0 0 0 3px rgba(150, 150, 150, 0.2);
2024-11-04 12:41:18 +01:00
}
&:first-child {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
&:nth-child(2) {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
2024-11-04 15:44:41 +01:00
svg {
position: relative;
2024-11-06 21:11:50 +01:00
left: -2px;
2024-11-04 15:44:41 +01:00
}
2024-11-04 12:41:18 +01:00
}
}
h6 {
font-family: Inter;
font-size: 12px;
font-weight: 700;
line-height: 14.52px;
letter-spacing: 0.01em;
text-align: left;
text-transform: uppercase;
}
span {
font-family: Inter;
font-size: 14px;
font-weight: 400;
line-height: 20px;
letter-spacing: -0.006em;
text-align: left;
2024-11-26 18:41:40 +01:00
color: rgb(255, 255, 255, 0.7);
2024-11-04 12:41:18 +01:00
}
var {
font-family: Inter;
font-weight: 500;
line-height: 40px;
letter-spacing: -0.005em;
2024-11-26 18:41:40 +01:00
color: rgb(255, 255, 255);
2024-11-04 12:41:18 +01:00
display: block;
font-style: normal;
}
main var {
font-size: 32px;
}
2024-11-06 21:11:50 +01:00
svg + svg {
position: absolute;
left: 0;
top: 10px;
}
2024-11-04 12:41:18 +01:00
footer {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
&::after {
content: " ";
background-image: url(/icons/select-arrow.svg);
background-repeat: no-repeat;
position: absolute;
width: 16px;
height: 16px;
right: 0;
top: 22px;
}
var {
font-size: 20px;
line-height: 25px;
}
select {
2024-11-26 18:41:40 +01:00
background-color: rgb(22, 22, 22);
2024-11-04 12:41:18 +01:00
border-radius: 8px;
2024-11-26 18:41:40 +01:00
border: 1px solid rgba(150, 150, 150, 0.2);
2024-11-25 14:24:28 +01:00
padding: 6px 24px 6px 34px;
2024-11-04 12:41:18 +01:00
outline: none;
-moz-appearance: none; /* Firefox */
-webkit-appearance: none; /* Safari and Chrome */
appearance: none;
position: relative;
transition: box-shadow 0.35s;
2024-11-25 14:24:28 +01:00
height: 31px;
font-size: 0;
2024-11-04 12:41:18 +01:00
&:hover {
2024-11-26 18:41:40 +01:00
box-shadow: 0 0 0 3px rgba(150, 150, 150, 0.2);
2024-11-04 12:41:18 +01:00
}
2024-11-25 14:24:28 +01:00
&:has(option[value="USD"]:checked) {
2024-11-04 12:41:18 +01:00
background-image: url(/icons/us-flag.svg);
background-position: 10px;
background-repeat: no-repeat;
background-size: 16px;
}
2024-11-25 14:24:28 +01:00
&:has(option[value="EUR"]:checked) {
background-image: url(/icons/euro-flag.svg);
background-position: 10px;
background-repeat: no-repeat;
background-size: 16px;
}
2024-11-04 12:41:18 +01:00
option {
border-radius: 32px;
2024-11-25 14:24:28 +01:00
font-size: 16px;
2024-11-04 12:41:18 +01:00
}
}
div {
position: relative;
.row {
gap: 8px;
}
}
small {
2024-11-26 18:41:40 +01:00
color: rgb(62, 224, 137);
2024-11-04 12:41:18 +01:00
height: 20px;
width: 42px;
border-radius: 16px;
2024-11-26 18:41:40 +01:00
background-color: rgb(31, 193, 107, 0.16);
2024-11-04 12:41:18 +01:00
display: flex;
align-items: center;
justify-content: center;
}
}
section:first-child {
margin-top: 12px;
}
section:nth-child(2) {
margin-top: 16px;
margin-bottom: 10px;
position: relative;
.wallet-lines {
position: absolute;
left: 0;
top: 10px;
}
}
2024-11-25 16:37:13 +01:00
.lines {
height: 200;
transform: scale(1.25);
}
2024-11-04 12:41:18 +01:00
}