mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-29 01:41:33 +00:00
feat: Added section for cross-site cookies, p=#10833, c=media, common, compact-mode, glance, tabs, workspaces
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
}
|
||||
:root:not([zen-single-toolbar='true']) & {
|
||||
bottom: calc(var(--zen-compact-float) / 2);
|
||||
height: calc(100% - var(--zen-toolbar-height));
|
||||
height: calc(100% - var(--zen-toolbar-height-with-bookmarks));
|
||||
@media -moz-pref('zen.view.compact.hide-toolbar') {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -86,12 +86,12 @@
|
||||
}
|
||||
|
||||
/* When we have multiple toolbars and the top-toolbar is NOT being hidden,
|
||||
* we need to adjust the top-padding of the toolbox to account for the
|
||||
* extra toolbar height. */
|
||||
* we need to adjust the top-padding of the toolbox to account for the
|
||||
* extra toolbar height. */
|
||||
@media not -moz-pref('zen.view.compact.hide-toolbar') {
|
||||
&:not([zen-single-toolbar='true']) {
|
||||
#navigator-toolbox:not([animate='true']) {
|
||||
margin-top: var(--zen-toolbar-height) !important;
|
||||
margin-top: var(--zen-toolbar-height-with-bookmarks) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,8 +9,10 @@
|
||||
--zen-toolbox-top-align: var(--zen-element-separation);
|
||||
}
|
||||
|
||||
& #titlebar {
|
||||
margin-top: var(--zen-element-separation) !important;
|
||||
@media -moz-pref('zen.view.compact.hide-tabbar') {
|
||||
& #titlebar {
|
||||
margin-top: var(--zen-element-separation) !important;
|
||||
}
|
||||
}
|
||||
|
||||
& #zen-appcontent-wrapper {
|
||||
@@ -21,15 +23,15 @@
|
||||
& .zen-toolbar-background {
|
||||
display: flex;
|
||||
}
|
||||
transition: height 0.15s ease-in-out;
|
||||
transition: height 0.1s ease;
|
||||
|
||||
height: calc(var(--zen-element-separation) + 0.1px);
|
||||
height: var(--zen-element-separation);
|
||||
overflow: clip;
|
||||
|
||||
& #urlbar:not([breakout-extend='true']) {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.15s ease;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
|
||||
& .titlebar-buttonbox-container {
|
||||
@@ -37,12 +39,12 @@
|
||||
/* We need to hide them since on Windows the native
|
||||
* panels when hovering over them can interfere with the
|
||||
* web content */
|
||||
transition: visibility 0.15s ease;
|
||||
transition: visibility 0.1s ease;
|
||||
}
|
||||
|
||||
& #zen-appcontent-navbar-container {
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s ease;
|
||||
transition: opacity 0.1s ease;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user