2002-08-04 05:04:19 +04: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
|
2007-03-23 02:01:14 +03:00
|
|
|
CHANGES REVIEWED BY mconnor@steelgryphon.com
|
2002-08-04 05:04:19 +04: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;
|
2005-09-11 23:22:57 +04:00
|
|
|
-moz-user-select: -moz-none;
|
2002-08-04 05:04:19 +04:00
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2007-09-19 06:59:13 +04:00
|
|
|
:root {
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
}
|
|
|
|
|
2002-10-07 22:43:25 +04:00
|
|
|
/* hide the content and destroy the frame */
|
|
|
|
*[hidden="true"] {
|
|
|
|
display: none;
|
|
|
|
}
|
2002-08-04 05:04:19 +04:00
|
|
|
|
2004-12-01 19:21:02 +03:00
|
|
|
/* hide the content, but don't destroy the frames */
|
|
|
|
*[collapsed="true"],
|
|
|
|
*[moz-collapsed="true"] {
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/* ::::::::::
|
|
|
|
:: Rules for 'hiding' portions of the chrome for special
|
|
|
|
:: kinds of windows (not JUST browser windows) with toolbars
|
|
|
|
::::: */
|
|
|
|
|
2007-11-16 01:08:00 +03:00
|
|
|
window[chromehidden~="menubar"] .chromeclass-menubar,
|
2002-08-04 05:04:19 +04:00
|
|
|
window[chromehidden~="directories"] .chromeclass-directories,
|
|
|
|
window[chromehidden~="status"] .chromeclass-status,
|
|
|
|
window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
|
|
|
|
window[chromehidden~="location"] .chromeclass-location,
|
2004-09-07 03:23:54 +04:00
|
|
|
window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
|
|
|
|
window[chromehidden~="toolbar"] .chromeclass-toolbar-additional
|
2002-08-04 05:04:19 +04:00
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2004-12-05 19:25:14 +03:00
|
|
|
/* ::::::::::
|
|
|
|
:: Rules for forcing direction for entry and display of URIs
|
|
|
|
:: or URI elements
|
|
|
|
::::: */
|
|
|
|
|
2007-03-23 02:01:14 +03:00
|
|
|
textbox.uri-element,
|
|
|
|
menulist.uri-element
|
2004-12-05 19:25:14 +03:00
|
|
|
{
|
|
|
|
direction: ltr !important;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/****** elements that have no visual representation ******/
|
|
|
|
|
2003-10-14 12:58:26 +04:00
|
|
|
script, data,
|
2002-08-04 05:04:19 +04:00
|
|
|
xbl|children,
|
|
|
|
commands, commandset, command,
|
|
|
|
broadcasterset, broadcaster, observes,
|
2002-09-27 08:06:56 +04:00
|
|
|
keyset, key, toolbarpalette, toolbarset,
|
2002-08-04 05:04:19 +04:00
|
|
|
template, rule, conditions, action,
|
|
|
|
bindings, binding, content, member, triple,
|
|
|
|
treechildren, treeitem, treeseparator, treerow, treecell {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** focus rules **********/
|
|
|
|
|
|
|
|
button,
|
|
|
|
checkbox,
|
|
|
|
colorpicker[type="button"],
|
2007-01-29 20:36:20 +03:00
|
|
|
datepicker[type="grid"],
|
2002-08-04 05:04:19 +04:00
|
|
|
menulist,
|
|
|
|
radiogroup,
|
|
|
|
tree,
|
|
|
|
browser,
|
|
|
|
editor,
|
|
|
|
iframe {
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
2006-05-30 17:50:48 +04:00
|
|
|
menulist[editable="true"] {
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-user-focus: ignore;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** window & page ******/
|
|
|
|
|
|
|
|
window,
|
|
|
|
page {
|
2003-09-17 02:09:18 +04:00
|
|
|
overflow: -moz-hidden-unscrollable;
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** box *******/
|
|
|
|
|
|
|
|
vbox {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
2003-05-31 04:34:16 +04:00
|
|
|
bbox {
|
|
|
|
-moz-box-align: baseline;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** button **********/
|
|
|
|
|
|
|
|
button {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#button");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-07-14 22:15:31 +04:00
|
|
|
button[type="repeat"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#button-repeat");
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
button[type="menu"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#menu");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
button[type="menu-button"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** toolbarbutton **********/
|
|
|
|
|
|
|
|
toolbarbutton {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton[type="menu"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton[type="menu-button"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-button");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/******** browser, editor, iframe ********/
|
|
|
|
|
|
|
|
browser,
|
|
|
|
editor,
|
|
|
|
iframe {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
browser {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
editor {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-04-20 00:50:25 +04:00
|
|
|
/********** notifications **********/
|
|
|
|
|
|
|
|
notificationbox {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/notification.xml#notificationbox");
|
|
|
|
-moz-box-orient: vertical;
|
2006-05-25 22:55:34 +04:00
|
|
|
overflow-y: hidden;
|
2006-04-20 00:50:25 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
notification {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/notification.xml#notification");
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** image **********/
|
|
|
|
|
|
|
|
image {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#image");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** checkbox **********/
|
|
|
|
|
|
|
|
checkbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** radio **********/
|
|
|
|
|
|
|
|
radiogroup {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/radio.xml#radiogroup");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
radio {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/******** groupbox *********/
|
|
|
|
|
|
|
|
groupbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/groupbox.xml#groupbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
display: -moz-groupbox;
|
|
|
|
}
|
|
|
|
|
|
|
|
caption {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/groupbox.xml#caption");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.groupbox-body {
|
|
|
|
-moz-box-pack: inherit;
|
|
|
|
-moz-box-align: inherit;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******* toolbar *******/
|
|
|
|
|
|
|
|
toolbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2005-08-26 21:57:59 +04:00
|
|
|
%ifdef XP_MACOSX
|
2003-08-12 05:19:58 +04:00
|
|
|
toolbar[type="menubar"] {
|
|
|
|
min-height: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
2005-08-26 21:57:59 +04:00
|
|
|
%endif
|
2003-08-12 05:19:58 +04:00
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
toolbarseparator {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
|
2002-09-28 19:11:50 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarspacer {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
|
2002-09-28 19:11:50 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbarspring {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
|
2002-10-13 09:49:54 +04:00
|
|
|
-moz-box-flex: 1000;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2002-08-06 07:07:28 +04:00
|
|
|
toolbarpaletteitem {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem");
|
2002-08-06 07:07:28 +04:00
|
|
|
}
|
|
|
|
|
2002-09-28 19:11:50 +04:00
|
|
|
toolbarpaletteitem[place="palette"] {
|
|
|
|
-moz-box-orient: vertical;
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem-palette");
|
2002-09-28 19:11:50 +04:00
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********* menubar ***********/
|
|
|
|
|
|
|
|
menubar {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********* menu ***********/
|
|
|
|
|
|
|
|
menubar > menu {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menubar > menu.menu-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menu {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menu.menu-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2007-03-23 02:01:14 +03:00
|
|
|
menu:empty {
|
2005-06-17 17:44:07 +04:00
|
|
|
visibility: collapse;
|
2005-06-03 21:51:45 +04:00
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********* menuitem ***********/
|
|
|
|
|
|
|
|
menuitem {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menuitem.menuitem-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2004-12-01 22:37:38 +03:00
|
|
|
menuitem[description] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-desc-noaccel");
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
menuitem[type="checkbox"],
|
|
|
|
menuitem[type="radio"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menuitem.menuitem-non-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menubutton-item");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********* menuseparator ***********/
|
|
|
|
|
|
|
|
menuseparator {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuseparator");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********* popup & menupopup ***********/
|
|
|
|
|
|
|
|
/* <popup> is deprecated. Only <menupopup> and <tooltip> are still valid. */
|
|
|
|
|
|
|
|
popup,
|
|
|
|
menupopup {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#popup");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
2007-07-04 19:49:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
panel {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#panel");
|
|
|
|
-moz-box-orient: vertical;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
popup,
|
|
|
|
menupopup,
|
2007-07-04 19:49:38 +04:00
|
|
|
panel,
|
2002-08-04 05:04:19 +04:00
|
|
|
tooltip {
|
2007-06-30 02:15:59 +04:00
|
|
|
display: -moz-popup;
|
2007-07-04 19:49:38 +04:00
|
|
|
z-index: 2147483647;
|
2007-06-30 02:15:59 +04:00
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
tooltip {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
|
2007-07-05 23:11:36 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
white-space: -moz-pre-wrap;
|
2002-08-04 05:04:19 +04:00
|
|
|
margin-top: 21px;
|
|
|
|
}
|
|
|
|
|
2005-08-26 21:57:59 +04:00
|
|
|
%ifdef XP_MACOSX
|
2003-08-12 05:19:58 +04:00
|
|
|
.statusbar-resizerpanel {
|
|
|
|
display: none;
|
|
|
|
}
|
2005-08-26 21:57:59 +04:00
|
|
|
%else
|
2002-10-20 12:54:17 +04:00
|
|
|
window[sizemode="maximized"] statusbarpanel.statusbar-resizerpanel {
|
2002-10-20 12:53:22 +04:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
2005-08-26 21:57:59 +04:00
|
|
|
%endif
|
2002-10-20 12:53:22 +04:00
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** floating popups **********/
|
|
|
|
|
|
|
|
/*
|
|
|
|
titlebar {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#titlebar");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
resizer[resizerdirection="right"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#ew-resizer");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
resizer[resizerdirection="bottom"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#ns-resizer");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
resizer[resizerdirection="bottomright"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#diag-resizer");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
floatingwindow {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#floater-normal");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
display: none;
|
|
|
|
z-index: 2147483647;
|
|
|
|
}
|
|
|
|
|
|
|
|
floatingwindow[docked="left"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#floater-dock-left");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
button.popupClose {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/popup.xml#close-button") !important;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
*/
|
|
|
|
/******** grid **********/
|
|
|
|
|
|
|
|
grid {
|
|
|
|
display: -moz-grid;
|
|
|
|
}
|
|
|
|
|
|
|
|
rows,
|
|
|
|
columns {
|
|
|
|
display: -moz-grid-group;
|
|
|
|
}
|
|
|
|
|
|
|
|
row,
|
|
|
|
column {
|
|
|
|
display: -moz-grid-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
rows {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
column {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** listbox **********/
|
|
|
|
|
|
|
|
listbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listhead {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listhead");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listrows {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listrows");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listitem {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listitem[type="checkbox"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listheader {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listheader");
|
2002-11-20 04:38:08 +03:00
|
|
|
-moz-box-ordinal-group: 2147483646;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listcell {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listcell[type="checkbox"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.listitem-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listitem[type="checkbox"].listitem-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.listcell-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
listcell[type="checkbox"].listcell-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2005-04-15 02:28:01 +04:00
|
|
|
/* Don't permit a horizontal scrollbar. See bug 285449 */
|
|
|
|
overflow-x: hidden !important;
|
|
|
|
overflow-y: auto;
|
2002-08-04 05:04:19 +04:00
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcol {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
min-width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
listcell {
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/******** tree ******/
|
|
|
|
|
|
|
|
tree {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#tree");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
treecols {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treecols");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
treecol {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treecol");
|
2003-08-17 15:21:09 +04:00
|
|
|
-moz-box-ordinal-group: 2147483646;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
treecol.treecol-image {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
tree > treechildren {
|
|
|
|
display: -moz-box;
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treebody");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-user-select: none;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
treerows {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#treerows");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
treecolpicker {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tree.xml#columnpicker");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2005-10-10 03:42:28 +04:00
|
|
|
.tree-scrollable-columns {
|
|
|
|
/* Yes, Virginia, this makes it scrollable */
|
|
|
|
overflow: hidden;
|
2005-08-30 22:36:15 +04:00
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** deck & stack *********/
|
|
|
|
|
|
|
|
deck {
|
|
|
|
display: -moz-deck;
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#deck");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
stack, bulletinboard {
|
|
|
|
display: -moz-stack;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** tabbox *********/
|
|
|
|
|
|
|
|
tabbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabs {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
2006-01-21 02:04:26 +03:00
|
|
|
/**
|
|
|
|
* XXXben - this looks like something added specifically for tabbrowser.
|
|
|
|
* if it turns out no one uses this that can't easily be evangelized to
|
|
|
|
* use their own roll-your-own binding, then we should get rid of this
|
|
|
|
* to tighten up the toolkit api. This binding made obsolete in Firefox
|
|
|
|
* by 308396.
|
|
|
|
*/
|
2002-08-04 05:04:19 +04:00
|
|
|
tabs[closebutton="true"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs-closebutton");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
tab {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
tabpanels {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
|
2002-08-04 05:04:19 +04:00
|
|
|
display: -moz-deck;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** progressmeter **********/
|
|
|
|
|
|
|
|
progressmeter {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** basic rule for anonymous content that needs to pass box properties through
|
|
|
|
********** to an insertion point parent that holds the real kids **************/
|
|
|
|
|
|
|
|
.box-inherit {
|
|
|
|
-moz-box-orient: inherit;
|
|
|
|
-moz-box-pack: inherit;
|
|
|
|
-moz-box-align: inherit;
|
|
|
|
-moz-box-direction: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** label **********/
|
|
|
|
|
|
|
|
description {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-base");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2005-07-25 23:23:12 +04:00
|
|
|
label.text-link, label[onclick] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
|
|
|
|
2005-08-31 06:48:17 +04:00
|
|
|
label[control], label.radio-label, label.checkbox-label {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2004-12-01 20:56:32 +03:00
|
|
|
html|span.accesskey {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** textbox **********/
|
|
|
|
|
|
|
|
textbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
textbox[multiline="true"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#textarea");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2002-09-21 05:03:38 +04:00
|
|
|
html|*.textbox-input {
|
|
|
|
-moz-appearance: none !important;
|
2003-08-17 15:21:09 +04:00
|
|
|
text-align: inherit;
|
2002-09-21 05:03:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
html|*.textbox-textarea {
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
.textbox-input-box {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box");
|
2002-08-13 07:25:13 +04:00
|
|
|
}
|
|
|
|
|
2006-11-20 20:45:10 +03:00
|
|
|
.textbox-input-box[spellcheck="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box-spell");
|
|
|
|
}
|
|
|
|
|
2002-08-13 07:25:13 +04:00
|
|
|
textbox[type="timed"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/textbox.xml#timed-textbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-08-14 06:44:00 +04:00
|
|
|
textbox[type="number"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/numberbox.xml#numberbox");
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** autocomplete textbox **********/
|
|
|
|
|
2004-02-24 18:20:55 +03:00
|
|
|
/* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
|
|
|
|
|
2005-08-26 21:57:59 +04:00
|
|
|
%ifdef MOZ_THUNDERBIRD
|
|
|
|
%define AUTOCOMPLETE_OLD_STYLE
|
|
|
|
%elifdef MOZ_STANDALONE_COMPOSER
|
|
|
|
%define AUTOCOMPLETE_OLD_STYLE
|
2006-04-30 02:35:00 +04:00
|
|
|
%elifdef MOZ_SUITE
|
|
|
|
%define AUTOCOMPLETE_OLD_STYLE
|
2005-08-26 21:57:59 +04:00
|
|
|
%endif
|
2004-02-24 18:20:55 +03:00
|
|
|
|
2005-08-26 21:57:59 +04:00
|
|
|
%ifdef AUTOCOMPLETE_OLD_STYLE
|
2003-06-09 08:26:42 +04:00
|
|
|
|
|
|
|
textbox[type="autocomplete"] {
|
|
|
|
-moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete");
|
|
|
|
}
|
|
|
|
|
2007-07-29 03:07:41 +04:00
|
|
|
panel[type="autocomplete"] {
|
2003-06-09 08:26:42 +04: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");
|
|
|
|
}
|
|
|
|
|
2005-08-26 21:57:59 +04:00
|
|
|
%else
|
2002-08-04 05:04:19 +04:00
|
|
|
|
2002-09-28 10:25:03 +04:00
|
|
|
textbox[type="autocomplete"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2007-07-04 19:49:38 +04:00
|
|
|
panel[type="autocomplete"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup");
|
2007-11-30 07:58:00 +03:00
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
.autocomplete-tree {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-tree");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treebody {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treebody");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-treerows {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treerows");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-history-dropmarker {
|
2002-09-28 10:25:03 +04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autocomplete-history-dropmarker[enablehistory="true"] {
|
|
|
|
display: -moz-box;
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
|
2002-09-28 10:25:03 +04:00
|
|
|
}
|
|
|
|
|
2005-08-26 21:57:59 +04:00
|
|
|
%endif
|
2003-06-09 08:26:42 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-09-28 10:25:03 +04:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* The following rule is here to fix bug 96899 (and now 117952).
|
|
|
|
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;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** colorpicker **********/
|
|
|
|
|
|
|
|
colorpicker {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
colorpicker[type="button"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker-button");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.colorpickertile {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpickertile");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** menulist **********/
|
|
|
|
|
|
|
|
menulist {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-05-30 17:50:48 +04:00
|
|
|
menulist[editable="true"] {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-editable");
|
2003-08-17 15:21:09 +04:00
|
|
|
}
|
|
|
|
|
2004-12-01 19:21:02 +03:00
|
|
|
menulist[type="description"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-description");
|
|
|
|
}
|
|
|
|
|
2003-08-17 15:21:09 +04:00
|
|
|
html|*.menulist-editable-input {
|
|
|
|
-moz-appearance: none !important;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menulist > menupopup > menuitem {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-08-28 19:56:47 +04:00
|
|
|
dropmarker {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** splitter **********/
|
|
|
|
|
|
|
|
splitter {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
grippy {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-splitter {
|
|
|
|
width: 0px;
|
|
|
|
max-width: 0px;
|
2004-12-01 19:21:02 +03:00
|
|
|
min-width: 0% ! important;
|
2004-12-01 13:58:20 +03:00
|
|
|
min-height: 0% ! important;
|
2002-11-20 04:38:08 +03:00
|
|
|
-moz-box-ordinal-group: 2147483646;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** scrollbar **********/
|
|
|
|
|
|
|
|
/* Scrollbars are never flipped even if BiDI kicks in. */
|
|
|
|
scrollbar {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2006-05-30 17:50:48 +04:00
|
|
|
thumb {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url(chrome://global/content/bindings/scrollbar.xml#thumb);
|
2005-09-06 02:49:27 +04:00
|
|
|
display: -moz-box !important;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-05-30 17:50:48 +04:00
|
|
|
.scale-thumb {
|
|
|
|
-moz-binding: url(chrome://global/content/bindings/scale.xml#scalethumb);
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollbar, scrollbarbutton, scrollcorner, slider, thumb, scale {
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-user-select: none;
|
|
|
|
}
|
|
|
|
|
2005-10-05 03:49:39 +04:00
|
|
|
scrollcorner {
|
|
|
|
display: -moz-box !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
scrollcorner[hidden="true"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
scrollbar[value="hidden"] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2006-05-30 17:50:48 +04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/******** scrollbox ********/
|
|
|
|
|
|
|
|
scrollbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#scrollbox");
|
2004-12-01 19:21:02 +03:00
|
|
|
/* This makes it scrollable! */
|
2005-03-30 04:11:06 +04:00
|
|
|
overflow: hidden;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
arrowscrollbox {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-07-03 18:59:18 +04:00
|
|
|
arrowscrollbox[clicktoscroll="true"] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox-clicktoscroll");
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
autorepeatbutton {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbox.xml#autorepeatbutton");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** statusbar **********/
|
|
|
|
|
|
|
|
statusbar
|
|
|
|
{
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
|
2005-08-26 21:57:59 +04:00
|
|
|
%ifdef XP_MACOSX
|
2003-08-12 05:19:58 +04:00
|
|
|
padding-right: 14px;
|
2005-08-26 21:57:59 +04:00
|
|
|
%endif
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
statusbarpanel {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.statusbarpanel-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic");
|
2003-08-10 12:04:58 +04:00
|
|
|
}
|
|
|
|
|
2004-12-01 03:21:43 +03:00
|
|
|
.statusbarpanel-iconic-text {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic-text");
|
|
|
|
}
|
|
|
|
|
2003-08-10 12:04:58 +04:00
|
|
|
.statusbarpanel-menu-iconic {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-menu-iconic");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********** spinbuttons ***********/
|
|
|
|
|
|
|
|
spinbuttons {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/spinbuttons.xml#spinbuttons");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
2006-08-14 06:44:00 +04:00
|
|
|
.spinbuttons-button {
|
|
|
|
-moz-user-focus: ignore;
|
|
|
|
}
|
|
|
|
|
2002-08-04 05:04:19 +04:00
|
|
|
/********** stringbundle **********/
|
|
|
|
|
|
|
|
stringbundleset {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundleset");
|
2002-08-04 05:04:19 +04:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
stringbundle {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundle");
|
2002-08-04 05:04:19 +04:00
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** dialog **********/
|
|
|
|
|
|
|
|
dialog {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/dialog.xml#dialog");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
dialogheader {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/dialog.xml#dialogheader");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/********* page ************/
|
|
|
|
|
|
|
|
page {
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
/********** wizard **********/
|
|
|
|
|
|
|
|
wizard {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
2004-01-19 12:32:45 +03:00
|
|
|
width: 40em;
|
|
|
|
height: 30em;
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
wizardpage {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizardpage");
|
2002-08-04 05:04:19 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-header {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-header");
|
2002-08-04 05:04:19 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-buttons {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-buttons");
|
2002-10-11 04:28:28 +04:00
|
|
|
}
|
2003-08-07 04:38:59 +04:00
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
/********** preferences ********/
|
|
|
|
|
|
|
|
prefwindow {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#prefwindow");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefpane {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#prefpane");
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefwindow > .paneDeckContainer {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
prefpane > .content-box {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#preference");
|
|
|
|
visibility: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
radio[pane] {
|
|
|
|
-moz-binding: url("chrome://global/content/bindings/preferences.xml#panebutton") !important;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
2005-03-03 19:13:37 +03:00
|
|
|
|
|
|
|
prefwindow[chromehidden~="toolbar"] .chromeclass-toolbar
|
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2003-08-07 04:38:59 +04:00
|
|
|
/********** expander ********/
|
|
|
|
|
|
|
|
expander {
|
2003-11-20 08:14:08 +03:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/expander.xml#expander");
|
2003-08-07 04:38:59 +04:00
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
2005-06-17 22:11:02 +04:00
|
|
|
|
|
|
|
|
|
|
|
/********** Rich Listbox ********/
|
|
|
|
|
|
|
|
richlistbox {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistbox');
|
|
|
|
-moz-user-focus: normal;
|
2005-07-06 01:07:09 +04:00
|
|
|
-moz-appearance: listbox;
|
2007-10-12 02:43:31 +04:00
|
|
|
-moz-box-orient: vertical;
|
2005-06-17 22:11:02 +04:00
|
|
|
}
|
2005-07-06 01:07:09 +04:00
|
|
|
|
|
|
|
richlistitem {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistitem');
|
|
|
|
}
|
2006-11-27 01:47:46 +03:00
|
|
|
|
2007-10-12 02:43:31 +04:00
|
|
|
richlistbox > listheader {
|
|
|
|
-moz-box-ordinal-group: 1;
|
|
|
|
}
|
|
|
|
|
2007-01-29 20:36:20 +03: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');
|
|
|
|
}
|
|
|
|
|
2006-11-27 01:47:46 +03:00
|
|
|
|
|
|
|
/*********** findbar ************/
|
|
|
|
findbar {
|
|
|
|
-moz-binding: url('chrome://global/content/bindings/findbar.xml#findbar');
|
|
|
|
}
|