diff --git a/package-lock.json b/package-lock.json index 66b3f090..306fed2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "5.27.1", + "version": "5.27.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index b09cb478..f8fd0780 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nightTab", - "version": "5.27.1", + "version": "5.27.2", "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/menu.css b/src/css/menu.css index ef642371..10b3abe6 100755 --- a/src/css/menu.css +++ b/src/css/menu.css @@ -41,7 +41,7 @@ } .is-edge .menu-area { - background-color: rgba(var(--theme-color-01), 0.8); + background-color: rgba(var(--theme-color-01), var(--menu-edge-opacity)); } .menu-nav { @@ -168,6 +168,10 @@ transition: background-color var(--layout-timing-extra-fast); } + .is-edge .menu-nav { + background-color: rgba(var(--theme-color-02), var(--menu-edge-opacity)); + } + .menu-content { grid-column-start: 2; grid-column-end: 4; @@ -227,7 +231,7 @@ } .is-edge .menu-subnav { - background-color: rgba(var(--theme-color-02), 0.5); + background-color: rgba(var(--theme-color-02), var(--menu-edge-opacity)); } .menu-nav-sub { diff --git a/src/css/variables.css b/src/css/variables.css index 35402c02..ae13c6c9 100644 --- a/src/css/variables.css +++ b/src/css/variables.css @@ -237,6 +237,7 @@ --form-wrap-space: 1em; /* menu */ --menu-space: 0.75em; + --menu-edge-opacity: 0.5; /* button */ --button-background: var(--theme-color-02); --button-background-focus-hover: var(--theme-color-03); diff --git a/src/js/version.js b/src/js/version.js index e37e7b1b..ce0f3121 100644 --- a/src/js/version.js +++ b/src/js/version.js @@ -1,6 +1,6 @@ var version = (function() { - var current = "5.27.1"; + var current = "5.27.2"; var name = "Zonked Tarsier"; diff --git a/src/manifest.json b/src/manifest.json index 51bcb16d..23573a4b 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "nightTab", "short_name": "nightTab", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", - "version": "5.27.1", + "version": "5.27.2", "manifest_version": 2, "chrome_url_overrides": { "newtab": "index.html"