2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
|
|
|
|
2008-07-15 09:11:00 -07:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2008-11-04 00:19:55 -08:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2008-07-15 09:11:00 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
searchbar {
|
|
|
|
-moz-binding: url("chrome://browser/content/search/search.xml#searchbar");
|
|
|
|
}
|
|
|
|
|
2008-01-14 19:04:37 -08:00
|
|
|
tabbrowser {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser");
|
|
|
|
}
|
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
.tabbrowser-tabs {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabs");
|
|
|
|
}
|
|
|
|
|
2012-01-03 21:15:00 -08:00
|
|
|
#tabbrowser-tabs:not([overflow="true"]) ~ #alltabs-button,
|
2010-04-27 09:57:19 -07:00
|
|
|
#tabbrowser-tabs:not([overflow="true"]) + #new-tab-button,
|
|
|
|
#tabbrowser-tabs[overflow="true"] > .tabbrowser-arrowscrollbox > .tabs-newtab-button,
|
|
|
|
#TabsToolbar[currentset]:not([currentset*="tabbrowser-tabs,new-tab-button"]) > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .tabs-newtab-button,
|
2010-11-22 02:37:01 -08:00
|
|
|
#TabsToolbar[customizing="true"] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .tabs-newtab-button {
|
2010-04-27 09:57:19 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2012-01-03 21:15:00 -08:00
|
|
|
#tabbrowser-tabs:not([overflow="true"])[using-closing-tabs-spacer] ~ #alltabs-button {
|
|
|
|
visibility: hidden; /* temporary space to keep a tab's close button under the cursor */
|
|
|
|
}
|
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
.tabbrowser-tab {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tab");
|
2010-07-05 02:40:54 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab:not([pinned]) {
|
2010-06-24 07:29:02 -07:00
|
|
|
-moz-box-flex: 100;
|
2010-07-05 02:40:54 -07:00
|
|
|
max-width: 250px;
|
|
|
|
min-width: 100px;
|
|
|
|
width: 0;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: min-width 200ms ease-out,
|
|
|
|
max-width 250ms ease-out,
|
|
|
|
opacity 50ms ease-out 20ms /* hide the tab for the first 20ms of the max-width transition */;
|
2010-03-16 23:36:13 -07:00
|
|
|
}
|
|
|
|
|
2010-08-05 13:18:17 -07:00
|
|
|
.tabbrowser-tab:not([pinned]):not([fadein]) {
|
2010-11-26 03:43:16 -08:00
|
|
|
max-width: 0.1px;
|
|
|
|
min-width: 0.1px;
|
|
|
|
opacity: 0 !important;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: min-width 200ms ease-out,
|
|
|
|
max-width 250ms ease-out,
|
|
|
|
opacity 50ms ease-out 180ms /* hide the tab for the last 20ms of the max-width transition */;
|
2010-06-14 01:10:54 -07:00
|
|
|
}
|
|
|
|
|
2013-01-09 05:01:18 -08:00
|
|
|
.tabbrowser-tabs[dontresize] > .tabbrowser-tab[fadein]:not([pinned]) {
|
|
|
|
/* controlled in tabbrowser.xml */
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs[dontanimate] > .tabbrowser-tab {
|
|
|
|
transition: none !important;
|
|
|
|
}
|
|
|
|
|
2010-10-11 20:47:59 -07:00
|
|
|
.tab-throbber:not([fadein]):not([pinned]),
|
2010-09-15 00:28:37 -07:00
|
|
|
.tab-label:not([fadein]):not([pinned]),
|
|
|
|
.tab-icon-image:not([fadein]):not([pinned]),
|
|
|
|
.tab-close-button:not([fadein]):not([pinned]) {
|
2011-12-28 10:20:36 -08:00
|
|
|
display: none;
|
2010-06-14 01:10:54 -07:00
|
|
|
}
|
|
|
|
|
2011-01-17 00:38:19 -08:00
|
|
|
.tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
|
2011-01-17 00:29:50 -08:00
|
|
|
position: fixed !important;
|
2010-07-28 06:13:30 -07:00
|
|
|
display: block; /* position:fixed already does this (bug 579776), but let's be explicit */
|
2010-06-24 07:29:02 -07:00
|
|
|
}
|
|
|
|
|
2012-08-27 10:44:00 -07:00
|
|
|
.tabbrowser-tabs[movingtab] > .tabbrowser-tab[selected] {
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
pointer-events: none; /* avoid blocking dragover events on scroll buttons */
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs[movingtab] > .tabbrowser-tab[fadein]:not([selected]) {
|
|
|
|
transition: transform 200ms ease-out;
|
|
|
|
}
|
|
|
|
|
2010-04-27 09:57:19 -07:00
|
|
|
#alltabs-popup {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-alltabs-popup");
|
|
|
|
}
|
|
|
|
|
2008-01-14 19:04:37 -08:00
|
|
|
toolbar[printpreview="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
|
|
|
|
}
|
2009-04-30 09:42:42 -07:00
|
|
|
|
2010-05-14 00:46:36 -07:00
|
|
|
#toolbar-menubar {
|
|
|
|
-moz-box-ordinal-group: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2010-04-05 23:34:27 -07:00
|
|
|
-moz-box-ordinal-group: 50;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar {
|
|
|
|
-moz-box-ordinal-group: 100;
|
|
|
|
}
|
|
|
|
|
2010-07-20 10:36:48 -07:00
|
|
|
#TabsToolbar[tabsontop="true"] {
|
2010-04-05 23:34:27 -07:00
|
|
|
-moz-box-ordinal-group: 10;
|
|
|
|
}
|
|
|
|
|
2010-11-05 01:26:46 -07:00
|
|
|
%ifdef CAN_DRAW_IN_TITLEBAR
|
2011-01-07 12:28:02 -08:00
|
|
|
#main-window[inFullscreen] > #titlebar,
|
|
|
|
#main-window[inFullscreen] .titlebar-placeholder,
|
|
|
|
#main-window:not([tabsintitlebar]) .titlebar-placeholder {
|
2010-07-05 21:17:21 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2010-08-24 20:03:37 -07:00
|
|
|
|
|
|
|
#titlebar {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
|
|
|
}
|
2011-01-07 12:28:02 -08:00
|
|
|
|
2011-01-19 19:21:50 -08:00
|
|
|
#titlebar-spacer {
|
2011-01-07 12:28:02 -08:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[tabsintitlebar] #appmenu-button-container,
|
|
|
|
#main-window[tabsintitlebar] #titlebar-buttonbox {
|
|
|
|
position: relative;
|
|
|
|
}
|
2010-07-05 21:17:21 -07:00
|
|
|
%endif
|
|
|
|
|
2011-12-21 15:16:05 -08:00
|
|
|
.bookmarks-toolbar-customize,
|
|
|
|
#wrapper-personal-bookmarks > #personal-bookmarks > #PlacesToolbar > hbox > #PlacesToolbarItems {
|
2009-04-30 09:42:42 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2008-01-14 19:04:37 -08:00
|
|
|
|
2011-12-21 15:16:05 -08:00
|
|
|
#wrapper-personal-bookmarks[place="toolbar"] > #personal-bookmarks > #PlacesToolbar > .bookmarks-toolbar-customize {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2010-12-06 10:05:55 -08:00
|
|
|
#main-window[disablechrome] #navigator-toolbox[tabsontop="true"] > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-09-02 19:20:12 -07:00
|
|
|
#wrapper-urlbar-container #urlbar-container > #urlbar > toolbarbutton,
|
|
|
|
#urlbar-container:not([combined]) > #urlbar > toolbarbutton,
|
|
|
|
#urlbar-container[combined] + #reload-button + #stop-button,
|
|
|
|
#urlbar-container[combined] + #reload-button,
|
|
|
|
toolbar:not([mode="icons"]) > #urlbar-container > #urlbar > toolbarbutton,
|
|
|
|
toolbar[mode="icons"] > #urlbar-container > #urlbar > #urlbar-reload-button:not([displaystop]) + #urlbar-stop-button,
|
|
|
|
toolbar[mode="icons"] > #urlbar-container > #urlbar > #urlbar-reload-button[displaystop],
|
2010-01-04 23:28:46 -08:00
|
|
|
toolbar[mode="icons"] > #reload-button:not([displaystop]) + #stop-button,
|
|
|
|
toolbar[mode="icons"] > #reload-button[displaystop] {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-10-15 10:57:10 -07:00
|
|
|
#feed-button > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#feed-menu > .feed-menuitem:-moz-locale-dir(rtl) {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2009-10-01 23:22:18 -07:00
|
|
|
#main-window:-moz-lwtheme {
|
2009-09-04 03:58:18 -07:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: top right;
|
|
|
|
}
|
|
|
|
|
2009-10-31 01:01:12 -07:00
|
|
|
%ifdef XP_MACOSX
|
|
|
|
#main-window[inFullscreen="true"] {
|
|
|
|
padding-top: 0; /* override drawintitlebar="true" */
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2009-09-04 03:58:18 -07:00
|
|
|
#browser-bottombox[lwthemefooter="true"] {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom left;
|
|
|
|
}
|
|
|
|
|
2010-12-02 00:45:08 -08:00
|
|
|
splitmenu {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#splitmenu");
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:53 -08:00
|
|
|
.splitmenu-menuitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
|
2010-12-02 00:45:08 -08:00
|
|
|
list-style-image: inherit;
|
|
|
|
-moz-image-region: inherit;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:53 -08:00
|
|
|
.splitmenu-menuitem[iconic="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitmenu-menu > .menu-text,
|
2011-02-02 13:17:29 -08:00
|
|
|
:-moz-any(.splitmenu-menu, .splitmenu-menuitem) > .menu-accel-container,
|
|
|
|
#appmenu-editmenu > .menu-text,
|
|
|
|
#appmenu-editmenu > .menu-accel-container {
|
2010-06-13 01:20:58 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-09-07 13:37:04 -07:00
|
|
|
.menuitem-tooltip {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#menuitem-tooltip");
|
|
|
|
}
|
|
|
|
|
|
|
|
.menuitem-iconic-tooltip,
|
|
|
|
.menuitem-tooltip[type="checkbox"],
|
|
|
|
.menuitem-tooltip[type="radio"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#menuitem-iconic-tooltip");
|
|
|
|
}
|
|
|
|
|
2010-11-12 02:01:00 -08:00
|
|
|
%ifdef MENUBAR_CAN_AUTOHIDE
|
|
|
|
%ifndef CAN_DRAW_IN_TITLEBAR
|
|
|
|
#appmenu-toolbar-button > .toolbarbutton-text {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2010-09-24 01:27:45 -07:00
|
|
|
#appmenu_offlineModeRecovery:not([checked=true]) {
|
|
|
|
display: none;
|
|
|
|
}
|
2010-11-12 02:01:00 -08:00
|
|
|
%endif
|
2010-09-24 01:27:45 -07:00
|
|
|
|
2011-01-28 08:46:49 -08:00
|
|
|
/* Hide menu elements intended for keyboard access support */
|
|
|
|
#main-menubar[openedwithkey=false] .show-only-for-keyboard {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2007-07-05 07:30:39 -07:00
|
|
|
/* ::::: location bar ::::: */
|
|
|
|
#urlbar {
|
|
|
|
-moz-binding: url(chrome://browser/content/urlbarBindings.xml#urlbar);
|
|
|
|
}
|
2007-06-27 15:31:06 -07:00
|
|
|
|
2011-01-27 05:15:56 -08:00
|
|
|
.ac-url-text:-moz-locale-dir(rtl),
|
|
|
|
.ac-title:-moz-locale-dir(rtl) > description {
|
|
|
|
direction: ltr !important;
|
2010-03-26 14:59:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* For results that are actions, their description text is shown instead of
|
|
|
|
the URL - this needs to follow the locale's direction, unlike URLs. */
|
2010-12-10 18:32:14 -08:00
|
|
|
panel:not([noactions]) > richlistbox > richlistitem[type~="action"]:-moz-locale-dir(rtl) > .ac-url-box {
|
2010-03-26 14:59:02 -07:00
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .ac-url > .ac-action-text,
|
|
|
|
panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .ac-action-icon {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .ac-url > .ac-url-text {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2011-01-22 03:21:35 -08:00
|
|
|
#urlbar:not([actiontype]) > #urlbar-display-box {
|
2010-03-26 14:59:02 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#wrapper-urlbar-container > #urlbar-container > #urlbar {
|
2009-04-25 01:09:08 -07:00
|
|
|
-moz-user-input: disabled;
|
|
|
|
cursor: -moz-grab;
|
|
|
|
}
|
|
|
|
|
2007-08-27 11:05:40 -07:00
|
|
|
#PopupAutoComplete {
|
2007-12-13 13:21:16 -08:00
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#browser-autocomplete-result-popup");
|
2007-06-04 21:51:15 -07:00
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
#PopupAutoCompleteRichResult {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#urlbar-rich-result-popup");
|
|
|
|
}
|
|
|
|
|
2010-09-02 19:20:12 -07:00
|
|
|
#urlbar-container[combined] > #urlbar > #urlbar-icons > #go-button,
|
2009-10-23 08:28:14 -07:00
|
|
|
#urlbar[pageproxystate="invalid"] > #urlbar-icons > .urlbar-icon:not(#go-button),
|
2010-09-02 19:20:12 -07:00
|
|
|
#urlbar[pageproxystate="valid"] > #urlbar-icons > #go-button,
|
|
|
|
#urlbar[pageproxystate="invalid"][focused="true"] > #urlbar-go-button ~ toolbarbutton,
|
|
|
|
#urlbar[pageproxystate="valid"] > #urlbar-go-button,
|
|
|
|
#urlbar:not([focused="true"]) > #urlbar-go-button {
|
2008-10-22 12:25:24 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon-labels {
|
2012-05-27 15:29:07 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[pageproxystate="invalid"] > #identity-box {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2010-02-21 14:05:05 -08:00
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 18em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-icon-country-label {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2012-06-13 04:56:57 -07:00
|
|
|
#identity-box.verifiedIdentity > #identity-icon-labels > #identity-icon-label {
|
2010-02-21 14:05:05 -08:00
|
|
|
-moz-margin-end: 0.25em !important;
|
2008-08-18 01:55:39 -07:00
|
|
|
}
|
2008-02-25 14:30:48 -08:00
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#wrapper-search-container > #search-container > #searchbar > .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2008-01-29 23:17:45 -08:00
|
|
|
/* ::::: Unified Back-/Forward Button ::::: */
|
2009-10-23 08:28:14 -07:00
|
|
|
#back-button > .toolbarbutton-menu-dropmarker,
|
2010-10-18 12:25:04 -07:00
|
|
|
#forward-button > .toolbarbutton-menu-dropmarker {
|
2008-01-29 23:17:45 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.unified-nav-current {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2010-02-26 03:26:43 -08:00
|
|
|
toolbarbutton.bookmark-item {
|
|
|
|
max-width: 13em;
|
|
|
|
}
|
|
|
|
|
2010-06-24 10:08:43 -07:00
|
|
|
%ifdef MENUBAR_CAN_AUTOHIDE
|
|
|
|
#toolbar-menubar:not([autohide="true"]) ~ #nav-bar > #bookmarks-menu-button-container,
|
2010-06-28 15:03:56 -07:00
|
|
|
#toolbar-menubar:not([autohide="true"]) ~ toolbar > #personal-bookmarks > #bookmarks-menu-button,
|
|
|
|
#toolbar-menubar:not([autohide="true"]) > #personal-bookmarks > #bookmarks-menu-button {
|
2010-06-24 10:08:43 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_tagsSelector {
|
|
|
|
/* override default listbox width from xul.css */
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2010-06-16 03:00:31 -07:00
|
|
|
menupopup[emptyplacesresult="true"] > .hide-if-empty-places-result {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
menuitem.spell-suggestion {
|
2007-08-12 12:18:51 -07:00
|
|
|
font-weight: bold;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-04-27 09:57:19 -07:00
|
|
|
#sidebar-header > .tabs-closebutton {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* apply Fitts' law to the notification bar's close button */
|
|
|
|
window[sizemode="maximized"] #content .notification-inner {
|
2007-08-12 12:18:51 -07:00
|
|
|
border-right: 0px !important;
|
2007-04-24 09:20:24 -07:00
|
|
|
}
|
2007-08-22 14:02:02 -07:00
|
|
|
|
2007-12-14 16:23:01 -08:00
|
|
|
/* Hide extension toolbars that neglected to set the proper class */
|
|
|
|
window[chromehidden~="location"][chromehidden~="toolbar"] toolbar:not(.chromeclass-menubar),
|
2008-01-14 19:04:37 -08:00
|
|
|
window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-menubar) {
|
2007-12-14 16:23:01 -08:00
|
|
|
display: none;
|
|
|
|
}
|
2008-01-15 18:07:17 -08:00
|
|
|
|
2008-02-04 11:37:26 -08:00
|
|
|
#navigator-toolbox ,
|
2010-09-16 01:40:32 -07:00
|
|
|
#status-bar ,
|
2008-01-15 18:07:17 -08:00
|
|
|
#mainPopupSet {
|
|
|
|
min-width: 1px;
|
|
|
|
}
|
|
|
|
|
2010-09-16 01:40:32 -07:00
|
|
|
%ifdef MOZ_SERVICES_SYNC
|
2010-09-10 10:47:57 -07:00
|
|
|
/* Sync notification UI */
|
|
|
|
#sync-notifications {
|
2012-02-28 08:03:35 -08:00
|
|
|
-moz-binding: url("chrome://browser/content/sync/notification.xml#notificationbox");
|
2010-09-10 10:47:57 -07:00
|
|
|
overflow-y: visible !important;
|
2010-09-16 01:40:32 -07:00
|
|
|
}
|
|
|
|
|
2010-09-10 10:47:57 -07:00
|
|
|
#sync-notifications notification {
|
2012-02-28 08:03:35 -08:00
|
|
|
-moz-binding: url("chrome://browser/content/sync/notification.xml#notification");
|
2010-09-16 01:40:32 -07:00
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2008-03-04 03:32:11 -08:00
|
|
|
/* Identity UI */
|
|
|
|
#identity-popup-content-box.unknownIdentity > #identity-popup-connectedToLabel ,
|
|
|
|
#identity-popup-content-box.unknownIdentity > #identity-popup-runByLabel ,
|
|
|
|
#identity-popup-content-box.unknownIdentity > #identity-popup-content-host ,
|
|
|
|
#identity-popup-content-box.unknownIdentity > #identity-popup-content-owner ,
|
|
|
|
#identity-popup-content-box.verifiedIdentity > #identity-popup-connectedToLabel2 ,
|
|
|
|
#identity-popup-content-box.verifiedDomain > #identity-popup-connectedToLabel2 {
|
|
|
|
display: none;
|
|
|
|
}
|
2008-03-08 03:30:39 -08:00
|
|
|
|
2009-09-07 14:55:01 -07:00
|
|
|
/* Full Screen UI */
|
2010-06-30 10:57:14 -07:00
|
|
|
|
2008-03-08 03:30:39 -08:00
|
|
|
#fullscr-toggler {
|
2010-06-30 01:15:36 -07:00
|
|
|
height: 1px;
|
|
|
|
background: black;
|
2008-03-08 03:30:39 -08:00
|
|
|
}
|
|
|
|
|
2011-10-28 01:28:05 -07:00
|
|
|
#full-screen-warning-container {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2011-11-13 12:53:13 -08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-warning-container[fade-warning-out] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-property: opacity !important;
|
|
|
|
transition-duration: 500ms !important;
|
2011-10-28 01:28:05 -07:00
|
|
|
opacity: 0.0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-warning-message {
|
2012-05-08 14:47:19 -07:00
|
|
|
/* We must specify a max-width, otherwise word-wrap:break-word doesn't
|
|
|
|
work in descendant <description> and <label> elements. Bug 630864. */
|
2012-10-16 15:25:23 -07:00
|
|
|
max-width: 800px;
|
2012-05-08 14:47:19 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-domain-text,
|
|
|
|
#full-screen-remember-decision > .checkbox-label-box > .checkbox-label {
|
|
|
|
word-wrap: break-word;
|
|
|
|
/* We must specify a min-width, otherwise word-wrap:break-word doesn't work. Bug 630864. */
|
|
|
|
min-width: 1px;
|
2011-10-28 01:28:05 -07:00
|
|
|
}
|
|
|
|
|
2009-09-07 14:55:01 -07:00
|
|
|
#nav-bar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
|
2009-12-18 11:37:14 -08:00
|
|
|
display: -moz-box;
|
2009-09-07 14:55:01 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
|
2009-12-18 11:37:14 -08:00
|
|
|
display: none;
|
2008-03-08 03:30:39 -08:00
|
|
|
}
|
2008-07-15 09:11:00 -07:00
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
/* ::::: Ctrl-Tab Panel ::::: */
|
2008-11-06 09:33:22 -08:00
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
.ctrlTab-preview > html|img,
|
|
|
|
.ctrlTab-preview > html|canvas {
|
2009-07-20 21:25:59 -07:00
|
|
|
min-width: inherit;
|
|
|
|
max-width: inherit;
|
|
|
|
min-height: inherit;
|
|
|
|
max-height: inherit;
|
2008-11-04 23:38:13 -08:00
|
|
|
}
|
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
.ctrlTab-favicon-container {
|
2009-07-20 21:25:59 -07:00
|
|
|
-moz-box-align: start;
|
2009-07-26 00:53:04 -07:00
|
|
|
%ifdef XP_MACOSX
|
|
|
|
-moz-box-pack: end;
|
|
|
|
%else
|
2009-07-20 21:25:59 -07:00
|
|
|
-moz-box-pack: start;
|
2009-07-26 00:53:04 -07:00
|
|
|
%endif
|
2008-07-15 09:11:00 -07:00
|
|
|
}
|
2008-11-04 23:38:13 -08:00
|
|
|
|
2013-02-11 04:48:32 -08:00
|
|
|
.ctrlTab-favicon {
|
2009-07-20 21:25:59 -07:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ctrlTab-preview {
|
|
|
|
-moz-binding: url("chrome://browser/content/browser-tabPreviews.xml#ctrlTab-preview");
|
|
|
|
}
|
|
|
|
|
2010-06-25 09:05:45 -07:00
|
|
|
|
|
|
|
/* notification anchors should only be visible when their associated
|
|
|
|
notifications are */
|
|
|
|
.notification-anchor-icon {
|
2010-06-23 09:53:09 -07:00
|
|
|
-moz-user-focus: normal;
|
2010-06-25 09:05:45 -07:00
|
|
|
}
|
|
|
|
|
2012-05-03 15:33:47 -07:00
|
|
|
.notification-anchor-icon:not([showing]) {
|
|
|
|
display: none;
|
2010-06-25 09:05:45 -07:00
|
|
|
}
|
2010-08-30 09:55:17 -07:00
|
|
|
|
2012-06-12 18:16:00 -07:00
|
|
|
#notification-popup .text-link.custom-link {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2010-12-01 14:13:34 -08:00
|
|
|
#invalid-form-popup > description {
|
2010-09-10 21:10:31 -07:00
|
|
|
max-width: 280px;
|
|
|
|
}
|
|
|
|
|
2011-01-03 11:40:47 -08:00
|
|
|
#addon-progress-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#addon-progress-notification");
|
|
|
|
}
|
|
|
|
|
2012-06-12 18:16:00 -07:00
|
|
|
#identity-request-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#identity-request-notification");
|
|
|
|
}
|
|
|
|
|
2012-08-28 09:23:10 -07:00
|
|
|
#click-to-play-plugins-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#click-to-play-plugins-notification");
|
|
|
|
}
|
|
|
|
|
|
|
|
popupnotification-centeritem {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#center-item");
|
|
|
|
}
|
|
|
|
|
2010-09-24 00:30:48 -07:00
|
|
|
/* override hidden="true" for the status bar compatibility shim
|
|
|
|
in case it was persisted for the real status bar */
|
|
|
|
#status-bar {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2010-09-24 00:30:21 -07:00
|
|
|
/* Remove the resizer from the statusbar compatibility shim */
|
2011-01-17 06:35:32 -08:00
|
|
|
#status-bar[hideresizer] > .statusbar-resizerpanel {
|
2010-09-24 00:30:21 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2010-11-23 19:33:00 -08:00
|
|
|
|
|
|
|
browser[tabmodalPromptShowing] {
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
2011-01-28 05:35:49 -08:00
|
|
|
|
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
statuspanel {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#statuspanel");
|
|
|
|
position: fixed;
|
|
|
|
margin-top: -3em;
|
|
|
|
left: 0;
|
2012-07-18 17:44:39 -07:00
|
|
|
max-width: calc(100% - 5px);
|
2012-01-12 13:24:44 -08:00
|
|
|
pointer-events: none;
|
2011-01-28 05:35:49 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
statuspanel:-moz-locale-dir(ltr)[mirror],
|
|
|
|
statuspanel:-moz-locale-dir(rtl):not([mirror]) {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2012-04-12 01:00:56 -07:00
|
|
|
statuspanel[sizelimit] {
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
|
2011-02-09 13:40:13 -08:00
|
|
|
statuspanel[type=status] {
|
2011-02-23 23:37:25 -08:00
|
|
|
min-width: 23em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (max-width: 800px) {
|
|
|
|
statuspanel[type=status] {
|
|
|
|
min-width: 33%;
|
|
|
|
}
|
2011-02-09 13:40:13 -08:00
|
|
|
}
|
|
|
|
|
2011-02-09 13:44:06 -08:00
|
|
|
statuspanel[type=overLink] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: opacity 120ms ease-out;
|
2011-02-09 13:44:06 -08:00
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2011-09-27 00:51:56 -07:00
|
|
|
statuspanel[inactive] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2011-02-02 22:48:39 -08:00
|
|
|
opacity: 0;
|
2011-01-28 05:35:49 -08:00
|
|
|
}
|
|
|
|
|
2011-09-27 00:51:56 -07:00
|
|
|
statuspanel[inactive][previoustype=overLink] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: opacity 200ms ease-out;
|
2011-09-27 00:51:56 -07:00
|
|
|
}
|
|
|
|
|
2011-01-28 05:35:49 -08:00
|
|
|
.statuspanel-inner {
|
|
|
|
height: 3em;
|
2011-02-02 23:18:42 -08:00
|
|
|
width: 100%;
|
2011-01-28 05:35:49 -08:00
|
|
|
-moz-box-align: end;
|
|
|
|
}
|
2011-05-23 21:16:39 -07:00
|
|
|
|
|
|
|
.panel-inner-arrowcontentfooter[footertype="promobox"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#promobox");
|
|
|
|
}
|
2011-07-11 10:18:11 -07:00
|
|
|
|
2012-05-29 20:17:20 -07:00
|
|
|
/* tabview menus */
|
|
|
|
.tabview-menuitem {
|
|
|
|
max-width: 32em;
|
|
|
|
}
|
|
|
|
|
2011-07-11 10:18:11 -07:00
|
|
|
/* highlighter */
|
|
|
|
%include highlighter.css
|
2012-06-01 00:24:19 -07:00
|
|
|
|
2012-06-01 05:53:58 -07:00
|
|
|
/* gcli */
|
|
|
|
|
2012-06-01 00:24:19 -07:00
|
|
|
html|*#gcli-tooltip-frame,
|
|
|
|
html|*#gcli-output-frame,
|
|
|
|
#gcli-output,
|
|
|
|
#gcli-tooltip {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gclitoolbar-input-node,
|
|
|
|
.gclitoolbar-complete-node,
|
|
|
|
.gclitoolbar-prompt {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
2012-06-01 05:53:58 -07:00
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
#developer-toolbar-toolbox-button[error-count] > .toolbarbutton-icon {
|
2012-07-05 08:02:28 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 08:02:28 -07:00
|
|
|
content: attr(error-count);
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
2012-06-01 05:53:58 -07:00
|
|
|
/* Responsive Mode */
|
|
|
|
|
2012-08-30 03:23:26 -07:00
|
|
|
.browserContainer[responsivemode] {
|
2012-06-01 05:53:58 -07:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-pack: end;
|
|
|
|
}
|
|
|
|
|
2012-08-30 03:23:26 -07:00
|
|
|
.browserStack[responsivemode] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: linear;
|
2012-06-01 05:53:58 -07:00
|
|
|
}
|
|
|
|
|
2012-08-30 03:23:26 -07:00
|
|
|
.browserStack[responsivemode] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition-property: min-width, max-width, min-height, max-height;
|
2012-06-01 05:53:58 -07:00
|
|
|
}
|
|
|
|
|
2012-08-30 03:23:26 -07:00
|
|
|
.browserStack[responsivemode][notransition] {
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: none;
|
2012-06-01 05:53:58 -07:00
|
|
|
}
|
2012-08-20 17:52:26 -07:00
|
|
|
|
2013-01-07 12:42:02 -08:00
|
|
|
.social-notification-container > .toolbarbutton-1[badge]:not([badge=""])::after {
|
|
|
|
content: attr(badge);
|
|
|
|
}
|
|
|
|
|
2012-08-20 17:52:26 -07:00
|
|
|
chatbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialchat.xml#chatbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
chatbar {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialchat.xml#chatbar");
|
|
|
|
height: 0;
|
|
|
|
}
|