mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-04 08:56:34 +00:00
New welcome page and logo
This commit is contained in:
@@ -295,13 +295,15 @@ var gZenVerticalTabsManager = {
|
||||
}
|
||||
|
||||
const appContentNavbarContaienr = document.getElementById('zen-appcontent-navbar-container');
|
||||
if ((!isRightSide && this.isWindowsStyledButtons) || (isRightSide && !this.isWindowsStyledButtons)
|
||||
let shouldHide = false;
|
||||
if (((!isRightSide && this.isWindowsStyledButtons) || (isRightSide && !this.isWindowsStyledButtons)
|
||||
|| (
|
||||
isCompactMode && isSingleToolbar && !(
|
||||
(!this.isWindowsStyledButtons && !isRightSide)
|
||||
)
|
||||
)) {
|
||||
)) && isSingleToolbar) {
|
||||
appContentNavbarContaienr.setAttribute('should-hide', 'true');
|
||||
shouldHide = true;
|
||||
} else {
|
||||
appContentNavbarContaienr.removeAttribute('should-hide');
|
||||
}
|
||||
@@ -403,6 +405,10 @@ var gZenVerticalTabsManager = {
|
||||
}
|
||||
}
|
||||
|
||||
if (shouldHide) {
|
||||
appContentNavbarContaienr.append(windowButtons);
|
||||
}
|
||||
|
||||
gZenCompactModeManager.updateCompactModeContext(isSingleToolbar);
|
||||
|
||||
// Always move the splitter next to the sidebar
|
||||
|
@@ -55,6 +55,9 @@
|
||||
# Images
|
||||
content/browser/zen-images/gradient.png (content/zen-images/gradient.png)
|
||||
content/browser/zen-images/gradient-display.png (content/zen-images/gradient-display.png)
|
||||
content/browser/zen-images/layouts/collapsed.png (content/zen-images/layouts/collapsed.png)
|
||||
content/browser/zen-images/layouts/multiple-toolbar.png (content/zen-images/layouts/multiple-toolbar.png)
|
||||
content/browser/zen-images/layouts/single-toolbar.png (content/zen-images/layouts/single-toolbar.png)
|
||||
|
||||
# Actors
|
||||
content/browser/zen-components/actors/ZenThemeMarketplaceParent.sys.mjs (zen-components/actors/ZenThemeMarketplaceParent.sys.mjs)
|
||||
|
BIN
src/browser/base/content/zen-images/layouts/collapsed.png
Normal file
BIN
src/browser/base/content/zen-images/layouts/collapsed.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 513 KiB |
BIN
src/browser/base/content/zen-images/layouts/multiple-toolbar.png
Normal file
BIN
src/browser/base/content/zen-images/layouts/multiple-toolbar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 522 KiB |
BIN
src/browser/base/content/zen-images/layouts/single-toolbar.png
Normal file
BIN
src/browser/base/content/zen-images/layouts/single-toolbar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 525 KiB |
@@ -14,7 +14,7 @@
|
||||
line-height: 0.9;
|
||||
margin-bottom: 0.4rem;
|
||||
font-family: 'Zen-Junicode', serif;
|
||||
font-weight: 600;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-feature-settings: 'swsh' 1;
|
||||
|
||||
|
@@ -237,11 +237,11 @@
|
||||
transition: scale 0.1s ease-in-out;
|
||||
&[fadein='true']:not([zen-essential='true']) {
|
||||
#tabbrowser-tabs[zen-workspace-animation='previous'] & {
|
||||
animation: zen-slide-in-reverse 0.2s ease-in-out;
|
||||
animation: zen-slide-in 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
#tabbrowser-tabs[zen-workspace-animation='next'] & {
|
||||
animation: zen-slide-in 0.2s ease-in-out;
|
||||
animation: zen-slide-in-reverse 0.2s ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user