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");
|
|
|
|
}
|
|
|
|
|
2011-07-26 22:26:14 -07:00
|
|
|
#tabbrowser-tabs[drag=detach][closebuttons=hidden] > .tabbrowser-arrowscrollbox > .tabs-newtab-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;
|
|
|
|
}
|
|
|
|
|
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;
|
2010-11-26 03:43:16 -08:00
|
|
|
-moz-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;
|
|
|
|
-moz-transition: min-width 200ms ease-out,
|
|
|
|
max-width 250ms ease-out,
|
2011-01-17 23:34:29 -08:00
|
|
|
opacity 50ms ease-out 100ms /* hide the tab for the last 100ms of the max-width transition */;
|
2010-06-14 01:10:54 -07: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]) {
|
2010-06-14 01:10:54 -07:00
|
|
|
opacity: 0 !important;
|
|
|
|
}
|
|
|
|
|
2010-10-11 20:47:59 -07:00
|
|
|
.tab-throbber,
|
2010-09-15 00:28:37 -07:00
|
|
|
.tab-label,
|
|
|
|
.tab-icon-image,
|
|
|
|
.tab-close-button {
|
2010-11-26 03:43:16 -08:00
|
|
|
-moz-transition: opacity 250ms;
|
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
|
|
|
}
|
|
|
|
|
2011-07-26 22:26:14 -07:00
|
|
|
.tabbrowser-tabs[drag] > .tabbrowser-tab[selected] {
|
|
|
|
z-index: 2; /* ensure selected tab stays on top despite -moz-transform */
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs[drag] > .tabbrowser-tab[dragged] {
|
|
|
|
-moz-transition: 0s; /* suppress opening animation when reattaching tab */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* visibility: collapse might collapse the tab bar, so we use this instead */
|
|
|
|
.tabbrowser-tabs[drag=detach] > .tabbrowser-tab[dragged]:not(:only-child) {
|
|
|
|
min-width: 0 !important;
|
|
|
|
max-width: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
opacity: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
-moz-transition: max-width 150ms ease-out;
|
|
|
|
}
|
|
|
|
.tabbrowser-tabs[drag=detach] > .tabbrowser-tab[dragged]:only-child {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs[drag=move] > .tabbrowser-tab[fadein]:not([dragged]) {
|
|
|
|
-moz-transition: -moz-transform 200ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tabs[drag=finish] > .tabbrowser-tab[dragged][fadein] {
|
|
|
|
-moz-transition: -moz-transform 100ms 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
|
|
|
|
|
2009-04-30 09:42:42 -07:00
|
|
|
toolbarpaletteitem[place="palette"] > toolbaritem > hbox[type="places"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2008-01-14 19:04:37 -08:00
|
|
|
|
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
|
|
|
.uri-element-right-align:-moz-locale-dir(rtl),
|
|
|
|
html|input.uri-element-right-align:-moz-locale-dir(rtl),
|
|
|
|
.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-08 04:39:35 -07:00
|
|
|
#urlbar-throbber:not([busy="true"]),
|
|
|
|
#urlbar-throbber[busy="true"] + #page-proxy-favicon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2010-02-21 14:05:05 -08:00
|
|
|
#identity-icon-labels {
|
|
|
|
max-width: 18em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#identity-icon-country-label {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2010-09-08 04:39:35 -07:00
|
|
|
#identity-box.verifiedIdentity > #identity-box-inner > #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 {
|
2010-09-16 01:40:32 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/syncNotification.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 {
|
2010-09-16 01:40:32 -07:00
|
|
|
-moz-binding: url("chrome://browser/content/syncNotification.xml#notification");
|
|
|
|
}
|
|
|
|
%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
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
/* ::::: Keyboard UI Panel ::::: */
|
|
|
|
.KUI-panel-closebutton {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
|
2008-11-06 09:33:22 -08:00
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
.ctrlTab-preview > html|canvas,
|
|
|
|
.allTabs-preview > html|canvas {
|
|
|
|
min-width: inherit;
|
|
|
|
max-width: inherit;
|
|
|
|
min-height: inherit;
|
|
|
|
max-height: inherit;
|
2008-11-04 23:38:13 -08:00
|
|
|
}
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
.ctrlTab-favicon-container,
|
|
|
|
.allTabs-favicon-container {
|
|
|
|
-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
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
.ctrlTab-favicon,
|
|
|
|
.allTabs-favicon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: Ctrl-Tab Panel ::::: */
|
|
|
|
.ctrlTab-preview {
|
|
|
|
-moz-binding: url("chrome://browser/content/browser-tabPreviews.xml#ctrlTab-preview");
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: All Tabs Panel ::::: */
|
|
|
|
.allTabs-preview {
|
|
|
|
-moz-binding: url("chrome://browser/content/browser-tabPreviews.xml#allTabs-preview");
|
|
|
|
}
|
|
|
|
|
|
|
|
#allTabs-tab-close-button {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
|
|
|
|
margin: 0;
|
2008-11-04 23:38:13 -08:00
|
|
|
}
|
2010-05-13 13:38:21 -07:00
|
|
|
|
2010-06-25 09:05:45 -07:00
|
|
|
|
|
|
|
/* notification anchors should only be visible when their associated
|
|
|
|
notifications are */
|
|
|
|
.notification-anchor-icon {
|
|
|
|
display: none;
|
2010-06-23 09:53:09 -07:00
|
|
|
-moz-user-focus: normal;
|
2010-06-25 09:05:45 -07:00
|
|
|
}
|
|
|
|
|
2011-01-18 14:57:40 -08:00
|
|
|
/* We use the iconBox as the notification anchor when a popup notification is
|
|
|
|
created with a null anchorID, so in that case use a default anchor icon. */
|
|
|
|
#notification-popup-box[anchorid="notification-popup-box"] > #default-notification-icon,
|
2010-07-01 09:23:11 -07:00
|
|
|
#notification-popup-box[anchorid="geo-notification-icon"] > #geo-notification-icon,
|
2010-09-09 15:15:40 -07:00
|
|
|
#notification-popup-box[anchorid="indexedDB-notification-icon"] > #indexedDB-notification-icon,
|
2010-09-09 19:08:26 -07:00
|
|
|
#notification-popup-box[anchorid="addons-notification-icon"] > #addons-notification-icon,
|
|
|
|
#notification-popup-box[anchorid="password-notification-icon"] > #password-notification-icon {
|
2010-06-25 09:05:45 -07:00
|
|
|
display: -moz-box;
|
|
|
|
}
|
2010-08-30 09:55:17 -07:00
|
|
|
|
2010-12-01 14:13:34 -08:00
|
|
|
#invalid-form-popup > description {
|
2010-09-10 21:10:31 -07:00
|
|
|
max-width: 280px;
|
|
|
|
}
|
|
|
|
|
2010-08-30 09:55:17 -07:00
|
|
|
#geolocation-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#geolocation-notification");
|
|
|
|
}
|
2010-09-24 00:30:21 -07:00
|
|
|
|
2011-01-03 11:40:47 -08:00
|
|
|
#addon-progress-notification {
|
|
|
|
-moz-binding: url("chrome://browser/content/urlbarBindings.xml#addon-progress-notification");
|
|
|
|
}
|
|
|
|
|
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;
|
2011-02-02 22:48:39 -08:00
|
|
|
max-width: 50%;
|
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;
|
|
|
|
}
|
|
|
|
|
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] {
|
2011-09-27 00:51:56 -07:00
|
|
|
-moz-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] {
|
2011-02-02 23:18:42 -08:00
|
|
|
-moz-transition: none;
|
2011-02-02 22:48:39 -08:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
2011-01-28 05:35:49 -08:00
|
|
|
}
|
|
|
|
|
2011-09-27 00:51:56 -07:00
|
|
|
statuspanel[inactive][previoustype=overLink] {
|
|
|
|
-moz-transition: opacity 200ms ease-out;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2011-09-20 02:59:13 -07:00
|
|
|
.styleInspector {
|
|
|
|
min-width: 350px;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
|
|
|
/* highlighter */
|
|
|
|
%include highlighter.css
|