From 9bdd27da1580b02e45a09ce1939b85e84ae69dc3 Mon Sep 17 00:00:00 2001 From: rydesun Date: Mon, 19 Dec 2022 21:08:20 +0800 Subject: [PATCH] Update firefox css --- .../profile/chrome/userChrome/topbar.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.mozilla/firefox/profile/chrome/userChrome/topbar.css b/.mozilla/firefox/profile/chrome/userChrome/topbar.css index cc1ad9a..c960c5f 100644 --- a/.mozilla/firefox/profile/chrome/userChrome/topbar.css +++ b/.mozilla/firefox/profile/chrome/userChrome/topbar.css @@ -24,13 +24,13 @@ border-radius: 0 !important; } -/* 只在Hover时显示地址栏右侧的扩展图标 */ -#nav-bar:not(:hover) #urlbar-container ~ .toolbaritem-combined-buttons { +/* 只在Hover时显示地址栏右侧的图标 */ +#nav-bar:not(:hover) #urlbar-container ~ .chromeclass-toolbar-additional { opacity: 0; transition-delay: 400ms; } -#nav-bar #urlbar-container ~ .toolbaritem-combined-buttons { - transition: opacity 200ms; +#nav-bar #urlbar-container ~ .chromeclass-toolbar-additional { + transition: opacity 600ms; } #nav-bar:not(:hover) #page-action-buttons { max-width: 0; @@ -53,3 +53,13 @@ #urlbar #identity-box { margin: 2px 8px; } + +/* 隐藏地址栏内部左侧的盾牌 */ +#urlbar #tracking-protection-icon-container { + display: none !important; +} + +/* 隐藏空地址栏的文本 */ +#urlbar-input::placeholder { + opacity: 0 !important; +}