From cb2fb6925b1eae5cf6633769d8004a380a2554e5 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Mon, 30 Dec 2019 16:41:33 -0500 Subject: [PATCH] Added keybind option. --- _locales/en/messages.json | 3 ++ options/options.css | 15 +++++++++ options/options.html | 26 +++++++++++++-- options/options.js | 66 +++++++++++++++++++++++++++++++++++++-- 4 files changed, 105 insertions(+), 5 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 9fdfcbf1..7ebbc3ab 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -341,5 +341,8 @@ }, "showSkipNotice": { "message": "Show Notice After A Sponsor Is Skipped" + }, + "keybindCurrentlySet": { + "message": ". It is currently set to:" } } diff --git a/options/options.css b/options/options.css index a86ace9c..e67d956c 100644 --- a/options/options.css +++ b/options/options.css @@ -7,15 +7,28 @@ body { text-align: center; } +.bold { + font-weight: bold; +} + .hidden { display: none; } +.keybind-status { + display: inline; +} + .small-description { color: white; font-size: 13; } +.medium-description { + color: white; + font-size: 15; +} + .option-text-box { width: 300px; } @@ -161,6 +174,8 @@ body { text-align: center; padding-top: 0px; padding-bottom: 0px; + + display: inline-block; } #title { diff --git a/options/options.html b/options/options.html index ebec3066..de69bb17 100644 --- a/options/options.html +++ b/options/options.html @@ -20,6 +20,7 @@

__MSG_Options__