jam/src/components/MainWalletView.module.css

72 lines
1.2 KiB
CSS
Raw Normal View History

.walletHeader {
display: flex;
flex-direction: column;
align-items: center;
}
.walletHeader .titlePlaceholder {
width: 5rem;
margin-bottom: 0.5rem;
}
.walletHeader .subtitlePlaceholder {
width: 12rem;
height: 1.8rem;
margin-bottom: 0.45rem;
}
feat: import wallet (#621) * chore(regtest): do not build tor locally in regtest env * feat(import): add rescanning param to session request * feat(api): add rescanblockchain request to JmWalletApi * feat: add import wallet button to wallets page * refactor: externalize component PreventLeavingPageByMistake * refactor: externalize component WalletCreationForm * wip: use WalletCreationForm in ImportWallet * refactor: externalize SeedWordInput and rename to MnemonicWordInput * feat(api): add wallet recover request to JmWalletApi * build(deps): bump caniuse-lite to v1.0.30001511 * wip(import): start wallet after successful import * refactor: externalize component WalletCreationConfirmation * wip(import): use WalletCreationConfirmation view in component WalletImport * dev(regtest): add funds to dummy wallet during initialization of local setup * wip(import): update gaplimit before rescanning chain * wip(import): prevent import if rescan is in progress * wip(import): ability to customize gaplimit and blockheight * wip(import): show duration hint when importing wallet * wip(import): hide sensitive info while importing wallet * wip(import): reset gaplimit to original value after importing * wip(import): add description for blockheight and gaplimit * wip(import): add cancel button to WalletCreationForm * refactor: externalize component MnemonicPhraseInput * wip(import): show rescanning indicator on main wallet view * wip(import): show rescanning indicator in navbar * wip(import): disable sending when rescanning is in progress * wip(import): disable navbar/earn/jam when rescanning is in progress * Update src/i18n/locales/en/translation.json Co-authored-by: openoms <43343391+openoms@users.noreply.github.com> * fix(import): disable viewing jars on main wallet if rescanning is active * wip(import): prevent creating new address when rescanning * fix(import): reload wallet info after rescanning finishes * refactor: move auto reloading code from WalletContext to WalletInfoAutoReload * refactor: remove unused method reloadDisplay * wip(import): reload recursively till balance is found * wip(import): expand import options by default * ui: add 'dev' badge to buttons only visible in dev env --------- Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2023-09-08 13:26:59 +02:00
:global(.jm-rescan-in-progress) .walletHeader {
cursor: wait;
}
:global(.jm-rescan-in-progress) .walletBody {
filter: blur(2px);
}
.jarsPlaceholder {
width: 100%;
height: 3.5rem;
}
.jarsDividerContainer {
display: flex;
justify-content: space-between;
align-items: center;
}
.jarsDividerContainer .dividerLine {
margin: 0;
width: 50%;
flex-grow: 0;
flex-shrink: 1;
}
.jarsDividerContainer .dividerButton {
display: flex;
justify-content: center;
align-items: center;
margin: 0 1rem;
flex-shrink: 0;
flex-grow: 1;
color: var(--bs-body-color);
cursor: pointer;
background-color: transparent;
border: 1px solid var(--bs-body-color);
border-radius: 50%;
width: 2rem;
height: 2rem;
}
2022-06-15 12:44:21 +02:00
feat: import wallet (#621) * chore(regtest): do not build tor locally in regtest env * feat(import): add rescanning param to session request * feat(api): add rescanblockchain request to JmWalletApi * feat: add import wallet button to wallets page * refactor: externalize component PreventLeavingPageByMistake * refactor: externalize component WalletCreationForm * wip: use WalletCreationForm in ImportWallet * refactor: externalize SeedWordInput and rename to MnemonicWordInput * feat(api): add wallet recover request to JmWalletApi * build(deps): bump caniuse-lite to v1.0.30001511 * wip(import): start wallet after successful import * refactor: externalize component WalletCreationConfirmation * wip(import): use WalletCreationConfirmation view in component WalletImport * dev(regtest): add funds to dummy wallet during initialization of local setup * wip(import): update gaplimit before rescanning chain * wip(import): prevent import if rescan is in progress * wip(import): ability to customize gaplimit and blockheight * wip(import): show duration hint when importing wallet * wip(import): hide sensitive info while importing wallet * wip(import): reset gaplimit to original value after importing * wip(import): add description for blockheight and gaplimit * wip(import): add cancel button to WalletCreationForm * refactor: externalize component MnemonicPhraseInput * wip(import): show rescanning indicator on main wallet view * wip(import): show rescanning indicator in navbar * wip(import): disable sending when rescanning is in progress * wip(import): disable navbar/earn/jam when rescanning is in progress * Update src/i18n/locales/en/translation.json Co-authored-by: openoms <43343391+openoms@users.noreply.github.com> * fix(import): disable viewing jars on main wallet if rescanning is active * wip(import): prevent creating new address when rescanning * fix(import): reload wallet info after rescanning finishes * refactor: move auto reloading code from WalletContext to WalletInfoAutoReload * refactor: remove unused method reloadDisplay * wip(import): reload recursively till balance is found * wip(import): expand import options by default * ui: add 'dev' badge to buttons only visible in dev env --------- Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2023-09-08 13:26:59 +02:00
.jarsDividerContainer .dividerButton:disabled {
cursor: not-allowed;
}
.sendReceiveButton {
2022-06-15 12:44:21 +02:00
font-weight: 500;
border-color: var(--bs-border-color) !important;
}
.sendReceiveButton:hover {
border-color: transparent !important;
2022-06-15 12:44:21 +02:00
}