[bug] fix menu nav opacity when egde is on screen

This commit is contained in:
zombieFox 2020-04-27 09:43:03 +01:00
parent 93b9009fa3
commit 02171b89da
6 changed files with 11 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.27.1",
"version": "5.27.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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": {

View File

@ -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 {

View File

@ -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);

View File

@ -1,6 +1,6 @@
var version = (function() {
var current = "5.27.1";
var current = "5.27.2";
var name = "Zonked Tarsier";

View File

@ -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"