From a4c81d331a3303cb0c23d05e75af66eebb491088 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 29 Aug 2020 06:07:07 +0300 Subject: [PATCH] Move behavior-control comments to the top of the file --- chrome/autohide_bookmarks_toolbar.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/chrome/autohide_bookmarks_toolbar.css b/chrome/autohide_bookmarks_toolbar.css index bdd7a20..869a7c6 100644 --- a/chrome/autohide_bookmarks_toolbar.css +++ b/chrome/autohide_bookmarks_toolbar.css @@ -6,9 +6,9 @@ See the above repository for updates as well as full license text. */ --uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */ --uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */ - /* 0deg = "show" ; 90deg = "hide" */ - --uc-autohide-toolbar-focus-rotation: 0deg; - --uc-autohide-toolbar-hover-rotation: 0deg; + /* 0deg = "show" ; 90deg = "hide" ; Set the following to control when bookmarks are shown */ + --uc-autohide-toolbar-focus-rotation: 0deg; /* urlbar is focused */ + --uc-autohide-toolbar-hover-rotation: 0deg; /* cursor is over the toolbar area */ } :root[uidensity="compact"] #PersonalToolbar{ --uc-bm-padding: 1px } @@ -25,16 +25,11 @@ See the above repository for updates as well as full license text. */ #PlacesToolbarItems > .bookmark-item{ padding-block: var(--uc-bm-padding) !important; } -/* SELECT BOOKMARKS TOOLBAR BEHAVIOR */ -/* Comment out or delete either one of these to disable that behavior */ - -/* Show when urlbar is focused */ #nav-bar:focus-within + #PersonalToolbar{ transition-delay: 100ms !important; transform: rotateX(var(--uc-autohide-toolbar-focus-rotation,0)); } -/* Show when cursor is over the toolbar area */ #navigator-toolbox:hover > #PersonalToolbar{ transition-delay: 100ms !important; transform: rotateX(var(--uc-autohide-toolbar-hover-rotation,0));