From 04cf4ec8d58f3f0802973d1527f173b3926b62d0 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 29 Jan 2021 19:10:57 -0500 Subject: Settings and welcome page improvements (#1326) * Update wording to be less repetitive * Remove the shadow theme option from the welcome page, to avoid confusion * Update input sizes * Update select text to not clip the triangle icon * Update wording * Update descriptions * Remove "popup" to not exclude the search page --- ext/bg/css/settings2.css | 18 ++++++------------ ext/bg/settings2.html | 8 ++++---- ext/bg/welcome.html | 37 ++++++++++++------------------------- ext/mixed/css/material.css | 3 ++- 4 files changed, 24 insertions(+), 42 deletions(-) (limited to 'ext') diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 4a465a2c..46e859c1 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -45,9 +45,8 @@ --line-height-default: calc(20 / var(--font-size-no-units)); --outline-item-height: 40px; --outline-item-icon-size: 32px; - --input-short: 80px; - --input-height-short: 24px; - --input-half-width: calc(var(--input-width-large) / 2 - var(--padding) / 2); + --input-short-width: calc(var(--input-width-large) / 2 - var(--padding) / 2); + --input-short-height: 24px; --fab-button-size: 56px; --fab-button-padding: 16px; --modal-width: 600px; @@ -648,19 +647,14 @@ a.settings-item.settings-item-button { input[type=text].short-width, input[type=number].short-width, select.short-width { - width: var(--input-short); -} -input[type=text].half-width, -input[type=number].half-width, -select.short-width { - width: var(--input-half-width); + width: var(--input-short-width); } input[type=text].short-height, input[type=number].short-height, select.short-height { - height: var(--input-height-short); - margin-top: calc(var(--settings-group-right-max-height) - var(--input-height-short) - var(--font-size-small)); - line-height: var(--input-height-short); + height: var(--input-short-height); + margin-top: calc(var(--settings-group-right-max-height) - var(--input-short-height) - var(--font-size-small)); + line-height: var(--input-short-height); } .settings-item-button-group-container { max-height: none; diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html index d29bd4a1..2f1e2f73 100644 --- a/ext/bg/settings2.html +++ b/ext/bg/settings2.html @@ -579,7 +579,7 @@
Shadow
@@ -876,9 +876,9 @@
diff --git a/ext/bg/welcome.html b/ext/bg/welcome.html index 5ff3c818..44db4a77 100644 --- a/ext/bg/welcome.html +++ b/ext/bg/welcome.html @@ -40,16 +40,16 @@
- The cog button will open the settings page. + The cog button will open the Settings page.
- The magnifying glass button will open a search page, + The magnifying glass button will open the Search page, enabling text and terms to be looked up using the installed dictionaries. This can even be used in offline mode!
- The question mark button will open a page - with some general information about Yomichan. + The question mark button will open the Information page, + which has some helpful information and links about Yomichan.
@@ -74,12 +74,12 @@
- After dictionaries have been installed, webpage text can be scanned by moving the cursor while holding the scanning modifier key. - The default key is Shift, which can be configured below. + After dictionaries have been installed, webpage text can be scanned by moving the cursor while holding a modifier key. + The default key is Shift, which can be disabled or configured below.