diff --git a/cypress/integration/spec_balances_amounts.js b/cypress/integration/spec_balances_amounts.js index 860571ed8..b4658188a 100644 --- a/cypress/integration/spec_balances_amounts.js +++ b/cypress/integration/spec_balances_amounts.js @@ -27,8 +27,6 @@ describe('Test the rendering of balances and amounts', () => { cy.get('#satoshis_hot_keys_hot_sign_btn').click() cy.get('#hot_enter_passphrase__submit').click() cy.get('#broadcast_local_btn').click() - // To close the overlay (no cancel button here) - cy.get('#page_overlay_popup').click() cy.reload() cy.selectWallet('Ghost wallet') cy.get('#unconfirmed_amount').then(($amount) => { @@ -44,9 +42,6 @@ describe('Test the rendering of balances and amounts', () => { it('Total balance with all digits', () => { cy.selectWallet('Funding wallet') - cy.get('#fullbalance_amount').then(($amount) => { - expect(parseFloat($amount.text())).to.be.gt(19).and.to.be.lt(20); - }) cy.get('#fullbalance_amount').find('.thousand-digits-in-btc-amount').should(($amount) => { expect($amount.text()).to.match(/^\d{3}$/) }).and(($amount) => { diff --git a/src/cryptoadvance/specter/static/output.css b/src/cryptoadvance/specter/static/output.css index 31c848123..8c1553736 100644 --- a/src/cryptoadvance/specter/static/output.css +++ b/src/cryptoadvance/specter/static/output.css @@ -1501,6 +1501,10 @@ input[type="number"]::-webkit-outer-spin-button, width: 2.25rem; } +.w-48 { + width: 12rem; +} + .min-w-\[300px\] { min-width: 300px; } @@ -1889,6 +1893,16 @@ input[type="number"]::-webkit-outer-spin-button, background-color: rgb(220 38 38 / var(--tw-bg-opacity)); } +.bg-dark-300 { + --tw-bg-opacity: 1; + background-color: rgb(111 112 115 / var(--tw-bg-opacity)); +} + +.bg-dark-400 { + --tw-bg-opacity: 1; + background-color: rgb(87 88 91 / var(--tw-bg-opacity)); +} + .fill-current { fill: currentColor; } @@ -2193,18 +2207,10 @@ input[type="number"]::-webkit-outer-spin-button, transition-duration: 200ms; } -.duration-1000 { - transition-duration: 1000ms; -} - .ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); } -.ease-in-out { - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - * { font-family: "Social"; font-style: normal; diff --git a/src/cryptoadvance/specter/templates/includes/sidebar/sidebar.jinja b/src/cryptoadvance/specter/templates/includes/sidebar/sidebar.jinja index a26197eb0..6273de617 100644 --- a/src/cryptoadvance/specter/templates/includes/sidebar/sidebar.jinja +++ b/src/cryptoadvance/specter/templates/includes/sidebar/sidebar.jinja @@ -100,25 +100,35 @@ {% if specter.wallet_manager.failed_load_wallets %}
-

-
{{ _("Failed to load some wallets") }}
- - -

+