mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 19:38:24 +00:00
Compare commits
8 Commits
1.15.1b
...
new-toolti
Author | SHA1 | Date | |
---|---|---|---|
![]() |
439a27d947 | ||
![]() |
b204671931 | ||
![]() |
d035348896 | ||
![]() |
72433745bc | ||
![]() |
2436ada221 | ||
![]() |
4a5141c15c | ||
![]() |
1015537a91 | ||
![]() |
89cafdaa0b |
@@ -15,7 +15,7 @@ zen-toolbar-context-compact-mode-hide-both =
|
|||||||
.label = Esconder os dois
|
.label = Esconder os dois
|
||||||
.accesskey = A
|
.accesskey = A
|
||||||
zen-toolbar-context-new-folder =
|
zen-toolbar-context-new-folder =
|
||||||
.label = New Folder
|
.label = Nova Pasta
|
||||||
.accesskey = N
|
.accesskey = N
|
||||||
sidebar-zen-expand =
|
sidebar-zen-expand =
|
||||||
.label = Expandir barra lateral
|
.label = Expandir barra lateral
|
||||||
|
@@ -15,7 +15,7 @@ zen-toolbar-context-compact-mode-hide-both =
|
|||||||
.label = Ocultar ambas
|
.label = Ocultar ambas
|
||||||
.accesskey = H
|
.accesskey = H
|
||||||
zen-toolbar-context-new-folder =
|
zen-toolbar-context-new-folder =
|
||||||
.label = New Folder
|
.label = Nova Pasta
|
||||||
.accesskey = N
|
.accesskey = N
|
||||||
sidebar-zen-expand =
|
sidebar-zen-expand =
|
||||||
.label = Expandir Barra Lateral
|
.label = Expandir Barra Lateral
|
||||||
|
@@ -24,5 +24,4 @@
|
|||||||
|
|
||||||
- name: zen.injections.match-urls
|
- name: zen.injections.match-urls
|
||||||
value: 'http://localhost/*'
|
value: 'http://localhost/*'
|
||||||
locked: true
|
|
||||||
condition: '!defined(MOZILLA_OFFICIAL)'
|
condition: '!defined(MOZILLA_OFFICIAL)'
|
||||||
|
@@ -1,8 +1,24 @@
|
|||||||
diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css
|
diff --git a/toolkit/content/xul.css b/toolkit/content/xul.css
|
||||||
index ba7642c9264ac201fec7be1bd492bc778bb147a2..9e89735e8a0886183ae7ecf98e6ce08142bf3bbc 100644
|
index ba7642c9264ac201fec7be1bd492bc778bb147a2..f0e02bcc000f106e186b3123ada96b4cbf83b40f 100644
|
||||||
--- a/toolkit/content/xul.css
|
--- a/toolkit/content/xul.css
|
||||||
+++ b/toolkit/content/xul.css
|
+++ b/toolkit/content/xul.css
|
||||||
@@ -456,7 +456,8 @@ deck > *|*:not(:-moz-native-anonymous) {
|
@@ -401,6 +401,15 @@ tooltip {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ border-radius: 16px !important;
|
||||||
|
+ border-top-left-radius: 4px !important;
|
||||||
|
+ border: 1px solid rgba(225, 225, 225, 0.15) !important;
|
||||||
|
+ padding: 5px 9px 6px 9px !important;
|
||||||
|
+ font-weight: 600 !important;
|
||||||
|
+ background: color-mix(in srgb, var(--zen-primary-color, white), black 80%) !important;
|
||||||
|
+ color: #f3f3f3 !important;
|
||||||
|
+ font-size: smaller !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******** tree ******/
|
||||||
|
@@ -456,7 +465,8 @@ deck > *|*:not(:-moz-native-anonymous) {
|
||||||
}
|
}
|
||||||
|
|
||||||
tabpanels > .deck-selected,
|
tabpanels > .deck-selected,
|
||||||
|
@@ -228,3 +228,19 @@ body > #confetti {
|
|||||||
linear-gradient(#fff 0 0);
|
linear-gradient(#fff 0 0);
|
||||||
mask-composite: exclude;
|
mask-composite: exclude;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Status panel */
|
||||||
|
|
||||||
|
#statuspanel {
|
||||||
|
padding: 4px 3px;
|
||||||
|
|
||||||
|
& > #statuspanel-label {
|
||||||
|
border-radius: 16px !important;
|
||||||
|
border: 1px solid rgba(225, 225, 225, 0.15) !important;
|
||||||
|
padding: 5px 9px 6px 9px !important;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
background: color-mix(in srgb, var(--zen-primary-color), black 80%) !important;
|
||||||
|
color: #f3f3f3 !important;
|
||||||
|
font-size: smaller !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -139,7 +139,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
rename() {
|
rename() {
|
||||||
if (!gZenVerticalTabsManager._hasSetSingleToolbar) {
|
if (!document.documentElement.hasAttribute('zen-sidebar-expanded')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
gZenVerticalTabsManager.renameTabStart({
|
gZenVerticalTabsManager.renameTabStart({
|
||||||
@@ -149,6 +149,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
createSubfolder() {
|
createSubfolder() {
|
||||||
|
// We need to expand all parent folders
|
||||||
|
let currentFolder = this;
|
||||||
|
do {
|
||||||
|
currentFolder.collapsed = false;
|
||||||
|
currentFolder = currentFolder.group;
|
||||||
|
} while (currentFolder);
|
||||||
gZenFolders.createFolder([], {
|
gZenFolders.createFolder([], {
|
||||||
renameFolder: !gZenUIManager.testingEnabled,
|
renameFolder: !gZenUIManager.testingEnabled,
|
||||||
label: 'Subfolder',
|
label: 'Subfolder',
|
||||||
|
@@ -270,6 +270,7 @@
|
|||||||
gBrowser.pinTab(tab);
|
gBrowser.pinTab(tab);
|
||||||
group.addTabs([tab]);
|
group.addTabs([tab]);
|
||||||
} else {
|
} else {
|
||||||
|
tab._ignoreUngrouped = true;
|
||||||
// Otherwise, we must move it to the first tab since it was added in an unpinned state
|
// Otherwise, we must move it to the first tab since it was added in an unpinned state
|
||||||
gZenWorkspaces._emptyTab.after(tab);
|
gZenWorkspaces._emptyTab.after(tab);
|
||||||
gBrowser.tabContainer._invalidateCachedTabs();
|
gBrowser.tabContainer._invalidateCachedTabs();
|
||||||
@@ -279,6 +280,10 @@
|
|||||||
on_TabUngrouped(event) {
|
on_TabUngrouped(event) {
|
||||||
const tab = event.detail;
|
const tab = event.detail;
|
||||||
const group = event.target;
|
const group = event.target;
|
||||||
|
if (tab._ignoreUngrouped) {
|
||||||
|
delete tab._ignoreUngrouped;
|
||||||
|
return;
|
||||||
|
}
|
||||||
tab.removeAttribute('folder-active');
|
tab.removeAttribute('folder-active');
|
||||||
if (group.hasAttribute('split-view-group') && tab.hasAttribute('had-zen-pinned-changed')) {
|
if (group.hasAttribute('split-view-group') && tab.hasAttribute('had-zen-pinned-changed')) {
|
||||||
tab.setAttribute('zen-pinned-changed', true);
|
tab.setAttribute('zen-pinned-changed', true);
|
||||||
@@ -1054,9 +1059,7 @@
|
|||||||
// We don't need to do anything if the URL is invalid. e.g. about:blank
|
// We don't need to do anything if the URL is invalid. e.g. about:blank
|
||||||
}
|
}
|
||||||
let tabLabel = tab.label || '';
|
let tabLabel = tab.label || '';
|
||||||
let iconURL =
|
let iconURL = gBrowser.getIcon(tab) || PlacesUtils.favicons.defaultFavicon;
|
||||||
gBrowser.getIcon(tab) ||
|
|
||||||
"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3C/svg%3E";
|
|
||||||
|
|
||||||
icon.src = iconURL;
|
icon.src = iconURL;
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
"brandShortName": "Zen",
|
"brandShortName": "Zen",
|
||||||
"brandFullName": "Zen Browser",
|
"brandFullName": "Zen Browser",
|
||||||
"release": {
|
"release": {
|
||||||
"displayVersion": "1.15.1b",
|
"displayVersion": "1.15.2b",
|
||||||
"github": {
|
"github": {
|
||||||
"repo": "zen-browser/desktop"
|
"repo": "zen-browser/desktop"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user