mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 23:00:01 +02:00
feat: Small details before release, b=no-bug, c=common, split-view, workspaces
This commit is contained in:
parent
b0ab43d19d
commit
f680b4592b
5 changed files with 15 additions and 4 deletions
|
@ -104,7 +104,7 @@ body > #confetti {
|
||||||
#zen-sidebar-top-buttons-customization-target
|
#zen-sidebar-top-buttons-customization-target
|
||||||
&,
|
&,
|
||||||
#zen-sidebar-foot-buttons & {
|
#zen-sidebar-foot-buttons & {
|
||||||
--tab-border-radius: 6px;
|
--tab-border-radius: 4px;
|
||||||
--toolbarbutton-border-radius: var(--tab-border-radius);
|
--toolbarbutton-border-radius: var(--tab-border-radius);
|
||||||
--toolbarbutton-inner-padding: 7px;
|
--toolbarbutton-inner-padding: 7px;
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
|
|
||||||
--toolbarbutton-inner-padding: 5px !important;
|
--toolbarbutton-inner-padding: 5px !important;
|
||||||
|
|
||||||
--toolbarbutton-hover-background: color-mix(in srgb, currentColor 6%, transparent 94%) !important;
|
--toolbarbutton-hover-background: var(--zen-toolbar-element-bg) !important;
|
||||||
|
|
||||||
--toolbarbutton-active-background: color-mix(
|
--toolbarbutton-active-background: color-mix(
|
||||||
in srgb,
|
in srgb,
|
||||||
|
@ -180,6 +180,7 @@
|
||||||
);
|
);
|
||||||
--zen-main-browser-background-toolbar: var(--zen-main-browser-background);
|
--zen-main-browser-background-toolbar: var(--zen-main-browser-background);
|
||||||
--zen-primary-color: light-dark(rgb(93, 42, 107), rgb(110, 48, 125)) !important;
|
--zen-primary-color: light-dark(rgb(93, 42, 107), rgb(110, 48, 125)) !important;
|
||||||
|
--toolbox-textcolor: currentColor !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
--toolbar-field-background-color: var(--zen-colors-input-bg) !important;
|
--toolbar-field-background-color: var(--zen-colors-input-bg) !important;
|
||||||
|
|
|
@ -400,6 +400,7 @@ class nsZenViewSplitter extends ZenDOMOperatedFeature {
|
||||||
this._lastOpenedTab = gBrowser.selectedTab;
|
this._lastOpenedTab = gBrowser.selectedTab;
|
||||||
this._draggingTab = null;
|
this._draggingTab = null;
|
||||||
try {
|
try {
|
||||||
|
this._canDrop = false;
|
||||||
Promise.all([
|
Promise.all([
|
||||||
gZenUIManager.motion.animate(
|
gZenUIManager.motion.animate(
|
||||||
gBrowser.tabbox,
|
gBrowser.tabbox,
|
||||||
|
@ -431,7 +432,6 @@ class nsZenViewSplitter extends ZenDOMOperatedFeature {
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
]).then(() => {
|
]).then(() => {
|
||||||
this._canDrop = false;
|
|
||||||
this._maybeRemoveFakeBrowser();
|
this._maybeRemoveFakeBrowser();
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
@ -1779,11 +1779,17 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||||
}
|
}
|
||||||
if (previousBackgroundOpacity == 1 || !previousBackgroundOpacity) {
|
if (previousBackgroundOpacity == 1 || !previousBackgroundOpacity) {
|
||||||
previousBackgroundOpacity = 0;
|
previousBackgroundOpacity = 0;
|
||||||
}
|
} else {
|
||||||
previousBackgroundOpacity = 1 - previousBackgroundOpacity;
|
previousBackgroundOpacity = 1 - previousBackgroundOpacity;
|
||||||
|
}
|
||||||
|
previousBackgroundOpacity = previousBackgroundOpacity;
|
||||||
gZenThemePicker.previousBackgroundOpacity = previousBackgroundOpacity;
|
gZenThemePicker.previousBackgroundOpacity = previousBackgroundOpacity;
|
||||||
await new Promise((resolve) => {
|
await new Promise((resolve) => {
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
|
document.documentElement.style.setProperty(
|
||||||
|
'--zen-background-opacity',
|
||||||
|
previousBackgroundOpacity
|
||||||
|
);
|
||||||
animations.push(
|
animations.push(
|
||||||
gZenUIManager.motion.animate(
|
gZenUIManager.motion.animate(
|
||||||
document.documentElement,
|
document.documentElement,
|
||||||
|
|
|
@ -71,6 +71,10 @@
|
||||||
&[dragged='true']{
|
&[dragged='true']{
|
||||||
background-color: var(--zen-toolbar-element-bg);
|
background-color: var(--zen-toolbar-element-bg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& label {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&[reorder-mode='true'] toolbarbutton:not([dragged='true']) {
|
&[reorder-mode='true'] toolbarbutton:not([dragged='true']) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue