2005-02-25 12:07:58 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2005-09-13 22:40:56 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
2005-02-25 12:07:58 +03:00
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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/
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# The Original Code is the Firefox Preferences System.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Ben Goodger.
|
2005-02-25 12:07:58 +03:00
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# Contributor(s):
|
|
|
|
# Ben Goodger <ben@mozilla.org>
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
2007-12-03 18:10:08 +03:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
|
|
|
|
#endif
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
<!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/colors.dtd" >
|
|
|
|
|
|
|
|
<prefwindow id="ColorsDialog" type="child"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
title="&colorsDialog.title;"
|
2005-06-17 02:16:26 +04:00
|
|
|
dlgbuttons="accept,cancel,help"
|
2008-03-24 20:18:38 +03:00
|
|
|
ondialoghelp="openPrefsHelp()"
|
2005-11-05 00:21:49 +03:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
style="width: &window.macWidth; !important;">
|
|
|
|
#else
|
2005-04-20 15:24:46 +04:00
|
|
|
style="width: &window.width; !important;">
|
2005-11-05 00:21:49 +03:00
|
|
|
#endif
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2008-03-24 20:18:38 +03:00
|
|
|
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
2005-06-17 02:16:26 +04:00
|
|
|
<prefpane id="ColorsDialogPane"
|
2008-03-24 20:18:38 +03:00
|
|
|
helpTopic="prefs-fonts-and-colors">
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
<preferences>
|
|
|
|
<preference id="browser.display.use_document_colors" name="browser.display.use_document_colors" type="bool"/>
|
|
|
|
<preference id="browser.anchor_color" name="browser.anchor_color" type="string"/>
|
|
|
|
<preference id="browser.visited_color" name="browser.visited_color" type="string"/>
|
|
|
|
<preference id="browser.underline_anchors" name="browser.underline_anchors" type="bool"/>
|
|
|
|
<preference id="browser.display.foreground_color" name="browser.display.foreground_color" type="string"/>
|
|
|
|
<preference id="browser.display.background_color" name="browser.display.background_color" type="string"/>
|
|
|
|
<preference id="browser.display.use_system_colors" name="browser.display.use_system_colors" type="bool"/>
|
|
|
|
</preferences>
|
|
|
|
|
|
|
|
<hbox>
|
|
|
|
<groupbox flex="1">
|
|
|
|
<caption label="&color;"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<label value="&textColor.label;" accesskey="&textColor.accesskey;" control="foregroundtextmenu"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<colorpicker type="button" id="foregroundtextmenu" palettename="standard"
|
|
|
|
preference="browser.display.foreground_color"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center" style="margin-top: 5px">
|
|
|
|
<label value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" control="backgroundmenu"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<colorpicker type="button" id="backgroundmenu" palettename="standard"
|
|
|
|
preference="browser.display.background_color"/>
|
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<checkbox id="browserUseSystemColors" label="&useSystemColors.label;" accesskey="&useSystemColors.accesskey;"
|
|
|
|
preference="browser.display.use_system_colors"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<groupbox flex="1">
|
|
|
|
<caption label="&links;"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<label value="&linkColor.label;" accesskey="&linkColor.accesskey;" control="unvisitedlinkmenu"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<colorpicker type="button" id="unvisitedlinkmenu" palettename="standard"
|
|
|
|
preference="browser.anchor_color"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center" style="margin-top: 5px">
|
|
|
|
<label value="&visitedLinkColor.label;" accesskey="&visitedLinkColor.accesskey;" control="visitedlinkmenu"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<colorpicker type="button" id="visitedlinkmenu" palettename="standard"
|
|
|
|
preference="browser.visited_color"/>
|
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<checkbox id="browserUnderlineAnchors" label="&underlineLinks.label;" accesskey="&underlineLinks.accesskey;"
|
|
|
|
preference="browser.underline_anchors"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
</hbox>
|
|
|
|
<hbox>
|
|
|
|
<checkbox id="useDocumentColors"
|
|
|
|
label="&allowPagesToUse.label;" accesskey="&allowPagesToUse.accesskey;"
|
2007-03-23 02:01:14 +03:00
|
|
|
preference="browser.display.use_document_colors"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</hbox>
|
|
|
|
</prefpane>
|
|
|
|
</prefwindow>
|