2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
2007-12-03 07:10:08 -08:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07: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;"
|
|
|
|
dlgbuttons="accept,cancel,help"
|
2008-03-24 10:18:38 -07:00
|
|
|
ondialoghelp="openPrefsHelp()"
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
style="width: &window.macWidth; !important;">
|
|
|
|
#else
|
|
|
|
style="width: &window.width; !important;">
|
|
|
|
#endif
|
|
|
|
|
2008-03-24 10:18:38 -07:00
|
|
|
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<prefpane id="ColorsDialogPane"
|
2008-03-24 10:18:38 -07:00
|
|
|
helpTopic="prefs-fonts-and-colors">
|
2007-03-22 10:30:00 -07: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;"
|
2008-04-17 18:49:19 -07:00
|
|
|
preference="browser.display.use_document_colors" flex="1"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</hbox>
|
|
|
|
</prefpane>
|
|
|
|
</prefwindow>
|