diff --git a/webextension/css/popup.css b/webextension/css/popup.css index 0d15dbe..b45c346 100644 --- a/webextension/css/popup.css +++ b/webextension/css/popup.css @@ -9,6 +9,10 @@ table { margin-block-end: 0; } +.button { + background: #248aeb; +} + .panel { height: 100%; } @@ -17,6 +21,13 @@ table { height: 100%; } +.panel-back-arrow { + background: #ebebeb; + display: flex; + justify-content: center; + text-align: center; +} + .onboarding { margin: 16px; min-block-size: 480px; @@ -102,6 +113,20 @@ table { width: 100%; } +.footer-columns { + margin: 0; + padding: 0; +} + +.footer-button { + margin-bottom: 0; + border-radius: 0; +} + +.cancel-button { + background: #ebebeb; +} + .edit-containers-text { text-align: center; border-right: solid 1px #d8d8d8; diff --git a/webextension/js/popup.js b/webextension/js/popup.js index ec9aec5..6ec8979 100644 --- a/webextension/js/popup.js +++ b/webextension/js/popup.js @@ -127,7 +127,7 @@ browser.runtime.sendMessage({method: "queryIdentities"}).then(identities => { document.querySelector(".identities-list").appendChild(fragment); }); -document.querySelector("#edit-containers-link").addEventListener("click", () => { +function showEditContainersPanel() { browser.runtime.sendMessage({method: "queryIdentities"}).then(identities => { let fragment = document.createDocumentFragment(); @@ -159,12 +159,11 @@ document.querySelector("#edit-containers-link").addEventListener("click", () => class="icon delete-container-icon" src="/img/container-delete.svg" /> - -