This patch adds a few features to tag browser. It makes it possible to
de-select a selected file, adds automatic construction of file query
parameter using history API and makes links in css source act like the
file selector buttons in the tag browser. In addition, this patch makes
adding files that end with "_support.css" (like window_control_placeholder_support) always be put it as the first
item in the preview.
For some reason individual .bookmark items in the toolbar are being
rendered in Firefox 96, even though the toolbar itself is hidden. This
patch applies a simple visibility:hidden to all of them.
Bookmark items in the toolbar may not be same height on all systems,
generally the text size on Linux is bigger than on Windows for example.
This patch changes the height to use min-height on bookmark items and
removes their individual block padding. Thus, thee effectively have
variable block-padding depending on the text size.
In addition this patch removes few pre-proton workarounds because those
don't need to be supported any more.
Before this change, the status would show fully, so on narrow windows
the input controls and close button would be pushed out of the window.
Now the status text will instead get clipped.
The 1px bottom margin may have small visible effect for row-height computation
in which case the visible height may be thrown off by a little bit. This
patch fixes that issue.
Using --toolbar-color allow the icons to show up if the selected theme
has light tabs but dark toolbar, and vice versa. In 95 there is no
separate #window-controls for fullscreen, and thus the titlebar-buttonbox-container
becomes last-child which we don't want to hide.
This way we can handle maximized windows not having the other drag space
like Firefox does normally. This patch additionally adds window control
width values for Win7 Win8 and linux
This change adds a few variables to both styles that "communicate" with
each other. This autohide_menubar is pretty useful if toolbars are
below content so while this does introduce complexity, it's probably worth it.