From 3755655239d1e45e1e2e856e812949d14c33c83a Mon Sep 17 00:00:00 2001 From: shub-nougat <33969191+shub-nougat@users.noreply.github.com> Date: Fri, 24 Nov 2017 23:36:42 +0000 Subject: [PATCH 1/2] highlight scopes which are subject to toggle --- src/css/popup.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/css/popup.css b/src/css/popup.css index a60faa9..47dfa12 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -305,9 +305,17 @@ body .toolbar #specificScope > span { display: inline-block; height: 100%; } +body .toolbar #specificScope > span:hover, +body .toolbar #specificScope > span:hover ~ span { + background-color: #999; + } body .toolbar #specificScope > span.on { background-color: #24c; } +body .toolbar #specificScope > span.on:hover, +body .toolbar #specificScope > span:hover ~ span.on { + background-color: #139; + } body .toolbar #specificScope > span:first-of-type { flex: 1; } From 113cd638f5389eca1f86b5637306c0aa36835644 Mon Sep 17 00:00:00 2001 From: shub-nougat <33969191+shub-nougat@users.noreply.github.com> Date: Fri, 24 Nov 2017 23:38:52 +0000 Subject: [PATCH 2/2] highlight global scope for consistency --- src/css/popup.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/css/popup.css b/src/css/popup.css index 47dfa12..d47b624 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -328,6 +328,10 @@ body .toolbar #globalScope.on { background-color: #000; border-color: #000; } +body .toolbar #globalScope:hover { + background-color: #999; + border-color: #999; + } body .toolbar .scopeRel { color: #24c; }