From 9a9e564dbf1f244552fba6789e22e100730007cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ron=20Hegymegi-Kiss?= Date: Mon, 13 Dec 2021 12:14:51 +0100 Subject: [PATCH] show version + clickable labels --- public/options/options.css | 16 +++-- public/options/options.html | 125 ++++++++++++++++++------------------ src/options.ts | 29 +++++---- 3 files changed, 88 insertions(+), 82 deletions(-) diff --git a/public/options/options.css b/public/options/options.css index e49cda32..7a7984d3 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -18,7 +18,7 @@ body { .tab-heading:hover { outline: 3px solid white; } -.medium-description, .switch-container, .text-label-container, .categoryTableElement { +.medium-description, .switch-container, .optionLabel, .categoryTableElement { color: white; } .small-description, p,li { @@ -61,7 +61,7 @@ h1,h2,h3,h4,h5,h6 { .tab-heading:hover { outline: 3px solid #2e2e2e; } - .medium-description, .switch-container, .text-label-container, .categoryTableElement { + .medium-description, .switch-container, .optionLabel, .categoryTableElement { color: black; } .small-description, p,li { @@ -119,6 +119,9 @@ html, body { margin: 0 auto; border-radius: 15px; cursor: pointer; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; } .tab-heading.selected { @@ -135,7 +138,7 @@ html, body { border-bottom: inherit; } -.optionLabel { +.optionLabel, #version { font-size: 14px; } @@ -247,10 +250,6 @@ input[type='number'] { padding: 4px; } -.text-label-container { - font-size: 14px; -} - .switch { position: relative; display: inline-block; @@ -529,6 +528,9 @@ svg { margin: unset; width: 100%; } + #version { + font-size: 10px; + } } @media only screen and (max-width: 800px) { diff --git a/public/options/options.html b/public/options/options.html index f3fd3cd1..720b1eba 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -20,6 +20,7 @@
SponsorBlock logo SponsorBlock +
@@ -59,7 +60,7 @@
-
+