fix: Fixed small issues with colors, b=no-bug, c=common, compact-mode, workspaces

This commit is contained in:
mr. m
2025-08-31 22:33:00 +02:00
parent 52a399f0ed
commit 0f4b48bd4a
3 changed files with 11 additions and 5 deletions

View File

@@ -628,7 +628,11 @@ button.popup-notification-dropmarker {
}
&[selected] {
background-color: color-mix(in srgb, var(--zen-primary-color) 50%, transparent 50%) !important;
background-color: color-mix(
in srgb,
var(--zen-primary-color) 50%,
light-dark(transparent, rgba(255, 255, 255, 0.3)) 50%
) !important;
& *,
& .urlbarView-title-separator::before {

View File

@@ -148,7 +148,7 @@
right: 0;
bottom: 0;
background: var(--zen-dialog-background);
outline: 1px solid var(--zen-colors-border-contrast);
outline: 1px solid var(--zen-colors-border);
outline-offset: -1px;
box-shadow: var(--zen-big-shadow);
pointer-events: none;

View File

@@ -1475,7 +1475,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
return this.moveTabsToWorkspace([tab], workspaceID);
}
moveTabsToWorkspace(tabs, workspaceID, justChangeId = false) {
moveTabsToWorkspace(tabs, workspaceID) {
for (let tab of tabs) {
const workspaceContainer = this.workspaceElement(workspaceID);
const container = tab.pinned
@@ -1489,10 +1489,12 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
continue;
}
if (container && !justChangeId) {
if (container) {
if (tab.group?.hasAttribute('split-view-group')) {
gBrowser.zenHandleTabMove(tab.group, () => {
this.moveTabsToWorkspace(tab.group.tabs, workspaceID, true);
for (const tab of tab.group.tabs) {
tab.setAttribute('zen-workspace-id', workspaceID);
}
container.insertBefore(tab.group, container.lastChild);
});
continue;