mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-10 18:48:13 -07:00
global: private xpub support part 2
This commit is contained in:
@@ -11,30 +11,11 @@ main.wallets {
|
||||
padding: var(--offset) var(--page-x);
|
||||
scroll-padding-top: var(--offset);
|
||||
|
||||
&[data-wallets-page-locked] {
|
||||
&:is([data-wallets-page-empty], [data-wallets-page-locked]) {
|
||||
min-height: 100dvh;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.wallets__header {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.wallets__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.wallets__content {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.wallets__status {
|
||||
min-height: var(--line-height-sm);
|
||||
margin: 0;
|
||||
@@ -42,17 +23,51 @@ main.wallets {
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: var(--line-height-sm);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 34rem) {
|
||||
main.wallets {
|
||||
.wallets__header {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
:is(input, select),
|
||||
button:not(.wallets__wallet-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__actions {
|
||||
justify-content: start;
|
||||
}
|
||||
button:not(.wallets__wallet-button) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
:is(input, select, button:not(.wallets__wallet-button)):focus-visible {
|
||||
outline: 2px solid var(--orange);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
color: color-mix(in oklch, var(--gray) 70%, transparent);
|
||||
}
|
||||
|
||||
:is(
|
||||
.wallets__actions,
|
||||
.wallets__empty,
|
||||
.wallets__setup-form,
|
||||
.wallets__unlock-form
|
||||
) button,
|
||||
.wallets__dialog-form button[type="submit"],
|
||||
.wallets__receive-button,
|
||||
.wallets__receive-actions button:first-child {
|
||||
border-color: var(--orange);
|
||||
color: var(--black);
|
||||
background: var(--orange);
|
||||
}
|
||||
|
||||
button:not(.wallets__wallet-button):disabled {
|
||||
border-color: var(--gray);
|
||||
color: var(--black);
|
||||
background: var(--gray);
|
||||
cursor: progress;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user