1999-06-05 03:28:56 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-10 06:48:56 +04:00
|
|
|
<!--
|
|
|
|
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):
|
|
|
|
-->
|
1999-06-05 03:28:56 +04:00
|
|
|
|
1999-12-06 12:21:10 +03:00
|
|
|
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
|
1999-11-19 00:05:43 +03:00
|
|
|
|
1999-08-10 06:48:56 +04:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-colors.dtd" >
|
1999-10-06 03:40:07 +04:00
|
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
2006-05-17 06:22:45 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-10-30 09:44:23 +04:00
|
|
|
class="dialog"
|
2006-05-17 06:22:45 +04:00
|
|
|
title="&window.title;" align="vertical"
|
|
|
|
onload="if( parent.handle ) parent.handle.onpageload( 'pref-colors' ); else parent.queuedTag = 'pref-colors'; InitColors();">
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2006-05-17 06:22:45 +04:00
|
|
|
<html:script language="JavaScript" src="chrome://pref/content/pref-colors.js"/>
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2006-05-17 06:22:45 +04:00
|
|
|
<box class="header" align="horizontal">
|
|
|
|
<titledbutton class="left-header-text" value="&lHeader;"/>
|
|
|
|
<spring class="header-spring" flex="1"/>
|
|
|
|
<titledbutton class="right-header-text" value="&rHeader;"/>
|
1999-08-06 01:41:40 +04:00
|
|
|
</box>
|
1999-11-19 00:05:43 +03:00
|
|
|
|
|
|
|
|
|
|
|
<box align="horizontal">
|
2006-05-17 06:22:45 +04:00
|
|
|
<html:fieldset flex="100%" style="width: 100%">
|
|
|
|
<html:legend align="left"> &color;</html:legend>
|
|
|
|
<box style="width: 100%">
|
|
|
|
<html:label>&text;</html:label>
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<menu id="foregroundtextmenu" allowevents="true" class="colorpicker">
|
|
|
|
<html:div id="browserForegroundColorDiv" style="width:30px; background-color:white"/>
|
2006-05-17 06:22:52 +04:00
|
|
|
<titledbutton class="popup" align="right"/>
|
2006-05-17 06:22:45 +04:00
|
|
|
<menupopup id="foregroundMenuPopup">
|
|
|
|
<colorpicker allowevents="true" id="foregroundColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'foregroundtext', false);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<html:input type="hidden" id="foregroundText"
|
|
|
|
pref="true" preftype="string" prefstring="browser.foreground_color"/>
|
|
|
|
</box>
|
|
|
|
<box style="width: 100%">
|
|
|
|
<html:label>&background;</html:label>
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<menu id="backgroundmenu" allowevents="true" class="colorpicker">
|
|
|
|
<html:div id="browserBackgroundColorDiv" style="width:30px; background-color:white"/>
|
|
|
|
<spring flex="100%"/>
|
2006-05-17 06:22:52 +04:00
|
|
|
<titledbutton class="popup" align="right"/>
|
2006-05-17 06:22:45 +04:00
|
|
|
<menupopup id="backgroundMenuPopup">
|
|
|
|
<colorpicker allowevents="true" id="backgroundColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'background', false);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<html:input type="hidden" id="background"
|
|
|
|
pref="true" preftype="string" prefstring="browser.background_color"/>
|
|
|
|
</box>
|
|
|
|
<html:div>
|
|
|
|
<html:input type="checkbox" id="browserWFEUseWindowsColors"
|
|
|
|
pref="true" preftype="bool" prefstring="browser.wfe.use_windows_colors"/>
|
|
|
|
<html:label for="browserWFEUseWindowsColors" accesskey="w" tabindex="0">
|
|
|
|
&useWinColorsCheck.label;
|
|
|
|
</html:label>
|
|
|
|
</html:div>
|
|
|
|
</html:fieldset>
|
1999-11-19 00:05:43 +03:00
|
|
|
<html:fieldset flex="1">
|
2006-05-17 06:22:45 +04:00
|
|
|
<html:legend align="left">&links;</html:legend>
|
|
|
|
<box style="width: 100%">
|
|
|
|
<html:label>&unvisit;</html:label>
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<menu id="unvisitedlinkmenu" allowevents="true" class="colorpicker">
|
|
|
|
<html:div id="browserUnvisitedLinksColorDiv" style="width:30px; background-color:white"/>
|
|
|
|
<spring flex="100%"/>
|
2006-05-17 06:22:52 +04:00
|
|
|
<titledbutton class="popup" align="right" flex="100%"/>
|
2006-05-17 06:22:45 +04:00
|
|
|
<menupopup id="unvisitedLinksMenuPopup">
|
|
|
|
<colorpicker allowevents="true" id="unvisitedLinksColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'background', false);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<html:input type="hidden" id="unvisitedLinks"
|
|
|
|
pref="true" preftype="string" prefstring="browser.anchor_color"/>
|
|
|
|
</box>
|
|
|
|
<box style="width: 100%">
|
|
|
|
<html:label>&visit;</html:label>
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<menu id="visitedlinkmenu" allowevents="true" class="colorpicker">
|
|
|
|
<html:div id="browserVisitedLinksColorDiv" style="width:30px; background-color:white"/>
|
|
|
|
<spring flex="100%"/>
|
2006-05-17 06:22:52 +04:00
|
|
|
<titledbutton class="popup" align="right"/>
|
2006-05-17 06:22:45 +04:00
|
|
|
<menupopup id="visitedLinksMenuPopup">
|
|
|
|
<colorpicker allowevents="true" id="visitedLinksColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'background', false);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<html:input type="hidden" id="visitedLinks"
|
|
|
|
pref="true" preftype="string" prefstring="browser.visited_color"/>
|
|
|
|
</box>
|
|
|
|
<html:div>
|
|
|
|
<html:input type="checkbox" id="browserUnderlineAnchors" pref="true"
|
|
|
|
preftype="bool" prefstring="browser.underline_anchors"/>
|
|
|
|
<html:label for="browserUnderlineAnchors" accesskey="u" tabindex="0">
|
|
|
|
&underLinksCheck.label;
|
|
|
|
</html:label>
|
|
|
|
</html:div>
|
|
|
|
</html:fieldset>
|
|
|
|
</box>
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2006-05-17 06:22:45 +04:00
|
|
|
<html:fieldset>
|
|
|
|
<html:div>&someProvColors;</html:div>
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:div>
|
2006-05-17 06:22:45 +04:00
|
|
|
<html:input type="checkbox" id="browserUseDocumentColors"
|
|
|
|
pref="true" preftype="bool" prefstring="browser.use_document_colors"/>
|
|
|
|
<html:label for="browserUseDocumentColors" accesskey="a" tabindex="0">
|
|
|
|
&alwaysOverCheck.label;
|
|
|
|
</html:label>
|
1999-08-06 01:41:40 +04:00
|
|
|
</html:div>
|
|
|
|
</html:fieldset>
|
1999-10-06 03:40:07 +04:00
|
|
|
</window>
|