mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-15 02:45:28 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3d13d534e | ||
|
|
e73ea97ea0 | ||
|
|
fb9bbc3a51 | ||
|
|
bdfb810212 | ||
|
|
f1c6c1b321 |
@@ -15,6 +15,5 @@
|
|||||||
"ebay",
|
"ebay",
|
||||||
"ebay-*"
|
"ebay-*"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"timestamp": 1765455207275
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
- name: browser.sessionstore.restore_pinned_tabs_on_demand
|
- name: browser.sessionstore.restore_pinned_tabs_on_demand
|
||||||
value: true
|
value: true
|
||||||
|
|
||||||
- name: browser.tabs.loadBookmarksInTabs
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: browser.tabs.hoverPreview.enabled
|
- name: browser.tabs.hoverPreview.enabled
|
||||||
value: false
|
value: false
|
||||||
|
|
||||||
@@ -23,18 +20,6 @@
|
|||||||
- name: browser.toolbars.bookmarks.visibility
|
- name: browser.toolbars.bookmarks.visibility
|
||||||
value: 'never'
|
value: 'never'
|
||||||
|
|
||||||
- name: browser.bookmarks.openInTabClosesMenu
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: browser.menu.showViewImageInfo
|
|
||||||
value: true
|
|
||||||
|
|
||||||
- name: findbar.highlightAll
|
|
||||||
value: true
|
|
||||||
|
|
||||||
- name: layout.word_select.eat_space_to_next_word
|
|
||||||
value: false
|
|
||||||
|
|
||||||
- name: widget.non-native-theme.scrollbar.style
|
- name: widget.non-native-theme.scrollbar.style
|
||||||
value: 2
|
value: 2
|
||||||
|
|
||||||
@@ -58,9 +43,6 @@
|
|||||||
- name: browser.download.manager.addToRecentDocs
|
- name: browser.download.manager.addToRecentDocs
|
||||||
value: false
|
value: false
|
||||||
|
|
||||||
- name: browser.download.open_pdf_attachments_inline
|
|
||||||
value: true
|
|
||||||
|
|
||||||
- name: browser.download.alwaysOpenPanel
|
- name: browser.download.alwaysOpenPanel
|
||||||
value: false
|
value: false
|
||||||
|
|
||||||
|
|||||||
@@ -8,3 +8,12 @@
|
|||||||
|
|
||||||
- name: network.predictor.enable-hover-on-ssl
|
- name: network.predictor.enable-hover-on-ssl
|
||||||
value: true
|
value: true
|
||||||
|
|
||||||
|
# See https://github.com/zen-browser/desktop/issues/11599, this pref seems to
|
||||||
|
# have disabled itself on macos for some unknown reason.
|
||||||
|
# Make sure its in sync with:
|
||||||
|
# https://searchfox.org/firefox-main/rev/1477feb9706f4ccc5bd571c1c215832a6fbb7464/modules/libpref/init/StaticPrefList.yaml#7741-7748
|
||||||
|
- name: gfx.webrender.compositor
|
||||||
|
condition: 'defined(XP_WIN) || defined(XP_DARWIN)'
|
||||||
|
value: '@cond'
|
||||||
|
mirror: once
|
||||||
|
|||||||
@@ -26,7 +26,6 @@
|
|||||||
value: true
|
value: true
|
||||||
locked: true
|
locked: true
|
||||||
|
|
||||||
# Enable private suggestions
|
|
||||||
- name: browser.search.suggest.enabled
|
- name: browser.search.suggest.enabled
|
||||||
value: false
|
value: false
|
||||||
|
|
||||||
|
|||||||
@@ -7,3 +7,9 @@
|
|||||||
|
|
||||||
- name: zen.downloads.download-animation-duration
|
- name: zen.downloads.download-animation-duration
|
||||||
value: 1000 # ms
|
value: 1000 # ms
|
||||||
|
|
||||||
|
- name: zen.downloads.icon-popup-position
|
||||||
|
# 0: Follow tab's position
|
||||||
|
# 1: Left side always
|
||||||
|
# 2: Right side always
|
||||||
|
value: 0
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
import json
|
import json
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
class JSONWithCommentsDecoder(json.JSONDecoder):
|
class JSONWithCommentsDecoder(json.JSONDecoder):
|
||||||
def __init__(self, **kw):
|
def __init__(self, **kw):
|
||||||
super().__init__(**kw)
|
super().__init__(**kw)
|
||||||
|
|||||||
@@ -261,6 +261,7 @@ body > #confetti {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar {
|
#TabsToolbar {
|
||||||
|
gap: var(--zen-toolbox-padding);
|
||||||
-moz-window-dragging: unset;
|
-moz-window-dragging: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -131,6 +131,9 @@ class nsZenDownloadAnimationElement extends HTMLElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#areTabsOnRightSide() {
|
#areTabsOnRightSide() {
|
||||||
|
const position = Services.prefs.getIntPref('zen.downloads.icon-popup-position', 0);
|
||||||
|
if (position === 1) return false;
|
||||||
|
if (position === 2) return true;
|
||||||
return Services.prefs.getBoolPref('zen.tabs.vertical.right-side');
|
return Services.prefs.getBoolPref('zen.tabs.vertical.right-side');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -439,7 +439,6 @@
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-top: var(--zen-element-separation);
|
|
||||||
|
|
||||||
& > toolbarbutton:not(#zen-workspaces-button) {
|
& > toolbarbutton:not(#zen-workspaces-button) {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
|||||||
@@ -3140,7 +3140,7 @@ class nsZenWorkspaces extends nsZenMultiWindowFeature {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const maxButtonSize = 32; // IMPORTANT: This should match the CSS size of the icons
|
const maxButtonSize = 32; // IMPORTANT: This should match the CSS size of the icons
|
||||||
const minButtonSize = 15;
|
const minButtonSize = maxButtonSize / 2; // Minimum size for icons when space is limited
|
||||||
const separation = 3; // Space between icons
|
const separation = 3; // Space between icons
|
||||||
|
|
||||||
// Calculate the total width needed for all icons
|
// Calculate the total width needed for all icons
|
||||||
@@ -3160,9 +3160,7 @@ class nsZenWorkspaces extends nsZenMultiWindowFeature {
|
|||||||
|
|
||||||
// Set the width of each icon to the maximum size they can fit on
|
// Set the width of each icon to the maximum size they can fit on
|
||||||
const widthPerButton = Math.max(
|
const widthPerButton = Math.max(
|
||||||
Math.floor(
|
(parent.clientWidth - separation * (parent.children.length - 1)) / parent.children.length,
|
||||||
(parent.clientWidth - separation * (parent.children.length - 1)) / parent.children.length
|
|
||||||
),
|
|
||||||
minButtonSize
|
minButtonSize
|
||||||
);
|
);
|
||||||
for (const icon of parent.children) {
|
for (const icon of parent.children) {
|
||||||
|
|||||||
@@ -4,31 +4,40 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
width: 4px;
|
||||||
|
border-radius: 99px;
|
||||||
|
height: 4px;
|
||||||
|
background: color-mix(
|
||||||
|
in srgb,
|
||||||
|
var(--zen-primary-color) 10%,
|
||||||
|
light-dark(rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.4)) 90%
|
||||||
|
);
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
filter: saturate(140%) brightness(110%) !important;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
transition: opacity 150ms ease-in-out;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
& .zen-workspace-icon {
|
||||||
|
transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
|
||||||
|
z-index: 2;
|
||||||
|
transform-origin: center;
|
||||||
|
}
|
||||||
|
|
||||||
&:not(:hover) {
|
&:not(:hover) {
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '';
|
opacity: 1;
|
||||||
position: absolute;
|
|
||||||
width: 4px;
|
|
||||||
border-radius: 99px;
|
|
||||||
height: 4px;
|
|
||||||
background: color-mix(
|
|
||||||
in srgb,
|
|
||||||
var(--zen-primary-color) 10%,
|
|
||||||
light-dark(rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.4)) 90%
|
|
||||||
);
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
filter: saturate(140%) brightness(110%) !important;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
& .zen-workspace-icon {
|
& .zen-workspace-icon {
|
||||||
display: none;
|
opacity: 0;
|
||||||
|
transform: scale(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
width: 20px !important;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
|
|
||||||
&[icons-overflow] {
|
&[icons-overflow] {
|
||||||
gap: 0 !important;
|
gap: 0 !important;
|
||||||
justify-content: space-between;
|
justify-content: center;
|
||||||
|
|
||||||
& toolbarbutton {
|
& toolbarbutton {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:has(toolbarbutton:hover) toolbarbutton[active='true']:not([dragged='true']) {
|
&:has(toolbarbutton:hover) toolbarbutton[active='true']:not([dragged='true']) {
|
||||||
%include overflow-icons.inc.css
|
%include overflow-icons.inc.css
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
"brandShortName": "Zen",
|
"brandShortName": "Zen",
|
||||||
"brandFullName": "Zen Browser",
|
"brandFullName": "Zen Browser",
|
||||||
"release": {
|
"release": {
|
||||||
"displayVersion": "1.17.13b",
|
"displayVersion": "1.17.14b",
|
||||||
"github": {
|
"github": {
|
||||||
"repo": "zen-browser/desktop"
|
"repo": "zen-browser/desktop"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user