mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-01 23:48:37 +00:00
Fixed zen browser tar output
This commit is contained in:
2
.github/workflows/alpha.yml
vendored
2
.github/workflows/alpha.yml
vendored
@@ -179,7 +179,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Rename artifacts
|
- name: Rename artifacts
|
||||||
run: |
|
run: |
|
||||||
mv dist/zen-browser-*.tar.bz2 "zen-browser.linux.tar.bz2"
|
mv dist/zen-*.tar.bz2 "zen-browser.linux.tar.bz2"
|
||||||
mv dist/output.mar linux.mar
|
mv dist/output.mar linux.mar
|
||||||
|
|
||||||
- name: Upload binary
|
- name: Upload binary
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ node_modules/
|
|||||||
.gluon/
|
.gluon/
|
||||||
|
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
dist/
|
@@ -34,6 +34,8 @@
|
|||||||
"repo": "zen-browser/desktop"
|
"repo": "zen-browser/desktop"
|
||||||
},
|
},
|
||||||
"x86": {
|
"x86": {
|
||||||
|
"windowsMar": "windows.mar",
|
||||||
|
"macosMar": "macosIntel.mar",
|
||||||
"linuxMar": "linux.mar"
|
"linuxMar": "linux.mar"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -141,4 +141,4 @@ pref('dom.security.sanitizer.enabled', true);
|
|||||||
// Zen Sidebar
|
// Zen Sidebar
|
||||||
pref('zen.sidebar.data', "{\"data\":\n {\"p1\":{\n \"url\":\"https://web.whatsapp.com/\"\n },\n\"p2\":{\n \"url\":\"https://open.spotify.com/\",\n\"ua\": true\n },\n\"p3\": {\n \"url\": \"https://www.youtube.com/\",\n\"ua\": true\n}},\n\"index\":[\"p1\",\"p2\",\"p3\"]\n}");
|
pref('zen.sidebar.data', "{\"data\":\n {\"p1\":{\n \"url\":\"https://web.whatsapp.com/\"\n },\n\"p2\":{\n \"url\":\"https://open.spotify.com/\",\n\"ua\": true\n },\n\"p3\": {\n \"url\": \"https://www.youtube.com/\",\n\"ua\": true\n}},\n\"index\":[\"p1\",\"p2\",\"p3\"]\n}");
|
||||||
pref('zen.sidebar.enabled', true);
|
pref('zen.sidebar.enabled', true);
|
||||||
pref('zen.sidebar.pinned', true);
|
pref('zen.sidebar.pinned', false);
|
||||||
|
@@ -101,11 +101,18 @@ var gZenBrowserManagerSidebar = {
|
|||||||
addPanelButton.setAttribute("animate", "true");
|
addPanelButton.setAttribute("animate", "true");
|
||||||
this.sidebarElement.appendChild(addPanelButton);
|
this.sidebarElement.appendChild(addPanelButton);
|
||||||
}
|
}
|
||||||
|
this._updateArrowScrollMaxHeight(data.index.length + 1);
|
||||||
// We rerender multiple times for some reason, so we need to avoid the animation
|
// We rerender multiple times for some reason, so we need to avoid the animation
|
||||||
if (this._firstRun < this.MAX_RUNS)
|
if (this._firstRun < this.MAX_RUNS)
|
||||||
this._firstRun++;
|
this._firstRun++;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
_updateArrowScrollMaxHeight(num) {
|
||||||
|
let content = document.querySelector("#tabbrowser-arrowscrollbox::part(scrollbox-clip)");
|
||||||
|
let height = (this.MAX_SIDEBAR_PANELS - num) * 81;
|
||||||
|
content.style.maxHeight = `${height}px`;
|
||||||
|
},
|
||||||
|
|
||||||
async _openAddPanelDialog() {
|
async _openAddPanelDialog() {
|
||||||
let dialogURL = "chrome://browser/content/places/zenNewWebPanel.xhtml";
|
let dialogURL = "chrome://browser/content/places/zenNewWebPanel.xhtml";
|
||||||
let features = "centerscreen,chrome,modal,resizable=no";
|
let features = "centerscreen,chrome,modal,resizable=no";
|
||||||
|
@@ -16,25 +16,11 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: var(--zen-characteristic-gradient) !important;
|
background: var(--zen-main-browser-background) !important;
|
||||||
transition: .1s;
|
transition: .1s;
|
||||||
-moz-transform: scale(1.1); /* zoom */
|
-moz-transform: scale(1.1); /* zoom */
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
|
||||||
background: #000 !important;
|
|
||||||
color: #fff !important;
|
|
||||||
font-size: 17px !important;
|
|
||||||
padding: 10px 25px !important;
|
|
||||||
font-weight: 600;
|
|
||||||
border-radius: 100px !important;
|
|
||||||
cursor: pointer !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
@@ -197,11 +183,11 @@ input[type='checkbox'] {
|
|||||||
width: 7px;
|
width: 7px;
|
||||||
height: 7px;
|
height: 7px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: white;
|
background: var(--in-content-primary-button-background);
|
||||||
transition: all .1s;
|
transition: all .1s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dot.active {
|
.dot.active {
|
||||||
background: #000;
|
background: var(--in-content-primary-button-background-hover);
|
||||||
}
|
}
|
@@ -132,6 +132,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
toolbar .toolbarbutton-1 {
|
toolbar .toolbarbutton-1 {
|
||||||
|
& > .toolbarbutton-icon,
|
||||||
|
& > .toolbarbutton-badge-stack {
|
||||||
|
width: calc(2 * var(--toolbarbutton-inner-padding) + 18px) !important;
|
||||||
|
height: calc(2 * var(--toolbarbutton-inner-padding) + 18px) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
toolbar .zen-sidebar-panel-button {
|
||||||
& > .toolbarbutton-icon,
|
& > .toolbarbutton-icon,
|
||||||
& > .toolbarbutton-badge-stack {
|
& > .toolbarbutton-badge-stack {
|
||||||
width: calc(2 * var(--toolbarbutton-inner-padding) + 20px) !important;
|
width: calc(2 * var(--toolbarbutton-inner-padding) + 20px) !important;
|
||||||
|
@@ -71,6 +71,10 @@
|
|||||||
border-radius: 100px !important;
|
border-radius: 100px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root[customizing] #navigator-toolbox {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#TabsToolbar .toolbarbutton-1:hover > :is(.toolbarbutton-icon, .toolbarbutton-badge-stack),
|
#TabsToolbar .toolbarbutton-1:hover > :is(.toolbarbutton-icon, .toolbarbutton-badge-stack),
|
||||||
#TabsToolbar .toolbarbutton-1[open="true"] > :is(.toolbarbutton-icon, .toolbarbutton-badge-stack),
|
#TabsToolbar .toolbarbutton-1[open="true"] > :is(.toolbarbutton-icon, .toolbarbutton-badge-stack),
|
||||||
.zen-sidebar-action-button:hover,
|
.zen-sidebar-action-button:hover,
|
||||||
@@ -165,5 +169,6 @@
|
|||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: end;
|
justify-content: end;
|
||||||
|
min-height: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user