mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-11 14:28:40 +00:00
feat: Only allow overflowing webexts for twilight, b=no-bug, c=common, tabs
This commit is contained in:
@@ -56,4 +56,4 @@
|
||||
value: true
|
||||
|
||||
- name: zen.view.overflow-webext-toolbar
|
||||
value: true
|
||||
value: "@IS_TWILIGHT@"
|
||||
|
||||
@@ -485,7 +485,7 @@
|
||||
}
|
||||
|
||||
#zen-site-data-icon-button {
|
||||
padding: 0 6px !important;
|
||||
padding: 0 4px !important;
|
||||
border-radius: var(--urlbar-icon-border-radius) !important;
|
||||
|
||||
& image {
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
margin: 0;
|
||||
|
||||
:root[zen-single-toolbar="true"] & {
|
||||
padding: 6px !important;
|
||||
padding: 5px !important;
|
||||
width: unset !important;
|
||||
height: unset !important;
|
||||
}
|
||||
@@ -396,7 +396,7 @@
|
||||
#urlbar #tracking-protection-icon-container,
|
||||
#urlbar:not([breakout-extend="true"]) #identity-box:is(:not(.chromeUI), [pageproxystate="invalid"]) #identity-icon-box {
|
||||
border-radius: var(--urlbar-icon-border-radius) !important;
|
||||
min-width: 28px;
|
||||
min-width: 26px;
|
||||
}
|
||||
|
||||
/* Notification Stack */
|
||||
|
||||
@@ -172,7 +172,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
.toolbarbutton-1:not(#tabs-newtab-button) {
|
||||
.toolbarbutton-1:not(#tabs-newtab-button),
|
||||
.urlbar-page-action,
|
||||
.identity-box-button {
|
||||
--tab-border-radius: 6px;
|
||||
--toolbarbutton-border-radius: var(--tab-border-radius);
|
||||
--toolbarbutton-inner-padding: 6px;
|
||||
@@ -386,6 +388,7 @@
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, currentColor 10%, transparent);
|
||||
}
|
||||
|
||||
.zen-site-data-section:hover & {
|
||||
opacity: 0.5;
|
||||
}
|
||||
@@ -541,7 +544,7 @@
|
||||
0px 2px 4px rgba(0, 0, 0, 0.1),
|
||||
inset 0px 1px 0px light-dark(transparent, rgba(255, 255, 255, 0.15));
|
||||
border-radius: 6px;
|
||||
--base-border-color: light-dark(rgba(0, 0, 0, 0.175), rgba(255, 255, 255, 0.1));
|
||||
--base-border-color: light-dark(rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.1));
|
||||
border: 1px solid light-dark(var(--base-border-color), rgb(21, 21, 21));
|
||||
}
|
||||
|
||||
|
||||
@@ -98,18 +98,16 @@ export class nsZenSessionManager {
|
||||
log(...args) {
|
||||
if (lazy.gShouldLog) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("ZenSessionManager:", ...args);
|
||||
console.debug("ZenSessionManager:", ...args);
|
||||
}
|
||||
}
|
||||
|
||||
get #storeFilePath() {
|
||||
let profileDir = Services.dirsvc.get("ProfD", Ci.nsIFile).path;
|
||||
return PathUtils.join(profileDir, FILE_NAME);
|
||||
return PathUtils.join(PathUtils.profileDir, FILE_NAME);
|
||||
}
|
||||
|
||||
get #backupFolderPath() {
|
||||
let profileDir = Services.dirsvc.get("ProfD", Ci.nsIFile).path;
|
||||
return PathUtils.join(profileDir, "zen-sessions-backup");
|
||||
return PathUtils.join(PathUtils.profileDir, "zen-sessions-backup");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -169,7 +169,7 @@ class nsZenWindowSync {
|
||||
log(...args) {
|
||||
if (lazy.gShouldLog) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.info("ZenWindowSync:", ...args);
|
||||
console.debug("ZenWindowSync:", ...args);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
|
||||
--tab-block-margin: 2px;
|
||||
--tab-selected-bgcolor: light-dark(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.18));
|
||||
--tab-selected-shadow: 0 1px 1px 1px light-dark(rgba(0, 0, 0, 0.09), rgba(0, 0, 0, 0.05)) !important;
|
||||
--tab-selected-shadow: 0 1px 1px 0px light-dark(rgba(0, 0, 0, 0.09), rgba(0, 0, 0, 0.05)) !important;
|
||||
grid-gap: 0 !important;
|
||||
|
||||
&[overflow]::after,
|
||||
|
||||
Reference in New Issue
Block a user