mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-16 17:59:45 -07:00
169 lines
3.7 KiB
CSS
169 lines
3.7 KiB
CSS
main.wallets {
|
|
.wallets__empty,
|
|
.wallets__setup,
|
|
.wallets__unlock {
|
|
display: grid;
|
|
gap: 1rem;
|
|
place-content: center;
|
|
min-height: 16rem;
|
|
text-align: center;
|
|
|
|
h2,
|
|
p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.wallets__setup {
|
|
max-width: 36rem;
|
|
margin-inline: auto;
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-family: var(--font-serif);
|
|
font-size: clamp(3rem, 8vw, 5.5rem);
|
|
font-weight: 400;
|
|
line-height: 0.9;
|
|
}
|
|
}
|
|
|
|
.wallets__setup-description {
|
|
display: grid;
|
|
gap: 0.625rem;
|
|
color: var(--gray);
|
|
font-size: var(--font-size-md);
|
|
line-height: var(--line-height-md);
|
|
}
|
|
|
|
.wallets__unlock-form,
|
|
.wallets__setup-form,
|
|
.wallets__dialog-form {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.wallets__unlock-form,
|
|
.wallets__setup-form {
|
|
grid-template-columns: minmax(12rem, 18rem) auto;
|
|
align-items: end;
|
|
justify-content: center;
|
|
}
|
|
|
|
.wallets__dialog {
|
|
width: min(100% - 2rem, 30rem);
|
|
border: 1px solid color-mix(in oklch, var(--gray) 36%, transparent);
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
color: var(--white);
|
|
background: var(--black);
|
|
|
|
h2 {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.wallets__dialog::backdrop {
|
|
background: color-mix(in oklch, var(--black) 72%, transparent);
|
|
}
|
|
|
|
.wallets__dialog-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
justify-content: end;
|
|
}
|
|
|
|
.wallets__field {
|
|
display: grid;
|
|
gap: 0.375rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.wallets__label {
|
|
color: var(--gray);
|
|
font-size: var(--font-size-xs);
|
|
line-height: var(--line-height-xs);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.wallets__field :is(input, select),
|
|
.wallets__setup-form input,
|
|
.wallets__unlock-form input,
|
|
.wallets__actions button,
|
|
.wallets__empty button,
|
|
.wallets__setup-form button,
|
|
.wallets__unlock-form button,
|
|
.wallets__reset,
|
|
.wallets__dialog-form button {
|
|
min-width: 0;
|
|
height: var(--control-height);
|
|
border: 1px solid color-mix(in oklch, var(--gray) 45%, transparent);
|
|
border-radius: 0.375rem;
|
|
padding: 0 0.875rem;
|
|
color: var(--white);
|
|
background: color-mix(in oklch, var(--black) 72%, var(--white));
|
|
font: inherit;
|
|
line-height: 1;
|
|
}
|
|
|
|
.wallets__field :is(input, select):focus-visible,
|
|
.wallets__setup-form input:focus-visible,
|
|
.wallets__unlock-form input:focus-visible,
|
|
.wallets__actions button:focus-visible,
|
|
.wallets__empty button:focus-visible,
|
|
.wallets__setup-form button:focus-visible,
|
|
.wallets__unlock-form button:focus-visible,
|
|
.wallets__reset:focus-visible,
|
|
.wallets__dialog-form button:focus-visible {
|
|
outline: 2px solid var(--orange);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.wallets__field input::placeholder,
|
|
.wallets__setup-form input::placeholder {
|
|
color: color-mix(in oklch, var(--gray) 70%, transparent);
|
|
}
|
|
|
|
.wallets__actions button,
|
|
.wallets__empty button,
|
|
.wallets__setup-form button,
|
|
.wallets__unlock-form button,
|
|
.wallets__dialog-form button[type="submit"] {
|
|
border-color: var(--orange);
|
|
color: var(--black);
|
|
background: var(--orange);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wallets__dialog-form button[type="button"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wallets__reset {
|
|
justify-self: center;
|
|
color: var(--gray);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.wallets__actions button:disabled,
|
|
.wallets__empty button:disabled,
|
|
.wallets__setup-form button:disabled,
|
|
.wallets__unlock-form button:disabled,
|
|
.wallets__reset:disabled,
|
|
.wallets__dialog-form button:disabled {
|
|
border-color: var(--gray);
|
|
color: var(--black);
|
|
background: var(--gray);
|
|
cursor: progress;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 34rem) {
|
|
main.wallets {
|
|
.wallets__unlock-form,
|
|
.wallets__setup-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
}
|