2020-05-05 23:44:12 -07:00
|
|
|
/* @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); */
|
2020-04-06 12:38:02 -07:00
|
|
|
|
|
|
|
@-moz-document url(chrome://browser/content/browser.xul),
|
|
|
|
url(chrome://browser/content/browser.xhtml)
|
|
|
|
{
|
|
|
|
/*** TAB BAR ***/
|
2020-05-08 15:48:09 -07:00
|
|
|
/* Ensure tab doesn't show through auto-completion popup */
|
|
|
|
.tabbrowser-tab { z-index: 0 !important; }
|
|
|
|
/* Ensure tab "spacers" don't show through the completion window */
|
|
|
|
#tabbrowser-arrowscrollbox > spacer { z-index: -1 !important; }
|
|
|
|
#mainPopupSet { z-index: 9999 !important; }
|
2020-04-06 12:38:02 -07:00
|
|
|
|
|
|
|
/* Hide tabbar if only one tab */
|
|
|
|
@import url(./css/tabs-hide-if-only-one.css);
|
|
|
|
|
2020-05-08 15:48:09 -07:00
|
|
|
|
2020-05-05 23:44:12 -07:00
|
|
|
/* Remove the colored overline on the focused tab */
|
|
|
|
.tabbrowser-tab .tab-line { background: none !important; }
|
|
|
|
|
|
|
|
/* Replace favicon on tabs with close button on mouse hover */
|
2020-04-06 12:38:02 -07:00
|
|
|
.tabbrowser-tab:not(:hover) .tab-close-button,
|
|
|
|
.tabbrowser-tab:not([pinned]):hover .tab-icon-image { display: none !important; }
|
|
|
|
.tabbrowser-tab:not([pinned]):hover .tab-close-button { display:block !important; }
|
|
|
|
|
|
|
|
.tabbrowser-tab:hover .tab-throbber,
|
|
|
|
.tabbrowser-tab:hover .tab-icon-image,
|
|
|
|
.tabbrowser-tab:hover .tab-sharing-icon-overlay,
|
|
|
|
.tabbrowser-tab:hover .tab-icon-overlay,
|
|
|
|
.tabbrowser-tab:hover .tab-label-container,
|
|
|
|
.tabbrowser-tab:hover .tab-icon-sound {
|
|
|
|
-moz-box-ordinal-group: 2 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab .tab-close-button {
|
|
|
|
margin-left: -2px !important;
|
|
|
|
margin-right: 4px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab-close-button:hover {
|
|
|
|
fill-opacity: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab::after,
|
|
|
|
.tabbrowser-tab::before {
|
|
|
|
border-left: none !important;
|
|
|
|
border-right: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbutton-up[orient="horizontal"]~spacer { border-width: 0px; opacity: 0 }
|
|
|
|
|
|
|
|
|
|
|
|
/*** NAV BAR ***/
|
|
|
|
/* Hide urlbar */
|
|
|
|
#nav-bar {
|
|
|
|
position: relative !important;
|
2020-05-08 15:48:09 -07:00
|
|
|
z-index: 2 !important;
|
2020-04-06 12:38:02 -07:00
|
|
|
height: 2px !important;
|
|
|
|
min-height: 2px !important;
|
|
|
|
margin-bottom: -2px !important;
|
|
|
|
opacity: 0 !important;
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
2020-05-05 23:44:12 -07:00
|
|
|
/* But unfocus it when we invoke it with ctrl+L */
|
2020-04-06 12:38:02 -07:00
|
|
|
#nav-bar:focus-within {
|
|
|
|
height: auto !important;
|
|
|
|
margin-bottom: 0px !important;
|
|
|
|
opacity: 1 !important;
|
|
|
|
overflow: show !important;
|
|
|
|
}
|
|
|
|
|
2020-05-08 15:48:09 -07:00
|
|
|
#urlbar-container {
|
|
|
|
min-height: 0 !important;
|
2020-04-06 12:38:02 -07:00
|
|
|
}
|
|
|
|
|
2020-05-08 15:48:09 -07:00
|
|
|
#urlbar {
|
|
|
|
top: 0 !important;
|
|
|
|
}
|
2020-04-06 12:38:02 -07:00
|
|
|
|
2020-05-09 17:36:13 -07:00
|
|
|
#urlbar-input-container {
|
|
|
|
height: 28px !important;
|
|
|
|
}
|
|
|
|
|
2020-04-06 12:38:02 -07:00
|
|
|
/*** Load local overrides ***/
|
|
|
|
@import url(./userChrome.local.css);
|
|
|
|
}
|