b=489732; add start of no-native-theme theme; r=me,nptob

This commit is contained in:
Vladimir Vukicevic 2009-04-22 21:40:53 -07:00
Родитель cfff67f8c9
Коммит 721ab2c374
17 изменённых файлов: 1711 добавлений и 0 удалений

Просмотреть файл

@ -657,3 +657,5 @@ MOZ_EMBEDDING_LEVEL_MINIMAL = @MOZ_EMBEDDING_LEVEL_MINIMAL@
HAVE_ARM_SIMD = @HAVE_ARM_SIMD@
HAVE_ARM_NEON = @HAVE_ARM_NEON@
MOZ_THEME_FASTSTRIPE = @MOZ_THEME_FASTSTRIPE@

Просмотреть файл

@ -6315,6 +6315,15 @@ fi
AC_SUBST(MOZ_LOCATION_CFLAGS)
AC_SUBST(MOZ_LOCATION_LIBS)
dnl ========================================================
dnl = faststripe theme
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(faststripe,
[ --enable-faststripe Use faststripe theme],
MOZ_THEME_FASTSTRIPE=1,
MOZ_THEME_FASTSTRIPE= )
AC_SUBST(MOZ_THEME_FASTSTRIPE)
dnl ========================================================
dnl =
dnl = Feature options that require extra sources to be pulled

Просмотреть файл

@ -50,17 +50,24 @@ include $(DEPTH)/config/autoconf.mk
# GNOMEStripe overrides (toolkit/themes/gnomestripe)
# OS/2 Winstripe (toolkit/themes/winstripe) +
# PMStripe overrides (toolkit/themes/pmstripe)
# faststripe Winstripe + faststripe (no native theme components)
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
DIRS = pinstripe
else
DIRS = winstripe
ifneq (,$(filter gtk2 qt,$(MOZ_WIDGET_TOOLKIT)))
DIRS += gnomestripe
endif
ifneq (,$(filter os2,$(MOZ_WIDGET_TOOLKIT)))
DIRS += pmstripe
endif
ifdef MOZ_THEME_FASTSTRIPE
DIRS += faststripe
endif
endif
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -0,0 +1,53 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org build system.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2002
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Brian Ryner <bryner@brianryner.com>
# Pierre Chanial <chanial@noos.fr>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = global
#DIRS += mozapps
ifdef MOZ_HELP_VIEWER
#DIRS += help
endif
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -0,0 +1,47 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org build system.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2002
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Brian Ryner <bryner@brianryner.com>
# Pierre Chanial <chanial@noos.fr>
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk

Просмотреть файл

@ -0,0 +1,159 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== button.css =====================================================
== Styles used by the XUL button element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* :::::::::: button :::::::::: */
button {
/*-moz-appearance: button;*/
margin: 3px 7px 3px 7px;
min-width: 6.3em;
border: 1px solid;
border-color: #555555;
background-color: #eeeeee;
color: black;
-moz-border-radius: 3px 3px;
}
.button-box {
border: 1px solid transparent;
padding-top: 1px;
padding-bottom: 2px;
-moz-padding-start: 3px;
-moz-padding-end: 4px;
}
.button-text {
margin: 0 !important;
text-align: center;
}
/* .......... focused state .......... */
button:focus {
}
button:focus > .button-box {
border: 1px dotted black;
}
/* .......... default state .......... */
button[default="true"] {
margin: 1px 5px 1px 5px;
border-width: 2px;
-moz-border-radius: 3px 3px;
border-color: black;
}
/* .......... active/open/checked state .......... */
button:hover:active,
button[open="true"],
button[checked="true"] {
border-color: black;
background: #777777;
}
/* .......... disabled state .......... */
button[disabled="true"] {
border-color: #dddddd;
color: gray;
}
button[disabled="true"] > .button-box {
padding-top: 1px !important;
padding-bottom: 2px !important;
-moz-padding-start: 3px !important;
-moz-padding-end: 4px !important;
}
/* ::::: menu/menu-button buttons ::::: */
button[type="menu-button"] {
-moz-box-align: center;
-moz-box-pack: center;
margin: 0;
border: none;
}
.button-menu-dropmarker,
.button-menubutton-dropmarker {
-moz-appearance: none !important;
margin: 1px;
background-color: transparent !important;
border: none !important;
min-width:11px;
min-height:11px;
}
.button-menubutton-dropmarker[open="true"] {
margin-top: 2px;
margin-bottom: 0px;
-moz-margin-start: 2px;
-moz-margin-end: 0px;
}
/* ::::: plain buttons ::::: */
button.plain {
border: 0px !important;
margin: 0px !important;
padding: 0px !important;
}
button[type="disclosure"] {
border: 0px !important;
margin: 0px !important;
padding: 0px !important;
list-style-image: url("chrome://global/skin/tree/twisty-clsd.png");
min-width: 0px !important;
background-color: transparent;
}
button[type="disclosure"][open="true"] {
list-style-image: url("chrome://global/skin/tree/twisty-open.png");
}

