RetroZilla/xpfe/browser/resources/content/navigator.css
2015-10-20 23:03:22 -04:00

36 lines
991 B
CSS

/* ::::: Hide the link toolbar if it is set to autohide and has no items. ::::: */
#linktoolbar[hidden="maybe"][hasitems="false"] {
display: none;
}
/* ::::: urlbar autocomplete ::::: */
#urlbar {
-moz-binding: url("chrome://navigator/content/urlbarBindings.xml#urlbar");
}
.autocomplete-result-popup[for="urlbar"] {
-moz-binding: url("chrome://navigator/content/urlbarBindings.xml#autocomplete-result-popup") !important;
}
.autocomplete-search-box {
-moz-binding: url("chrome://navigator/content/urlbarBindings.xml#autocomplete-search-box");
}
.autocomplete-search-engine {
-moz-binding: url("chrome://navigator/content/urlbarBindings.xml#autocomplete-search-engine");
}
/* ::::::::::
:: Rules for 'hiding' portions of the chrome for special
:: kinds of browser-specific window toolbars. Other global
:: window rules are in xul.css
::::: */
window[chromehidden~="toolbar"] #nav-bar-buttons,
window[chromehidden~="toolbar"] #print-button {
display: none;
}