mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-29 22:48:39 +00:00
Add floating style for glance tabs in essentials and adjust new tab button border styling
This commit is contained in:
@@ -157,6 +157,18 @@
|
||||
--toolbarbutton-inner-padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* On essentials, glance tabs are floating */
|
||||
&[zen-essential='true'] .tabbrowser-tab {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 5px;
|
||||
--tab-collapsed-width: 15px;
|
||||
--tab-min-height: 15px;
|
||||
width: var(--tab-collapsed-width) !important;
|
||||
z-index: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -748,6 +760,7 @@
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: 'zen.view.show-newtab-button-border-top') and (not (-moz-bool-pref: 'zen.view.show-newtab-button-top')) {
|
||||
#tabbrowser-arrowscrollbox:has(tab:not([hidden])) & {
|
||||
margin-top: 15px;
|
||||
position: relative;
|
||||
&::before {
|
||||
@@ -765,6 +778,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Mark: Essentials Toolbar */
|
||||
#zen-essentials-container {
|
||||
|
Reference in New Issue
Block a user