Create centered_top_statuspanel.css

This commit is contained in:
MrOtherGuy 2020-12-04 17:26:29 +02:00
parent b4d97d83c9
commit 3c075b52d6
3 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,20 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/centered_top_statuspanel.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
#statuspanel{
-moz-box-ordinal-group: 0;
margin-top:0px !important;
margin-left: 50%;
z-index: 1;
}
#statuspanel-inner{
-moz-box-align: start !important;
margin-left: -50%;
}
#statuspanel-label{
border-width: 0 1px 1px 1px;
border-style: none solid solid solid !important;
}
/* Not sure if this has some performance impact but or if it would cause other problems, but it allows the statuspanel to be centered to content even if sidebar is visible */
.browserContainer{ transform: translateX(0) }