diff --git a/popup.html b/popup.html index 27062251..399f5285 100644 --- a/popup.html +++ b/popup.html @@ -42,6 +42,9 @@ #installed { margin-top: 0.5em; } + #installed.disabled { + opacity: 0.5; + } body > .actions { margin-top: 0.5em; } @@ -49,6 +52,9 @@ .actions > div, #unavailable { margin-bottom: 0.75em; } + .actions input, .actions label { + vertical-align: middle; + } #unavailable { border: none; @@ -105,12 +111,6 @@ color: inherit; text-decoration: underline; } - - #disableAll { - margin: 0 .5ex 0 0; - font-size: x-small; - vertical-align: text-bottom; - } @@ -126,9 +126,12 @@
+
+ + +
-
diff --git a/popup.js b/popup.js index 7fdba161..6eee1f49 100644 --- a/popup.js +++ b/popup.js @@ -193,5 +193,6 @@ tE("disableAll-label", "disableAllStyles"); loadPrefs({"disableAll": false}) document.getElementById("disableAll").addEventListener("change", function(event) { + document.getElementById("installed").classList.toggle("disabled", event.target.checked); notifyAllTabs({method: "styleDisableAll", disableAll: event.target.checked}); });