23 lines
No EOL
733 B
CSS
23 lines
No EOL
733 B
CSS
/* Shows window title in menubar */
|
|
/* Enable menubar for correct behavior */
|
|
@-moz-document url(chrome://browser/content/browser.xhtml){
|
|
:root:not([sizemode="fullscreen"]) > head{
|
|
display: block;
|
|
position: fixed;
|
|
right: 140px; /* Space for window controls */
|
|
width: calc(100vw - 440px); /* Window width - window control width - menuitem (English) width */
|
|
text-align: center;
|
|
}
|
|
head > *{ display: none }
|
|
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 }
|
|
}
|
|
} |