зеркало из https://github.com/mozilla/pjs.git
54 строки
1.4 KiB
CSS
54 строки
1.4 KiB
CSS
/* ::::: Hide the link toolbar if it is set to autohide and has no items. ::::: */
|
|
|
|
#linktoolbar[hidden="maybe"][hasitems="false"] {
|
|
display: none;
|
|
}
|
|
|
|
/* ::::: tabbed browser ::::: */
|
|
|
|
tabbrowser {
|
|
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser");
|
|
}
|
|
|
|
.tabbrowser-tabs {
|
|
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-tabs");
|
|
}
|
|
|
|
.tabbrowser-tabs > .tabbrowser-tab {
|
|
-moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-tab");
|
|
}
|
|
|
|
.tabs-closebutton-box > .tabs-closebutton {
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
|
|
}
|
|
|
|
/* ::::: urlbar autocomplete ::::: */
|
|
|
|
#urlbar {
|
|
-moz-binding: url("chrome://navigator/content/urlbarBindings.xml#urlbar");
|
|
}
|
|
|
|
panel[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;
|
|
}
|