mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-21 20:12:15 -07:00
54 lines
1.1 KiB
CSS
54 lines
1.1 KiB
CSS
main.wallets {
|
|
.wallets__unlock {
|
|
display: grid;
|
|
gap: 1rem;
|
|
place-content: center;
|
|
width: min(100%, 28rem);
|
|
min-height: calc(100dvh - 2 * var(--offset));
|
|
margin-inline: auto;
|
|
text-align: center;
|
|
|
|
> h1 {
|
|
margin: 0;
|
|
font-size: 3rem;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
}
|
|
|
|
> form {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 0.75rem;
|
|
align-items: end;
|
|
|
|
@media (max-width: 34rem) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
> button {
|
|
position: relative;
|
|
isolation: isolate;
|
|
justify-self: center;
|
|
overflow: hidden;
|
|
color: var(--gray);
|
|
background: transparent;
|
|
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background: color-mix(in oklch, var(--red) 34%, transparent);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
}
|
|
|
|
&.holding::before {
|
|
transform: scaleX(1);
|
|
transition: transform 2s linear;
|
|
}
|
|
}
|
|
}
|
|
}
|