Update userChrome.css for firefox

- Fix the urlbar being pushed up and off-screen.
- Fix tidbits of the tabbar showing through the suggestion/completion
  popup.
This commit is contained in:
Henrik Lissner 2020-05-08 18:48:09 -04:00
parent aaebfcca88
commit 79164116bc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -4,16 +4,16 @@
url(chrome://browser/content/browser.xhtml) url(chrome://browser/content/browser.xhtml)
{ {
/*** TAB BAR ***/ /*** TAB BAR ***/
/* Tabs below the address bar */ /* Ensure tab doesn't show through auto-completion popup */
#nav-bar { -moz-box-ordinal-group: 1 !important; } .tabbrowser-tab { z-index: 0 !important; }
#PersonalToolbar { -moz-box-ordinal-group: 2 !important; } /* Ensure tab "spacers" don't show through the completion window */
#titlebar { -moz-box-ordinal-group: 3 !important; } #tabbrowser-arrowscrollbox > spacer { z-index: -1 !important; }
#mainPopupSet { z-index: 9999 !important; }
/* Hide tabbar if only one tab */ /* Hide tabbar if only one tab */
@import url(./css/tabs-hide-if-only-one.css); @import url(./css/tabs-hide-if-only-one.css);
/* Ensure tab doesn't show through auto-completion popup */
.tabbrowser-tab { z-index: 0 !important; }
/* Remove the colored overline on the focused tab */ /* Remove the colored overline on the focused tab */
.tabbrowser-tab .tab-line { background: none !important; } .tabbrowser-tab .tab-line { background: none !important; }
@ -53,7 +53,7 @@
/* Hide urlbar */ /* Hide urlbar */
#nav-bar { #nav-bar {
position: relative !important; position: relative !important;
z-index: 1 !important; z-index: 2 !important;
height: 2px !important; height: 2px !important;
min-height: 2px !important; min-height: 2px !important;
margin-bottom: -2px !important; margin-bottom: -2px !important;
@ -69,11 +69,13 @@
overflow: show !important; overflow: show !important;
} }
#content-deck{ #urlbar-container {
position: relative !important; min-height: 0 !important;
z-index: 0 !important;
} }
#urlbar {
top: 0 !important;
}
/*** Load local overrides ***/ /*** Load local overrides ***/
@import url(./userChrome.local.css); @import url(./userChrome.local.css);