68 lines
6.2 KiB
CSS
68 lines
6.2 KiB
CSS
/* Testnet-only layout and forms. All colors follow the active Catppuccin flavor. */
|
|
.testnet-brand { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; font-size: 11px; color: var(--ctp-subtext1); }
|
|
.testnet-brand b { padding: 4px 6px; border: 1px solid var(--ctp-surface1); border-radius: 5px; font-size: 9px; letter-spacing: .8px; color: var(--theme-accent); background: var(--theme-accent-soft); }
|
|
.testnet-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 20px; font-size: 11px; line-height: 1.6; color: var(--ctp-subtext0); }
|
|
.testnet-status > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
|
|
.testnet-status strong, .pending-label { color: var(--ctp-peach); }
|
|
.pending-label { display: inline-block; font-size: 11px; line-height: 1.6; margin-top: 6px; }
|
|
.native-mining { align-items: start; }
|
|
.native-mining > *, .native-mining .miner-display > div { min-width: 0; }
|
|
.native-mining .miner-display strong { max-width: none; white-space: normal; line-height: 1.6; }
|
|
.native-mining .muted { font-size: 12px; line-height: 1.8; margin-top: 8px; }
|
|
.native-memory { display: grid; gap: 7px; margin-top: 22px; padding: 16px; border: 1px solid var(--theme-border); border-radius: 9px; background: var(--ctp-base); font-size: 12px; line-height: 1.7; }
|
|
.native-memory strong { color: var(--ctp-lavender); }
|
|
.native-memory span { color: var(--ctp-subtext0); }
|
|
.native-memory strong:not(:first-child) { margin-top: 6px; }
|
|
.mining-details { margin-top: 18px; color: var(--ctp-subtext0); font-size: 12px; line-height: 1.8; }
|
|
.mining-details > summary, .guide-steps details > summary { width: fit-content; color: var(--theme-accent); cursor: pointer; font-weight: 600; text-underline-offset: 3px; }
|
|
.guide-steps details { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--theme-border); border-radius: 8px; background: var(--ctp-mantle); }
|
|
.guide-steps details p { margin: 8px 0 0; }
|
|
.mining-details > summary:focus-visible, .guide-steps details > summary:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 4px; border-radius: 2px; }
|
|
.native-steps { padding-left: 20px; margin: 18px 0; color: var(--ctp-subtext1); font-size: 12px; line-height: 1.8; }
|
|
.native-steps li + li { margin-top: 8px; }
|
|
.native-command { margin: 14px 0; padding: 16px; border: 1px solid var(--ctp-surface1); border-radius: 8px; background: var(--ctp-crust); color: var(--ctp-green); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.9; user-select: text; }
|
|
.native-mining .miner-footnote { display: block; margin: 14px 0 20px; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
|
|
.native-mining .text-button { margin-top: 12px; }
|
|
.chain-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 22px 0; border: 1px solid var(--theme-border); border-radius: 10px; overflow: hidden; background: var(--theme-border); }
|
|
.chain-summary > div { padding: 16px 20px; background: var(--ctp-mantle); }
|
|
.chain-summary dt { color: var(--ctp-subtext0); font-size: 11px; margin-bottom: 8px; }
|
|
.chain-summary dd { margin: 0; font-family: ui-monospace, monospace; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; color: var(--ctp-text); }
|
|
.explorer-card-link { padding: 8px 0; background: transparent; color: var(--theme-accent); font: inherit; text-decoration: underline; text-underline-offset: 3px; }
|
|
.nft-link { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--ctp-blue); }
|
|
.proof-caption { display: block; margin-bottom: 6px; font-size: 11px; }
|
|
.wallet-modal { width: min(680px, 100%); }
|
|
.wallet-recovery { margin-top: 28px; border-top: 1px solid var(--theme-border); padding-top: 24px; }
|
|
.wallet-recovery h2 { font-size: 22px; }
|
|
.wallet-recovery p { margin: 12px 0; color: var(--ctp-subtext0); font-size: 12px; line-height: 1.9; }
|
|
.wallet-recovery p strong { color: var(--ctp-peach); }
|
|
.wallet-recovery fieldset { display: grid; min-width: 0; gap: 10px; padding: 18px; margin: 20px 0; border: 1px solid var(--ctp-surface1); border-radius: 10px; background: var(--ctp-mantle); }
|
|
.wallet-recovery legend { padding: 0 8px; font-size: 13px; color: var(--ctp-lavender); font-weight: 600; }
|
|
.wallet-recovery label { color: var(--ctp-subtext1); font-size: 12px; line-height: 1.8; }
|
|
.wallet-recovery input:not([type='checkbox']) { display: block; width: 100%; min-width: 0; border: 1px solid var(--ctp-surface1); border-radius: 6px; padding: 10px 12px; background: var(--ctp-base); color: var(--ctp-text); font: inherit; font-size: 13px; }
|
|
.wallet-recovery input[type='checkbox'] { margin-right: 8px; accent-color: var(--theme-accent); }
|
|
.wallet-recovery input[type='file'] { padding: 9px; font-size: 11px; }
|
|
.wallet-recovery input::file-selector-button { padding: 6px 8px; margin-right: 10px; border: 0; border-radius: 4px; background: var(--ctp-surface0); color: var(--ctp-text); }
|
|
.wallet-recovery button { min-height: 42px; margin-top: 8px; padding: 10px 16px; border: 0; border-radius: 6px; background: var(--theme-accent); color: var(--theme-accent-ink); font: inherit; font-size: 12px; font-weight: 600; }
|
|
.wallet-recovery button:hover:not(:disabled) { filter: brightness(1.08); }
|
|
.wallet-recovery button:disabled { opacity: .5; cursor: not-allowed; }
|
|
.wallet-recovery input:focus-visible, .wallet-recovery button:focus-visible, .explorer-card-link:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 3px; }
|
|
.detail-copy .muted, .detail-copy .address-box { overflow-wrap: anywhere; }
|
|
.detail-links { flex-wrap: wrap; row-gap: 10px; }
|
|
.toast { max-height: 40vh; overflow-y: auto; }
|
|
@media (max-width: 1100px) {
|
|
.testnet-brand { font-size: 10px; }
|
|
.top-actions { gap: 8px; }
|
|
}
|
|
@media (max-width: 760px) {
|
|
.testnet-status { font-size: 10px; gap: 8px 14px; }
|
|
.chain-summary { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
@media (max-width: 560px) {
|
|
.testnet-brand { flex-direction: column; gap: 3px; font-size: 9px; }
|
|
.testnet-brand b { font-size: 8px; padding: 2px 4px; }
|
|
.native-command { font-size: 11px; padding: 12px; }
|
|
.native-mining .miner-footnote { font-size: 11px; }
|
|
.wallet-recovery fieldset { padding: 14px; }
|
|
.wallet-recovery h2 { font-size: 20px; }
|
|
}
|