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/. */
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
|
|
|
|
a particular application should be in that application's style sheet.
|
|
|
|
For example style definitions for navigator can be found in navigator.css
|
|
|
|
|
|
|
|
THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
|
2008-03-10 17:19:04 -07:00
|
|
|
CHANGES REVIEWED BY enndeakin@sympatico.ca
|
2007-03-22 10:30:00 -07:00
|
|
|
**/
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
|
|
|
|
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
|
|
|
|
@namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
|
|
|
|
|
|
|
|
* {
|
|
|
|
-moz-user-focus: ignore;
|
2013-01-08 15:45:24 -08:00
|
|
|
-moz-user-select: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
display: -moz-box;
|
2009-04-27 14:18:37 -07:00
|
|
|
-moz-box-sizing: border-box;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2007-09-18 19:59:13 -07:00
|
|
|
:root {
|
|
|
|
text-rendering: optimizeLegibility;
|
2009-09-04 03:58:18 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#root-element");
|
2007-09-18 19:59:13 -07:00
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
:root:-moz-locale-dir(rtl) {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/* hide the content and destroy the frame */
|
2008-08-12 23:11:52 -07:00
|
|
|
[hidden="true"] {
|
2007-03-22 10:30:00 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide the content, but don't destroy the frames */
|
2012-06-04 17:02:04 -07:00
|
|
|
[collapsed="true"],
|
2008-08-12 23:11:52 -07:00
|
|
|
[moz-collapsed="true"] {
|
2007-03-22 10:30:00 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ::::::::::
|
|
|
|
:: Rules for 'hiding' portions of the chrome for special
|
|
|
|
:: kinds of windows (not JUST browser windows) with toolbars
|
|
|
|
::::: */
|
|
|
|
|
2007-11-15 14:08:00 -08:00
|
|
|
window[chromehidden~="menubar"] .chromeclass-menubar,
|
2007-03-22 10:30:00 -07:00
|
|
|
window[chromehidden~="directories"] .chromeclass-directories,
|
|
|
|
window[chromehidden~="status"] .chromeclass-status,
|
|
|
|
window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
|
|
|
|
window[chromehidden~="location"] .chromeclass-location,
|
|
|
|
window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
|
2008-08-12 23:11:52 -07:00
|
|
|
window[chromehidden~="toolbar"] .chromeclass-toolbar-additional {
|
2007-03-22 10:30:00 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::::::::
|
|
|
|
:: Rules for forcing direction for entry and display of URIs
|
|
|
|
:: or URI elements
|
|
|
|
::::: */
|
|
|
|
|
2008-08-12 23:11:52 -07:00
|
|
|
.uri-element {
|
2007-03-22 10:30:00 -07:00
|
|
|
direction: ltr !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/****** elements that have no visual representation ******/
|
|
|
|
|
|
|
|
script, data,
|
|
|
|
xbl|children,
|
|
|
|
commands, commandset, command,
|
|
|
|
broadcasterset, broadcaster, observes,
|
|
|
|
keyset, key, toolbarpalette, toolbarset,
|
2012-06-04 17:02:04 -07:00
|
|
|
template, rule, conditions, action,
|
2007-03-22 10:30:00 -07:00
|
|
|
bindings, binding, content, member, triple,
|
|
|
|
treechildren, treeitem, treeseparator, treerow, treecell {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** focus rules **********/
|
|
|
|
|
|
|
|
button,
|
|
|
|
checkbox,
|
|
|
|
colorpicker[type="button"],
|
|
|
|
datepicker[type="grid"],
|
|
|
|
menulist,
|
|
|
|
radiogroup,
|
|
|
|
tree,
|
|
|
|
browser,
|
|
|
|
editor,
|
|
|
|
iframe {
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist[editable="true"] {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** window & page ******/
|
|
|
|
|
2012-06-04 17:02:04 -07:00
|
|
|
window,
|
2007-03-22 10:30:00 -07:00
|
|
|
page {
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** box *******/
|
|
|
|
|
|
|
|
vbox {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
bbox {
|
|
|
|
-moz-box-align: baseline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** button **********/
|
|
|
|
|
|
|
|
button {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#button");
|
|
|
|
}
|
|
|
|
|
|
|
|
button[type="repeat"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#button-repeat");
|
|
|
|
}
|
|
|
|
|
2009-01-20 09:46:55 -08:00
|
|
|
button[type="menu"], button[type="panel"] {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
button[type="menu-button"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
|
|
|
|
}
|
|
|
|
|
2012-06-15 23:06:10 -07:00
|
|
|
%ifdef MOZ_WIDGET_GTK
|
2009-10-06 07:20:59 -07:00
|
|
|
/********* detection of system setting to use icons in buttons ***********/
|
2010-01-07 00:43:41 -08:00
|
|
|
button[label]:not([label=""]) > .button-box > .button-icon:not(:-moz-system-metric(images-in-buttons)),
|
|
|
|
button[label]:not([label=""]) > .button-box > .box-inherit > .button-icon:not(:-moz-system-metric(images-in-buttons)) {
|
2009-10-06 07:20:59 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********** toolbarbutton **********/
|
|
|
|
|
|
|
|
toolbarbutton {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
|
|
|
|
}
|
|
|
|
|
2009-02-22 01:13:59 -08:00
|
|
|
toolbarbutton[type="menu"],
|
|
|
|
toolbarbutton[type="panel"] {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton[type="menu-button"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-button");
|
|
|
|
}
|
|
|
|
|
2009-02-22 01:13:59 -08:00
|
|
|
toolbar[mode="icons"] .toolbarbutton-text,
|
|
|
|
toolbar[mode="text"] .toolbarbutton-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/******** browser, editor, iframe ********/
|
|
|
|
|
|
|
|
browser,
|
|
|
|
editor,
|
|
|
|
iframe {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
browser {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
|
|
|
|
}
|
|
|
|
|
|
|
|
editor {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** notifications **********/
|
|
|
|
|
|
|
|
notificationbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/notification.xml#notificationbox");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
2011-10-05 08:20:02 -07:00
|
|
|
.notificationbox-stack {
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
notification {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/notification.xml#notification");
|
2012-07-10 18:35:26 -07:00
|
|
|
transition: margin-top 300ms, opacity 300ms;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2010-04-09 10:45:25 -07:00
|
|
|
/*********** popup notification ************/
|
|
|
|
popupnotification {
|
2012-08-28 09:23:10 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/notification.xml#popup-notification");
|
2010-04-09 10:45:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton:not([label]) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********** image **********/
|
|
|
|
|
|
|
|
image {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#image");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** checkbox **********/
|
|
|
|
|
|
|
|
checkbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** radio **********/
|
|
|
|
|
|
|
|
radiogroup {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/radio.xml#radiogroup");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
radio {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** groupbox *********/
|
|
|
|
|
|
|
|
groupbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/groupbox.xml#groupbox");
|
|
|
|
display: -moz-groupbox;
|
|
|
|
}
|
|
|
|
|
|
|
|
caption {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/groupbox.xml#caption");
|
|
|
|
}
|
|
|
|
|
|
|
|
.groupbox-body {
|
|
|
|
-moz-box-pack: inherit;
|
|
|
|
-moz-box-align: inherit;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******* toolbar *******/
|
|
|
|
|
2012-06-04 17:02:04 -07:00
|
|
|
toolbox {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbox");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
2012-06-04 17:02:04 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
toolbar {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
|
|
|
|
}
|
|
|
|
|
2010-11-22 02:21:43 -08:00
|
|
|
toolbar[customizing="true"][collapsed="true"] {
|
2010-05-27 02:01:31 -07:00
|
|
|
/* Some apps, e.g. Firefox, use 'collapsed' to hide toolbars.
|
|
|
|
Override it while customizing. */
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
2010-11-22 02:21:43 -08:00
|
|
|
toolbar[customizing="true"][hidden="true"] {
|
2010-05-27 02:01:31 -07:00
|
|
|
/* Some apps, e.g. SeaMonkey, use 'hidden' to hide toolbars.
|
|
|
|
Override it while customizing. */
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
%ifdef XP_MACOSX
|
|
|
|
toolbar[type="menubar"] {
|
|
|
|
min-height: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
2010-11-12 02:01:00 -08:00
|
|
|
%else
|
2009-06-12 23:03:02 -07:00
|
|
|
toolbar[type="menubar"][autohide="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-menubar-autohide");
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2010-11-22 02:21:43 -08:00
|
|
|
toolbar[type="menubar"][autohide="true"][inactive="true"]:not([customizing="true"]) {
|
2009-06-12 23:03:02 -07:00
|
|
|
min-height: 0 !important;
|
|
|
|
height: 0 !important;
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
border-style: none !important;
|
|
|
|
}
|
2007-03-22 10:30:00 -07:00
|
|
|
%endif
|
|
|
|
|
|
|
|
toolbarseparator {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarspacer {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarspring {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
|
|
|
|
-moz-box-flex: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem");
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarpaletteitem[place="palette"] {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem-palette");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********* menubar ***********/
|
|
|
|
|
|
|
|
menubar {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********* menu ***********/
|
|
|
|
|
|
|
|
menubar > menu {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar");
|
|
|
|
}
|
|
|
|
|
|
|
|
menubar > menu.menu-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
menu {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu");
|
|
|
|
}
|
2012-06-04 17:02:04 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
menu.menu-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic");
|
|
|
|
}
|
|
|
|
|
2008-02-21 09:40:12 -08:00
|
|
|
menubar > menu:empty {
|
2007-03-22 10:30:00 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********* menuitem ***********/
|
|
|
|
|
|
|
|
menuitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem.menuitem-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem[description] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-desc-noaccel");
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem[type="checkbox"],
|
|
|
|
menuitem[type="radio"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem.menuitem-non-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menubutton-item");
|
|
|
|
}
|
|
|
|
|
2012-06-15 23:06:10 -07:00
|
|
|
%ifdef MOZ_WIDGET_GTK
|
2008-02-20 02:12:33 -08:00
|
|
|
/********* detection of system setting to use icons in menus ***********/
|
2010-03-24 02:17:40 -07:00
|
|
|
@media not all and (-moz-images-in-menus) {
|
2011-01-22 03:21:53 -08:00
|
|
|
.menu-iconic-left {
|
2010-03-24 02:17:40 -07:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
2011-01-22 03:21:53 -08:00
|
|
|
:-moz-any(menuitem[type], .menuitem-with-favicon) > .menu-iconic-left {
|
|
|
|
visibility: visible;
|
2010-03-24 02:17:40 -07:00
|
|
|
}
|
2008-02-20 02:12:33 -08:00
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********* menuseparator ***********/
|
|
|
|
|
|
|
|
menuseparator {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuseparator");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********* popup & menupopup ***********/
|
|
|
|
|
2012-06-04 17:02:04 -07:00
|
|
|
/* <popup> is deprecated. Only <menupopup> and <tooltip> are still valid. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
popup,
|
|
|
|
menupopup {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#popup");
|
|
|
|
-moz-box-orient: vertical;
|
2007-07-04 08:49:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
panel {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#panel");
|
|
|
|
-moz-box-orient: vertical;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
popup,
|
|
|
|
menupopup,
|
2007-07-04 08:49:38 -07:00
|
|
|
panel,
|
2007-03-22 10:30:00 -07:00
|
|
|
tooltip {
|
2007-06-29 15:15:59 -07:00
|
|
|
display: -moz-popup;
|
2008-11-07 13:41:28 -08:00
|
|
|
z-index: 2147483647;
|
|
|
|
text-shadow: none;
|
2007-06-29 15:15:59 -07:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
tooltip {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
|
2007-07-05 12:11:36 -07:00
|
|
|
-moz-box-orient: vertical;
|
2008-03-08 01:44:35 -08:00
|
|
|
white-space: pre-wrap;
|
2007-03-22 10:30:00 -07:00
|
|
|
margin-top: 21px;
|
|
|
|
}
|
|
|
|
|
2010-10-13 12:41:37 -07:00
|
|
|
panel[type="arrow"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#arrowpanel");
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
%ifdef XP_MACOSX
|
|
|
|
.statusbar-resizerpanel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
%else
|
|
|
|
window[sizemode="maximized"] statusbarpanel.statusbar-resizerpanel {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
/******** grid **********/
|
|
|
|
|
|
|
|
grid {
|
|
|
|
display: -moz-grid;
|
|
|
|
}
|
|
|
|
|
2012-06-04 17:02:04 -07:00
|
|
|
rows,
|
2007-03-22 10:30:00 -07:00
|
|
|
columns {
|
|
|
|
display: -moz-grid-group;
|
|
|
|
}
|
|
|
|
|
|
|
|
row,
|
|
|
|
column {
|
|
|
|
display: -moz-grid-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
rows {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
column {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** listbox **********/
|
|
|
|
|
|
|
|
listbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
listhead {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listhead");
|
|
|
|
}
|
|
|
|
|
|
|
|
listrows {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listrows");
|
|
|
|
}
|
|
|
|
|
|
|
|
listitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem");
|
|
|
|
}
|
|
|
|
|
|
|
|
listitem[type="checkbox"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
listheader {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listheader");
|
|
|
|
-moz-box-ordinal-group: 2147483646;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcell {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell");
|
|
|
|
}
|
|
|
|
|
|
|
|
listcell[type="checkbox"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
.listitem-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
listitem[type="checkbox"].listitem-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
.listcell-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
listcell[type="checkbox"].listcell-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
listbox {
|
|
|
|
display: -moz-grid;
|
|
|
|
}
|
|
|
|
|
|
|
|
listbox[rows] {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcols, listhead, listrows, listboxbody {
|
|
|
|
display: -moz-grid-group;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcol, listitem, listheaditem {
|
|
|
|
display: -moz-grid-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
listbox {
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
min-width: 0px;
|
|
|
|
min-height: 0px;
|
|
|
|
width: 200px;
|
|
|
|
height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
listhead {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
listrows {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
listboxbody {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
/* Don't permit a horizontal scrollbar. See bug 285449 */
|
|
|
|
overflow-x: hidden !important;
|
|
|
|
overflow-y: auto;
|
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcol {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
min-width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcell {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** tree ******/
|
|
|
|
|
|
|
|
tree {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#tree");
|
|
|
|
}
|
|
|
|
|
|
|
|
treecols {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treecols");
|
|
|
|
}
|
|
|
|
|
|
|
|
treecol {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treecol");
|
|
|
|
-moz-box-ordinal-group: 2147483646;
|
|
|
|
}
|
|
|
|
|
|
|
|
treecol.treecol-image {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image");
|
|
|
|
}
|
|
|
|
|
|
|
|
tree > treechildren {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treebody");
|
|
|
|
-moz-user-select: none;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
treerows {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treerows");
|
|
|
|
}
|
|
|
|
|
|
|
|
treecolpicker {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#columnpicker");
|
|
|
|
}
|
|
|
|
|
|
|
|
tree {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
min-width: 0px;
|
|
|
|
min-height: 0px;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tree[hidecolumnpicker="true"] > treecols > treecolpicker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
treecol {
|
|
|
|
min-width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
treecol[hidden="true"] {
|
|
|
|
visibility: collapse;
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-scrollable-columns {
|
|
|
|
/* Yes, Virginia, this makes it scrollable */
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2008-06-11 01:46:05 -07:00
|
|
|
/* ::::: lines connecting cells ::::: */
|
|
|
|
tree:not([treelines="true"]) > treechildren::-moz-tree-line {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2009-02-27 10:37:59 -08:00
|
|
|
treechildren::-moz-tree-cell(ltr) {
|
|
|
|
direction: ltr !important;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********** deck & stack *********/
|
|
|
|
|
|
|
|
deck {
|
|
|
|
display: -moz-deck;
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#deck");
|
|
|
|
}
|
|
|
|
|
|
|
|
stack, bulletinboard {
|
|
|
|
display: -moz-stack;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** tabbox *********/
|
|
|
|
|
|
|
|
tabbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabs {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
tab {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
2012-05-04 16:32:34 -07:00
|
|
|
tab[selected="true"]:not([ignorefocus="true"]) {
|
2009-06-15 06:43:34 -07:00
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
tabpanels {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
|
|
|
|
display: -moz-deck;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** progressmeter **********/
|
|
|
|
|
|
|
|
progressmeter {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** basic rule for anonymous content that needs to pass box properties through
|
|
|
|
********** to an insertion point parent that holds the real kids **************/
|
|
|
|
|
2008-08-12 23:11:52 -07:00
|
|
|
.box-inherit {
|
|
|
|
-moz-box-orient: inherit;
|
|
|
|
-moz-box-pack: inherit;
|
|
|
|
-moz-box-align: inherit;
|
|
|
|
-moz-box-direction: inherit;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** label **********/
|
|
|
|
|
|
|
|
description {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-base");
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
|
|
|
|
}
|
|
|
|
|
|
|
|
label.text-link, label[onclick] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[control], label.radio-label, label.checkbox-label {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
|
|
|
|
}
|
|
|
|
|
|
|
|
html|span.accesskey {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** textbox **********/
|
|
|
|
|
|
|
|
textbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
|
|
|
|
-moz-user-select: text;
|
2008-11-11 23:07:16 -08:00
|
|
|
text-shadow: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
textbox[multiline="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#textarea");
|
|
|
|
}
|
|
|
|
|
|
|
|
.textbox-input-box {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box");
|
|
|
|
}
|
|
|
|
|
2010-03-19 04:49:34 -07:00
|
|
|
html|textarea.textbox-textarea {
|
2010-07-05 07:41:04 -07:00
|
|
|
resize: none;
|
2010-03-19 04:49:34 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
textbox[resizable="true"] > .textbox-input-box > html|textarea.textbox-textarea {
|
2010-07-05 07:41:04 -07:00
|
|
|
resize: both;
|
2010-03-19 04:49:34 -07:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.textbox-input-box[spellcheck="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box-spell");
|
|
|
|
}
|
|
|
|
|
|
|
|
textbox[type="timed"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#timed-textbox");
|
|
|
|
}
|
|
|
|
|
2008-08-05 10:42:30 -07:00
|
|
|
textbox[type="search"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#search-textbox");
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
textbox[type="number"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/numberbox.xml#numberbox");
|
|
|
|
}
|
|
|
|
|
2009-07-29 11:33:53 -07:00
|
|
|
.textbox-contextmenu:-moz-locale-dir(rtl) {
|
2009-01-14 08:56:33 -08:00
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********** autocomplete textbox **********/
|
|
|
|
|
|
|
|
/* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
|
|
|
|
|
|
|
|
%ifdef MOZ_THUNDERBIRD
|
|
|
|
%define AUTOCOMPLETE_OLD_STYLE
|
|
|
|
%elifdef MOZ_STANDALONE_COMPOSER
|
|
|
|
%define AUTOCOMPLETE_OLD_STYLE
|
|
|
|
%elifdef MOZ_SUITE
|
|
|
|
%define AUTOCOMPLETE_OLD_STYLE
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifdef AUTOCOMPLETE_OLD_STYLE
|
|
|
|
|
|
|
|
textbox[type="autocomplete"] {
|
|
|
|
-moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete");
|
|
|
|
}
|
|
|
|
|
2007-07-28 16:07:41 -07:00
|
|
|
panel[type="autocomplete"] {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete-result-popup");
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-history-popup {
|
|
|
|
-moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete-history-popup");
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody {
|
|
|
|
-moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete-treebody");
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-history-dropmarker {
|
|
|
|
-moz-binding: url("chrome://global/content/autocomplete.xml#history-dropmarker");
|
|
|
|
}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
textbox[type="autocomplete"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete");
|
|
|
|
}
|
|
|
|
|
2007-07-04 08:49:38 -07:00
|
|
|
panel[type="autocomplete"] {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup");
|
|
|
|
}
|
|
|
|
|
2008-03-12 09:29:30 -07:00
|
|
|
panel[type="autocomplete-richlistbox"] {
|
2007-11-29 20:57:57 -08:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-rich-result-popup");
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
/* FIXME: bug 616258 */
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.autocomplete-tree {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-tree");
|
2007-11-27 10:53:55 -08:00
|
|
|
-moz-user-focus: ignore;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treebody");
|
|
|
|
}
|
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
.autocomplete-richlistbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistbox");
|
|
|
|
-moz-user-focus: ignore;
|
2008-02-13 02:57:08 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-richlistbox > scrollbox {
|
|
|
|
overflow-x: hidden !important;
|
2007-11-29 20:57:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-richlistitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistitem");
|
2008-02-13 02:57:08 -08:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
2007-11-29 20:57:57 -08:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.autocomplete-treerows {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treerows");
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-history-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-history-dropmarker[enablehistory="true"] {
|
|
|
|
display: -moz-box;
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
|
|
|
|
}
|
|
|
|
|
2010-12-10 18:32:14 -08:00
|
|
|
.ac-ellipsis-after {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ac-url-text[type~="action"],
|
|
|
|
.ac-action-text:not([type~="action"]) {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* the C++ implementation of widgets is too eager to make popups visible.
|
|
|
|
this causes problems (bug 120155 and others), thus this workaround: */
|
|
|
|
popup[type="autocomplete"][hidden="true"] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2012-06-04 17:02:04 -07:00
|
|
|
/* The following rule is here to fix bug 96899 (and now 117952).
|
2007-03-22 10:30:00 -07:00
|
|
|
Somehow trees create a situation
|
|
|
|
in which a popupset flows itself as if its popup child is directly within it
|
|
|
|
instead of the placeholder child that should actually be inside the popupset.
|
|
|
|
This is a stopgap measure, and it does not address the real bug. */
|
|
|
|
.autocomplete-result-popupset {
|
|
|
|
max-width: 0px;
|
|
|
|
width: 0 !important;
|
2009-05-12 02:15:15 -07:00
|
|
|
min-width: 0%;
|
|
|
|
min-height: 0%;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** colorpicker **********/
|
|
|
|
|
|
|
|
colorpicker {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker");
|
|
|
|
}
|
|
|
|
|
|
|
|
colorpicker[type="button"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker-button");
|
|
|
|
}
|
|
|
|
|
|
|
|
.colorpickertile {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpickertile");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** menulist **********/
|
|
|
|
|
|
|
|
menulist {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist");
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist[editable="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-editable");
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist[type="description"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-description");
|
|
|
|
}
|
|
|
|
|
|
|
|
menulist > menupopup > menuitem {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel");
|
|
|
|
}
|
|
|
|
|
|
|
|
dropmarker {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
|
|
|
|
}
|
|
|
|
|
2009-01-18 02:28:19 -08:00
|
|
|
/********** resizer **********/
|
|
|
|
|
|
|
|
resizer {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/resizer.xml#resizer");
|
2011-02-10 14:38:37 -08:00
|
|
|
position: relative;
|
|
|
|
z-index: 2147483647;
|
2009-01-18 02:28:19 -08:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********** splitter **********/
|
|
|
|
|
|
|
|
splitter {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
|
|
|
|
}
|
|
|
|
|
|
|
|
grippy {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-splitter {
|
|
|
|
width: 0px;
|
|
|
|
max-width: 0px;
|
|
|
|
min-width: 0% ! important;
|
|
|
|
min-height: 0% ! important;
|
|
|
|
-moz-box-ordinal-group: 2147483646;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** scrollbar **********/
|
|
|
|
|
|
|
|
/* Scrollbars are never flipped even if BiDI kicks in. */
|
|
|
|
scrollbar {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
thumb {
|
|
|
|
-moz-binding: url(chrome://global/content/bindings/scrollbar.xml#thumb);
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scale-thumb {
|
|
|
|
-moz-binding: url(chrome://global/content/bindings/scale.xml#scalethumb);
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollbar, scrollbarbutton, scrollcorner, slider, thumb, scale {
|
|
|
|
-moz-user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollcorner {
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollcorner[hidden="true"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollbar[value="hidden"] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
scale {
|
|
|
|
-moz-binding: url(chrome://global/content/bindings/scale.xml#scale);
|
|
|
|
}
|
|
|
|
|
|
|
|
.scale-slider {
|
|
|
|
-moz-binding: url(chrome://global/content/bindings/scale.xml#scaleslider);
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
2007-11-19 12:08:20 -08:00
|
|
|
scrollbarbutton[sbattr="scrollbar-up-top"]:not(:-moz-system-metric(scrollbar-start-backward)),
|
|
|
|
scrollbarbutton[sbattr="scrollbar-down-top"]:not(:-moz-system-metric(scrollbar-start-forward)),
|
|
|
|
scrollbarbutton[sbattr="scrollbar-up-bottom"]:not(:-moz-system-metric(scrollbar-end-backward)),
|
|
|
|
scrollbarbutton[sbattr="scrollbar-down-bottom"]:not(:-moz-system-metric(scrollbar-end-forward)) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
thumb[sbattr="scrollbar-thumb"]:-moz-system-metric(scrollbar-thumb-proportional) {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/******** scrollbox ********/
|
|
|
|
|
|
|
|
scrollbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#scrollbox");
|
|
|
|
/* This makes it scrollable! */
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
arrowscrollbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox");
|
|
|
|
}
|
|
|
|
|
|
|
|
arrowscrollbox[clicktoscroll="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox-clicktoscroll");
|
|
|
|
}
|
|
|
|
|
|
|
|
autorepeatbutton {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#autorepeatbutton");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** statusbar **********/
|
|
|
|
|
2008-08-12 23:11:52 -07:00
|
|
|
statusbar {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
|
|
|
|
%ifdef XP_MACOSX
|
|
|
|
padding-right: 14px;
|
|
|
|
%endif
|
|
|
|
}
|
|
|
|
|
|
|
|
statusbarpanel {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel");
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusbarpanel-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusbarpanel-iconic-text {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic-text");
|
|
|
|
}
|
|
|
|
|
|
|
|
.statusbarpanel-menu-iconic {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-menu-iconic");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** spinbuttons ***********/
|
|
|
|
|
|
|
|
spinbuttons {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/spinbuttons.xml#spinbuttons");
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinbuttons-button {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** stringbundle **********/
|
|
|
|
|
|
|
|
stringbundleset {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundleset");
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
stringbundle {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundle");
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** dialog **********/
|
|
|
|
|
2009-09-04 03:58:18 -07:00
|
|
|
dialog,
|
|
|
|
dialog:root /* override :root from above */ {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/dialog.xml#dialog");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialogheader {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/dialog.xml#dialogheader");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********* page ************/
|
|
|
|
|
|
|
|
page {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** wizard **********/
|
|
|
|
|
2009-09-04 03:58:18 -07:00
|
|
|
wizard,
|
|
|
|
wizard:root /* override :root from above */ {
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
width: 40em;
|
|
|
|
height: 30em;
|
|
|
|
}
|
|
|
|
|
|
|
|
wizardpage {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizardpage");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-header {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-header");
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-buttons {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-buttons");
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** preferences ********/
|
|
|
|
|
2009-09-04 03:58:18 -07:00
|
|
|
prefwindow,
|
|
|
|
prefwindow:root /* override :root from above */ {
|
2012-06-04 17:02:04 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#prefwindow");
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefpane {
|
2012-06-04 17:02:04 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#prefpane");
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefwindow > .paneDeckContainer {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefpane > .content-box {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2008-04-17 18:49:19 -07:00
|
|
|
prefwindow[type="child"] > .paneDeckContainer {
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
prefwindow[type="child"] > prefpane > .content-box {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
overflow: -moz-hidden-unscrollable;
|
|
|
|
}
|
|
|
|
|
|
|
|
preferences {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#preferences");
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
preference {
|
2012-06-04 17:02:04 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#preference");
|
2007-03-22 10:30:00 -07:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
radio[pane] {
|
2012-06-04 17:02:04 -07:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#panebutton") !important;
|
2007-03-22 10:30:00 -07:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
2008-08-12 23:11:52 -07:00
|
|
|
prefwindow[chromehidden~="toolbar"] .chromeclass-toolbar {
|
2007-03-22 10:30:00 -07:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** expander ********/
|
|
|
|
|
|
|
|
expander {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/expander.xml#expander");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/********** Rich Listbox ********/
|
|
|
|
|
|
|
|
richlistbox {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistbox');
|
|
|
|
-moz-user-focus: normal;
|
2007-10-11 15:43:31 -07:00
|
|
|
-moz-box-orient: vertical;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
richlistitem {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistitem');
|
|
|
|
}
|
|
|
|
|
2007-10-11 15:43:31 -07:00
|
|
|
richlistbox > listheader {
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
/********** datepicker and timepicker ********/
|
|
|
|
|
|
|
|
datepicker {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker');
|
|
|
|
}
|
|
|
|
|
|
|
|
datepicker[type="popup"] {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker-popup');
|
|
|
|
}
|
|
|
|
|
|
|
|
datepicker[type="grid"] {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker-grid');
|
|
|
|
}
|
|
|
|
|
|
|
|
timepicker {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#timepicker');
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*********** findbar ************/
|
|
|
|
findbar {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/findbar.xml#findbar');
|
|
|
|
}
|
2008-10-09 16:04:06 -07:00
|
|
|
|
2009-03-05 04:39:39 -08:00
|
|
|
.findbar-textbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/findbar.xml#findbar-textbox");
|
|
|
|
}
|
|
|
|
|
2008-10-09 16:04:06 -07:00
|
|
|
|
|
|
|
/*********** filefield ************/
|
|
|
|
filefield {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/filefield.xml#filefield");
|
|
|
|
}
|
2010-11-19 21:23:25 -08:00
|
|
|
|
|
|
|
/*********** tabmodalprompt ************/
|
|
|
|
tabmodalprompt {
|
|
|
|
-moz-binding: url("chrome://global/content/tabprompts.xml#tabmodalprompt");
|
2011-10-01 12:40:36 -07:00
|
|
|
overflow: hidden;
|
2010-11-24 00:35:39 -08:00
|
|
|
text-shadow: none;
|
2010-11-19 21:23:25 -08:00
|
|
|
}
|