diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 5cb44857..09ef7dd1 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -848,34 +848,34 @@ }, "optionsTabCategories" : { "message": "Categories", - "description": "Appears in Options as a tab header for setting up categories." + "description": "Appears in Options as a tab header for setting up categories. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "optionsTabBehavior" : { "message": "Behavior", - "description": "Appears in Options as a tab header for options related to the general behavior of the extension." + "description": "Appears in Options as a tab header for options related to the general behavior of the extension. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "optionsTabInterface" : { "message": "Interface", - "description": "Appears in Options as a tab header for options related to GUI and sounds" + "description": "Appears in Options as a tab header for options related to GUI and sounds. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "optionsTabKeyBinds" : { "message": "Key Bindings", - "description": "Appears in Options as a tab header for keybinds" + "description": "Appears in Options as a tab header for keybinds. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "optionsTabPrivacy" : { "message": "Privacy", - "description": "Appears in Options as a tab header for options related to privacy (data stored/sent to server)" + "description": "Appears in Options as a tab header for options related to privacy (data stored/sent to server). To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "optionsTabBackup" : { "message": "Backup/Restore", - "description": "Appears in Options as a tab header for options related to saving/restoring your settings" + "description": "Appears in Options as a tab header for options related to saving/restoring your settings. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "optionsTabAdvanced" : { "message": "Advanced", - "description": "Appears in Options as a tab header for advanced/niche options" + "description": "Appears in Options as a tab header for advanced/niche options. To fit inside the button, it should not be longer than ~20-25 characters (depending on their width)." }, "noticeVisibilityLabel" : { - "message": "Notice appearance:", + "message": "Skip notice appearance", "description": "Option label" } } diff --git a/public/help/styles.css b/public/help/styles.css index fea609a2..8e336a46 100644 --- a/public/help/styles.css +++ b/public/help/styles.css @@ -60,6 +60,8 @@ body { text-decoration: none; + border-radius: 15px; + transition: font-size 1s; } @@ -199,4 +201,23 @@ svg { p,li,code,a { text-align: center; } +} + +/* Light mode, if requested */ +@media only screen and (prefers-color-scheme: light) { + html { + color-scheme: light; + } + body { + background-color: #f9f9f9; + } + p,li,a { + color: #262626; + } + h1,h2,h3,h4,h5,h6 { + color: #707070; + } + #title { + color: white; + } } \ No newline at end of file diff --git a/public/options/options.css b/public/options/options.css index 7a7984d3..f21068fb 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -89,6 +89,7 @@ h1,h2,h3,h4,h5,h6 { html, body { font-family: sans-serif; margin: 0; + font-size: 14px; } * { @@ -109,6 +110,7 @@ html, body { max-width: 600px; border-radius: 15px; margin: 15px; + z-index: 10; } .tab-heading { @@ -129,6 +131,10 @@ html, body { color: white; } +.tab-heading:active { + background-color: #950000; +} + .option-group > div { min-height: 50px; padding: 20px 0; @@ -168,6 +174,10 @@ input[type='number'] { display: none !important; } +.spacing { + margin-top: 15px; +} + .keybind-status { display: inline; } @@ -181,6 +191,10 @@ input[type='number'] { padding: 10px 0 20px 20px; } +.indent { + padding-left: 20px; +} + .categoryTableElement td { padding-top: 10px; } @@ -511,9 +525,11 @@ svg { } .tab-heading { width: unset; - min-width: 150px; - height: 40px; - line-height: 40px; + min-width: unset; + height: 35px; + line-height: 35px; + font-size: 16px; + padding: 0 10px; margin: 0; flex-grow: 1; } @@ -531,6 +547,15 @@ svg { #version { font-size: 10px; } + .sticky #navigation { + position: fixed; + left: 0; + right: 0; + margin: 0 15px; + } + .sticky #title, .sticky #createdBy { + display: none; + } } @media only screen and (max-width: 800px) { diff --git a/public/options/options.html b/public/options/options.html index 720b1eba..8657f40f 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -23,7 +23,7 @@
-