mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 17:39:59 +02:00
feat: Added a more descriptive workspace rearrange string, b=no-bug, c=common, workspaces
This commit is contained in:
parent
ef22f08115
commit
5488b1d62e
4 changed files with 11 additions and 5 deletions
2
l10n
2
l10n
|
@ -1 +1 @@
|
||||||
Subproject commit 9b84c28c9e46b188d93b98c38cf644acda59bdaa
|
Subproject commit bd878687ab8509747761395e8eb8853d804dd3a8
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue