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");
|
|
|
|
}
|
|
|
|
|
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,
|
|
|
|
#navigator-toolbox[customizing="true"] > #TabsToolbar > #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .tabs-newtab-button {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2010-03-16 23:36:13 -07:00
|
|
|
.tabbrowser-tab {
|
|
|
|
-moz-binding: url("chrome://browser/content/tabbrowser.xml#tabbrowser-tab");
|
2010-06-24 07:29:02 -07:00
|
|
|
-moz-box-flex: 100;
|
2010-03-16 23:36:13 -07:00
|
|
|
}
|
|
|
|
|
2010-06-14 01:10:54 -07:00
|
|
|
.tabbrowser-tab:not([fadein]) {
|
|
|
|
max-width: 1px !important;
|
|
|
|
min-width: 1px !important;
|
|
|
|
}
|
|
|
|
|
2010-06-24 07:29:02 -07:00
|
|
|
.tabbrowser-tab[fadein]:not([pinned]) {
|
2010-06-14 01:10:54 -07:00
|
|
|
-moz-transition: min-width .2s ease-out, max-width .25s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab:not([fadein]) > .tab-text,
|
|
|
|
.tabbrowser-tab:not([fadein]) > .tab-icon-image,
|
|
|
|
.tabbrowser-tab:not([fadein]) > .tab-close-button {
|
|
|
|
opacity: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab[fadein] > .tab-text,
|
|
|
|
.tabbrowser-tab[fadein] > .tab-icon-image,
|
|
|
|
.tabbrowser-tab[fadein] > .tab-close-button {
|
|
|
|
-moz-transition: opacity .25s;
|
|
|
|
}
|
|
|
|
|
2010-06-24 07:29:02 -07:00
|
|
|
.tabbrowser-tab[pinned] {
|
|
|
|
position: fixed;
|
|
|
|
-moz-box-flex: 0;
|
|
|
|
min-width: 0 !important;
|
|
|
|
max-width: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabbrowser-tab[pinned] > .tab-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox[tabsontop="true"] > #TabsToolbar {
|
|
|
|
-moz-box-ordinal-group: 10;
|
|
|
|
}
|
|
|
|
|
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-01-04 23:28:46 -08:00
|
|
|
toolbar[mode="icons"] > #reload-button:not([displaystop]) + #stop-button,
|
|
|
|
toolbar[mode="icons"] > #reload-button[displaystop] {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
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-06-13 01:20:58 -07:00
|
|
|
.split-menuitem-menu > .menu-text,
|
|
|
|
.split-menuitem-menu > .menu-accel-container {
|
|
|
|
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
|
|
|
|
2010-03-26 14:59:02 -07:00
|
|
|
/* Some child nodes want to be ordered based on the locale's direction, while
|
|
|
|
everything else should be ltr. */
|
|
|
|
#urlbar:-moz-locale-dir(rtl) > .autocomplete-textbox-container > .textbox-input-box {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar html|*.autocomplete-textbox {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* For results that are actions, their description text is shown instead of
|
|
|
|
the URL - this needs to follow the locale's direction, unlike URLs. */
|
|
|
|
richlistitem[type="action"]:-moz-locale-dir(rtl) > .ac-url-box {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urlbar:not([actiontype]) > #urlbar-display {
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
|
2008-02-25 14:30:48 -08:00
|
|
|
#urlbar-throbber:not([busy="true"]),
|
|
|
|
#urlbar-throbber[busy="true"] + #page-proxy-favicon {
|
|
|
|
display: none;
|
2008-08-18 01:55:39 -07:00
|
|
|
}
|
|
|
|
|
2008-12-18 03:25:29 -08:00
|
|
|
#feed-button > .button-box > .box-inherit > .button-text,
|
|
|
|
#feed-button > .button-box > .button-menu-dropmarker {
|
2008-12-16 23:30:37 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#feed-menu > .feed-menuitem:-moz-locale-dir(rtl) {
|
2009-07-26 09:59:55 -07:00
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2009-10-23 08:28:14 -07:00
|
|
|
#urlbar[pageproxystate="invalid"] > #urlbar-icons > .urlbar-icon:not(#go-button),
|
2010-03-03 23:13:27 -08:00
|
|
|
#urlbar[pageproxystate="valid"] > #urlbar-icons > #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-02-23 01:06:56 -08: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,
|
|
|
|
#forward-button > .toolbarbutton-menu-dropmarker,
|
|
|
|
#back-forward-dropmarker > .toolbarbutton-icon,
|
|
|
|
#back-forward-dropmarker > .toolbarbutton-text {
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
#status-bar ,
|
|
|
|
#mainPopupSet {
|
|
|
|
min-width: 1px;
|
|
|
|
}
|
|
|
|
|
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 */
|
2008-03-08 03:30:39 -08:00
|
|
|
#fullscr-toggler {
|
|
|
|
display: none;
|
|
|
|
min-height: 5px;
|
|
|
|
height: 5px;
|
|
|
|
}
|
|
|
|
|
2009-09-07 14:55:01 -07:00
|
|
|
#navigator-toolbox[inFullscreen="true"] > #fullscr-toggler,
|
|
|
|
#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
|
|
|
|
|
|
|
/* Inspector / Highlighter */
|
|
|
|
|
|
|
|
#highlighter-panel {
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-window-shadow: none;
|
|
|
|
}
|