From e3bf0f8ef740bc360515ef8afa43ee14a99f23ea Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Mon, 3 Jun 2019 17:26:32 +0300 Subject: [PATCH] remove reserved 6px space in windowed mode --- chrome/autohide_toolbox.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/chrome/autohide_toolbox.css b/chrome/autohide_toolbox.css index c4a7be0..26c0f23 100644 --- a/chrome/autohide_toolbox.css +++ b/chrome/autohide_toolbox.css @@ -1,27 +1,32 @@ /* Hide the whole toolbar area unless urlbar is focused or cursor is over the toolbar */ /* Dimensions on non-Win10 OS probably needs to be adjusted */ -:root:not([inDOMFullscreen]){ margin-top: 6px } -:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 14px } +:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 10px } + #navigator-toolbox{ position: fixed !important; background-color: var(--lwt-accent-color,black); transition: transform 82ms 33ms linear, opacity 82ms 33ms linear !important; transform-origin: top; - margin-top: -6px; + line-height: 0; } -:root[sizemode="maximized"] > #navigator-toolbox{ margin-top: -6px } +#navigator-toolbox > *{ line-height: normal } + +:root[sizemode="maximized"] > #navigator-toolbox{ margin-top: -2px } #navigator-toolbox, #navigator-toolbox > *{ width: 100vw; -moz-appearance: none !important; - line-height: 0; } :root:not([customizing]) > #navigator-toolbox:not(:focus-within):not(:hover){ transform: rotateX(86deg); opacity: 0; } +:root[sizemode="maximized"]:not([customizing]) > #navigator-toolbox:not(:focus-within):not(:hover){ transform: rotateX(89.5deg) } -#PersonalToolbar[collapsed]{ margin-block-end: -7px } \ No newline at end of file +#PersonalToolbar[collapsed]{ margin-block-end: -7px } + +/* Uncomment this if tabs toolbar is hidden with hide_tabs_toolbar.css */ + /*#titlebar{ margin-bottom: -9px }*/ \ No newline at end of file