From 5cd2ac01878617e0f722c557ee8515e5749c6615 Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Fri, 26 May 2017 11:41:14 +0100 Subject: [PATCH] Cleaning up layout issues for current tab panel. --- webextension/css/popup.css | 7 ++++++- webextension/img/blank-tab.svg | 3 +++ webextension/js/popup.js | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 webextension/img/blank-tab.svg diff --git a/webextension/css/popup.css b/webextension/css/popup.css index b336b34..2ffaf67 100644 --- a/webextension/css/popup.css +++ b/webextension/css/popup.css @@ -133,6 +133,11 @@ table { --identity-icon: url("/img/usercontext.svg#chill"); } +#current-tab [data-identity-icon="default-tab"] { + background: center center no-repeat url("/img/blank-tab.svg"); + fill: currentColor; +} + /* Buttons */ .button.primary { background-color: #0996f8; @@ -359,7 +364,7 @@ manage things like container crud */ text-transform: uppercase; } -#container-panel .sort-containers-link { +#container-panel #sort-containers-link { margin-inline-end: 16px; } diff --git a/webextension/img/blank-tab.svg b/webextension/img/blank-tab.svg new file mode 100644 index 0000000..351945b --- /dev/null +++ b/webextension/img/blank-tab.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/webextension/js/popup.js b/webextension/js/popup.js index e14dc63..76c3e66 100644 --- a/webextension/js/popup.js +++ b/webextension/js/popup.js @@ -113,8 +113,8 @@ const Logic = { return identity || { name: "Default", cookieStoreId, - icon: "circle", - color: "black" + icon: "default-tab", + color: "default-tab" }; },