This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
zotero
Watch
2
Star
0
Fork
You've already forked zotero
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
472ee72093
zotero
/
scss
/
mac
/
_titleBar.scss
8 lines
104 B
SCSS
Raw
Normal View
History
Unescape
Escape
Adjust the titlebar/menubar xml and styling. Reasoning: - Different Linux DEs specify different titlebar button (min, max, close) locations which we did not and could not support before. - Previous approach copied from Firefox depended on custom offsets specified in CSS instead of allowing the browser engine to place elements Changes: - Titlebar and menubar no longer collapsed into each other with a negative margin, instead just a single flexbox (on macOS the titlebar is still collapsed into the tab bar) - Support for -moz-gtk-csd-reversed-placement to correctly place the titlebar buttons on Linux - Removed/changed some code copied from Firefox that does not apply or uses the wrong selectors - Fixed the display of Linux Unity DE buttons with icons appearing outside of button borders - Removed the Z in the titlebar on Linux since only a few DEs use that. - Aligned the tabbar on Linux and Windows to the left margin of the window.
2024-02-14 11:21:31 +00:00
#
titlebar
{
margin-bottom
:
calc
(
0
px
-
var
(
--
tab-min-height
))
;
Implement Windows redesign for native elements (#3727)
2024-03-02 07:51:55 +00:00
}
.
menubar-container
{
border
:
none
;
}
Reference in a new issue
Copy permalink