From ed49a67e2f3fe9ca6cbe7160a7eeb1902dfa5a20 Mon Sep 17 00:00:00 2001 From: wysh Date: Sun, 3 Nov 2024 20:55:26 +0530 Subject: [PATCH] Update chrome.css --- .../chrome.css | 61 +++++++++---------- 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/chrome.css b/themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/chrome.css index 63337edd..a365c322 100644 --- a/themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/chrome.css +++ b/themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/chrome.css @@ -36,36 +36,33 @@ /*Nyan Cat and Friends*/ -/*Bongo Cat Start*/ -@media (-moz-bool-pref: "z0.catto.bongocat") { -#navigator-toolbox:before { - position: absolute; - top: 100px; - right: 50%; - transform: translateX(50%); - width: 200px; - height: 40px; - z-index: 1; - content: ""; - font-size: 20px; - text-align: center; - background-image: url("https://media.tenor.com/ZZu2QC-efdUAAAAi/cute-cat-white.gif"); - background-size: contain; - background-repeat: no-repeat; - background-position-x: center; - overflow: visible; - pointer-events: none; -} -} - -/*Bongo Cat End*/ - -/*Reduce the Size*/ -@media (-moz-bool-pref: "z0.catto.reduce_size") { - - #navigator-toolbox { - --zen-navigation-toolbar-min-width: 100px !important; - padding-top: 12.5vh !important; - height: 85vh !important; - } +/* Bongo Cat Start */ +@media (-moz-bool-pref: "zen.view.compact") { + @media (-moz-bool-pref: "z0.catto.bongocat") { + #navigator-toolbox:before { + position: relative; + top: 8px; + right: 50%; + transform: translateX(50%); + width: 200px; + height: 40px; + z-index: 1; + content: ""; + font-size: 20px; + text-align: center; + background-image: url("https://media.tenor.com/ZZu2QC-efdUAAAAi/cute-cat-white.gif"); + background-size: contain; + background-repeat: no-repeat; + background-position-x: center; + overflow: visible; + pointer-events: none; + } + } + /* Bongo Cat End */ + /* Reduce the Size */ + #navigator-toolbox { + --zen-navigation-toolbar-min-width: 100px !important; + padding-top: 12.5vh !important; + height: 85vh !important; + } }