Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
michael@0 | 4 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 5 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 6 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 7 | |
michael@0 | 8 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 9 | #ifdef XP_MACOSX |
michael@0 | 10 | <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?> |
michael@0 | 11 | #endif |
michael@0 | 12 | |
michael@0 | 13 | <!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/colors.dtd" > |
michael@0 | 14 | |
michael@0 | 15 | <prefwindow id="ColorsDialog" type="child" |
michael@0 | 16 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 17 | title="&colorsDialog.title;" |
michael@0 | 18 | dlgbuttons="accept,cancel,help" |
michael@0 | 19 | ondialoghelp="openPrefsHelp()" |
michael@0 | 20 | #ifdef XP_MACOSX |
michael@0 | 21 | style="width: &window.macWidth; !important;"> |
michael@0 | 22 | #else |
michael@0 | 23 | style="width: &window.width; !important;"> |
michael@0 | 24 | #endif |
michael@0 | 25 | |
michael@0 | 26 | <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/> |
michael@0 | 27 | <prefpane id="ColorsDialogPane" |
michael@0 | 28 | helpTopic="prefs-fonts-and-colors"> |
michael@0 | 29 | |
michael@0 | 30 | <preferences> |
michael@0 | 31 | <preference id="browser.display.use_document_colors" name="browser.display.use_document_colors" type="bool"/> |
michael@0 | 32 | <preference id="browser.anchor_color" name="browser.anchor_color" type="string"/> |
michael@0 | 33 | <preference id="browser.visited_color" name="browser.visited_color" type="string"/> |
michael@0 | 34 | <preference id="browser.underline_anchors" name="browser.underline_anchors" type="bool"/> |
michael@0 | 35 | <preference id="browser.display.foreground_color" name="browser.display.foreground_color" type="string"/> |
michael@0 | 36 | <preference id="browser.display.background_color" name="browser.display.background_color" type="string"/> |
michael@0 | 37 | <preference id="browser.display.use_system_colors" name="browser.display.use_system_colors" type="bool"/> |
michael@0 | 38 | </preferences> |
michael@0 | 39 | |
michael@0 | 40 | <hbox> |
michael@0 | 41 | <groupbox flex="1"> |
michael@0 | 42 | <caption label="&color;"/> |
michael@0 | 43 | <hbox align="center"> |
michael@0 | 44 | <label value="&textColor.label;" accesskey="&textColor.accesskey;" control="foregroundtextmenu"/> |
michael@0 | 45 | <spacer flex="1"/> |
michael@0 | 46 | <colorpicker type="button" id="foregroundtextmenu" palettename="standard" |
michael@0 | 47 | preference="browser.display.foreground_color"/> |
michael@0 | 48 | </hbox> |
michael@0 | 49 | <hbox align="center" style="margin-top: 5px"> |
michael@0 | 50 | <label value="&backgroundColor.label;" accesskey="&backgroundColor.accesskey;" control="backgroundmenu"/> |
michael@0 | 51 | <spacer flex="1"/> |
michael@0 | 52 | <colorpicker type="button" id="backgroundmenu" palettename="standard" |
michael@0 | 53 | preference="browser.display.background_color"/> |
michael@0 | 54 | </hbox> |
michael@0 | 55 | <separator class="thin"/> |
michael@0 | 56 | <hbox align="center"> |
michael@0 | 57 | <checkbox id="browserUseSystemColors" label="&useSystemColors.label;" accesskey="&useSystemColors.accesskey;" |
michael@0 | 58 | preference="browser.display.use_system_colors"/> |
michael@0 | 59 | </hbox> |
michael@0 | 60 | </groupbox> |
michael@0 | 61 | |
michael@0 | 62 | <groupbox flex="1"> |
michael@0 | 63 | <caption label="&links;"/> |
michael@0 | 64 | <hbox align="center"> |
michael@0 | 65 | <label value="&linkColor.label;" accesskey="&linkColor.accesskey;" control="unvisitedlinkmenu"/> |
michael@0 | 66 | <spacer flex="1"/> |
michael@0 | 67 | <colorpicker type="button" id="unvisitedlinkmenu" palettename="standard" |
michael@0 | 68 | preference="browser.anchor_color"/> |
michael@0 | 69 | </hbox> |
michael@0 | 70 | <hbox align="center" style="margin-top: 5px"> |
michael@0 | 71 | <label value="&visitedLinkColor.label;" accesskey="&visitedLinkColor.accesskey;" control="visitedlinkmenu"/> |
michael@0 | 72 | <spacer flex="1"/> |
michael@0 | 73 | <colorpicker type="button" id="visitedlinkmenu" palettename="standard" |
michael@0 | 74 | preference="browser.visited_color"/> |
michael@0 | 75 | </hbox> |
michael@0 | 76 | <separator class="thin"/> |
michael@0 | 77 | <hbox align="center"> |
michael@0 | 78 | <checkbox id="browserUnderlineAnchors" label="&underlineLinks.label;" accesskey="&underlineLinks.accesskey;" |
michael@0 | 79 | preference="browser.underline_anchors"/> |
michael@0 | 80 | </hbox> |
michael@0 | 81 | </groupbox> |
michael@0 | 82 | </hbox> |
michael@0 | 83 | <hbox> |
michael@0 | 84 | <checkbox id="useDocumentColors" |
michael@0 | 85 | label="&allowPagesToUse.label;" accesskey="&allowPagesToUse.accesskey;" |
michael@0 | 86 | preference="browser.display.use_document_colors" flex="1"/> |
michael@0 | 87 | </hbox> |
michael@0 | 88 | </prefpane> |
michael@0 | 89 | </prefwindow> |