Просмотреть файл

@ -0,0 +1,123 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== checkbox.css ===================================================
== Styles used by the XUL checkbox element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: checkbox ::::: */
checkbox {
-moz-box-align: center;
margin: 2px 4px;
padding-top: 1px;
padding-bottom: 1px;
-moz-padding-start: 4px;
-moz-padding-end: 2px;
}
.checkbox-label-box {
-moz-margin-start: 2px;
border: 1px solid transparent;
padding: 0px 1px;
}
.checkbox-icon {
-moz-margin-end: 2px;
}
.checkbox-label {
margin: 0 !important;
}
/* ..... focused state ..... */
checkbox:focus > .checkbox-label-box {
border: 1px dotted gray;
}
/* ..... disabled state ..... */
checkbox[disabled="true"] > .checkbox-check {
background-color: gray;
}
checkbox[disabled="true"] {
color: GrayText;
}
/* XXX Hack to work around bug 458231 */
checkbox:-moz-system-metric(windows-classic) {
text-shadow: 1px 1px transparent;
}
checkbox:-moz-system-metric(windows-classic) > .checkbox-label-box > .checkbox-label {
margin-bottom: -2px !important;
}
checkbox[disabled="true"]:-moz-system-metric(windows-classic) {
color: ThreeDShadow;
text-shadow: 1px 1px ThreeDHighlight;
}
/* ::::: checkmark image ::::: */
.checkbox-check {
-moz-box-align: center;
border: 1px solid #555555;
min-width: 13px;
min-height: 13px;
background: white;
background: white no-repeat 50% 50%;
}
checkbox:hover:active > .checkbox-check {
background-color: -moz-Dialog;
}
/* ..... checked state ..... */
checkbox[checked="true"] > .checkbox-check {
background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
}
checkbox[checked="true"][disabled="true"] > .checkbox-check {
background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important;
}

Просмотреть файл

@ -0,0 +1,23 @@
dropmarker {
width: 16px;
height: 16px;
-moz-box-align: center;
-moz-box-pack: center;
background-color: transparent;
padding: 1px;
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
-moz-image-region: auto;
}
dropmarker:hover:active {
background: #aaaaaa;
padding-top: 2px;
padding-bottom: 0px;
-moz-padding-start: 2px;
-moz-padding-end: 0px;
}
dropmarker[disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
padding: 1px !important;
}

Просмотреть файл

@ -0,0 +1,70 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== groupbox.css ==================================================
== Styles used by the XUL groupbox and related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: groupbox ::::: */
groupbox {
-moz-appearance: groupbox;
border: 1px solid gray;
-moz-border-radius: 3px;
margin: 3px;
padding: 3px 3px 6px 3px;
}
.groupbox-body {
padding: inherit;
}
caption {
margin: 0px 6px 0px 6px;
background-color: -moz-Dialog;
}
tabpanels caption {
-moz-appearance: tabpanel;
}
/* !important is needed to override label in global.css */
.caption-text {
margin: 0 2px !important;
}

Просмотреть файл

@ -0,0 +1,14 @@
classic.jar:
% skin global classic/1.0 %skin/classic/global/
# These are the CSS files that have been changed from winstripe
+ skin/classic/global/button.css
+ skin/classic/global/checkbox.css
+ skin/classic/global/dropmarker.css
+ skin/classic/global/groupbox.css
+ skin/classic/global/menu.css
+ skin/classic/global/menulist.css
+ skin/classic/global/popup.css
+ skin/classic/global/radio.css
+ skin/classic/global/tabbox.css
+ skin/classic/global/textbox.css
+ skin/classic/global/scrollbars.css (xulscrollbars.css)

Просмотреть файл

