mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-20 03:34:21 -07:00
59 lines
1.2 KiB
CSS
59 lines
1.2 KiB
CSS
main.wallets {
|
|
.wallets__unlock {
|
|
display: grid;
|
|
gap: 1rem;
|
|
place-content: center;
|
|
min-height: 16rem;
|
|
text-align: center;
|
|
|
|
> h1 {
|
|
margin: 0;
|
|
font-size: 3rem;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
}
|
|
|
|
> form {
|
|
display: grid;
|
|
grid-template-columns: minmax(12rem, 18rem) auto;
|
|
gap: 0.75rem;
|
|
align-items: end;
|
|
justify-content: center;
|
|
|
|
@media (max-width: 34rem) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
> button {
|
|
border-color: var(--orange);
|
|
color: var(--black);
|
|
background: var(--orange);
|
|
}
|
|
}
|
|
|
|
> 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;
|
|
}
|
|
|
|
&[data-wallets-holding]::before {
|
|
transform: scaleX(1);
|
|
transition: transform 2s linear;
|
|
}
|
|
}
|
|
}
|
|
}
|