Fixed UI for full screen mode

This commit is contained in:
mauro-balades
2024-04-01 15:57:06 +02:00
parent c04045d64b
commit 2e097197d1
15 changed files with 133 additions and 52 deletions

View File

@@ -1,32 +1,13 @@
diff --git a/browser/themes/shared/sidebar.css b/browser/themes/shared/sidebar.css
index a9b3886e1ff4a36c5bd161985719f66a41d95458..35c0e0dfa9d9560c4ed6a1abfd2a5b28748ab2a5 100644
index a9b3886e1ff4a36c5bd161985719f66a41d95458..242b3ad30785bed1937d9bf99e8abc7427111541 100644
--- a/browser/themes/shared/sidebar.css
+++ b/browser/themes/shared/sidebar.css
@@ -137,3 +137,27 @@ menuseparator + #sidebar-extensions-separator {
fill: currentColor;
opacity: 0.8;
}
@@ -2,6 +2,8 @@
* 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/. */
+@import url("chrome://browser/skin/zen-sidebar.css");
+
+/**
+ * Zen Overrides
+ */
+
+:root {
+ --sidebar-background-color: var(--toolbar-bgcolor) !important;
+}
+
+#sidebar-box {
+ margin: 0 0 var(--zen-appcontent-separator-from-window) var(--zen-appcontent-separator-from-window);
+ border-radius: var(--zen-panel-radius);
+}
+
+#sidebar-splitter {
+ /* we can still use the splitter but we can't see it */
+ background: transparent;
+ border-color: transparent;
+ width: 1px;
+}
+
+#sidebar-box[positionend] {
+ margin: 0 var(--zen-appcontent-separator-from-window) var(--zen-appcontent-separator-from-window) 0;
+}
@namespace html url("http://www.w3.org/1999/xhtml");
:root {