@ -0,0 +1,283 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== menu.css =======================================================
== Styles used by XUL menu-related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: menu/menuitem ::::: */
menu,
menuitem {
-moz-appearance: menuitem;
-moz-box-align: center;
color: MenuText;
font: menu;
list-style-image: none;
-moz-image-region: auto;
}
menuitem[default="true"] {
font-weight: bold;
}
menu[disabled="true"], menuitem[disabled="true"],
menu[_moz-menuactive="true"][disabled="true"],
menuitem[_moz-menuactive="true"][disabled="true"] {
color: GrayText;
}
menuitem.spell-suggestion {
font-weight:bold;
}
/* ..... internal content .... */
.menu-accel,
.menu-iconic-accel,
.menu-text,
.menu-iconic-text {
margin: 0px !important;
padding: 1px 0px;
color: inherit;
}
.menu-text {
-moz-padding-start: 1.45em !important;
-moz-appearance: menuitemtext;
}
.menu-text,
.menu-iconic-text {
font-weight: inherit;
-moz-margin-start: 2px !important;
-moz-padding-end: 2px;
}
.menu-description {
font-style: italic;
color: GrayText;
-moz-margin-start: 1ex !important;
}
.menu-accel,
.menu-iconic-accel {
color: inherit;
-moz-margin-start: 0.74em !important;
-moz-margin-end: 1.35em !important;
}
.menu-iconic-left {
min-width: 1.45em;
}
.menu-iconic-icon {
width: 16px;
height: 16px;
}
menu.menu-iconic > .menu-iconic-left,
menuitem.menuitem-iconic > .menu-iconic-left {
-moz-appearance: menuimage;
padding-top: 2px;
}
/* ..... menu arrow box ..... */
.menu-right {
-moz-appearance: menuarrow;
-moz-margin-end: -2px;
list-style-image: none;
min-width: 1.28em;
padding-top: 1px;
}
/* ::::: menu/menuitems in menubar ::::: */
menubar > menu {
border: 2px solid transparent;
}
menubar > menu[_moz-menuactive="true"][open="true"] {
border-width: 3px 1px 1px 3px;
}
menubar > menu[_moz-menuactive="true"],
menubar > menu[_moz-menuactive="true"][open="true"] {
color: -moz-menubarhovertext;
background-color: highlight;
}
/* ..... internal content .... */
.menubar-left {
color: inherit;
}
.menubar-text {
margin: 1px 6px 2px 6px !important;
color: inherit;
}
/* ::::: menu/menuitems in popups ::::: */
menupopup > menu,
popup > menu,
menupopup > menuitem,
popup > menuitem {
max-width: 42em;
}
menupopup > menu[_moz-menuactive="true"],
menupopup > menuitem[_moz-menuactive="true"],
popup > menu[_moz-menuactive="true"],
popup > menuitem[_moz-menuactive="true"] {
background-color: -moz-menuhover;
color: -moz-menuhovertext;
}
/* ::::: menu/menuitems in menulist popups ::::: */
.menulist-menupopup > menuitem,
menulist > menupopup > menuitem,
.menulist-menupopup > menu,
menulist > menupopup > menu {
-moz-appearance: none;
border: 1px solid transparent;
padding-top: 1px;
-moz-padding-end: 30px;
padding-bottom: 1px;
-moz-padding-start: 5px;
max-width: none;
font: message-box;
color: -moz-FieldText;
}
.menulist-menupopup > menuitem > .menu-iconic-left,
menulist > menupopup > menuitem > .menu-iconic-left,
.menulist-menupopup > menu > .menu-iconic-left,
menulist > menupopup > menu > .menu-iconic-left {
display: none;
padding-top: 0px;
}
.menulist-menupopup > menuitem > label,
menulist > menupopup > menuitem > label,
.menulist-menupopup > menu > label,
menulist > menupopup > menu > label {
padding-top: 0px;
padding-bottom: 0px;
}
menulist > menupopup > menuitem[_moz-menuactive="true"] {
border: 1px dotted #F5DB95;
background-color: highlight;
color: highlighttext;
}
menulist > menupopup > menuitem[_moz-menuactive="true"][disabled="true"] {
color: GrayText;
}
menulist > menupopup > menuitem[disabled="true"]:not([_moz-menuactive="true"]):-moz-system-metric(windows-classic) {
color: GrayText;
text-shadow: none;
}
menulist > menupopup > menuitem > .menu-iconic-text {
margin: 0 !important;
}
/* ::::: checkbox and radio menuitems ::::: */
menuitem[type="checkbox"],
menuitem[checked="true"] {
-moz-appearance: checkmenuitem;
}
menuitem[type="checkbox"] > .menu-iconic-left,
menuitem[checked="true"] > .menu-iconic-left {
-moz-appearance: menucheckbox;
padding-top: 0px;
}
menuitem[type="radio"] {
-moz-appearance: radiomenuitem;
}
menuitem[type="radio"] > .menu-iconic-left {
-moz-appearance: menuradio;
padding-top: 0px;
}
menuitem[type="checkbox"] > .menu-iconic-left > .menu-iconic-icon,
menuitem[checked="true"] > .menu-iconic-left > .menu-iconic-icon,
menuitem[type="radio"] > .menu-iconic-left > .menu-iconic-icon {
/* prevent .menu-iconic-icon from enforcing a minimal height of 16px (see bug 411064)
XXXzeniko apply that .menu-iconic-icon rule only for children of .menu-iconic */
display: none;
}
/* ::::: menuseparator ::::: */
menuseparator {
padding-left: 4px;
padding-right: 4px;
padding-top: 2px;
padding-bottom: 0px;
border-bottom: 1px solid gray;
}
menulist > menupopup > menuseparator,
.menulist-menupopup > menuseparator {
padding: 6px 0 5px 0;
border-top: 1px solid black;
}
/* ::::: autocomplete ::::: */
.autocomplete-history-popup > menuitem {
max-width: none !important;
font: message-box;
}
/* ::::: tree column picker ::::: */
.treecell-popupcell-menu {
-moz-margin-start: -2px;
list-style-image: url("chrome://global/skin/columnselect.gif");
-moz-image-region: auto;
}

