зеркало из https://github.com/mozilla/gecko-dev.git
139 строки
6.5 KiB
XML
139 строки
6.5 KiB
XML
<?xml version="1.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):
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-colors.dtd" >
|
|
<window debug="false" xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="dialog"
|
|
title="&window.title;" align="vertical"
|
|
onload="if( parent.handle ) parent.handle.onpageload( 'pref-colors' ); else parent.queuedTag = 'pref-colors'; InitColors();">
|
|
|
|
<html:script language="JavaScript" src="chrome://communicator/content/pref/pref-colors.js"/>
|
|
|
|
<box type="smallheader" title="&lHeader;" description="&rHeader;"/>
|
|
|
|
<box align="horizontal">
|
|
<!-- back and foreground colors -->
|
|
<titledbox orient="vertical" flex="1">
|
|
<title><html:div> &color;</html:div></title>
|
|
<box>
|
|
<html:label>&text;</html:label>
|
|
<spring flex="1"/>
|
|
<menu id="foregroundtextmenu" allowevents="true" class="colorpicker">
|
|
<html:div id="browserForegroundColorDiv" style="width:30px; background-color:white"/>
|
|
<titledbutton class="popup" align="right"/>
|
|
<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="color" prefstring="browser.foreground_color"/>
|
|
</box>
|
|
<box>
|
|
<html:label>&background;</html:label>
|
|
<spring flex="1"/>
|
|
<menu id="backgroundmenu" allowevents="true" class="colorpicker">
|
|
<html:div id="browserBackgroundColorDiv" style="width:30px; background-color:white"/>
|
|
<spring flex="1"/>
|
|
<titledbutton class="popup" align="right"/>
|
|
<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="color" prefstring="browser.background_color"/>
|
|
</box>
|
|
<html:div class="vspace hspace-both">
|
|
<html:input type="checkbox" id="browserWFEUseWindowsColors"
|
|
pref="true" preftype="bool" prefstring="browser.wfe.use_windows_colors"/>
|
|
<html:label for="browserWFEUseWindowsColors" accesskey="&useWinColorsCheck.accesskey;" tabindex="0">
|
|
&useWinColorsCheck.label;
|
|
</html:label>
|
|
</html:div>
|
|
</titledbox>
|
|
|
|
<!-- links -->
|
|
<titledbox flex="1" orient="vertical">
|
|
<title><text value="&links;"/></title>
|
|
<box class="hspace-both">
|
|
<html:label>&unvisit;</html:label>
|
|
<spring flex="1"/>
|
|
<menu id="unvisitedlinkmenu" allowevents="true" class="colorpicker">
|
|
<html:div id="browserUnvisitedLinksColorDiv" style="width:30px; background-color:white"/>
|
|
<spring flex="1"/>
|
|
<titledbutton class="popup" align="right" flex="1"/>
|
|
<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 class="hspace-both">
|
|
<html:label>&visit;</html:label>
|
|
<spring flex="1"/>
|
|
<menu id="visitedlinkmenu" allowevents="true" class="colorpicker">
|
|
<html:div id="browserVisitedLinksColorDiv" style="width:30px; background-color:white"/>
|
|
<spring flex="1"/>
|
|
<titledbutton class="popup" align="right"/>
|
|
<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 class="vspace hspace-both">
|
|
<html:input type="checkbox" id="browserUnderlineAnchors" pref="true"
|
|
preftype="bool" prefstring="browser.underline_anchors"/>
|
|
<html:label for="browserUnderlineAnchors" accesskey="&underLinksCheck.accesskey;" tabindex="0">
|
|
&underLinksCheck.label;
|
|
</html:label>
|
|
</html:div>
|
|
</titledbox>
|
|
</box>
|
|
|
|
<titledbox orient="vertical">
|
|
<title><text value="&someProvColors;"/></title>
|
|
<html:div>
|
|
<html:input type="radio" id="browserUseDocumentColors0" name="browserUseDocumentColors"
|
|
pref="true" preftype="bool" prefindex="true" prefstring="browser.use_document_colors"/>
|
|
<html:label for="browserUseDocumentColors0" accesskey="&alwaysUseDocColors.accesskey;" tabindex="0">
|
|
&alwaysUseDocColors.label;
|
|
</html:label>
|
|
</html:div>
|
|
<html:div>
|
|
<html:input type="radio" id="browserUseDocumentColors1" name="browserUseDocumentColors"
|
|
pref="true" preftype="bool" prefindex="false" prefstring="browser.use_document_colors"/>
|
|
<html:label for="browserUseDocumentColors1" accesskey="&ignoreDocColors.label;" tabindex="0">
|
|
&ignoreDocColors.label;
|
|
</html:label>
|
|
</html:div>
|
|
</titledbox>
|
|
|
|
</window>
|