From c2aa51fdbb748d40fcbbd7708369436fb83a63ff Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 8 Apr 2021 22:04:11 -0400 Subject: Minor updates to settings styles (#1601) --- ext/css/settings.css | 15 +++------------ ext/settings.html | 7 +++---- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/ext/css/settings.css b/ext/css/settings.css index 22439409..c0e75fc2 100644 --- a/ext/css/settings.css +++ b/ext/css/settings.css @@ -1312,9 +1312,6 @@ body.preview-sidebar-visible .fab-container-item.fab-container-item-popup-previe #audio-source-list-empty { display: none; } -#audio-source-list:empty+#audio-source-list-empty { - display: block; -} .dictionary-info { display: flex; @@ -1685,9 +1682,6 @@ code.anki-field-marker { .scan-input-list { margin: 0 calc(var(--modal-padding-horizontal) * -1); } -.scan-input-list:not(:empty)+.scan-input-list-empty-info { - display: none; -} .scan-input { margin: 0.5em 0; } @@ -1802,12 +1796,6 @@ code.anki-field-marker { height: calc(0.425em * 4 + 1em * var(--line-height-default) * 3); } -#translation-text-replacement-list-empty { - display: none; -} -#translation-text-replacement-list:empty+#translation-text-replacement-list-empty { - display: block; -} .translation-text-replacement-entry { display: grid; grid-template-columns: auto auto 1fr auto; @@ -2195,6 +2183,9 @@ button.hotkey-list-item-enabled-button[data-scope-count='0'] { counter-increment: generic-list-index; content: counter(generic-list-index); } +.generic-list:not(:empty)~.generic-list-empty-indicator { + display: none; +} .flex-row-nowrap { display: flex; diff --git a/ext/settings.html b/ext/settings.html index 3e2b6237..d629e6a6 100644 --- a/ext/settings.html +++ b/ext/settings.html @@ -2377,7 +2377,7 @@ @@ -2440,7 +2439,7 @@
-
+
No scanning inputs have been defined yet. Click the Add button to add a new input.
@@ -2960,7 +2959,7 @@
-
None defined
+
None defined
-- cgit v1.2.3