mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-26 09:14:22 +00:00
feat: Removed legacy stylesheets config and implement c++ mods backen… (#9131)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
{
|
||||
class ZenWorkspace extends MozXULElement {
|
||||
class nsZenWorkspace extends MozXULElement {
|
||||
static get markup() {
|
||||
return `
|
||||
<vbox class="zen-workspace-tabs-section zen-current-workspace-indicator" flex="1" context="zenWorkspaceMoreActions">
|
||||
@@ -220,5 +220,5 @@
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('zen-workspace', ZenWorkspace);
|
||||
customElements.define('zen-workspace', nsZenWorkspace);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
class ZenWorkspaceCreation extends MozXULElement {
|
||||
class nsZenWorkspaceCreation extends MozXULElement {
|
||||
#wasInCollapsedMode = false;
|
||||
|
||||
promiseInitialized = new Promise((resolve) => {
|
||||
@@ -336,5 +336,5 @@
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('zen-workspace-creation', ZenWorkspaceCreation);
|
||||
customElements.define('zen-workspace-creation', nsZenWorkspaceCreation);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
{
|
||||
class ZenWorkspaceIcons extends MozXULElement {
|
||||
class nsZenWorkspaceIcons extends MozXULElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
@@ -181,5 +181,5 @@
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('zen-workspace-icons', ZenWorkspaceIcons);
|
||||
customElements.define('zen-workspace-icons', nsZenWorkspaceIcons);
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
#PanelUI-zen-gradient-generator-custom-list {
|
||||
margin-top: 15px;
|
||||
|
||||
&:not(:has(.zen-theme-picker-custom-list-item)) {
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user