diff options
Diffstat (limited to 'comm/suite/browser/navigator.css')
-rw-r--r-- | comm/suite/browser/navigator.css | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/comm/suite/browser/navigator.css b/comm/suite/browser/navigator.css new file mode 100644 index 0000000000..8b9c11ada3 --- /dev/null +++ b/comm/suite/browser/navigator.css @@ -0,0 +1,135 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); + +/* ::::: 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-tab:-moz-lwtheme:not([customization-lwtheme]) { + color: var(--lwt-text-color); + text-shadow: var(--lwt-accent-color); +} + +.tabbrowser-arrowscrollbox { + -moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-arrowscrollbox"); +} + +.tabs-alltabs-popup { + -moz-binding: url("chrome://navigator/content/tabbrowser.xml#tabbrowser-alltabs-popup"); +} + +.tabs-closebutton-box > .tabs-closebutton { + -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton"); +} + +/* ::::: search suggestions autocomplete ::::: */ +#PopupAutoComplete > richlistbox > richlistitem > .ac-type-icon, +#PopupAutoComplete > richlistbox > richlistitem > .ac-site-icon, +#PopupAutoComplete > richlistbox > richlistitem > .ac-tags, +#PopupAutoComplete > richlistbox > richlistitem > .ac-separator, +#PopupAutoComplete > richlistbox > richlistitem > .ac-url { + display: none; +} + +/* ::::: urlbar autocomplete ::::: */ + +#urlbar { + -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#urlbar"); +} + +.paste-and-go { + -moz-binding: url("chrome://navigator/content/urlbarBindings.xml#input-box-paste"); +} + +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"); + -moz-box-align: center; +} + +#DateTimePickerPanel[active="true"] { + -moz-binding: url("chrome://global/content/bindings/datetimepopup.xml#datetime-popup"); +} + +.popup-anchor { + /* should occupy space but not be visible */ + opacity: 0; + pointer-events: none; + -moz-stack-sizing: ignore; +} + +/* ::::: search bar ::::: */ +searchbar { + -moz-binding: url("chrome://communicator/content/search/search.xml#searchbar"); +} + +#wrapper-search-container > #search-container > #searchbar > .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input { + visibility: hidden; +} + +/* ::::: bookmarks menu ::::: */ + +.isempty:not(:last-child) { + display: none; +} + +/* ::::: bookmarks toolbar ::::: */ + +#wrapper-personal-bookmarks[place="palette"] > toolbaritem > #PlacesToolbar { + display: none; +} + +/* notification anchors should only be visible when their associated + notifications are */ +.notification-anchor-icon { + -moz-user-focus: normal; +} + +.notification-anchor-icon:not([showing]) { + display: none; +} + +popupnotification-centeritem { + -moz-binding: url("chrome://communicator/content/bindings/notification.xml#center-item"); +} + +#addon-install-started-notification { + -moz-binding: url("chrome://communicator/content/bindings/notification.xml#addon-progress-popup-notification"); +} + +/* ::::: Wallpaper fix for Bug 435652. Remove when Bug 204743 is fixed ::::: */ + +.textbox-input-box { + overflow-x: hidden; +} + +/* Developer Tools: Error counter */ + +#developer-toolbar-toolbox-button[error-count]:before { + content: attr(error-count); + display: -moz-box; + -moz-box-pack: center; +} |