mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-05-13 17:07:01 +00:00
Fork some skin files from toolkit/skin/win into toolkit/skin/gtk2.
Remove unused toolkit/skin/unix.
This commit is contained in:
parent
c477b8aced
commit
e839580be9
@ -911,7 +911,7 @@ toolkit/mozapps/installer/windows/wizard/setup/Makefile
|
|||||||
toolkit/mozapps/installer/windows/wizard/setuprsc/Makefile
|
toolkit/mozapps/installer/windows/wizard/setuprsc/Makefile
|
||||||
toolkit/mozapps/installer/windows/wizard/uninstall/Makefile
|
toolkit/mozapps/installer/windows/wizard/uninstall/Makefile
|
||||||
toolkit/skin/mac/Makefile
|
toolkit/skin/mac/Makefile
|
||||||
toolkit/skin/unix/Makefile
|
toolkit/skin/gtk2/Makefile
|
||||||
toolkit/skin/win/Makefile
|
toolkit/skin/win/Makefile
|
||||||
toolkit/xre/Makefile
|
toolkit/xre/Makefile
|
||||||
toolkit/content/contents-platform.rdf
|
toolkit/content/contents-platform.rdf
|
||||||
|
@ -61,8 +61,7 @@ endif
|
|||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
# skin/unix contains css rules that more closely match gtk widgets
|
# skin/gtk2 contains css rules that more closely match gtk widgets
|
||||||
### killing this for now until we know how qute looks on linux
|
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
||||||
# ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
|
DIRS += skin/gtk2
|
||||||
# DIRS += skin/unix
|
endif
|
||||||
# endif
|
|
||||||
|
28
toolkit/skin/gtk2/Makefile.in
Normal file
28
toolkit/skin/gtk2/Makefile.in
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#
|
||||||
|
# The contents of this file are subject to the Netscape 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/NPL/
|
||||||
|
#
|
||||||
|
# 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 code.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is Netscape
|
||||||
|
# Communications Corporation. Portions created by Netscape are
|
||||||
|
# Copyright (C) 2000 Netscape Communications Corporation. All
|
||||||
|
# Rights Reserved.
|
||||||
|
#
|
||||||
|
# Contributor(s):
|
||||||
|
#
|
||||||
|
|
||||||
|
DEPTH = ../../..
|
||||||
|
topsrcdir = @top_srcdir@
|
||||||
|
srcdir = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
|
||||||
|
include $(DEPTH)/config/autoconf.mk
|
||||||
|
include $(topsrcdir)/config/rules.mk
|
4
toolkit/skin/gtk2/jar.mn
Normal file
4
toolkit/skin/gtk2/jar.mn
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
classic.jar:
|
||||||
|
+ skin/classic/global/popup.css
|
||||||
|
+ skin/classic/global/menu.css
|
||||||
|
+ skin/classic/global/toolbar.css
|
194
toolkit/skin/gtk2/menu.css
Normal file
194
toolkit/skin/gtk2/menu.css
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
/*
|
||||||
|
* The contents of this file are subject to the Netscape 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/NPL/
|
||||||
|
*
|
||||||
|
* 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 Netscape are
|
||||||
|
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||||
|
* Rights Reserved.
|
||||||
|
*
|
||||||
|
* Contributor(s):
|
||||||
|
* Joe Hewitt (hewitt@netscape.com)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ===== 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 !important;
|
||||||
|
-moz-box-align: center;
|
||||||
|
max-width: 42em;
|
||||||
|
color: MenuText;
|
||||||
|
font: menu;
|
||||||
|
list-style-image: none;
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem[default="true"] {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu[disabled="true"], menuitem[disabled="true"] {
|
||||||
|
color: GrayText;
|
||||||
|
}
|
||||||
|
|
||||||
|
menubar > menu {
|
||||||
|
padding: 0px 6px 0px 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu[_moz-menuactive="true"],
|
||||||
|
menuitem[_moz-menuactive="true"] {
|
||||||
|
/* color: HighlightText; should be fg[PRELIGHT] */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: menu/menuitems in menulist popups ::::: */
|
||||||
|
|
||||||
|
.menulist-menupopup > menuitem,
|
||||||
|
menulist > menupopup > menuitem,
|
||||||
|
.menulist-menupopup > menu,
|
||||||
|
menulist > menupopup > menu {
|
||||||
|
padding: 1px 30px 1px 5px;
|
||||||
|
max-width: none;
|
||||||
|
font: message-box;
|
||||||
|
color: -moz-FieldText;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ..... internal content .... */
|
||||||
|
|
||||||
|
.menu-text,
|
||||||
|
.menu-iconic-left,
|
||||||
|
.menu-iconic-text {
|
||||||
|
margin: 0px 2px 0px 0px !important;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-text {
|
||||||
|
margin-left: 18px !important;
|
||||||
|
font-weight: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-accel,
|
||||||
|
.menu-iconic-accel {
|
||||||
|
margin: 0px 2px 0px 7px !important;
|
||||||
|
padding-right: 14px;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-iconic-left {
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-right {
|
||||||
|
margin: 0px 0px 0px 6px;
|
||||||
|
width: 8px;
|
||||||
|
list-style-image: url("chrome://global/skin/menu/Menu-arrow.png");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-right[_moz-menuactive="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/Menu-arrow-hover.png");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu-right[disabled="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/Menu-arrow-disabled.png");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menubar-left {
|
||||||
|
margin: 0px 2px 0px 0px;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menubar-text {
|
||||||
|
margin: 0px 2px 0px 0px !important;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: checkbox menuitem ::::: */
|
||||||
|
|
||||||
|
menuitem[checked="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/menu-check.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem[checked="true"][disabled="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem[checked="true"][_moz-menuactive="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/menu-check-hover.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: radio menuitem ::::: */
|
||||||
|
|
||||||
|
menuitem[checked="true"][type="radio"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/menu-radio.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem[checked="true"][type="radio"][disabled="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem[checked="true"][type="radio"][_moz-menuactive="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/menu/menu-radio-hover.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: menuseparator ::::: */
|
||||||
|
|
||||||
|
menuseparator {
|
||||||
|
margin: 2px 3px;
|
||||||
|
border-top: 1px solid ThreeDShadow;
|
||||||
|
border-bottom: 1px solid ThreeDHighlight;
|
||||||
|
}
|
||||||
|
|
||||||
|
menulist > menupopup > menuseparator,
|
||||||
|
.menulist-menupopup > menuseparator {
|
||||||
|
margin: 2px 0;
|
||||||
|
border-top: 1px solid #000000;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: autocomplete ::::: */
|
||||||
|
|
||||||
|
.autocomplete-history-popup > menuitem {
|
||||||
|
max-width: none !important;
|
||||||
|
font: message-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: tree column picker ::::: */
|
||||||
|
|
||||||
|
.treecell-popupcell-menu {
|
||||||
|
margin-left: -2px;
|
||||||
|
list-style-image: url("chrome://global/skin/columnselect.gif");
|
||||||
|
-moz-image-region: auto;
|
||||||
|
}
|
66
toolkit/skin/gtk2/popup.css
Normal file
66
toolkit/skin/gtk2/popup.css
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* The contents of this file are subject to the Netscape 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/NPL/
|
||||||
|
*
|
||||||
|
* 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 Netscape are
|
||||||
|
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
||||||
|
* Rights Reserved.
|
||||||
|
*
|
||||||
|
* Contributor(s):
|
||||||
|
* Joe Hewitt (hewitt@netscape.com)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ===== popup.css ===================================================
|
||||||
|
== Styles used by the XUL popup element.
|
||||||
|
======================================================================= */
|
||||||
|
|
||||||
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
|
/* ::::: menupopup ::::: */
|
||||||
|
|
||||||
|
menupopup, popup {
|
||||||
|
-moz-appearance: menupopup !important;
|
||||||
|
min-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: tooltip ::::: */
|
||||||
|
|
||||||
|
tooltip {
|
||||||
|
-moz-appearance: tooltip;
|
||||||
|
margin-top: 21px;
|
||||||
|
padding: 2px 3px;
|
||||||
|
max-width: 40em;
|
||||||
|
color: InfoText;
|
||||||
|
font: message-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip-label {
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
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: 0px;
|
||||||
|
min-width: 0px;
|
||||||
|
}
|
||||||
|
|
119
toolkit/skin/gtk2/toolbar.css
Normal file
119
toolkit/skin/gtk2/toolbar.css
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
/*
|
||||||
|
* The contents of this file are subject to the Netscape 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/NPL/
|
||||||
|
*
|
||||||
|
* 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 Netscape are
|
||||||
|
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
||||||
|
* Rights Reserved.
|
||||||
|
*
|
||||||
|
* Contributor(s):
|
||||||
|
* Joe Hewitt (hewitt@netscape.com)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* ===== toolbar.css ====================================================
|
||||||
|
== Styles used by XUL toolbar-related elements.
|
||||||
|
======================================================================= */
|
||||||
|
|
||||||
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
|
/* ::::: toolbox ::::: */
|
||||||
|
|
||||||
|
toolbox {
|
||||||
|
-moz-appearance: toolbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: menubar & toolbar ::::: */
|
||||||
|
|
||||||
|
menubar, toolbar[type="menubar"] {
|
||||||
|
-moz-appearance: menubar !important;
|
||||||
|
min-width: 1px;
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
toolbar {
|
||||||
|
-moz-appearance: toolbar !important;
|
||||||
|
min-width: 1px;
|
||||||
|
min-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* in browser.xul, the menubar is inside a toolbar... */
|
||||||
|
toolbar > toolbaritem > menubar {
|
||||||
|
-moz-appearance: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: toolbar decorations ::::: */
|
||||||
|
|
||||||
|
toolbarseparator {
|
||||||
|
margin : 2px 0.2em;
|
||||||
|
border-right : 1px solid ThreeDHighlight;
|
||||||
|
border-left : 1px solid ThreeDShadow;
|
||||||
|
width : 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
toolbarspacer {
|
||||||
|
width: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ::::: toolbarpaletteitem ::::: */
|
||||||
|
|
||||||
|
toolbarpaletteitem {
|
||||||
|
cursor: -moz-grab;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbarpaletteitem-box[type="spacer"],
|
||||||
|
.toolbarpaletteitem-box[type="spring"] {
|
||||||
|
border: 1px solid #808080;
|
||||||
|
}
|
||||||
|
|
||||||
|
toolbarpaletteitem[place="toolbar"] {
|
||||||
|
margin-left: -2px;
|
||||||
|
margin-right: -2px;
|
||||||
|
border-left: 2px solid transparent;
|
||||||
|
border-right: 2px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
toolbarpaletteitem[place="toolbar"] > toolbarspacer {
|
||||||
|
width: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
|
||||||
|
.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
|
||||||
|
margin: 2px 2px 2px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbarpaletteitem-box[type="separator"][place="palette"] {
|
||||||
|
width: 2px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbarpaletteitem-box[type="spacer"][place="palette"],
|
||||||
|
.toolbarpaletteitem-box[type="spring"][place="palette"] {
|
||||||
|
margin-bottom: 2px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toolbarpaletteitem-box[type="spring"][place="palette"] {
|
||||||
|
background: url("chrome://global/skin/toolbar/spacer-mid.gif") no-repeat center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ..... drag and drop feedback ..... */
|
||||||
|
|
||||||
|
toolbarpaletteitem[dragover="left"] {
|
||||||
|
border-left-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
toolbarpaletteitem[dragover="right"] {
|
||||||
|
border-right-color: #000000;
|
||||||
|
}
|
@ -1,44 +0,0 @@
|
|||||||
# ***** 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 code.
|
|
||||||
#
|
|
||||||
# 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>
|
|
||||||
#
|
|
||||||
# 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
|
|
@ -1,127 +0,0 @@
|
|||||||
/*
|
|
||||||
* The contents of this file are subject to the Netscape 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/NPL/
|
|
||||||
*
|
|
||||||
* 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 Netscape are
|
|
||||||
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
|
||||||
* Rights Reserved.
|
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Joe Hewitt (hewitt@netscape.com)
|
|
||||||
* Brian Ryner <bryner@brianryner.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* ===== autocomplete.css =================================================
|
|
||||||
== Styles used by the autocomplete widget.
|
|
||||||
======================================================================= */
|
|
||||||
|
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
||||||
@namespace html url("http://www.w3.org/1999/xhtml");
|
|
||||||
|
|
||||||
/* ::::: autocomplete ::::: */
|
|
||||||
|
|
||||||
textbox {
|
|
||||||
cursor: default;
|
|
||||||
padding: 0;
|
|
||||||
-moz-appearance: none;
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Used by autocomplete widgets that don't have an icon. Gross. -dwh */
|
|
||||||
textbox.padded {
|
|
||||||
padding: 1px 0px 1px 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete-textbox-container {
|
|
||||||
-moz-appearance: menulist-textfield;
|
|
||||||
border: 2px solid;
|
|
||||||
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
|
||||||
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
|
|
||||||
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
|
|
||||||
}
|
|
||||||
|
|
||||||
.textbox-input-box {
|
|
||||||
margin: 0 3px;
|
|
||||||
-moz-box-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: history button ::::: */
|
|
||||||
|
|
||||||
.autocomplete-history-dropmarker {
|
|
||||||
-moz-appearance: menulist-button;
|
|
||||||
min-width: 17px;
|
|
||||||
-moz-box-align: center;
|
|
||||||
-moz-box-pack: center;
|
|
||||||
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;
|
|
||||||
padding: 1px;
|
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete-history-dropmarker[open="true"] {
|
|
||||||
-moz-border-top-colors: ThreeDShadow ThreeDFace;
|
|
||||||
-moz-border-right-colors: ThreeDShadow ThreeDFace;
|
|
||||||
-moz-border-bottom-colors: ThreeDShadow ThreeDFace;
|
|
||||||
-moz-border-left-colors: ThreeDShadow ThreeDFace;
|
|
||||||
padding: 2px 0 0 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: autocomplete popups ::::: */
|
|
||||||
|
|
||||||
.autocomplete-result-popup,
|
|
||||||
.autocomplete-history-popup {
|
|
||||||
-moz-appearance: listbox;
|
|
||||||
border-width: 1px;
|
|
||||||
-moz-border-top-colors: ThreeDDarkShadow;
|
|
||||||
-moz-border-right-colors: ThreeDDarkShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow;
|
|
||||||
-moz-border-left-colors: ThreeDDarkShadow;
|
|
||||||
padding: 0;
|
|
||||||
background-color: -moz-Field !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete-history-popup {
|
|
||||||
max-height: 180px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: tree ::::: */
|
|
||||||
|
|
||||||
.autocomplete-tree {
|
|
||||||
-moz-appearance: none !important;
|
|
||||||
border: none;
|
|
||||||
background-color: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete-treecol {
|
|
||||||
margin: 0 !important;
|
|
||||||
border: none !important;
|
|
||||||
padding: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.autocomplete-treebody::-moz-tree-cell-text {
|
|
||||||
padding-left: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
treechildren.autocomplete-treebody::-moz-tree-row(selected) {
|
|
||||||
background-color: Highlight;
|
|
||||||
}
|
|
||||||
|
|
||||||
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
|
|
||||||
color: HighlightText !important;
|
|
||||||
}
|
|
@ -1,136 +0,0 @@
|
|||||||
/*
|
|
||||||
* The contents of this file are subject to the Netscape 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/NPL/
|
|
||||||
*
|
|
||||||
* 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 Netscape are
|
|
||||||
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
||||||
* Rights Reserved.
|
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Joe Hewitt (hewitt@netscape.com)
|
|
||||||
* Brian Ryner <bryner@brianryner.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* ===== 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: 1px 5px 2px 5px;
|
|
||||||
min-width: 6.3em;
|
|
||||||
border: 3px solid;
|
|
||||||
-moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow;
|
|
||||||
-moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-bottom-colors: transparent ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-left-colors: transparent ThreeDHighlight ThreeDLightShadow;
|
|
||||||
background-color: ThreeDFace;
|
|
||||||
color: ButtonText;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-box {
|
|
||||||
padding: 1px 4px 2px 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-text {
|
|
||||||
margin: 0 !important;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .......... focused state .......... */
|
|
||||||
|
|
||||||
button:focus {
|
|
||||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight transparent;
|
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .......... default state .......... */
|
|
||||||
|
|
||||||
button[default="true"] {
|
|
||||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight ThreeDLightShadow;
|
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight ThreeDLightShadow;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .......... active/open/checked state .......... */
|
|
||||||
|
|
||||||
button:hover:active,
|
|
||||||
button[open="true"],
|
|
||||||
button[checked="true"] {
|
|
||||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow transparent;
|
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow transparent;
|
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow transparent;
|
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover:active > .button-box,
|
|
||||||
button[open="true"] > .button-box,
|
|
||||||
button[checked="true"] > .button-box {
|
|
||||||
padding: 2px 3px 1px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .......... disabled state .......... */
|
|
||||||
|
|
||||||
button[disabled="true"] {
|
|
||||||
-moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow !important;
|
|
||||||
-moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow !important;
|
|
||||||
-moz-border-bottom-colors: transparent ThreeDDarkShadow ThreeDShadow !important;
|
|
||||||
-moz-border-left-colors: transparent ThreeDHighlight ThreeDLightShadow !important;
|
|
||||||
color: GrayText;
|
|
||||||
}
|
|
||||||
|
|
||||||
button[disabled="true"] > .button-box {
|
|
||||||
padding: 1px 4px 2px 3px !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 {
|
|
||||||
margin: 1px;
|
|
||||||
background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
||||||
min-width:11px;
|
|
||||||
min-height:11px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-menu-dropmarker[disabled="true"],
|
|
||||||
.button-menubutton-dropmarker[disabled="true"] {
|
|
||||||
background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
|
||||||
}
|
|
||||||
|
|
||||||
.button-menubutton-dropmarker[open="true"] {
|
|
||||||
margin: 2px 0px 0px 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: plain buttons ::::: */
|
|
||||||
|
|
||||||
button.plain {
|
|
||||||
border: 0px !important;
|
|
||||||
margin: 0px !important;
|
|
||||||
padding: 0px !important;
|
|
||||||
}
|
|
@ -1,99 +0,0 @@
|
|||||||
/*
|
|
||||||
* The contents of this file are subject to the Netscape 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/NPL/
|
|
||||||
*
|
|
||||||
* 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 Netscape are
|
|
||||||
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
||||||
* Rights Reserved.
|
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Brian Ryner <bryner@brianryner.com>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* ===== checkbox.css ===================================================
|
|
||||||
== Styles used by the XUL checkbox element.
|
|
||||||
======================================================================= */
|
|
||||||
|
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
||||||
|
|
||||||
/* ::::: checkbox ::::: */
|
|
||||||
|
|
||||||
checkbox {
|
|
||||||
-moz-appearance: checkbox-container;
|
|
||||||
-moz-box-align: center;
|
|
||||||
margin: 2px 4px;
|
|
||||||
padding: 0px 2px;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-label-box {
|
|
||||||
margin-left: 2px;
|
|
||||||
padding: 0px 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-icon {
|
|
||||||
margin-right: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.checkbox-label {
|
|
||||||
margin: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ..... focused state ..... */
|
|
||||||
|
|
||||||
checkbox:focus {
|
|
||||||
border: 1px solid ThreeDDarkShadow;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ..... disabled state ..... */
|
|
||||||
|
|
||||||
checkbox[disabled="true"] > .checkbox-check {
|
|
||||||
background-color: -moz-Dialog;
|
|
||||||
}
|
|
||||||
|
|
||||||
checkbox[disabled="true"] {
|
|
||||||
color: GrayText !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: checkmark image ::::: */
|
|
||||||
|
|
||||||
.checkbox-check {
|
|
||||||
-moz-appearance: checkbox;
|
|
||||||
-moz-box-align: center;
|
|
||||||
border: 2px solid;
|
|
||||||
margin: 5px 0px 4px 0px;
|
|
||||||
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
|
||||||
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
|
|
||||||
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
|
|
||||||
min-width: 13px;
|
|
||||||
min-height: 13px;
|
|
||||||
background: -moz-Field 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
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
classic.jar:
|
|
||||||
+ skin/classic/global/autocomplete.css
|
|
||||||
+ skin/classic/global/checkbox.css
|
|
||||||
+ skin/classic/global/radio.css
|
|
||||||
+ skin/classic/global/button.css
|
|
||||||
+ skin/classic/global/toolbarbutton.css
|
|
@ -1,109 +0,0 @@
|
|||||||
/*
|
|
||||||
* The contents of this file are subject to the Netscape 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/NPL/
|
|
||||||
*
|
|
||||||
* 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 Netscape are
|
|
||||||
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
||||||
* Rights Reserved.
|
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Brian Ryner <bryner@brianryner.com>
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* ===== 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: 0px 2px 0px 1px;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio-label-box {
|
|
||||||
margin-left: 2px;
|
|
||||||
padding: 0px 0px 1px 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio-icon {
|
|
||||||
margin-right: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio-label {
|
|
||||||
margin: 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ..... focused state ..... */
|
|
||||||
|
|
||||||
radio[focused="true"] {
|
|
||||||
border: 1px solid ThreeDDarkShadow;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ..... disabled state ..... */
|
|
||||||
|
|
||||||
radio[disabled="true"] > .radio-check-box1 {
|
|
||||||
background-color: -moz-Dialog;
|
|
||||||
}
|
|
||||||
|
|
||||||
radio[disabled="true"] {
|
|
||||||
color: GrayText !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: checkmark image ::::: */
|
|
||||||
|
|
||||||
.radio-check-box1 {
|
|
||||||
-moz-appearance: radio;
|
|
||||||
margin: 3px 0px 4px 0px;
|
|
||||||
border-top: 1px solid ThreeDShadow;
|
|
||||||
border-right: 1px solid ThreeDHighlight;
|
|
||||||
border-bottom: 1px solid ThreeDHighlight;
|
|
||||||
border-left: 1px solid ThreeDShadow;
|
|
||||||
-moz-border-radius: 50%;
|
|
||||||
min-width: 12px;
|
|
||||||
min-height: 12px;
|
|
||||||
background-color: -moz-Field;
|
|
||||||
}
|
|
||||||
|
|
||||||
.radio-check-box2 {
|
|
||||||
border-top: 1px solid ThreeDDarkShadow;
|
|
||||||
border-right: 1px solid ThreeDLightShadow;
|
|
||||||
border-bottom: 1px solid ThreeDLightShadow;
|
|
||||||
border-left: 1px solid ThreeDDarkShadow;
|
|
||||||
-moz-border-radius: 50%;
|
|
||||||
padding: 2px;
|
|
||||||
width: 4px;
|
|
||||||
height: 4px;
|
|
||||||
list-style-image: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
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 {
|
|
||||||
list-style-image: url("chrome://global/skin/radio/radio-check-dis.gif") !important
|
|
||||||
}
|
|
@ -1,189 +0,0 @@
|
|||||||
/*
|
|
||||||
* The contents of this file are subject to the Netscape 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/NPL/
|
|
||||||
*
|
|
||||||
* 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 Netscape are
|
|
||||||
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
||||||
* Rights Reserved.
|
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
* Joe Hewitt (hewitt@netscape.com)
|
|
||||||
* Brian Ryner <bryner@brianryner.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* ===== toolbarbutton.css =====================================================
|
|
||||||
== Styles used by the XUL button element.
|
|
||||||
======================================================================= */
|
|
||||||
|
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
||||||
|
|
||||||
/* ::::: toolbarbutton ::::: */
|
|
||||||
|
|
||||||
toolbarbutton {
|
|
||||||
-moz-appearance: toolbarbutton;
|
|
||||||
-moz-box-align: center;
|
|
||||||
-moz-box-pack: center;
|
|
||||||
margin: 0;
|
|
||||||
border: 2px solid;
|
|
||||||
-moz-border-top-colors: transparent;
|
|
||||||
-moz-border-right-colors: transparent;
|
|
||||||
-moz-border-bottom-colors: transparent;
|
|
||||||
-moz-border-left-colors: transparent;
|
|
||||||
padding: 2px;
|
|
||||||
background-color: transparent;
|
|
||||||
color: -moz-DialogText;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-icon {
|
|
||||||
margin-right: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-text {
|
|
||||||
margin: 0 !important;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton:hover,
|
|
||||||
toolbarbutton[buttonover="true"] {
|
|
||||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight;
|
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton:hover:active,
|
|
||||||
toolbarbutton[open="true"] {
|
|
||||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
|
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDHighlight;
|
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDHighlight;
|
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
|
||||||
padding: 3px 1px 1px 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton[disabled="true"],
|
|
||||||
toolbarbutton[disabled="true"]:hover,
|
|
||||||
toolbarbutton[disabled="true"]:hover:active
|
|
||||||
toolbarbutton[disabled="true"][open="true"] {
|
|
||||||
-moz-border-top-colors: transparent;
|
|
||||||
-moz-border-right-colors: transparent;
|
|
||||||
-moz-border-bottom-colors: transparent;
|
|
||||||
-moz-border-left-colors: transparent;
|
|
||||||
padding: 2px;
|
|
||||||
color: GrayText;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ..... checked state ..... */
|
|
||||||
|
|
||||||
toolbarbutton[checked="true"] {
|
|
||||||
-moz-border-top-colors: ThreeDLightShadow ThreeDShadow !important;
|
|
||||||
-moz-border-right-colors: ThreeDLightShadow ThreeDHighlight !important;
|
|
||||||
-moz-border-bottom-colors: ThreeDLightShadow ThreeDHighlight !important;
|
|
||||||
-moz-border-left-colors: ThreeDLightShadow ThreeDShadow !important;
|
|
||||||
padding: 2px !important;
|
|
||||||
background-color: ThreeDHighlight !important;
|
|
||||||
color: ButtonText !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: toolbarbutton menu ::::: */
|
|
||||||
|
|
||||||
.toolbarbutton-menu-dropmarker {
|
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
||||||
-moz-image-region: auto; /* cut off inheritance */
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-menu-dropmarker[disabled="true"] {
|
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ::::: toolbarbutton menu-button ::::: */
|
|
||||||
|
|
||||||
toolbarbutton[type="menu-button"] {
|
|
||||||
-moz-box-align: stretch;
|
|
||||||
-moz-appearance: dualbutton;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton[type="menu-button"],
|
|
||||||
toolbarbutton[type="menu-button"]:hover,
|
|
||||||
toolbarbutton[type="menu-button"]:hover:active,
|
|
||||||
toolbarbutton[type="menu-button"][open="true"],
|
|
||||||
toolbarbutton[type="menu-button"][disabled="true"],
|
|
||||||
toolbarbutton[type="menu-button"][disabled="true"]:hover,
|
|
||||||
toolbarbutton[type="menu-button"][disabled="true"]:hover:active {
|
|
||||||
border: 1px solid;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-menubutton-button {
|
|
||||||
-moz-box-align: center;
|
|
||||||
-moz-box-pack: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-menubutton-button,
|
|
||||||
.toolbarbutton-menubutton-dropmarker {
|
|
||||||
border: 1px solid;
|
|
||||||
-moz-border-top-colors: transparent;
|
|
||||||
-moz-border-right-colors: transparent;
|
|
||||||
-moz-border-bottom-colors: transparent;
|
|
||||||
-moz-border-left-colors: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-menubutton-button[disabled="true"],
|
|
||||||
.toolbarbutton-menubutton-dropmarker[disabled="true"] {
|
|
||||||
-moz-border-top-colors: transparent !important;
|
|
||||||
-moz-border-right-colors: transparent !important;
|
|
||||||
-moz-border-bottom-colors: transparent !important;
|
|
||||||
-moz-border-left-colors: transparent !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton[type="menu-button"]:hover > .toolbarbutton-menubutton-button,
|
|
||||||
toolbarbutton[type="menu-button"][buttonover="true"] > .toolbarbutton-menubutton-button,
|
|
||||||
toolbarbutton[type="menu-button"]:hover > .toolbarbutton-menubutton-dropmarker,
|
|
||||||
toolbarbutton[type="menu-button"][buttonover="true"] > .toolbarbutton-menubutton-dropmarker,
|
|
||||||
toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-button {
|
|
||||||
-moz-border-top-colors: ThreeDHighlight;
|
|
||||||
-moz-border-right-colors: ThreeDShadow;
|
|
||||||
-moz-border-bottom-colors: ThreeDShadow;
|
|
||||||
-moz-border-left-colors: ThreeDHighlight;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton[type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-button,
|
|
||||||
toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
|
|
||||||
toolbarbutton[type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker,
|
|
||||||
toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
|
|
||||||
-moz-border-top-colors: ThreeDShadow;
|
|
||||||
-moz-border-right-colors: ThreeDHighlight;
|
|
||||||
-moz-border-bottom-colors: ThreeDHighlight;
|
|
||||||
-moz-border-left-colors: ThreeDShadow;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .......... dropmarker .......... */
|
|
||||||
|
|
||||||
.toolbarbutton-menubutton-dropmarker {
|
|
||||||
-moz-box-align: center;
|
|
||||||
padding: 0 0 1px 0;
|
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
|
||||||
-moz-image-region: auto; /* cut off inheritance */
|
|
||||||
-moz-appearance: dualbutton-dropdown;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbarbutton-menubutton-dropmarker[disabled="true"] {
|
|
||||||
border: 1px solid transparent !important;
|
|
||||||
padding: 0 0 1px 0 !important;
|
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
|
|
||||||
toolbarbutton[type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker {
|
|
||||||
padding: 1px 0 0 0;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user