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
|
|
|
|
2013-08-16 11:03:43 -07:00
|
|
|
#main-window:not([chromehidden~="toolbar"]) {
|
|
|
|
%ifdef XP_MACOSX
|
2014-01-14 00:12:49 -08:00
|
|
|
min-width: 335px;
|
2013-08-16 11:03:43 -07:00
|
|
|
%else
|
2014-01-14 00:12:49 -08:00
|
|
|
min-width: 300px;
|
2013-08-16 11:03:43 -07:00
|
|
|
%endif
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
searchbar {
|
|
|
|
-moz-binding: url("chrome://browser/content/search/search.xml#searchbar");
|
|
|
|
}
|
|
|
|
|
2013-08-07 10:51:56 -07:00
|
|
|
.browserStack > browser[remote="true"] {
|
2013-04-24 22:29:31 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/remote-browser.xml#remote-browser");
|
|
|
|
}
|
|
|
|
|
2013-04-30 08:00:41 -07:00
|
|
|
toolbar[customizable="true"] {
|
2013-04-14 22:34:52 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
|
2013-03-26 14:23:23 -07:00
|
|
|
}
|
|
|
|
|
2013-05-03 10:00:03 -07:00
|
|
|
%ifdef XP_MACOSX
|
2013-07-08 08:15:16 -07:00
|
|
|
#toolbar-menubar {
|
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-menubar-stub");
|
|
|
|
}
|
|
|
|
|
2013-05-03 10:00:03 -07:00
|
|
|
toolbar[customizable="true"]:not([nowindowdrag="true"]) {
|
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag");
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2013-04-30 08:00:41 -07:00
|
|
|
#toolbar-menubar[autohide="true"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-menubar-autohide");
|
2013-03-26 14:23:23 -07:00
|
|
|
}
|
|
|
|
|
2013-06-12 10:52:14 -07:00
|
|
|
#addon-bar {
|
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#addonbar-delegating");
|
|
|
|
visibility: visible;
|
|
|
|
margin: 0;
|
|
|
|
height: 0 !important;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#addonbar-closebutton {
|
|
|
|
visibility: visible;
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#status-bar {
|
|
|
|
height: 0 !important;
|
|
|
|
-moz-binding: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-05-31 13:10:10 -07:00
|
|
|
panelmultiview {
|
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/panelUI.xml#panelmultiview");
|
|
|
|
}
|
|
|
|
|
|
|
|
panelview {
|
|
|
|
-moz-binding: url("chrome://browser/content/customizableui/panelUI.xml#panelview");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-mainview {
|
|
|
|
transition: transform 150ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
panelview:not([mainview]):not([current]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-03-17 14:03:08 -07: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-03 21:15:00 -08:00
|
|
|
}
|
|
|
|
|
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;
|
2014-03-05 15:09:17 -08:00
|
|
|
max-width: 210px;
|
2010-07-05 02:40:54 -07:00
|
|
|
min-width: 100px;
|
|
|
|
width: 0;
|
2012-07-10 19:13:55 -07:00
|
|
|
transition: min-width 200ms ease-out,
|
2013-09-23 10:31:01 -07:00
|
|
|
max-width 230ms ease-out;
|
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;
|
2013-09-24 09:51:48 -07:00
|
|
|
visibility: hidden;
|
2010-06-14 01:10:54 -07:00
|
|
|
}
|
|
|
|
|
2013-11-19 01:41:49 -08:00
|
|
|
.tab-background {
|
|
|
|
/* Explicitly set the visibility to override the value (collapsed)
|
|
|
|
* we inherit from #TabsToolbar[collapsed] upon opening a browser window. */
|
|
|
|
visibility: visible;
|
2013-12-02 02:21:52 -08:00
|
|
|
/* The transition is only delayed for opening tabs. */
|
2013-11-19 01:41:49 -08:00
|
|
|
transition: visibility 0ms 25ms;
|
|
|
|
}
|
|
|
|
|
2013-12-02 02:21:52 -08:00
|
|
|
.tab-background:not([fadein]):not([pinned]) {
|
2013-11-19 01:41:49 -08:00
|
|
|
visibility: hidden;
|
2013-12-02 02:21:52 -08:00
|
|
|
/* Closing tabs are hidden without a delay. */
|
|
|
|
transition-delay: 0ms;
|
2013-11-19 01:41:49 -08:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2013-05-23 06:40:55 -07:00
|
|
|
toolbar[overflowable] > .customization-target {
|
2013-09-24 01:54:37 -07:00
|
|
|
overflow: hidden;
|
2010-04-05 23:34:27 -07:00
|
|
|
}
|
|
|
|
|
2013-08-22 04:23:35 -07:00
|
|
|
toolbar:not([overflowing]) > .overflow-button,
|
|
|
|
toolbar[customizing] > .overflow-button {
|
2013-05-23 06:40:55 -07:00
|
|
|
display: none;
|
2010-04-05 23:34:27 -07:00
|
|
|
}
|
|
|
|
|
2010-11-05 01:26:46 -07:00
|
|
|
%ifdef CAN_DRAW_IN_TITLEBAR
|
2014-02-04 13:17:00 -08:00
|
|
|
#main-window:not([chromemargin]) > #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] #titlebar-buttonbox {
|
|
|
|
position: relative;
|
|
|
|
}
|
2013-05-02 11:15:29 -07:00
|
|
|
|
|
|
|
#titlebar-buttonbox {
|
|
|
|
-moz-appearance: -moz-window-button-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
%ifdef XP_MACOSX
|
|
|
|
#titlebar-fullscreen-button {
|
|
|
|
-moz-appearance: -moz-mac-fullscreen-button;
|
|
|
|
}
|
2013-11-20 10:27:04 -08:00
|
|
|
|
|
|
|
/* Because these buttons don't move, they should always be aligned the same,
|
|
|
|
* left and right were deprecated, so we have to do work to get it to mean that: */
|
|
|
|
#titlebar-buttonbox-container:-moz-locale-dir(ltr) {
|
|
|
|
-moz-box-align: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
#titlebar-buttonbox-container:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-align: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fullscreen and caption buttons don't move with RTL on OS X so override the automatic ordering. */
|
|
|
|
#titlebar-fullscreen-button:-moz-locale-dir(ltr),
|
|
|
|
#titlebar-buttonbox-container:-moz-locale-dir(rtl),
|
|
|
|
.titlebar-placeholder[type="fullscreen-button"]:-moz-locale-dir(ltr),
|
|
|
|
.titlebar-placeholder[type="caption-buttons"]:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-ordinal-group: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
#titlebar-fullscreen-button:-moz-locale-dir(rtl),
|
|
|
|
#titlebar-buttonbox-container:-moz-locale-dir(ltr),
|
|
|
|
.titlebar-placeholder[type="caption-buttons"]:-moz-locale-dir(ltr),
|
|
|
|
.titlebar-placeholder[type="fullscreen-button"]:-moz-locale-dir(rtl) {
|
|
|
|
-moz-box-ordinal-group: 0;
|
|
|
|
}
|
|
|
|
%else
|
|
|
|
/* On non-OSX, these should be start-aligned */
|
|
|
|
#titlebar-buttonbox-container {
|
|
|
|
-moz-box-align: start;
|
|
|
|
}
|
2010-07-05 21:17:21 -07:00
|
|
|
%endif
|
|
|
|
|
2013-05-02 11:15:29 -07:00
|
|
|
%ifdef XP_WIN
|
|
|
|
#main-window[sizemode="maximized"] #titlebar-buttonbox {
|
|
|
|
-moz-appearance: -moz-window-button-box-maximized;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2010-07-05 21:17:21 -07:00
|
|
|
%endif
|
|
|
|
|
2013-10-29 09:09:19 -07:00
|
|
|
/* Rules to help integrate SDK widgets */
|
|
|
|
toolbarpaletteitem > toolbaritem[sdkstylewidget="true"] > .toolbarbutton-text {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem > toolbaritem[sdkstylewidget="true"] > iframe {
|
2009-04-30 09:42:42 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2008-01-14 19:04:37 -08:00
|
|
|
|
2014-02-07 10:11:55 -08:00
|
|
|
toolbarpaletteitem[removable="false"] {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2013-08-02 13:31:20 -07:00
|
|
|
#bookmarks-toolbar-placeholder,
|
|
|
|
toolbarpaletteitem > #personal-bookmarks > #PlacesToolbar,
|
2013-10-22 13:26:09 -07:00
|
|
|
#personal-bookmarks[cui-areatype="menu-panel"] > #PlacesToolbar,
|
2014-03-04 11:38:33 -08:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"][overflowedItem=true] > #PlacesToolbar {
|
2009-04-30 09:42:42 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2008-01-14 19:04:37 -08:00
|
|
|
|
2014-02-26 14:42:00 -08:00
|
|
|
#PlacesToolbarDropIndicatorHolder {
|
|
|
|
position: absolute;
|
|
|
|
top: 25%;
|
|
|
|
}
|
|
|
|
|
2013-08-02 13:31:20 -07:00
|
|
|
toolbarpaletteitem > #personal-bookmarks > #bookmarks-toolbar-placeholder,
|
2013-10-22 13:26:09 -07:00
|
|
|
#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder,
|
2014-03-04 11:38:33 -08:00
|
|
|
#personal-bookmarks[cui-areatype="toolbar"][overflowedItem=true] > #bookmarks-toolbar-placeholder {
|
2011-12-21 15:16:05 -08:00
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2014-03-04 11:38:33 -08:00
|
|
|
#zoom-controls[cui-areatype="toolbar"]:not([overflowedItem=true]) > #zoom-reset-button > .toolbarbutton-text {
|
2013-10-18 15:10:26 -07:00
|
|
|
display: -moz-box;
|
2010-12-06 10:05:55 -08:00
|
|
|
}
|
|
|
|
|
2013-04-24 10:26:01 -07:00
|
|
|
#urlbar-reload-button:not([displaystop]) + #urlbar-stop-button,
|
2013-07-18 09:46:28 -07:00
|
|
|
#urlbar-reload-button[displaystop] {
|
2010-01-04 23:28:46 -08:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2013-06-03 11:59:31 -07:00
|
|
|
#PanelUI-feeds > .feed-toolbarbutton:-moz-locale-dir(rtl) {
|
2010-10-15 10:57:10 -07:00
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2013-07-25 03:02:05 -07:00
|
|
|
#panelMenu_bookmarksMenu > .bookmark-item {
|
|
|
|
max-width: none;
|
2010-10-15 10:57:10 -07:00
|
|
|
}
|
|
|
|
|
2013-05-10 07:41:21 -07:00
|
|
|
#urlbar-container {
|
2014-03-07 16:15:53 -08:00
|
|
|
min-width: 50ch;
|
2013-05-10 07:41:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-container {
|
|
|
|
min-width: 25ch;
|
2010-10-15 10:57:10 -07:00
|
|
|
}
|
|
|
|
|
2014-01-30 08:33:39 -08:00
|
|
|
#urlbar,
|
|
|
|
.searchbar-textbox {
|
|
|
|
/* Setting a width and min-width to let the location & search bars maintain
|
|
|
|
a constant width in case they haven't be resized manually. (bug 965772) */
|
|
|
|
width: 1px;
|
|
|
|
min-width: 1px;
|
|
|
|
}
|
|
|
|
|
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-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");
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
|
2013-07-18 09:46:28 -07:00
|
|
|
#urlbar[pageproxystate="invalid"] > #urlbar-icons > .urlbar-icon,
|
2010-09-02 19:20:12 -07:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2013-03-27 10:01:46 -07:00
|
|
|
#urlbar[pageproxystate="invalid"] > #identity-box > #identity-icon-labels {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar[pageproxystate="invalid"] > #identity-box {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-icon-labels {
|
2014-02-26 00:08:45 -08:00
|
|
|
max-width: 18em;
|
|
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
2014-03-07 16:15:53 -08:00
|
|
|
#urlbar-container {
|
|
|
|
min-width: 45ch;
|
|
|
|
}
|
2014-02-26 00:08:45 -08:00
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 70px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
2014-03-07 16:15:53 -08:00
|
|
|
#urlbar-container {
|
|
|
|
min-width: 40ch;
|
|
|
|
}
|
2014-02-26 00:08:45 -08:00
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 60px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
2014-03-07 16:15:53 -08:00
|
|
|
#urlbar-container {
|
|
|
|
min-width: 35ch;
|
|
|
|
}
|
2014-02-26 00:08:45 -08:00
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 50px;
|
|
|
|
}
|
2013-03-27 10:01:46 -07:00
|
|
|
}
|
2014-03-07 16:15:53 -08:00
|
|
|
@media (max-width: 400px) {
|
|
|
|
#urlbar-container {
|
|
|
|
min-width: 28ch;
|
|
|
|
}
|
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 40px;
|
|
|
|
}
|
|
|
|
}
|
2013-03-27 10:01:46 -07:00
|
|
|
|
|
|
|
#identity-icon-country-label {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-box.verifiedIdentity > #identity-icon-labels > #identity-icon-label {
|
|
|
|
-moz-margin-end: 0.25em !important;
|
|
|
|
}
|
|
|
|
|
2014-01-30 08:16:00 -08:00
|
|
|
#main-window[customizing] :-moz-any(#urlbar, .searchbar-textbox) > .autocomplete-textbox-container > .textbox-input-box {
|
2009-10-23 08:28:14 -07:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2009-03-25 15:18:23 -07:00
|
|
|
#editBMPanel_tagsSelector {
|
|
|
|
/* override default listbox width from xul.css */
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2013-06-07 11:46:53 -07:00
|
|
|
/* The star doesn't make sense as text */
|
|
|
|
toolbar[mode="text"] #bookmarks-menu-button > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
toolbar[mode="text"] #bookmarks-menu-button > .toolbarbutton-menubutton-button > .toolbarbutton-text,
|
|
|
|
toolbar[mode="full"] #bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
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 ,
|
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
|
|
|
|
|
2013-04-09 12:44:01 -07: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 10:01:46 -07:00
|
|
|
/* Identity UI */
|
2013-06-28 20:22:41 -07: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,
|
2013-07-01 17:42:48 -07:00
|
|
|
#identity-popup.chromeUI > #identity-popup-button-container,
|
2013-03-27 10:01:46 -07: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 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%;
|
2013-05-31 15:52:48 -07:00
|
|
|
z-index: 2147483647 !important;
|
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;
|
|
|
|
}
|
|
|
|
|
2013-02-25 21:40:53 -08: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 01:28:05 -07:00
|
|
|
#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
|
|
|
}
|
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
|
2013-06-24 05:51:07 -07:00
|
|
|
.plugin-popupnotification-centeritem {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#plugin-popupnotification-center-item");
|
2012-08-28 09:23:10 -07:00
|
|
|
}
|
|
|
|
|
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;
|
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,
|
2013-06-21 09:24:35 -07:00
|
|
|
.gclitoolbar-complete-node {
|
2012-06-01 00:24:19 -07:00
|
|
|
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-04-07 23:53:41 -07:00
|
|
|
.toolbarbutton-badge[badge]:not([badge=""])::after {
|
2013-01-07 12:42:02 -08:00
|
|
|
content: attr(badge);
|
|
|
|
}
|
|
|
|
|
2013-04-07 23:53:41 -07:00
|
|
|
toolbarbutton[type="badged"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#toolbarbutton-badged");
|
|
|
|
}
|
|
|
|
|
2013-09-06 10:56:01 -07:00
|
|
|
toolbarbutton[type="socialmark"] {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialmarks.xml#toolbarbutton-marks");
|
|
|
|
}
|
2013-12-16 21:21:17 -08:00
|
|
|
|
|
|
|
toolbarbutton[type="badged"] > .toolbarbutton-badge-container > .toolbarbutton-icon,
|
2013-09-06 10:56:01 -07:00
|
|
|
toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
|
2013-12-16 21:21:17 -08:00
|
|
|
max-width: 16px;
|
|
|
|
}
|
|
|
|
toolbarpaletteitem[place="palette"] > toolbarbutton[type="badged"] > .toolbarbutton-badge-container > .toolbarbutton-icon {
|
|
|
|
max-width: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
panelview > .social-panel-frame {
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2013-09-06 10:56:01 -07:00
|
|
|
}
|
|
|
|
|
2013-04-16 18:29:03 -07:00
|
|
|
/* Note the chatbox 'width' values are duplicated in socialchat.xml */
|
2012-08-20 17:52:26 -07:00
|
|
|
chatbox {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialchat.xml#chatbox");
|
2013-04-16 18:29:03 -07: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-20 17:52:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
chatbar {
|
|
|
|
-moz-binding: url("chrome://browser/content/socialchat.xml#chatbar");
|
|
|
|
height: 0;
|
2013-03-04 16:32:34 -08:00
|
|
|
max-height: 0;
|
2012-08-20 17:52:26 -07:00
|
|
|
}
|
2013-05-31 15:52:48 -07:00
|
|
|
|
2013-05-14 16:41:24 -07:00
|
|
|
/** See bug 872317 for why the following rule is necessary. */
|
|
|
|
|
2013-09-18 12:32:16 -07:00
|
|
|
#downloads-button {
|
2013-05-14 16:41:24 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/downloads/download.xml#download-toolbarbutton");
|
|
|
|
}
|
|
|
|
|
2013-09-18 12:32:16 -07:00
|
|
|
/*** Visibility of downloads indicator controls ***/
|
|
|
|
|
2014-01-27 07:38:34 -08:00
|
|
|
/* Bug 924050: If we've loaded the indicator, for now we hide it in the menu panel,
|
|
|
|
and just show the icon. This is a hack to side-step very weird layout bugs that
|
|
|
|
seem to be caused by the indicator stack interacting with the menu panel. */
|
|
|
|
#downloads-button[indicator]:not([cui-areatype="menu-panel"]) > image.toolbarbutton-icon,
|
|
|
|
#downloads-button[indicator][cui-areatype="menu-panel"] > #downloads-indicator-anchor {
|
2013-09-18 12:32:16 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem[place="palette"] > #downloads-button[indicator] > image.toolbarbutton-icon {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem[place="palette"] > #downloads-button[indicator] > stack.toolbarbutton-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#downloads-button:-moz-any([progress], [counter], [paused]) #downloads-indicator-icon,
|
|
|
|
#downloads-button:not(:-moz-any([progress], [counter], [paused]))
|
|
|
|
#downloads-indicator-progress-area
|
|
|
|
{
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hacks for toolbar full and text modes, until bug 573329 removes them */
|
|
|
|
|
|
|
|
toolbar[mode="text"] > #downloads-button {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar[mode="text"] > #downloads-button > .toolbarbutton-text {
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar[mode="text"] > #downloads-button > .toolbarbutton-icon {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-box-ordinal-group: 2;
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2013-05-31 15:52:48 -07: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;
|
2014-02-04 20:36:29 -08:00
|
|
|
box-sizing: border-box !important;
|
2013-05-31 15:52:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
2013-08-25 18:34:23 -07:00
|
|
|
|
|
|
|
/* Combobox dropdown renderer */
|
|
|
|
#ContentSelectDropdown {
|
|
|
|
max-height: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contentSelectDropdown-optgroup {
|
|
|
|
font-weight: bold;
|
|
|
|
/* color: menutext used to overwrite the disabled color */
|
|
|
|
color: menutext;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contentSelectDropdown-ingroup {
|
|
|
|
-moz-margin-start: 2em;
|
|
|
|
}
|
2013-11-17 01:32:40 -08:00
|
|
|
|
2013-07-30 05:50:58 -07:00
|
|
|
/* Give this menupopup an arrow panel styling */
|
|
|
|
#BMB_bookmarksPopup {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-binding: url("chrome://browser/content/places/menu.xml#places-popup-arrow");
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
transition: opacity 300ms;
|
|
|
|
/* The popup inherits -moz-image-region from the button, must reset it */
|
|
|
|
-moz-image-region: auto;
|
|
|
|
}
|
2013-11-17 14:37:53 -08:00
|
|
|
|
2013-11-22 06:25:55 -08:00
|
|
|
/* Customize mode */
|
2014-02-25 23:07:02 -08:00
|
|
|
#navigator-toolbox,
|
2014-01-31 08:28:35 -08:00
|
|
|
#content-deck {
|
|
|
|
transition-property: margin-left, margin-right;
|
2014-03-04 08:24:01 -08:00
|
|
|
transition-duration: 200ms;
|
|
|
|
transition-timing-function: linear;
|
2013-11-22 06:25:55 -08:00
|
|
|
}
|
|
|
|
|
2014-02-25 23:07:02 -08:00
|
|
|
#tab-view-deck[fastcustomizeanimation] #navigator-toolbox,
|
2014-01-31 08:28:35 -08:00
|
|
|
#tab-view-deck[fastcustomizeanimation] #content-deck {
|
2013-11-22 06:25:55 -08:00
|
|
|
transition-duration: 1ms;
|
|
|
|
transition-timing-function: linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
#PanelUI-contents > .panel-customization-placeholder > .panel-customization-placeholder-child {
|
|
|
|
list-style-image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-panelHolder {
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-panelWrapper,
|
|
|
|
#customization-panelWrapper > .panel-arrowcontent {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-panelWrapper > .panel-arrowcontent {
|
|
|
|
padding: 0 !important;
|
2014-01-17 04:38:09 -08:00
|
|
|
overflow: hidden;
|
2013-11-22 06:25:55 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#customization-panelHolder > #PanelUI-mainView {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
/* Hack alert - by manually setting the preferred height to 0, we convince
|
|
|
|
#PanelUI-mainView to shrink when the window gets smaller in customization
|
|
|
|
mode. Not sure why that is - might have to do with our intermingling of
|
|
|
|
XUL flex, and CSS3 Flexbox. */
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-panelHolder > #PanelUI-mainView > #PanelUI-contents-scroller {
|
|
|
|
display: flex;
|
|
|
|
flex: auto;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-panel-container {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem[dragover] {
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-right-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-palette:not([hidden]) {
|
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
|
|
|
min-height: 3em;
|
|
|
|
}
|
|
|
|
|
2013-11-21 13:59:49 -08:00
|
|
|
#customization-toolbar-visibility-button > .box-inherit > .button-menu-dropmarker {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2013-11-22 06:25:55 -08:00
|
|
|
toolbarpaletteitem[place="palette"] {
|
2014-01-09 08:22:10 -08:00
|
|
|
width: 10em;
|
|
|
|
height: calc(40px + 2em);
|
|
|
|
margin-bottom: 5px;
|
2013-11-22 06:25:55 -08:00
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem[place="palette"][hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-palette .toolbarpaletteitem-box {
|
|
|
|
-moz-box-pack: center;
|
|
|
|
-moz-box-flex: 1;
|
2014-01-09 08:22:10 -08:00
|
|
|
width: 10em;
|
|
|
|
max-width: 10em;
|
2013-11-22 06:25:55 -08:00
|
|
|
}
|
|
|
|
|
2013-11-17 01:32:40 -08:00
|
|
|
/* UI Tour */
|
|
|
|
|
|
|
|
@keyframes uitour-wobble {
|
|
|
|
from {
|
|
|
|
transform: rotate(0deg) translateX(2px) rotate(0deg);
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: rotate(360deg) translateX(2px) rotate(-360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes uitour-zoom {
|
|
|
|
from {
|
2013-12-10 23:35:20 -08:00
|
|
|
transform: scale(0.8);
|
2013-11-17 01:32:40 -08:00
|
|
|
}
|
|
|
|
50% {
|
2013-12-10 23:35:20 -08:00
|
|
|
transform: scale(1.0);
|
2013-11-17 01:32:40 -08:00
|
|
|
}
|
|
|
|
to {
|
2013-12-10 23:35:20 -08:00
|
|
|
transform: scale(0.8);
|
2013-11-17 01:32:40 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes uitour-color {
|
|
|
|
from {
|
|
|
|
border-color: #5B9CD9;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
border-color: #FF0000;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
border-color: #5B9CD9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-10 23:35:20 -08:00
|
|
|
#UITourHighlightContainer,
|
2013-12-10 23:35:31 -08:00
|
|
|
#UITourHighlight {
|
2013-12-10 23:35:20 -08:00
|
|
|
pointer-events: none;
|
2013-11-17 01:32:40 -08:00
|
|
|
}
|
|
|
|
|
2013-12-10 23:35:31 -08:00
|
|
|
#UITourHighlight[active] {
|
2013-11-17 01:32:40 -08:00
|
|
|
animation-delay: 2s;
|
|
|
|
animation-fill-mode: forwards;
|
|
|
|
animation-iteration-count: infinite;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
}
|
|
|
|
|
2013-12-10 23:35:31 -08:00
|
|
|
#UITourHighlight[active="wobble"] {
|
2013-11-17 01:32:40 -08:00
|
|
|
animation-name: uitour-wobble;
|
|
|
|
animation-duration: 1s;
|
|
|
|
}
|
2013-12-10 23:35:31 -08:00
|
|
|
#UITourHighlight[active="zoom"] {
|
2013-11-17 01:32:40 -08:00
|
|
|
animation-name: uitour-zoom;
|
|
|
|
animation-duration: 1s;
|
|
|
|
}
|
2013-12-10 23:35:31 -08:00
|
|
|
#UITourHighlight[active="color"] {
|
2013-11-17 01:32:40 -08:00
|
|
|
animation-name: uitour-color;
|
|
|
|
animation-duration: 2s;
|
|
|
|
}
|