Merge branch 'dev' of https://github.com/zen-browser/desktop into dev
@@ -88,10 +88,6 @@ panel {
|
||||
padding-inline-start: calc(16px + var(--uc-arrowpanel-menuicon-margin-inline));
|
||||
}
|
||||
|
||||
.subviewbutton > .toolbarbutton-icon {
|
||||
width: 15px;
|
||||
}
|
||||
|
||||
/* firefox profile avatar in appmenu */
|
||||
#appMenu-fxa-label2::before {
|
||||
content: '';
|
||||
|
@@ -138,6 +138,9 @@
|
||||
--fp-contextmenu-menuitem-border-radius: calc(4px + var(--fp-contextmenu-menuitem-border-width));
|
||||
--fp-contextmenu-menuitem-padding-block: 6px;
|
||||
--fp-contextmenu-menuitem-padding-inline: 10px;
|
||||
@media (-moz-platform: windows) {
|
||||
--fp-contextmenu-menuitem-padding-inline: 8px;
|
||||
}
|
||||
--fp-contextmenu-menuitem-border-width: 2px;
|
||||
--fp-contextmenu-menuicon-margin-inline: 12px;
|
||||
--fp-contextmenu-menuitem-margin-inline: calc(4px - var(--fp-contextmenu-menuitem-border-width));
|
||||
|
@@ -126,6 +126,10 @@
|
||||
backdrop-filter: none !important;
|
||||
}
|
||||
|
||||
#urlbar-go-button {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
:root[zen-single-toolbar='true'] {
|
||||
.urlbar-page-action:not([open]),
|
||||
#tracking-protection-icon-container {
|
||||
|
@@ -99,6 +99,7 @@
|
||||
}
|
||||
|
||||
async _refreshPinnedTabs({ init = false } = {}) {
|
||||
await ZenWorkspaces.promiseSectionsInitialized;
|
||||
await this._initializePinsCache();
|
||||
await this._initializePinnedTabs(init);
|
||||
}
|
||||
@@ -249,10 +250,10 @@
|
||||
this.log(`Created new pinned tab for pin ${pin.uuid} (isEssential: ${pin.isEssential})`);
|
||||
gBrowser.pinTab(newTab);
|
||||
if (!pin.isEssential) {
|
||||
const contaienr = document.querySelector(
|
||||
const container = document.querySelector(
|
||||
`#vertical-pinned-tabs-container .zen-workspace-tabs-section[zen-workspace-id="${pin.workspaceUuid}"]`
|
||||
);
|
||||
contaienr.insertBefore(newTab, contaienr.lastChild);
|
||||
container.insertBefore(newTab, container.lastChild);
|
||||
}
|
||||
gBrowser.tabContainer._invalidateCachedTabs();
|
||||
|
||||
|
@@ -171,7 +171,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
const tabs = gBrowser.tabContainer.allTabs;
|
||||
const workspaces = await this._workspaces();
|
||||
for (const workspace of workspaces.workspaces) {
|
||||
this._createWorkspaceTabsSection(workspace, tabs, perifery);
|
||||
await this._createWorkspaceTabsSection(workspace, tabs, perifery);
|
||||
}
|
||||
if (tabs.length) {
|
||||
const defaultSelectedContainer = document.querySelector(
|
||||
|
@@ -637,7 +637,7 @@
|
||||
#PanelUI-history toolbarbutton,
|
||||
#unified-extensions-context-menu menuitem {
|
||||
background-image: var(--menu-image) !important;
|
||||
background-size: 16px !important;
|
||||
background-size: 20px !important;
|
||||
background-position: var(--fp-contextmenu-menuitem-padding-inline) center !important;
|
||||
background-repeat: no-repeat !important;
|
||||
-moz-context-properties: fill, fill-opacity !important;
|
||||
|
@@ -382,11 +382,16 @@
|
||||
#protections-popup-mainView .subviewbutton-nav:not(.notFound)::after,
|
||||
#identity-popup-mainView .subviewbutton-nav::after,
|
||||
.widget-overflow-list .subviewbutton-nav::after,
|
||||
.PanelUI-subView .subviewbutton-nav::after,
|
||||
.menu-right {
|
||||
content: url('arrow-right.svg') !important;
|
||||
}
|
||||
|
||||
@media not (-moz-platform: windows) {
|
||||
#PanelUI-subView .subviewbutton-nav::after {
|
||||
content: url('arrow-right.svg') !important;
|
||||
}
|
||||
}
|
||||
|
||||
#PlacesChevron,
|
||||
#urlbar-go-button {
|
||||
list-style-image: url('arrow-right.svg') !important;
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.5 10.5556C7.80683 10.5556 8.05556 10.3068 8.05556 10C8.05556 9.69319 7.80683 9.44446 7.5 9.44446C7.19318 9.44446 6.94444 9.69319 6.94444 10C6.94444 10.3068 7.19318 10.5556 7.5 10.5556Z" fill="#482615" stroke="#482615" style="fill:#482615;fill:color(display-p3 0.2824 0.1490 0.0824);fill-opacity:1;stroke:#482615;stroke:color(display-p3 0.2824 0.1490 0.0824);stroke-opacity:1;" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7.5 4.7222C7.80683 4.7222 8.05556 4.47346 8.05556 4.16664C8.05556 3.85981 7.80683 3.61108 7.5 3.61108C7.19318 3.61108 6.94444 3.85981 6.94444 4.16664C6.94444 4.47346 7.19318 4.7222 7.5 4.7222Z" fill="#482615" stroke="#482615" style="fill:#482615;fill:color(display-p3 0.2824 0.1490 0.0824);fill-opacity:1;stroke:#482615;stroke:color(display-p3 0.2824 0.1490 0.0824);stroke-opacity:1;" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7.5 16.3889C7.80683 16.3889 8.05556 16.1402 8.05556 15.8334C8.05556 15.5266 7.80683 15.2778 7.5 15.2778C7.19318 15.2778 6.94444 15.5266 6.94444 15.8334C6.94444 16.1402 7.19318 16.3889 7.5 16.3889Z" fill="#482615" stroke="#482615" style="fill:#482615;fill:color(display-p3 0.2824 0.1490 0.0824);fill-opacity:1;stroke:#482615;stroke:color(display-p3 0.2824 0.1490 0.0824);stroke-opacity:1;" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5 10.5556C12.8068 10.5556 13.0556 10.3068 13.0556 10C13.0556 9.69319 12.8068 9.44446 12.5 9.44446C12.1932 9.44446 11.9444 9.69319 11.9444 10C11.9444 10.3068 12.1932 10.5556 12.5 10.5556Z" fill="#482615" stroke="#482615" style="fill:#482615;fill:color(display-p3 0.2824 0.1490 0.0824);fill-opacity:1;stroke:#482615;stroke:color(display-p3 0.2824 0.1490 0.0824);stroke-opacity:1;" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5 4.7222C12.8068 4.7222 13.0556 4.47346 13.0556 4.16664C13.0556 3.85981 12.8068 3.61108 12.5 3.61108C12.1932 3.61108 11.9444 3.85981 11.9444 4.16664C11.9444 4.47346 12.1932 4.7222 12.5 4.7222Z" fill="#482615" stroke="#482615" style="fill:#482615;fill:color(display-p3 0.2824 0.1490 0.0824);fill-opacity:1;stroke:#482615;stroke:color(display-p3 0.2824 0.1490 0.0824);stroke-opacity:1;" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5 16.3889C12.8068 16.3889 13.0556 16.1402 13.0556 15.8334C13.0556 15.5266 12.8068 15.2778 12.5 15.2778C12.1932 15.2778 11.9444 15.5266 11.9444 15.8334C11.9444 16.1402 12.1932 16.3889 12.5 16.3889Z" fill="#482615" stroke="#482615" style="fill:#482615;fill:color(display-p3 0.2824 0.1490 0.0824);fill-opacity:1;stroke:#482615;stroke:color(display-p3 0.2824 0.1490 0.0824);stroke-opacity:1;" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7.5 10.5556C7.80683 10.5556 8.05556 10.3068 8.05556 10C8.05556 9.69319 7.80683 9.44446 7.5 9.44446C7.19318 9.44446 6.94444 9.69319 6.94444 10C6.94444 10.3068 7.19318 10.5556 7.5 10.5556Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7.5 4.7222C7.80683 4.7222 8.05556 4.47346 8.05556 4.16664C8.05556 3.85981 7.80683 3.61108 7.5 3.61108C7.19318 3.61108 6.94444 3.85981 6.94444 4.16664C6.94444 4.47346 7.19318 4.7222 7.5 4.7222Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7.5 16.3889C7.80683 16.3889 8.05556 16.1402 8.05556 15.8334C8.05556 15.5266 7.80683 15.2778 7.5 15.2778C7.19318 15.2778 6.94444 15.5266 6.94444 15.8334C6.94444 16.1402 7.19318 16.3889 7.5 16.3889Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5 10.5556C12.8068 10.5556 13.0556 10.3068 13.0556 10C13.0556 9.69319 12.8068 9.44446 12.5 9.44446C12.1932 9.44446 11.9444 9.69319 11.9444 10C11.9444 10.3068 12.1932 10.5556 12.5 10.5556Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5 4.7222C12.8068 4.7222 13.0556 4.47346 13.0556 4.16664C13.0556 3.85981 12.8068 3.61108 12.5 3.61108C12.1932 3.61108 11.9444 3.85981 11.9444 4.16664C11.9444 4.47346 12.1932 4.7222 12.5 4.7222Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5 16.3889C12.8068 16.3889 13.0556 16.1402 13.0556 15.8334C13.0556 15.5266 12.8068 15.2778 12.5 15.2778C12.1932 15.2778 11.9444 15.5266 11.9444 15.8334C11.9444 16.1402 12.1932 16.3889 12.5 16.3889Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -1,3 +1,3 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.5 1.99915C5.22386 1.99915 5 2.223 5 2.49915L5.00002 11.0035C5.00002 12.1081 5.89545 13.0035 7.00002 13.0035H8.00411V16.0008C8.00411 17.1054 8.89954 18.0008 10.0041 18.0008C11.1087 18.0008 12.0041 17.1054 12.0041 16.0008V13.0035H13C14.1046 13.0035 15 12.1081 15 11.0035V9.50351L15 9.4991V2.49915C15 2.223 14.7761 1.99915 14.5 1.99915H5.5ZM6.00002 10.0035H14V11.0035C14 11.5558 13.5523 12.0035 13 12.0035H11.5041C11.228 12.0035 11.0041 12.2274 11.0041 12.5035V16.0008C11.0041 16.5531 10.5564 17.0008 10.0041 17.0008C9.45183 17.0008 9.00411 16.5531 9.00411 16.0008V12.5035C9.00411 12.2274 8.78026 12.0035 8.50411 12.0035H7.00002C6.44773 12.0035 6.00002 11.5558 6.00002 11.0035V10.0035ZM14 9.00351H6V2.99915H10V4.49915C10 4.77529 10.2239 4.99915 10.5 4.99915C10.7761 4.99915 11 4.77529 11 4.49915V2.99915H12V5.50134C12 5.77748 12.2239 6.00134 12.5 6.00134C12.7761 6.00134 13 5.77748 13 5.50134V2.99915H14V9.00351Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity"/>
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="#000000" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3.83885 5.85764C6.77986 1.94203 12.8685 0.802644 17.2028 3.49752C21.4826 6.15853 23.0566 11.2746 21.3037 16.0749C19.6485 20.6075 15.2873 22.4033 12.144 20.1233C10.9666 19.2692 10.5101 18.1985 10.2895 16.4595L10.1841 15.4715L10.1387 15.0741C10.016 14.14 9.82762 13.7216 9.43435 13.5024C8.89876 13.2038 8.54213 13.1969 7.83887 13.4694L7.48775 13.615L7.30902 13.693C6.29524 14.1332 5.62085 14.2879 4.76786 14.1092L4.56761 14.062L4.40407 14.0154C1.61511 13.1512 1.20202 9.36827 3.83885 5.85764ZM4.82307 12.5741L4.94598 12.6105L5.07993 12.6414C5.519 12.7283 5.89425 12.6558 6.51695 12.3995L7.11912 12.1423C8.32126 11.6494 9.10436 11.6012 10.1646 12.1921C11.0822 12.7036 11.4399 13.4897 11.6223 14.8518L11.6755 15.3109L11.7297 15.8427L11.7768 16.2651C11.9489 17.6263 12.2617 18.3556 13.0248 18.9091C15.3001 20.5595 18.5592 19.2175 19.8947 15.5604C21.411 11.4082 20.0688 7.04581 16.4107 4.77137C12.7365 2.4869 7.5123 3.46453 5.03822 6.75848C2.96343 9.52082 3.21791 12.038 4.82307 12.5741ZM16.0476 10.5797C15.8689 9.91288 16.2646 9.22746 16.9314 9.04878C17.5983 8.87011 18.2837 9.26583 18.4624 9.93267C18.6411 10.5995 18.2453 11.2849 17.5785 11.4636C16.9117 11.6423 16.2262 11.2465 16.0476 10.5797ZM16.5421 14.0684C16.3635 13.4015 16.7592 12.7161 17.426 12.5374C18.0929 12.3588 18.7783 12.7545 18.957 13.4213C19.1356 14.0882 18.7399 14.7736 18.0731 14.9523C17.4062 15.1309 16.7208 14.7352 16.5421 14.0684ZM14.0691 7.57703C13.8904 6.9102 14.2861 6.22478 14.9529 6.0461C15.6198 5.86742 16.3052 6.26315 16.4839 6.92998C16.6625 7.59681 16.2668 8.28224 15.6 8.46091C14.9331 8.63959 14.2477 8.24386 14.0691 7.57703ZM14.0406 16.5754C13.8619 15.9086 14.2576 15.2232 14.9245 15.0445C15.5913 14.8658 16.2767 15.2615 16.4554 15.9284C16.6341 16.5952 16.2383 17.2806 15.5715 17.4593C14.9047 17.638 14.2192 17.2422 14.0406 16.5754ZM10.5436 6.60544C10.365 5.9386 10.7607 5.25318 11.4275 5.07451C12.0944 4.89583 12.7798 5.29156 12.9585 5.95839C13.1371 6.62522 12.7414 7.31064 12.0746 7.48932C11.4077 7.668 10.7223 7.27227 10.5436 6.60544Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -1,3 +1,3 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M16 12.0198C16 13.0755 15.7933 14.1209 15.3917 15.0972L14.807 16.5182C14.5783 17.0741 14.1606 17.5312 13.6275 17.8088C13.3614 17.9474 13.0657 18.0198 12.7657 18.0198H10.22C9.44723 18.0198 8.73328 17.6071 8.34758 16.9375C7.84848 16.071 7.33258 15.2341 6.63495 14.5074L5.30661 13.1237C4.86531 12.664 4.34187 12.2757 3.8242 11.8918C3.62414 11.7434 3.42486 11.5956 3.23157 11.4446C3.08542 11.3304 3 11.1553 3 10.9698C3 10.2163 3.53642 9.39514 4.21659 9.17982C5.12686 8.87353 6.01274 8.9671 6.8688 9.39514C6.9136 9.41755 6.95729 9.44115 7 9.46586V4.5C7 3.67157 7.67157 3 8.5 3C8.69512 3 8.88155 3.03726 9.05254 3.10504C9.22589 2.46823 9.80827 2 10.5 2C11.1917 2 11.7741 2.46823 11.9475 3.10504C12.1185 3.03726 12.3049 3 12.5 3C13.3284 3 14 3.67157 14 4.5V4.58535C14.1564 4.53008 14.3247 4.5 14.5 4.5C15.3284 4.5 16 5.17157 16 6V12.0198ZM12 4.5V8.5C12 8.77614 11.7761 9 11.5 9C11.2239 9 11 8.77614 11 8.5V3.5C11 3.22386 10.7761 3 10.5 3C10.2239 3 10 3.22386 10 3.5V8.5C10 8.77614 9.77614 9 9.5 9C9.22386 9 9 8.77614 9 8.5V4.5C9 4.22386 8.77614 4 8.5 4C8.22386 4 8 4.22386 8 4.5L7.9996 10.4997C8.00498 10.6342 7.9563 10.7706 7.85355 10.8733C7.65829 11.0686 7.34171 11.0686 7.14645 10.8733L7.13817 10.865C6.91843 10.6453 6.70391 10.4307 6.42158 10.2896C5.72516 9.94137 4.19944 9.71523 4.01528 10.7879C4.19117 10.9253 4.37122 11.0602 4.55185 11.1956C5.06647 11.5813 5.58591 11.9706 6.028 12.4311L7.35634 13.8148C8.11026 14.6002 8.6745 15.5015 9.21411 16.4384C9.42132 16.7981 9.80486 17.0198 10.22 17.0198H12.7657C12.9049 17.0198 13.0421 16.9862 13.1655 16.9219C13.4894 16.7532 13.7433 16.4755 13.8822 16.1377L14.4669 14.7167C14.8189 13.8612 15 12.945 15 12.0198V6C15 5.72386 14.7761 5.5 14.5 5.5C14.2239 5.5 14 5.72386 14 6V9.5C14 9.77614 13.7761 10 13.5 10C13.2239 10 13 9.77614 13 9.5V4.5C13 4.22386 12.7761 4 12.5 4C12.2239 4 12 4.22386 12 4.5Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity"/>
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="#000000" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8.03033 8.96967C7.73744 8.67678 7.26256 8.67678 6.96967 8.96967L5.21967 10.7197C4.92678 11.0126 4.92678 11.4874 5.21967 11.7803C5.51256 12.0732 5.98744 12.0732 6.28033 11.7803L6.75 11.3107V14.25C6.75 14.6642 7.08579 15 7.5 15C7.91421 15 8.25 14.6642 8.25 14.25V11.3107L8.71967 11.7803C9.01256 12.0732 9.48744 12.0732 9.78033 11.7803C10.0732 11.4874 10.0732 11.0126 9.78033 10.7197L8.03033 8.96967ZM14.2197 13.0303L15.9697 14.7803C16.2626 15.0732 16.7374 15.0732 17.0303 14.7803L18.7803 13.0303C19.0732 12.7374 19.0732 12.2626 18.7803 11.9697C18.4874 11.6768 18.0126 11.6768 17.7197 11.9697L17.25 12.4393V9.5C17.25 9.08579 16.9142 8.75 16.5 8.75C16.0858 8.75 15.75 9.08579 15.75 9.5V12.4393L15.2803 11.9697C14.9874 11.6768 14.5126 11.6768 14.2197 11.9697C13.9268 12.2626 13.9268 12.7374 14.2197 13.0303ZM5.25 4C3.45507 4 2 5.45507 2 7.25V16.75C2 18.5449 3.45507 20 5.25 20H18.75C20.5449 20 22 18.5449 22 16.75V7.25C22 5.45507 20.5449 4 18.75 4H5.25ZM3.5 7.25C3.5 6.2835 4.2835 5.5 5.25 5.5H11.25L11.25 18.5H5.25C4.2835 18.5 3.5 17.7165 3.5 16.75V7.25ZM12.75 5.5H18.75C19.7165 5.5 20.5 6.2835 20.5 7.25V16.75C20.5 17.7165 19.7165 18.5 18.75 18.5H12.75L12.75 5.5Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -1,3 +1,3 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 3C6.13401 3 3 6.13401 3 10C3 13.866 6.13401 17 10 17C13.866 17 17 13.866 17 10C17 6.13401 13.866 3 10 3ZM2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity"/>
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.75 3C4.23122 3 3 4.23122 3 5.75V18.25C3 19.7688 4.23122 21 5.75 21H18.25C19.7688 21 21 19.7688 21 18.25V5.75C21 4.23122 19.7688 3 18.25 3H5.75ZM11 4.5V5.75C11 6.99264 12.0074 8 13.25 8H19.5V18.25C19.5 18.9404 18.9404 19.5 18.25 19.5H5.75C5.05964 19.5 4.5 18.9404 4.5 18.25V5.75C4.5 5.05964 5.05964 4.5 5.75 4.5H11ZM19.5 6.5H13.25C12.8358 6.5 12.5 6.16421 12.5 5.75V4.5H18.25C18.9404 4.5 19.5 5.05964 19.5 5.75V6.5Z" fill="currentColor" stroke="none" fill-opacity="context-fill-opacity"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 603 B |