2012-05-21 11:12:37 +00: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 16:11:00 +00:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2008-11-04 08:19:55 +00:00
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
2008-07-15 16:11:00 +00:00
|
|
|
|
2004-11-30 08:23:02 +00:00
|
|
|
searchbar {
|
2006-03-17 07:16:00 +00:00
|
|
|
-moz-binding: url("chrome://browser/content/search/search.xml#searchbar");
|
2002-09-29 20:06:57 +00:00
|
|
|
}
|
2002-10-13 16:50:35 +00:00
|
|
|
|
2013-04-25 05:29:31 +00:00
|
|
|
browser[remote="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/remote-browser.xml#remote-browser");
|
|
|
|
}
|
|
|
|
|
2008-01-15 03:04:37 +00:00
|
|
|
tabbrowser {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser");
|
|
|
|
}
|
|
|
|
|
2010-03-17 06:36:13 +00:00
|
|
|
.tabbrowser-tabs {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tabs");
|
|
|
|
}
|
|
|
|
|
2012-01-04 05:15:00 +00:00
|
|
|
#tabbrowser-tabs:not([overflow="true"]) ~ #alltabs-button,
|
2010-04-27 16:57:19 +00: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 10:37:01 +00:00
|
|
|
#TabsToolbar[customizing="true"] > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .tabs-newtab-button {
|
2010-04-27 16:57:19 +00:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2013-03-17 21:03:08 +00: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 */
|
2012-01-04 05:15:00 +00:00
|
|
|
}
|
|
|
|
|
2010-03-17 06:36:13 +00:00
|
|
|
.tabbrowser-tab {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tab");
|
2010-07-05 09:40:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab:not([pinned]) {
|
2010-06-24 14:29:02 +00:00
|
|
|
-moz-box-flex: 100;
|
2010-07-05 09:40:54 +00:00
|
|
|
max-width: 250px;
|
|
|
|
min-width: 100px;
|
|
|
|
width: 0;
|
2012-07-11 02:13:55 +00: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-17 06:36:13 +00:00
|
|
|
}
|
|
|
|
|
2010-08-05 20:18:17 +00:00
|
|
|
.tabbrowser-tab:not([pinned]):not([fadein]) {
|
2010-11-26 11:43:16 +00:00
|
|
|
max-width: 0.1px;
|
|
|
|
min-width: 0.1px;
|
|
|
|
opacity: 0 !important;
|
2012-07-11 02:13:55 +00: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 08:10:54 +00:00
|
|
|
}
|
|
|
|
|
2010-10-12 03:47:59 +00:00
|
|
|
.tab-throbber:not([fadein]):not([pinned]),
|
2010-09-15 07:28:37 +00:00
|
|
|
.tab-label:not([fadein]):not([pinned]),
|
|
|
|
.tab-icon-image:not([fadein]):not([pinned]),
|
|
|
|
.tab-close-button:not([fadein]):not([pinned]) {
|
2011-12-28 18:20:36 +00:00
|
|
|
display: none;
|
2010-06-14 08:10:54 +00:00
|
|
|
}
|
|
|
|
|
2011-01-17 08:38:19 +00:00
|
|
|
.tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
|
2011-01-17 08:29:50 +00:00
|
|
|
position: fixed !important;
|
2010-07-28 13:13:30 +00:00
|
|
|
display: block; /* position:fixed already does this (bug 579776), but let's be explicit */
|
2010-06-24 14:29:02 +00:00
|
|
|
}
|
|
|
|
|
2012-08-27 17:44:00 +00: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 16:57:19 +00:00
|
|
|
#alltabs-popup {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-alltabs-popup");
|
|
|
|
}
|
|
|
|
|
2008-01-15 03:04:37 +00:00
|
|
|
toolbar[printpreview="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
|
|
|
|
}
|
2009-04-30 16:42:42 +00:00
|
|
|
|
2010-05-14 07:46:36 +00:00
|
|
|
#toolbar-menubar {
|
|
|
|
-moz-box-ordinal-group: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
2010-04-06 06:34:27 +00:00
|
|
|
-moz-box-ordinal-group: 50;
|
|
|
|
}
|
|
|
|
|
|
|
|
#TabsToolbar {
|
|
|
|
-moz-box-ordinal-group: 100;
|
|
|
|
}
|
|
|
|
|
2010-07-20 17:36:48 +00:00
|
|
|
#TabsToolbar[tabsontop="true"] {
|
2010-04-06 06:34:27 +00:00
|
|
|
-moz-box-ordinal-group: 10;
|
|
|
|
}
|
|
|
|
|
2010-11-05 08:26:46 +00:00
|
|
|
%ifdef CAN_DRAW_IN_TITLEBAR
|
2011-01-07 20:28:02 +00:00
|
|
|
#main-window[inFullscreen] > #titlebar,
|
|
|
|
#main-window[inFullscreen] .titlebar-placeholder,
|
|
|
|
#main-window:not([tabsintitlebar]) .titlebar-placeholder {
|
2010-07-06 04:17:21 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2010-08-25 03:03:37 +00:00
|
|
|
|
|
|
|
#titlebar {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
|
|
|
|
}
|
2011-01-07 20:28:02 +00:00
|
|
|
|
2011-01-20 03:21:50 +00:00
|
|
|
#titlebar-spacer {
|
2011-01-07 20:28:02 +00:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-window[tabsintitlebar] #appmenu-button-container,
|
|
|
|
#main-window[tabsintitlebar] #titlebar-buttonbox {
|
|
|
|
position: relative;
|
|
|
|
}
|
2010-07-06 04:17:21 +00:00
|
|
|
%endif
|
|
|
|
|
2011-12-21 23:16:05 +00:00
|
|
|
.bookmarks-toolbar-customize,
|
|
|
|
#wrapper-personal-bookmarks > #personal-bookmarks > #PlacesToolbar > hbox > #PlacesToolbarItems {
|
2009-04-30 16:42:42 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2008-01-15 03:04:37 +00:00
|
|
|
|
2011-12-21 23:16:05 +00:00
|
|
|
#wrapper-personal-bookmarks[place="toolbar"] > #personal-bookmarks > #PlacesToolbar > .bookmarks-toolbar-customize {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2010-12-06 18:05:55 +00:00
|
|
|
#main-window[disablechrome] #navigator-toolbox[tabsontop="true"] > toolbar:not(#toolbar-menubar):not(#TabsToolbar) {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-09-03 02:20:12 +00: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-05 07:28:46 +00:00
|
|
|
toolbar[mode="icons"] > #reload-button:not([displaystop]) + #stop-button,
|
|
|
|
toolbar[mode="icons"] > #reload-button[displaystop] {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-10-15 17:57:10 +00:00
|
|
|
#feed-button > .toolbarbutton-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#feed-menu > .feed-menuitem:-moz-locale-dir(rtl) {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2009-10-02 06:22:18 +00:00
|
|
|
#main-window:-moz-lwtheme {
|
2009-09-04 10:58:18 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: top right;
|
|
|
|
}
|
|
|
|
|
2009-10-31 08:01:12 +00:00
|
|
|
%ifdef XP_MACOSX
|
|
|
|
#main-window[inFullscreen="true"] {
|
|
|
|
padding-top: 0; /* override drawintitlebar="true" */
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2009-09-04 10:58:18 +00:00
|
|
|
#browser-bottombox[lwthemefooter="true"] {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom left;
|
|
|
|
}
|
|
|
|
|
2010-12-02 08:45:08 +00:00
|
|
|
splitmenu {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#splitmenu");
|
|
|
|
}
|
|
|
|
|
2011-01-22 11:21:53 +00:00
|
|
|
.splitmenu-menuitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
|
2010-12-02 08:45:08 +00:00
|
|
|
list-style-image: inherit;
|
|
|
|
-moz-image-region: inherit;
|
|
|
|
}
|
|
|
|
|
2011-01-22 11:21:53 +00:00
|
|
|
.splitmenu-menuitem[iconic="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitmenu-menu > .menu-text,
|
2011-02-02 21:17:29 +00:00
|
|
|
:-moz-any(.splitmenu-menu, .splitmenu-menuitem) > .menu-accel-container,
|
|
|
|
#appmenu-editmenu > .menu-text,
|
|
|
|
#appmenu-editmenu > .menu-accel-container {
|
2010-06-13 08:20:58 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2010-09-07 20:37:04 +00: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 10:01:00 +00:00
|
|
|
%ifdef MENUBAR_CAN_AUTOHIDE
|
|
|
|
%ifndef CAN_DRAW_IN_TITLEBAR
|
|
|
|
#appmenu-toolbar-button > .toolbarbutton-text {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2010-09-24 08:27:45 +00:00
|
|
|
#appmenu_offlineModeRecovery:not([checked=true]) {
|
|
|
|
display: none;
|
|
|
|
}
|
2010-11-12 10:01:00 +00:00
|
|
|
%endif
|
2010-09-24 08:27:45 +00:00
|
|
|
|
2011-01-28 16:46:49 +00:00
|
|
|
/* Hide menu elements intended for keyboard access support */
|
|
|
|
#main-menubar[openedwithkey=false] .show-only-for-keyboard {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2007-07-05 14:30:39 +00:00
|
|
|
/* ::::: location bar ::::: */
|
|
|
|
#urlbar {
|
|
|
|
-moz-binding: url(chrome://browser/content/urlbarBindings.xml#urlbar);
|
|
|
|
}
|
2007-06-27 22:31:06 +00:00
|
|
|
|
2011-01-27 13:15:56 +00:00
|
|
|
.ac-url-text:-moz-locale-dir(rtl),
|
|
|
|
.ac-title:-moz-locale-dir(rtl) > description {
|
|
|
|
direction: ltr !important;
|
2010-03-26 21:59:02 +00: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-11 02:32:14 +00:00
|
|
|
panel:not([noactions]) > richlistbox > richlistitem[type~="action"]:-moz-locale-dir(rtl) > .ac-url-box {
|
2010-03-26 21:59:02 +00:00
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2010-12-11 02:32:14 +00: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 11:21:35 +00:00
|
|
|
#urlbar:not([actiontype]) > #urlbar-display-box {
|
2010-03-26 21:59:02 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-10-23 15:28:14 +00:00
|
|
|
#wrapper-urlbar-container > #urlbar-container > #urlbar {
|
2009-04-25 08:09:08 +00:00
|
|
|
-moz-user-input: disabled;
|
|
|
|
cursor: -moz-grab;
|
|
|
|
}
|
|
|
|
|
2007-08-27 18:05:40 +00:00
|
|
|
#PopupAutoComplete {
|
2007-12-13 21:21:16 +00:00
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#browser-autocomplete-result-popup");
|
2007-06-05 04:51:15 +00:00
|
|
|
}
|
2002-10-17 23:06:10 +00:00
|
|
|
|
2007-11-30 04:57:57 +00:00
|
|
|
#PopupAutoCompleteRichResult {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#urlbar-rich-result-popup");
|
|
|
|
}
|
|
|
|
|
2010-09-03 02:20:12 +00:00
|
|
|
#urlbar-container[combined] > #urlbar > #urlbar-icons > #go-button,
|
2009-10-23 15:28:14 +00:00
|
|
|
#urlbar[pageproxystate="invalid"] > #urlbar-icons > .urlbar-icon:not(#go-button),
|
2010-09-03 02:20:12 +00: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 19:25:24 +00:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2013-03-27 17:01:46 +00:00
|
|
|
#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon-labels {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[pageproxystate="invalid"] > #identity-box {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 18em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-icon-country-label {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box.verifiedIdentity > #identity-icon-labels > #identity-icon-label {
|
|
|
|
-moz-margin-end: 0.25em !important;
|
|
|
|
}
|
|
|
|
|
2009-10-23 15:28:14 +00:00
|
|
|
#wrapper-search-container > #search-container > #searchbar > .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2008-01-30 07:17:45 +00:00
|
|
|
/* ::::: Unified Back-/Forward Button ::::: */
|
2009-10-23 15:28:14 +00:00
|
|
|
#back-button > .toolbarbutton-menu-dropmarker,
|
2010-10-18 19:25:04 +00:00
|
|
|
#forward-button > .toolbarbutton-menu-dropmarker {
|
2008-01-30 07:17:45 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.unified-nav-current {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2010-02-26 11:26:43 +00:00
|
|
|
toolbarbutton.bookmark-item {
|
|
|
|
max-width: 13em;
|
|
|
|
}
|
|
|
|
|
2013-05-10 15:19:48 +00:00
|
|
|
%ifdef MENUBAR_CAN_AUTOHIDE
|
|
|
|
#toolbar-menubar:not([autohide="true"]) ~ toolbar > #bookmarks-menu-button,
|
|
|
|
#toolbar-menubar:not([autohide="true"]) > #bookmarks-menu-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2009-03-25 22:18:23 +00:00
|
|
|
#editBMPanel_tagsSelector {
|
|
|
|
/* override default listbox width from xul.css */
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2010-06-16 10:00:31 +00:00
|
|
|
menupopup[emptyplacesresult="true"] > .hide-if-empty-places-result {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2005-12-05 18:18:11 +00:00
|
|
|
menuitem.spell-suggestion {
|
2007-08-12 19:18:51 +00:00
|
|
|
font-weight: bold;
|
2005-12-05 18:18:11 +00:00
|
|
|
}
|
|
|
|
|
2010-04-27 16:57:19 +00:00
|
|
|
#sidebar-header > .tabs-closebutton {
|
2006-06-26 06:50:21 +00:00
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
2006-05-29 15:38:46 +00:00
|
|
|
/* apply Fitts' law to the notification bar's close button */
|
|
|
|
window[sizemode="maximized"] #content .notification-inner {
|
2007-08-12 19:18:51 +00:00
|
|
|
border-right: 0px !important;
|
2007-04-24 16:20:24 +00:00
|
|
|
}
|
2007-08-22 21:02:02 +00:00
|
|
|
|
2007-12-15 00:23:01 +00:00
|
|
|
/* Hide extension toolbars that neglected to set the proper class */
|
|
|
|
window[chromehidden~="location"][chromehidden~="toolbar"] toolbar:not(.chromeclass-menubar),
|
2008-01-15 03:04:37 +00:00
|
|
|
window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-menubar) {
|
2007-12-15 00:23:01 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2008-01-16 02:07:17 +00:00
|
|
|
|
2008-02-04 19:37:26 +00:00
|
|
|
#navigator-toolbox ,
|
2010-09-16 08:40:32 +00:00
|
|
|
#status-bar ,
|
2008-01-16 02:07:17 +00:00
|
|
|
#mainPopupSet {
|
|
|
|
min-width: 1px;
|
|
|
|
}
|
|
|
|
|
2010-09-16 08:40:32 +00:00
|
|
|
%ifdef MOZ_SERVICES_SYNC
|
2010-09-10 17:47:57 +00:00
|
|
|
/* Sync notification UI */
|
|
|
|
#sync-notifications {
|
2012-02-28 16:03:35 +00:00
|
|
|
-moz-binding: url("chrome://browser/content/sync/notification.xml#notificationbox");
|
2010-09-10 17:47:57 +00:00
|
|
|
overflow-y: visible !important;
|
2010-09-16 08:40:32 +00:00
|
|
|
}
|
|
|
|
|
2010-09-10 17:47:57 +00:00
|
|
|
#sync-notifications notification {
|
2012-02-28 16:03:35 +00:00
|
|
|
-moz-binding: url("chrome://browser/content/sync/notification.xml#notification");
|
2010-09-16 08:40:32 +00:00
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2013-04-09 19:44:01 +00:00
|
|
|
/* History Swipe Animation */
|
|
|
|
|
|
|
|
#historySwipeAnimationContainer {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationPreviousPage,
|
|
|
|
#historySwipeAnimationCurrentPage,
|
|
|
|
#historySwipeAnimationNextPage {
|
|
|
|
background: none top left no-repeat white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationPreviousPage {
|
|
|
|
background-image: -moz-element(#historySwipeAnimationPreviousPageSnapshot);
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationCurrentPage {
|
|
|
|
background-image: -moz-element(#historySwipeAnimationCurrentPageSnapshot);
|
|
|
|
}
|
|
|
|
|
|
|
|
#historySwipeAnimationNextPage {
|
|
|
|
background-image: -moz-element(#historySwipeAnimationNextPageSnapshot);
|
|
|
|
}
|
|
|
|
|
2013-03-27 17:01:46 +00:00
|
|
|
/* Identity UI */
|
2013-06-29 03:22:41 +00:00
|
|
|
#identity-popup-content-box:not(.chromeUI) > #identity-popup-brandName,
|
|
|
|
#identity-popup-content-box:not(.chromeUI) > #identity-popup-chromeLabel,
|
|
|
|
#identity-popup-content-box.chromeUI > .identity-popup-label:not(#identity-popup-brandName):not(#identity-popup-chromeLabel),
|
|
|
|
#identity-popup-content-box.chromeUI > .identity-popup-description,
|
|
|
|
#identity-popup-content-box.chromeUI > #identity-popup-button-container,
|
2013-03-27 17:01:46 +00:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2009-09-07 21:55:01 +00:00
|
|
|
/* Full Screen UI */
|
2010-06-30 17:57:14 +00:00
|
|
|
|
2008-03-08 11:30:39 +00:00
|
|
|
#fullscr-toggler {
|
2010-06-30 08:15:36 +00:00
|
|
|
height: 1px;
|
|
|
|
background: black;
|
2008-03-08 11:30:39 +00:00
|
|
|
}
|
|
|
|
|
2011-10-28 08:28:05 +00:00
|
|
|
#full-screen-warning-container {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2011-11-13 20:53:13 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2013-05-31 22:52:48 +00:00
|
|
|
z-index: 2147483647 !important;
|
2011-10-28 08:28:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#full-screen-warning-container[fade-warning-out] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition-property: opacity !important;
|
|
|
|
transition-duration: 500ms !important;
|
2011-10-28 08:28:05 +00:00
|
|
|
opacity: 0.0;
|
|
|
|
}
|
|
|
|
|
2013-02-26 05:40:53 +00:00
|
|
|
/* When the modal fullscreen approval UI is showing, don't allow interaction
|
|
|
|
with the page, but when we're just showing the warning upon entering
|
|
|
|
fullscreen on an already approved page, do allow interaction with the page.
|
|
|
|
*/
|
|
|
|
#full-screen-warning-container:not([obscure-browser]) {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2011-10-28 08:28:05 +00:00
|
|
|
#full-screen-warning-message {
|
2012-05-08 21:47:19 +00: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 22:25:23 +00:00
|
|
|
max-width: 800px;
|
2012-05-08 21:47:19 +00: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 08:28:05 +00:00
|
|
|
}
|
|
|
|
|
2009-09-07 21:55:01 +00:00
|
|
|
#nav-bar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
|
2009-12-18 19:37:14 +00:00
|
|
|
display: -moz-box;
|
2009-09-07 21:55:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
|
2009-12-18 19:37:14 +00:00
|
|
|
display: none;
|
2008-03-08 11:30:39 +00:00
|
|
|
}
|
2008-07-15 16:11:00 +00:00
|
|
|
|
2013-02-11 12:48:32 +00:00
|
|
|
/* ::::: Ctrl-Tab Panel ::::: */
|
2008-11-06 17:33:22 +00:00
|
|
|
|
2013-02-11 12:48:32 +00:00
|
|
|
.ctrlTab-preview > html|img,
|
|
|
|
.ctrlTab-preview > html|canvas {
|
2009-07-21 04:25:59 +00:00
|
|
|
min-width: inherit;
|
|
|
|
max-width: inherit;
|
|
|
|
min-height: inherit;
|
|
|
|
max-height: inherit;
|
2008-11-05 07:38:13 +00:00
|
|
|
}
|
|
|
|
|
2013-02-11 12:48:32 +00:00
|
|
|
.ctrlTab-favicon-container {
|
2009-07-21 04:25:59 +00:00
|
|
|
-moz-box-align: start;
|
2009-07-26 07:53:04 +00:00
|
|
|
%ifdef XP_MACOSX
|
|
|
|
-moz-box-pack: end;
|
|
|
|
%else
|
2009-07-21 04:25:59 +00:00
|
|
|
-moz-box-pack: start;
|
2009-07-26 07:53:04 +00:00
|
|
|
%endif
|
2008-07-15 16:11:00 +00:00
|
|
|
}
|
2008-11-05 07:38:13 +00:00
|
|
|
|
2013-02-11 12:48:32 +00:00
|
|
|
.ctrlTab-favicon {
|
2009-07-21 04:25:59 +00:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ctrlTab-preview {
|
|
|
|
-moz-binding: url("chrome://browser/content/browser-tabPreviews.xml#ctrlTab-preview");
|
|
|
|
}
|
|
|
|
|
2010-06-25 16:05:45 +00:00
|
|
|
|
|
|
|
/* notification anchors should only be visible when their associated
|
|
|
|
notifications are */
|
|
|
|
.notification-anchor-icon {
|
2010-06-23 16:53:09 +00:00
|
|
|
-moz-user-focus: normal;
|
2010-06-25 16:05:45 +00:00
|
|
|
}
|
|
|
|
|
2012-05-03 22:33:47 +00:00
|
|
|
.notification-anchor-icon:not([showing]) {
|
|
|
|
display: none;
|
2010-06-25 16:05:45 +00:00
|
|
|
}
|
2010-08-30 16:55:17 +00:00
|
|
|
|
2012-06-13 01:16:00 +00:00
|
|
|
#notification-popup .text-link.custom-link {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2010-12-01 22:13:34 +00:00
|
|
|
#invalid-form-popup > description {
|
2010-09-11 04:10:31 +00:00
|
|
|
max-width: 280px;
|
|
|
|
}
|
|
|
|
|
2011-01-03 19:40:47 +00:00
|
|
|
#addon-progress-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#addon-progress-notification");
|
|
|
|
}
|
|
|
|
|
2012-06-13 01:16:00 +00:00
|
|
|
#identity-request-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#identity-request-notification");
|
|
|
|
}
|
|
|
|
|
2012-08-28 16:23:10 +00:00
|
|
|
#click-to-play-plugins-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#click-to-play-plugins-notification");
|
|
|
|
}
|
|
|
|
|
2013-06-24 12:51:07 +00:00
|
|
|
.plugin-popupnotification-centeritem {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#plugin-popupnotification-center-item");
|
2012-08-28 16:23:10 +00:00
|
|
|
}
|
|
|
|
|
2010-09-24 07:30:48 +00: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 07:30:21 +00:00
|
|
|
/* Remove the resizer from the statusbar compatibility shim */
|
2011-01-17 14:35:32 +00:00
|
|
|
#status-bar[hideresizer] > .statusbar-resizerpanel {
|
2010-09-24 07:30:21 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2010-11-24 03:33:00 +00:00
|
|
|
|
|
|
|
browser[tabmodalPromptShowing] {
|
|
|
|
-moz-user-focus: none !important;
|
|
|
|
}
|
2011-01-28 13:35:49 +00:00
|
|
|
|
|
|
|
/* Status panel */
|
|
|
|
|
|
|
|
statuspanel {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#statuspanel");
|
|
|
|
position: fixed;
|
|
|
|
margin-top: -3em;
|
|
|
|
left: 0;
|
2012-07-19 00:44:39 +00:00
|
|
|
max-width: calc(100% - 5px);
|
2012-01-12 21:24:44 +00:00
|
|
|
pointer-events: none;
|
2011-01-28 13:35:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
statuspanel:-moz-locale-dir(ltr)[mirror],
|
|
|
|
statuspanel:-moz-locale-dir(rtl):not([mirror]) {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2012-04-12 08:00:56 +00:00
|
|
|
statuspanel[sizelimit] {
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
|
2011-02-09 21:40:13 +00:00
|
|
|
statuspanel[type=status] {
|
2011-02-24 07:37:25 +00:00
|
|
|
min-width: 23em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (max-width: 800px) {
|
|
|
|
statuspanel[type=status] {
|
|
|
|
min-width: 33%;
|
|
|
|
}
|
2011-02-09 21:40:13 +00:00
|
|
|
}
|
|
|
|
|
2011-02-09 21:44:06 +00:00
|
|
|
statuspanel[type=overLink] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition: opacity 120ms ease-out;
|
2011-02-09 21:44:06 +00:00
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2011-09-27 07:51:56 +00:00
|
|
|
statuspanel[inactive] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition: none;
|
2011-02-03 06:48:39 +00:00
|
|
|
opacity: 0;
|
2011-01-28 13:35:49 +00:00
|
|
|
}
|
|
|
|
|
2011-09-27 07:51:56 +00:00
|
|
|
statuspanel[inactive][previoustype=overLink] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition: opacity 200ms ease-out;
|
2011-09-27 07:51:56 +00:00
|
|
|
}
|
|
|
|
|
2011-01-28 13:35:49 +00:00
|
|
|
.statuspanel-inner {
|
|
|
|
height: 3em;
|
2011-02-03 07:18:42 +00:00
|
|
|
width: 100%;
|
2011-01-28 13:35:49 +00:00
|
|
|
-moz-box-align: end;
|
|
|
|
}
|
2011-05-24 04:16:39 +00:00
|
|
|
|
|
|
|
.panel-inner-arrowcontentfooter[footertype="promobox"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#promobox");
|
|
|
|
}
|
2011-07-11 17:18:11 +00:00
|
|
|
|
2012-05-30 03:17:20 +00:00
|
|
|
/* tabview menus */
|
|
|
|
.tabview-menuitem {
|
|
|
|
max-width: 32em;
|
|
|
|
}
|
|
|
|
|
2011-07-11 17:18:11 +00:00
|
|
|
/* highlighter */
|
|
|
|
%include highlighter.css
|
2012-06-01 07:24:19 +00:00
|
|
|
|
2012-06-01 12:53:58 +00:00
|
|
|
/* gcli */
|
|
|
|
|
2012-06-01 07:24:19 +00:00
|
|
|
html|*#gcli-tooltip-frame,
|
|
|
|
html|*#gcli-output-frame,
|
|
|
|
#gcli-output,
|
|
|
|
#gcli-tooltip {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gclitoolbar-input-node,
|
2013-06-21 16:24:35 +00:00
|
|
|
.gclitoolbar-complete-node {
|
2012-06-01 07:24:19 +00:00
|
|
|
direction: ltr;
|
|
|
|
}
|
2012-06-01 12:53:58 +00:00
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
#developer-toolbar-toolbox-button[error-count] > .toolbarbutton-icon {
|
2012-07-05 15:02:28 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
#developer-toolbar-toolbox-button[error-count]:before {
|
2012-07-05 15:02:28 +00:00
|
|
|
content: attr(error-count);
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
2012-06-01 12:53:58 +00:00
|
|
|
/* Responsive Mode */
|
|
|
|
|
2012-08-30 10:23:26 +00:00
|
|
|
.browserContainer[responsivemode] {
|
2012-06-01 12:53:58 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-pack: end;
|
|
|
|
}
|
|
|
|
|
2012-08-30 10:23:26 +00:00
|
|
|
.browserStack[responsivemode] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: linear;
|
2012-06-01 12:53:58 +00:00
|
|
|
}
|
|
|
|
|
2012-08-30 10:23:26 +00:00
|
|
|
.browserStack[responsivemode] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition-property: min-width, max-width, min-height, max-height;
|
2012-06-01 12:53:58 +00:00
|
|
|
}
|
|
|
|
|
2012-08-30 10:23:26 +00:00
|
|
|
.browserStack[responsivemode][notransition] {
|
2012-07-11 02:13:55 +00:00
|
|
|
transition: none;
|
2012-06-01 12:53:58 +00:00
|
|
|
}
|
2012-08-21 00:52:26 +00:00
|
|
|
|
2013-04-08 06:53:41 +00:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""])::after {
|
2013-01-07 20:42:02 +00:00
|
|
|
content: attr(badge);
|
|
|
|
}
|
|
|
|
|
2013-04-08 06:53:41 +00:00
|
|
|
toolbarbutton[type="badged"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#toolbarbutton-badged");
|
|
|
|
}
|
|
|
|
|
2013-04-17 01:29:03 +00:00
|
|
|
/* Note the chatbox 'width' values are duplicated in socialchat.xml */
|
2012-08-21 00:52:26 +00:00
|
|
|
chatbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialchat.xml#chatbox");
|
2013-04-17 01:29:03 +00:00
|
|
|
transition: height 150ms ease-out, width 150ms ease-out;
|
|
|
|
height: 285px;
|
|
|
|
width: 260px; /* CHAT_WIDTH_OPEN in socialchat.xml */
|
|
|
|
}
|
|
|
|
|
|
|
|
chatbox[minimized="true"] {
|
|
|
|
width: 160px;
|
|
|
|
height: 20px; /* CHAT_WIDTH_MINIMIZED in socialchat.xml */
|
2012-08-21 00:52:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
chatbar {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialchat.xml#chatbar");
|
|
|
|
height: 0;
|
2013-03-05 00:32:34 +00:00
|
|
|
max-height: 0;
|
2012-08-21 00:52:26 +00:00
|
|
|
}
|
2013-05-31 22:52:48 +00:00
|
|
|
|
2013-05-14 23:41:24 +00:00
|
|
|
/** See bug 872317 for why the following rule is necessary. */
|
|
|
|
|
|
|
|
#downloads-indicator {
|
|
|
|
-moz-binding: url("chrome://browser/content/downloads/download.xml#download-toolbarbutton");
|
|
|
|
}
|
|
|
|
|
2013-05-31 22:52:48 +00:00
|
|
|
/* full screen chat window support */
|
|
|
|
chatbar:-moz-full-screen-ancestor,
|
|
|
|
chatbox:-moz-full-screen-ancestor {
|
|
|
|
border: none;
|
|
|
|
position: fixed !important;
|
|
|
|
top: 0 !important;
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
bottom: 0 !important;
|
|
|
|
width: 100% !important;
|
|
|
|
height: 100% !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
min-width: 0 !important;
|
|
|
|
max-width: none !important;
|
|
|
|
min-height: 0 !important;
|
|
|
|
max-height: none !important;
|
|
|
|
-moz-box-sizing: border-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide chat chrome when chat is fullscreen */
|
|
|
|
chatbox:-moz-full-screen-ancestor > .chat-titlebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide chatbar if browser tab is fullscreen */
|
|
|
|
*:-moz-full-screen-ancestor chatbar:not(:-moz-full-screen-ancestor) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide sidebar when fullscreen */
|
|
|
|
*:-moz-full-screen-ancestor #social-sidebar-box:not(:-moz-full-screen-ancestor) {
|
|
|
|
display: none;
|
|
|
|
}
|