releases-comm-central/suite/browser/navigator.css

100 строки
2.8 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-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");
}
/* ::::: urlbar autocomplete ::::: */
#urlbar {
-moz-binding: url("chrome://navigator/content/urlbarBindings.xml#urlbar");
}
#urlbar > .autocomplete-textbox-container > .textbox-input-box {
-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;
}
/* ::::: bookmarks menu ::::: */
.isempty:not(:last-child) {
display: none;
}
/* ::::: bookmarks toolbar ::::: */
#wrapper-personal-bookmarks[place="palette"] > toolbaritem > #PlacesToolbar {
display: none;
}
/* ::::: autohide the menubar for full screen on linux too ::::: */
#toolbar-menubar[autohide="true"]
{
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-menubar-autohide");
overflow: hidden;
}
/* notification anchors should only be visible when their associated
notifications are */
.notification-anchor-icon {
display: none;
-moz-user-focus: normal;
}
#notification-popup-box[anchorid="notification-popup-box"] > #default-notification-icon,
#notification-popup-box[anchorid="geo-notification-icon"] > #geo-notification-icon,
#notification-popup-box[anchorid="addons-notification-icon"] > #addons-notification-icon,
#notification-popup-box[anchorid="indexedDB-notification-icon"] > #indexedDB-notification-icon,
#notification-popup-box[anchorid="password-notification-icon"] > #password-notification-icon {
display: -moz-box;
}
#toolbar-menubar[autohide="true"][inactive="true"]
{
min-height: 0px !important;
height: 0px !important;
-moz-appearance: none !important;
border-style: none !important;
}
/* ::::: Wallpaper fix for Bug 435652. Remove when Bug 204743 is fixed ::::: */
.textbox-input-box {
overflow-x: hidden;
}