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-11-19 00:05:43 +03:00
|
|
|
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
|
|
|
|
|
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"
|
1999-06-05 03:28:56 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-10-30 09:44:23 +04:00
|
|
|
class="dialog"
|
1999-08-06 01:41:40 +04:00
|
|
|
onload="StartUp('Colors')" title="&window.title;" align="vertical">
|
1999-06-05 03:28:56 +04:00
|
|
|
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:script language="JavaScript" src="chrome://pref/content/PrefsWindow.js"/>
|
1999-06-05 03:28:56 +04:00
|
|
|
|
1999-09-17 10:30:56 +04:00
|
|
|
<html:script>
|
|
|
|
function setColorWell(menu)
|
|
|
|
{
|
|
|
|
// Find the colorWell and colorPicker in the hierarchy.
|
|
|
|
var colorWell = menu.firstChild.nextSibling;
|
|
|
|
var colorPicker = menu.firstChild.nextSibling.nextSibling.firstChild;
|
|
|
|
|
|
|
|
// Extract color from colorPicker and assign to colorWell.
|
|
|
|
var color = colorPicker.getAttribute('color');
|
|
|
|
colorWell.style.backgroundColor = color;
|
|
|
|
}
|
|
|
|
</html:script>
|
|
|
|
|
|
|
|
|
1999-11-19 00:05:43 +03: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">
|
|
|
|
<html:fieldset flex="1">
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:legend align="left">
|
|
|
|
<html:div>
|
1999-09-14 09:50:32 +04:00
|
|
|
&color;
|
|
|
|
</html:div>
|
|
|
|
</html:legend>
|
|
|
|
<html:div>
|
1999-09-17 10:30:56 +04:00
|
|
|
<menu>
|
|
|
|
<titledbutton value="&text;" class="popup" align="right"/>
|
|
|
|
<html:div style="width:30px; background-color:white"/>
|
|
|
|
<menupopup>
|
|
|
|
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
1999-09-14 09:50:32 +04:00
|
|
|
</html:div>
|
|
|
|
<html:div>
|
1999-09-17 10:30:56 +04:00
|
|
|
<menu>
|
|
|
|
<titledbutton value="&background;" class="popup" align="right"/>
|
|
|
|
<html:div style="width:30px; background-color:white"/>
|
|
|
|
<menupopup>
|
|
|
|
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
1999-09-14 09:50:32 +04:00
|
|
|
</html:div>
|
|
|
|
<html:div>
|
|
|
|
<html:input type="checkbox" id="pref:0:bool:browser.wfe.use_windows_colors"
|
|
|
|
val="checked" />
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:label for="pref:0:bool:browser.wfe.use_windows_colors" accesskey="w" tabindex="0">
|
|
|
|
&useWinColorsCheck.label;
|
|
|
|
</html:label>
|
|
|
|
</html:div>
|
|
|
|
</html:fieldset>
|
1999-11-19 00:05:43 +03:00
|
|
|
<html:fieldset flex="1">
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:legend align="left">
|
|
|
|
<html:div>&links;</html:div>
|
|
|
|
</html:legend>
|
1999-09-14 09:50:32 +04:00
|
|
|
<html:div>
|
1999-09-17 10:30:56 +04:00
|
|
|
<menu>
|
|
|
|
<titledbutton value="&unvisit;" class="popup" align="right"/>
|
|
|
|
<html:div style="width:30px; background-color:white"/>
|
|
|
|
<menupopup>
|
|
|
|
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
1999-09-14 09:50:32 +04:00
|
|
|
</html:div>
|
|
|
|
<html:div>
|
1999-09-17 10:30:56 +04:00
|
|
|
<menu>
|
|
|
|
<titledbutton value="&visit;" class="popup" align="right"/>
|
|
|
|
<html:div style="width:30px; background-color:white"/>
|
|
|
|
<menupopup>
|
|
|
|
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode);"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
1999-09-14 09:50:32 +04:00
|
|
|
</html:div>
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:div><html:input type="checkbox" id="pref:0:bool:browser.underline_anchors" val="checked" />
|
|
|
|
<html:label for="pref:0:bool:browser.underline_anchors" accesskey="u" tabindex="0">
|
|
|
|
&underLinksCheck.label;
|
|
|
|
</html:label>
|
|
|
|
|
|
|
|
</html:div>
|
|
|
|
</html:fieldset>
|
|
|
|
</box>
|
1999-06-05 03:28:56 +04:00
|
|
|
|
1999-11-19 00:05:43 +03:00
|
|
|
<html:fieldset>
|
1999-08-06 01:41:40 +04:00
|
|
|
<html:legend align="left">
|
|
|
|
<html:div></html:div>
|
|
|
|
</html:legend>
|
|
|
|
<html:div>
|
|
|
|
&someProvColors;
|
|
|
|
</html:div>
|
|
|
|
<html:div>
|
|
|
|
<html:input type="checkbox" id="pref:0:bool:browser.use_document_colors" />
|
|
|
|
<html:label for="pref:0:bool:browser.use_document_colors" accesskey="a" tabindex="0">
|
|
|
|
&alwaysOverCheck.label;
|
|
|
|
</html:label>
|
|
|
|
</html:div>
|
|
|
|
</html:fieldset>
|
1999-10-06 03:40:07 +04:00
|
|
|
</window>
|