mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 09:26:34 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e340923623 |
@@ -177,15 +177,16 @@ body > #confetti {
|
|||||||
#zen-sidebar-foot-buttons & {
|
#zen-sidebar-foot-buttons & {
|
||||||
--tab-border-radius: 6px;
|
--tab-border-radius: 6px;
|
||||||
--toolbarbutton-border-radius: var(--tab-border-radius);
|
--toolbarbutton-border-radius: var(--tab-border-radius);
|
||||||
--toolbarbutton-inner-padding: 5px;
|
--toolbarbutton-inner-padding: 6px;
|
||||||
--toolbarbutton-outer-padding: 2px;
|
--toolbarbutton-outer-padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
transition:
|
transition:
|
||||||
background-color 0.1s,
|
background-color 0.1s,
|
||||||
scale 0.2s;
|
transform 0.2s;
|
||||||
&:active {
|
|
||||||
transform: scale(0.98);
|
&:active:hover {
|
||||||
|
transform: scale(0.95);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -99,7 +99,7 @@
|
|||||||
|
|
||||||
#createWorkspaceIcon(workspace) {
|
#createWorkspaceIcon(workspace) {
|
||||||
const button = document.createXULElement('toolbarbutton');
|
const button = document.createXULElement('toolbarbutton');
|
||||||
button.setAttribute('class', 'subviewbutton');
|
button.setAttribute('class', 'subviewbutton toolbarbutton-1');
|
||||||
button.setAttribute('tooltiptext', workspace.name);
|
button.setAttribute('tooltiptext', workspace.name);
|
||||||
button.setAttribute('zen-workspace-id', workspace.uuid);
|
button.setAttribute('zen-workspace-id', workspace.uuid);
|
||||||
button.setAttribute('context', 'zenWorkspaceMoreActions');
|
button.setAttribute('context', 'zenWorkspaceMoreActions');
|
||||||
|
@@ -3018,7 +3018,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
|
|||||||
parent.removeAttribute('icons-overflow');
|
parent.removeAttribute('icons-overflow');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const maxButtonSize = 26; // IMPORTANT: This should match the CSS size of the icons
|
const maxButtonSize = 28; // IMPORTANT: This should match the CSS size of the icons
|
||||||
const minButtonSize = 15;
|
const minButtonSize = 15;
|
||||||
const separation = 3; // Space between icons
|
const separation = 3; // Space between icons
|
||||||
|
|
||||||
|
@@ -33,8 +33,8 @@
|
|||||||
|
|
||||||
& toolbarbutton {
|
& toolbarbutton {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
max-width: 26px;
|
max-width: 28px;
|
||||||
height: 26px;
|
height: 28px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@@ -63,7 +63,8 @@
|
|||||||
transition:
|
transition:
|
||||||
filter 0.2s,
|
filter 0.2s,
|
||||||
opacity 0.2s,
|
opacity 0.2s,
|
||||||
width 0.1s;
|
width 0.1s,
|
||||||
|
transform 0.2s;
|
||||||
|
|
||||||
&[active='true'],
|
&[active='true'],
|
||||||
&:hover,
|
&:hover,
|
||||||
|
Reference in New Issue
Block a user