mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-14 13:56:11 +00:00
feat: Add toggle compact mode to the default placements, b=no-bug, c=common, glance
This commit is contained in:
@@ -13,7 +13,7 @@ export var ZenCustomizableUI = new (class {
|
|||||||
'zen-sidebar-top-buttons',
|
'zen-sidebar-top-buttons',
|
||||||
{
|
{
|
||||||
type: this.TYPE_TOOLBAR,
|
type: this.TYPE_TOOLBAR,
|
||||||
defaultPlacements: [],
|
defaultPlacements: ['zen-toggle-compact-mode'],
|
||||||
defaultCollapsed: null,
|
defaultCollapsed: null,
|
||||||
overflowable: true,
|
overflowable: true,
|
||||||
},
|
},
|
||||||
|
@@ -51,6 +51,7 @@ panel[type='arrow']:not(#feature-callout) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (-moz-platform: macos) {
|
@media (-moz-platform: macos) {
|
||||||
|
border: 0px transparent !important;
|
||||||
appearance: auto !important;
|
appearance: auto !important;
|
||||||
-moz-default-appearance: menupopup;
|
-moz-default-appearance: menupopup;
|
||||||
/* We set the default background here, rather than on ::part(content),
|
/* We set the default background here, rather than on ::part(content),
|
||||||
@@ -60,7 +61,6 @@ panel[type='arrow']:not(#feature-callout) {
|
|||||||
--panel-shadow-margin: 0px !important;
|
--panel-shadow-margin: 0px !important;
|
||||||
--panel-background: transparent !important;
|
--panel-background: transparent !important;
|
||||||
--panel-border-color: transparent;
|
--panel-border-color: transparent;
|
||||||
border: 0 !important;
|
|
||||||
|
|
||||||
&::part(content) {
|
&::part(content) {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
@@ -922,7 +922,7 @@
|
|||||||
{
|
{
|
||||||
duration: 0.3,
|
duration: 0.3,
|
||||||
easing: 'easeInOut',
|
easing: 'easeInOut',
|
||||||
bounce: 0.1,
|
bounce: 0,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user