From 841ac1c671a51e022c83c07239ae8f5e8f85899e Mon Sep 17 00:00:00 2001 From: zombieFox Date: Wed, 29 Jan 2020 15:09:23 +0000 Subject: [PATCH] [refactor] change control element to class names --- package-lock.json | 2 +- package.json | 2 +- src/css/header.css | 4 +- src/html/layout.html | 10 +- src/html/menu/menu-content/theme.html | 8 +- src/js/control.js | 2216 ++++++++++++------------- src/js/header.js | 32 +- src/js/menu.js | 4 +- src/js/version.js | 2 +- src/manifest.json | 2 +- 10 files changed, 1094 insertions(+), 1188 deletions(-) diff --git a/package-lock.json b/package-lock.json index 756ad21c..27494b70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "4.35.0", + "version": "4.36.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 62048fed..99b6863e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "4.35.0", + "version": "4.36.0", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "main": "index.js", "scripts": { diff --git a/src/css/header.css b/src/css/header.css index 99ff8999..25a90a01 100755 --- a/src/css/header.css +++ b/src/css/header.css @@ -205,7 +205,7 @@ .header-clock, .header-search, .header-edit-add, -.header-accent, +.header-coloraccent, .header-greeting, .header-transitional, .header-menu { @@ -216,7 +216,7 @@ .is-header-date-show .header-date, .is-header-clock-show .header-clock, .is-header-button-editadd-show .header-edit-add, -.is-header-button-coloraccent-show .header-accent, +.is-header-button-coloraccent-show .header-coloraccent, .is-header-greeting-show .header-greeting, .is-header-transitional-show .header-transitional, .is-menu .header-menu { diff --git a/src/html/layout.html b/src/html/layout.html index 49b121c1..38ab614c 100644 --- a/src/html/layout.html +++ b/src/html/layout.html @@ -59,16 +59,16 @@ -
+
- - + +
- - + +
diff --git a/src/html/menu/menu-content/theme.html b/src/html/menu/menu-content/theme.html index 3a75e33b..b4122d34 100644 --- a/src/html/menu/menu-content/theme.html +++ b/src/html/menu/menu-content/theme.html @@ -260,9 +260,9 @@

- +
- +
@@ -339,9 +339,9 @@