mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
feat: Added a more descriptive workspace rearrange string, b=no-bug, c=common, workspaces
This commit is contained in:
2
l10n
2
l10n
Submodule l10n updated: 9b84c28c9e...bd878687ab
@@ -102,8 +102,9 @@ document.addEventListener(
|
|||||||
gZenWorkspaces.changeWorkspaceIcon();
|
gZenWorkspaces.changeWorkspaceIcon();
|
||||||
break;
|
break;
|
||||||
case 'cmd_zenReorderWorkspaces':
|
case 'cmd_zenReorderWorkspaces':
|
||||||
gZenUIManager.showToast('zen-workspaces-how-to-reorder', {
|
gZenUIManager.showToast('zen-workspaces-how-to-reorder-title', {
|
||||||
timeout: 10000,
|
timeout: 10000,
|
||||||
|
descriptionId: 'zen-workspaces-how-to-reorder-desc',
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 'cmd_zenOpenWorkspaceCreation':
|
case 'cmd_zenOpenWorkspaceCreation':
|
||||||
|
@@ -89,6 +89,8 @@
|
|||||||
this.appendChild(this.constructor.fragment);
|
this.appendChild(this.constructor.fragment);
|
||||||
this.initializeAttributeInheritance();
|
this.initializeAttributeInheritance();
|
||||||
|
|
||||||
|
this.style.visibility = 'collapse';
|
||||||
|
|
||||||
this.inputName = this.querySelector('.zen-workspace-creation-name');
|
this.inputName = this.querySelector('.zen-workspace-creation-name');
|
||||||
this.inputIcon = this.querySelector('.zen-workspace-creation-icon-label');
|
this.inputIcon = this.querySelector('.zen-workspace-creation-icon-label');
|
||||||
this.inputProfile = this.querySelector('.zen-workspace-creation-profile');
|
this.inputProfile = this.querySelector('.zen-workspace-creation-profile');
|
||||||
@@ -170,6 +172,7 @@
|
|||||||
if (gZenVerticalTabsManager._hasSetSingleToolbar) {
|
if (gZenVerticalTabsManager._hasSetSingleToolbar) {
|
||||||
gURLBar.textbox.style.visibility = 'collapse';
|
gURLBar.textbox.style.visibility = 'collapse';
|
||||||
}
|
}
|
||||||
|
this.style.visibility = '';
|
||||||
gZenUIManager.motion.animate(
|
gZenUIManager.motion.animate(
|
||||||
this.elementsToAnimate,
|
this.elementsToAnimate,
|
||||||
{
|
{
|
||||||
@@ -299,6 +302,8 @@
|
|||||||
gURLBar.textbox.style.opacity = 0;
|
gURLBar.textbox.style.opacity = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gZenUIManager.updateTabsToolbar();
|
||||||
|
|
||||||
const workspace = await gZenWorkspaces.getActiveWorkspace();
|
const workspace = await gZenWorkspaces.getActiveWorkspace();
|
||||||
await gZenWorkspaces._organizeWorkspaceStripLocations(workspace, true);
|
await gZenWorkspaces._organizeWorkspaceStripLocations(workspace, true);
|
||||||
await gZenWorkspaces.updateTabsContainers();
|
await gZenWorkspaces.updateTabsContainers();
|
||||||
|
@@ -53,8 +53,7 @@
|
|||||||
transition:
|
transition:
|
||||||
filter 0.2s,
|
filter 0.2s,
|
||||||
opacity 0.2s,
|
opacity 0.2s,
|
||||||
width 0.1s,
|
width 0.1s;
|
||||||
transform 0.1s;
|
|
||||||
|
|
||||||
&[active='true'],
|
&[active='true'],
|
||||||
&:hover,
|
&:hover,
|
||||||
@@ -68,7 +67,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&[dragged='true'] {
|
&[dragged='true'] {
|
||||||
transform: scale(1.05);
|
outline: 1px solid var(--zen-colors-primary);
|
||||||
|
outline-offset: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user