Просмотреть файл

@ -0,0 +1,163 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== menulist.css ===================================================
== Styles used by the XUL menulist element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* :::::::::: menulist :::::::::: */
menulist {
margin: 2px 4px;
border: 1px solid #555555;
background-color: white;
color: black;
}
.menulist-label-box {
-moz-box-align: center;
-moz-box-pack: center;
margin: 1px;
}
.menulist-label-box,
menulist[open="true"]:focus > .menulist-label-box {
border: 1px solid transparent;
background-color: transparent;
color: inherit;
-moz-box-align: center;
}
.menulist-icon[src] {
margin: 0px 2px 0px 2px;
}
.menulist-label {
margin-top: 0 !important;
-moz-margin-end: 0 !important;
margin-bottom: 0 !important;
-moz-margin-start: 1px !important;
}
.menulist-description {
font-style: italic;
color: GrayText;
-moz-margin-start: 1ex !important;
}
/* ..... dropmarker ..... */
menulist[disabled="true"]:hover:active > .menulist-dropmarker {
padding: 1px;
}
menulist:hover:active > .menulist-dropmarker {
padding-top: 2px;
padding-bottom: 0px;
-moz-padding-start: 2px;
-moz-padding-end: 0px;
}
/* ..... focused state ..... */
menulist:focus > .menulist-label-box {
border: 1px dotted #F5DB95;
background-color: Highlight;
color: HighlightText;
}
/* ..... disabled state ..... */
menulist[disabled="true"] {
background-color: -moz-Dialog;
color: GrayText;
}
/* ::::: editable menulists ::::: */
.menulist-editable-box {
padding-top: 3px;
padding-bottom: 3px;
-moz-padding-start: 2px;
-moz-padding-end: 0px;
}
html|*.menulist-editable-input {
margin: 0px !important;
border: none !important;
padding: 0px !important;
background: inherit;
font: inherit;
}
/* ::::: compact menulists ::::: */
.menulist-compact {
-moz-box-align: center;
-moz-box-pack: center;
margin: 0;
background-color: #aaaaaa;
color: black;
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
.menulist-compact > .menulist-label-box > .menulist-label {
margin: 0 3px !important;
text-align: right;
}
.menulist-compact > .menulist-label-box > .menulist-icon {
-moz-margin-start: 2px;
}
.menulist-compact[open="true"] {
border-color: #777777;
}
.menulist-compact[disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
}
.menulist-compact:focus > .menulist-label-box {
border: 1px dotted;
background-color: transparent;
color: inherit;
}

Просмотреть файл

@ -0,0 +1,96 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== popup.css ===================================================
== Styles used by the XUL popup element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: menupopup ::::: */
menupopup,
popup,
panel {
border: 3px solid transparent;
padding: 0px;
min-width: 1px;
background: Menu;
}
menupopup,
/* auto complete popups don't render well as vista menus */
popup:not([type="autocomplete"])
{
-moz-appearance: menupopup;
}
menupopup > menu > menupopup,
popup > menu > menupopup {
/* align submenus */
-moz-margin-start: -3px;
margin-top: -3px;
}
/* ::::: tooltip ::::: */
tooltip {
margin-top: 21px;
border: 1px solid InfoText;
padding: 2px 3px;
max-width: 40em;
background-color: InfoBackground;
color: InfoText;
font: message-box;
}
tooltip[titletip="true"] {
/* See bug 32157 comment 128
* margin: -2px 0px 0px -3px;
*/
max-width: none;
}
/* rules for popups associated with menulists */
menulist > menupopup,
.menulist-menupopup {
padding: 1px;
min-width: 0px;
background-color: -moz-Field;
}

Просмотреть файл

@ -0,0 +1,122 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== radio.css ===================================================
== Styles used by the XUL radio element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: radio ::::: */
radio {
-moz-appearance: radio-container;
-moz-box-align: center;
margin: 2px 4px;
padding-top: 1px;
padding-bottom: 1px;
-moz-padding-start: 4px;
-moz-padding-end: 2px;
}
.radio-label-box {
-moz-margin-start: 2px;
border: 1px solid transparent;
padding-top: 0px;
padding-bottom: 1px;
-moz-padding-start: 1px;
-moz-padding-end: 0px;
}
.radio-icon {
-moz-margin-end: 2px;
}
.radio-label {
margin: 0 !important;
}
/* ..... focused state ..... */
radio[focused="true"] > .radio-label-box {
border: 1px dotted ThreeDDarkShadow;
}
/* ..... disabled state ..... */
radio[disabled="true"] > .radio-check-box1 {
background-color: -moz-Dialog;
}
radio[disabled="true"] {
color: GrayText;
}
/* ::::: checkmark image ::::: */
.radio-check-box1 {
margin: 1px 0px;
border: 1px solid #555555;
-moz-border-radius: 50%;
width: 12px;
height: 12px;
background: -moz-Field no-repeat 50% 50%;
}
.radio-check-box2 {
border: 1px solid #555555;
-moz-border-radius: 50%;
padding: 2px;
width: 4px;
height: 4px;
list-style-image: none;
background: -moz-Field no-repeat 50% 50%;
}
radio:hover:active > .radio-check-box1 {
background-color: -moz-Dialog;
}
/* ..... selected state ..... */
radio[selected="true"] > .radio-check-box1 > .radio-check-box2 {
list-style-image: url("chrome://global/skin/radio/radio-check.gif");
}
radio[selected="true"][disabled="true"] > .radio-check-box1 > .radio-check-box2 {
list-style-image: url("chrome://global/skin/radio/radio-check-dis.gif") !important
}

Просмотреть файл

@ -0,0 +1,157 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== tabbox.css =================================================
== Styles used by XUL tab-related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: tabs ::::: */
.tabs-left,
.tabs-right {
border-bottom: 1px solid #555555;
}
/* ::::: tabpanels ::::: */
tabpanels {
border-right: 1px solid #555555;
border-bottom: 1px solid #555555;
border-left: 1px solid #555555;
padding: 8px;
background-color: -moz-Dialog;
color: -moz-DialogText;
}
/* ::::: tab ::::: */
tab
{
margin-top: 2px;
border-top: 1px solid #555555;
border-right: 1px solid #555555;
border-left: 1px solid #555555;
border-bottom: 1px solid #555555;
-moz-border-radius-topleft: 2px;
-moz-border-radius-topright: 2px;
padding: 1px 4px 2px 4px;
background-color: -moz-Dialog;
color: -moz-DialogText;
}
tab[chromedir="rtl"] {
-moz-border-radius-bottomleft: 1px;
-moz-border-radius-bottomright: 0px;
}
.tab-text {
margin: 0 !important;
}
tab[selected="true"] {
-moz-user-focus: normal;
margin-top: 0;
border-bottom-color: transparent;
padding: 1px 6px 4px 6px;
}
tab:focus > .tab-middle {
/* Don't specify the outline-color, we should always use initial value. */
outline: 1px dotted;
}
tab[beforeselected="true"]:not([chromedir="rtl"]),
tab[selected="true"][chromedir="rtl"] + tab {
border-right: none;
-moz-border-radius-topright: 0;
}
tab[selected="true"]:not([chromedir="rtl"]) + tab,
tab[beforeselected="true"][chromedir="rtl"] {
border-left: none;
-moz-border-radius-topleft: 0;
}
tab:first-of-type[selected="true"] {
padding-right: 5px;
padding-left: 5px;
}
/* ::::: tab-bottom ::::::::::
:: Tabs that are attached to the bottom of a panel, but not necessarily
:: a tabpanels.
::::: */
.tab-bottom {
margin-top: 0;
margin-bottom: 2px;
border-top: 1px solid;
border-bottom: 1px solid #555555;
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 0;
-moz-border-radius-bottomright: 2px;
-moz-border-radius-bottomleft: 2px;
padding: 2px 4px 1px 4px;
}
.tab-bottom[selected="true"] {
margin-bottom: 0;
-moz-border-top-colors: -moz-Dialog;
padding: 4px 6px 1px 6px;
}
.tab-bottom[beforeselected="true"]:not([chromedir="rtl"]),
.tab-bottom[selected="true"][chromedir="rtl"] + .tab-bottom {
-moz-border-radius-bottomright: 0;
}
.tab-bottom[selected="true"]:not([chromedir="rtl"]) + .tab-bottom,
.tab-bottom[beforeselected="true"][chromedir="rtl"] {
-moz-border-radius-bottomleft: 0;
}
/* ::::: tabs-bottom ::::: */
.tabs-bottom > .tabs-left,
.tabs-bottom > .tabs-right {
border-top: 1px solid ThreeDShadow;
border-bottom: none;
}

Просмотреть файл

@ -0,0 +1,139 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== textbox.css ==================================================
== Styles used by the XUL textbox element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* ::::: textbox ::::: */
textbox {
cursor: text;
margin: 2px 4px;
border: 1px solid #555555;
padding: 2px 2px 3px;
-moz-padding-start: 4px;
background-color: white;
color: black;
}
textbox[empty="true"] {
color: #999999;
}
html|*.textbox-input,
html|*.textbox-textarea {
margin: 0px !important;
border: none !important;
padding: 0px !important;
background-color: inherit;
color: inherit;
font: inherit;
}
.textbox-contextmenu {
cursor: default;
}
/* ..... readonly state ..... */
textbox[readonly="true"] {
background-color: -moz-Dialog;
color: -moz-DialogText;
}
/* ..... disabled state ..... */
textbox[disabled="true"] {
cursor: default;
background-color: -moz-Dialog;
color: GrayText;
}
/* ::::: plain textbox ::::: */
textbox.plain {
background-color: transparent;
padding: 0px !important;
margin: 0px !important;
border: none !important;
}
/* ::::: search textbox ::::: */
.textbox-search-icon {
list-style-image: url(chrome://global/skin/icons/Search-glass.png);
-moz-image-region: rect(0, 16px, 16px, 0);
}
.textbox-search-icon[chromedir="rtl"] {
-moz-transform: scaleX(-1);
}
.textbox-search-icon[searchbutton]:not([disabled]) {
cursor: pointer;
}
.textbox-search-clear {
list-style-image: url(chrome://global/skin/icons/Search-close.png);
-moz-image-region: rect(0, 16px, 16px, 0);
}
.textbox-search-clear:not([disabled]) {
cursor: default;
}
.textbox-search-clear:not([disabled]):hover ,
.textbox-search-icon[searchbutton]:not([disabled]):hover {
-moz-image-region: rect(0, 32px, 16px, 16px);
}
.textbox-search-clear:not([disabled]):hover:active ,
.textbox-search-icon[searchbutton]:not([disabled]):hover:active {
-moz-image-region: rect(0, 48px, 16px, 32px);
}
/* ::::: textboxes inside toolbarpaletteitems ::::: */
toolbarpaletteitem > toolbaritem > textbox > .textbox-input-box > html|*.textbox-input {
visibility: hidden;
}

Просмотреть файл

@ -0,0 +1,244 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998-2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/* ===== xulscrollbars.css ==============================================
== Styles used by XUL scrollbar-related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
/* ::::: scrollbar ::::: */
scrollbar {
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
cursor: default;
background: #888888;
border-left: 1px solid #555555;
border-right: 1px solid #555555;
}
scrollbar[orient="vertical"]
{
-moz-appearance: scrollbartrack-vertical;
border-left: none;
border-right: none;
border-top: 1px solid #555555;
border-bottom: 1px solid #555555;
}
/* ::::: borders for thumb and buttons ::::: */
thumb,
scrollbarbutton {
border: 1px solid #555555;
background-color: -moz-Dialog;
}
/* ::::: thumb (horizontal) ::::: */
thumb {
min-height: 8px;
}
thumb[orient="horizontal"] {
min-width: 8px;
}
/* ::::: scrollbar button ::::: */
scrollbarbutton {
background: -moz-Dialog no-repeat 50% 50%;
min-width: 16px;
min-height: 16px;
}
scrollbarbutton:hover:active, scrollbarbutton[active="true"] {
border-color: #999999;
background-position: 60% 60%;
}
/* ::::: square at the corner of two scrollbars ::::: */
scrollcorner {
/* XXX -moz-appearance: scrollcorner; */
-moz-binding: url(chrome://global/content/bindings/scrollbar.xml#scrollbar-base);
width: 16px;
cursor: default;
background-color: -moz-Dialog;
}
/* ..... increment .... */
scrollbarbutton[type="increment"] {
-moz-appearance: scrollbarbutton-right;
background-image: url("chrome://global/skin/arrow/arrow-rit.gif")
}
scrollbarbutton[type="increment"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif")
}
scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
-moz-appearance: scrollbarbutton-down;
background-image: url("chrome://global/skin/arrow/arrow-dn.gif")
}
scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif")
}
/* ..... decrement .... */
scrollbarbutton[type="decrement"] {
-moz-appearance: scrollbarbutton-left;
background-image: url("chrome://global/skin/arrow/arrow-lft.gif")
}
scrollbarbutton[type="decrement"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif")
}
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
-moz-appearance: scrollbarbutton-up;
background-image: url("chrome://global/skin/arrow/arrow-up.gif")
}
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif")
}
/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */
/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
@media print {
/* ::::: scrollbar ::::: */
html|div scrollbar {
-moz-appearance: scrollbartrack-horizontal;
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
cursor: default;
background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
}
html|div scrollbar[orient="vertical"]
{
-moz-appearance: scrollbartrack-vertical;
}
/* ::::: borders for thumb and buttons ::::: */
html|div thumb,
html|div scrollbarbutton {
border: 2px solid;
-moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
background-color: -moz-Dialog;
}
/* ::::: thumb (horizontal) ::::: */
html|div thumb {
-moz-appearance: scrollbarthumb-vertical;
min-height: 8px;
}
html|div thumb[orient="horizontal"] {
-moz-appearance: scrollbarthumb-horizontal;
min-width: 8px;
}
/* ::::: scrollbar button ::::: */
html|div scrollbarbutton {
background: -moz-Dialog no-repeat 50% 50%;
min-width: 16px;
min-height: 16px;
}
html|div scrollbarbutton:hover:active, html|div scrollbarbutton[active="true"] {
-moz-border-top-colors: ThreeDShadow -moz-Dialog;
-moz-border-right-colors: ThreeDShadow -moz-Dialog;
-moz-border-bottom-colors: ThreeDShadow -moz-Dialog;
-moz-border-left-colors: ThreeDShadow -moz-Dialog;
background-position: 60% 60%;
}
/* ..... increment .... */
html|div scrollbarbutton[type="increment"] {
-moz-appearance: scrollbarbutton-right;
background-image: url("chrome://global/skin/arrow/arrow-rit.gif")
}
html|div scrollbarbutton[type="increment"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif")
}
html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
-moz-appearance: scrollbarbutton-down;
background-image: url("chrome://global/skin/arrow/arrow-dn.gif")
}
html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif")
}
/* ..... decrement .... */
html|div scrollbarbutton[type="decrement"] {
-moz-appearance: scrollbarbutton-left;
background-image: url("chrome://global/skin/arrow/arrow-lft.gif")
}
html|div scrollbarbutton[type="decrement"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif")
}
html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
-moz-appearance: scrollbarbutton-up;
background-image: url("chrome://global/skin/arrow/arrow-up.gif")
}
html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] {
background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif")
}
}