fenix-fox/chrome/show_window_title_in_menubar.css

23 lines
696 B
CSS
Raw Normal View History

2020-01-11 20:48:33 +00:00
/* Shows window title in menubar */
/* Enable menubar for correct behavior */
@-moz-document url(chrome://browser/content/browser.xhtml){
head{
display: block;
position: fixed;
right: 140px; /* Space for window controls */
width: calc(100vw - 440px); /* Window width - window control width - menuitem (English) width */
2020-02-01 13:47:27 +00:00
text-align: center;
}
2020-01-11 20:48:33 +00:00
head > *{ display: none }
2020-02-01 13:47:27 +00:00
head > title{
display: -moz-box;
padding-top: 1px;
max-width: 60vw;
overflow-x: -moz-hidden-unscrollable;
text-overflow: ellipsis;
-moz-box-pack: center;
}
@media (-moz-os-version:windows-win10){
:root[sizemode="maximized"] > head > title { padding-top: 10px }
}
2020-01-11 20:48:33 +00:00
}