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 -*-
|
2012-05-21 15:12:37 +04: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/.
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
2007-12-03 18:10:08 +03:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2018-01-05 08:37:47 +03:00
|
|
|
<dialog id="ColorsDialog" type="child" class="prefwindow"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2018-10-05 18:38:53 +03:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
2018-04-05 04:17:01 +03:00
|
|
|
data-l10n-id="colors-window"
|
|
|
|
data-l10n-attrs="title, style"
|
2018-01-05 08:37:47 +03:00
|
|
|
buttons="accept,cancel,help"
|
|
|
|
persist="lastSelected screenX screenY"
|
|
|
|
role="dialog"
|
|
|
|
helpTopic="prefs-fonts-and-colors"
|
2018-04-05 04:17:01 +03:00
|
|
|
ondialoghelp="openPrefsHelp()">
|
|
|
|
|
2018-09-07 04:30:37 +03:00
|
|
|
<linkset>
|
|
|
|
<link rel="localization" href="browser/preferences/colors.ftl"/>
|
|
|
|
</linkset>
|
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"/>
|
2018-01-05 08:37:47 +03:00
|
|
|
<script type="application/javascript" src="chrome://global/content/preferencesBindings.js"/>
|
|
|
|
|
|
|
|
<keyset>
|
2018-04-05 04:17:01 +03:00
|
|
|
<key data-l10n-id="colors-close-key" modifiers="accel" oncommand="Preferences.close(event)"/>
|
2018-01-05 08:37:47 +03:00
|
|
|
</keyset>
|
|
|
|
|
2018-10-15 21:01:59 +03:00
|
|
|
<vbox>
|
2017-06-01 11:02:36 +03:00
|
|
|
|
2018-01-05 08:37:47 +03:00
|
|
|
<script type="application/javascript" src="chrome://browser/content/preferences/colors.js"/>
|
2017-06-01 11:02:36 +03:00
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
<hbox>
|
|
|
|
<groupbox flex="1">
|
2018-04-05 04:17:01 +03:00
|
|
|
<caption><label data-l10n-id="colors-text-and-background"/></caption>
|
2005-02-25 12:07:58 +03:00
|
|
|
<hbox align="center">
|
2018-04-05 04:17:01 +03:00
|
|
|
<label data-l10n-id="colors-text-header" control="foregroundtextmenu"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
<spacer flex="1"/>
|
2018-10-05 18:38:53 +03:00
|
|
|
<html:input type="color" id="foregroundtextmenu"
|
|
|
|
preference="browser.display.foreground_color"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</hbox>
|
|
|
|
<hbox align="center" style="margin-top: 5px">
|
2018-04-05 04:17:01 +03:00
|
|
|
<label data-l10n-id="colors-background" control="backgroundmenu" />
|
2005-02-25 12:07:58 +03:00
|
|
|
<spacer flex="1"/>
|
2018-10-05 18:38:53 +03:00
|
|
|
<html:input type="color" id="backgroundmenu"
|
|
|
|
preference="browser.display.background_color"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox align="center">
|
2018-04-05 04:17:01 +03:00
|
|
|
<checkbox id="browserUseSystemColors" data-l10n-id="colors-use-system"
|
2005-02-25 12:07:58 +03:00
|
|
|
preference="browser.display.use_system_colors"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
2017-06-01 11:02:36 +03:00
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
<groupbox flex="1">
|
2018-04-05 04:17:01 +03:00
|
|
|
<caption><label data-l10n-id="colors-links-header"/></caption>
|
2005-02-25 12:07:58 +03:00
|
|
|
<hbox align="center">
|
2018-04-05 04:17:01 +03:00
|
|
|
<label data-l10n-id="colors-unvisited-links" control="unvisitedlinkmenu" />
|
2005-02-25 12:07:58 +03:00
|
|
|
<spacer flex="1"/>
|
2018-10-05 18:38:53 +03:00
|
|
|
<html:input type="color" id="unvisitedlinkmenu"
|
|
|
|
preference="browser.anchor_color"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</hbox>
|
|
|
|
<hbox align="center" style="margin-top: 5px">
|
2018-04-05 04:17:01 +03:00
|
|
|
<label data-l10n-id="colors-visited-links" control="visitedlinkmenu" />
|
2005-02-25 12:07:58 +03:00
|
|
|
<spacer flex="1"/>
|
2018-10-05 18:38:53 +03:00
|
|
|
<html:input type="color" id="visitedlinkmenu"
|
|
|
|
preference="browser.visited_color"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox align="center">
|
2018-04-05 04:17:01 +03:00
|
|
|
<checkbox id="browserUnderlineAnchors" data-l10n-id="colors-underline-links"
|
2005-02-25 12:07:58 +03:00
|
|
|
preference="browser.underline_anchors"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
</hbox>
|
2015-01-07 15:22:31 +03:00
|
|
|
#ifdef XP_WIN
|
2014-11-27 22:12:03 +03:00
|
|
|
<vbox align="start">
|
2015-01-07 15:22:31 +03:00
|
|
|
#else
|
|
|
|
<vbox>
|
|
|
|
#endif
|
2018-04-05 04:17:01 +03:00
|
|
|
<label data-l10n-id="colors-page-override" control="useDocumentColors" />
|
2017-06-01 11:02:36 +03:00
|
|
|
<hbox>
|
|
|
|
<menulist id="useDocumentColors" preference="browser.display.document_color_use" flex="1">
|
|
|
|
<menupopup>
|
2018-04-05 04:17:01 +03:00
|
|
|
<menuitem data-l10n-id="colors-page-override-option-always"
|
2017-06-01 11:02:36 +03:00
|
|
|
value="2" id="documentColorAlways"/>
|
2018-04-05 04:17:01 +03:00
|
|
|
<menuitem data-l10n-id="colors-page-override-option-auto"
|
2017-06-01 11:02:36 +03:00
|
|
|
value="0" id="documentColorAutomatic"/>
|
2018-04-05 04:17:01 +03:00
|
|
|
<menuitem data-l10n-id="colors-page-override-option-never"
|
2017-06-01 11:02:36 +03:00
|
|
|
value="1" id="documentColorNever"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
2014-11-27 22:12:03 +03:00
|
|
|
</vbox>
|
2018-01-05 08:37:47 +03:00
|
|
|
</vbox>
|
|
|
|
</dialog>
|