[prefwindow] composer panel cleanup...

This commit is contained in:
rgoodger%ihug.co.nz 2000-01-08 11:10:19 +00:00
Родитель 7899c54eff
Коммит dde10ea287
1 изменённых файлов: 116 добавлений и 120 удалений

Просмотреть файл

@ -34,14 +34,14 @@
<html:script language="JavaScript" src="chrome://pref/content/pref-composer.js"/>
<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;"/>
<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;"/>
</box>
<html:fieldset>
<html:div>
<html:div class="hspace-both">
&authorName;
<html:input name="author" type="text" id="editorAuthor"
pref="true" preftype="string" prefstring="editor.author"/>
@ -87,120 +87,116 @@
<html:fieldset>
<html:legend align="left">
<html:div>&pageColorHeader;</html:div>
</html:legend>
<html:div>
<html:input name="color" type="radio" id="editorUseCustomColors0"
pref="true" preftype="int" prefindex="0" prefstring="editor.use_custom_colors"/>
<html:label for="editorUseCustomColors" tabindex="0">
&UseNavigatorColor.label;
</html:label>
</html:div>
<html:div>
<html:input name="color" type="radio" id="editorUseCustomColors1"
pref="true" preftype="int" prefindex="1" prefstring="editor.use_custom_colors"/>
<html:label for="editorUseCustomColors1" tabindex="0">
&UseCustomColors.label;
</html:label>
</html:div>
<spring style="height: 7px;"/>
<box align="horizontal" style="width: 100%; height: 100%">
<!-- need to do something BETTER here to accomodate indentation -->
<spring style="width: 21px"/>
<box align="vertical" flex="100%">
<box flex="100%">
<html:label>
&NormalText.label;
</html:label>
<spring flex="100%"/>
<menu id="normaltextmenu" allowevents="true" class="colorpicker">
<html:div id="pref:#000000:color:editor.text_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup id="normalMenuPopup">
<colorpicker allowevents="true" id="normalColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'normaltext', false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="normalText"
pref="true" preftype="string" prefstring="editor.text_color"/>
</box>
<box>
<html:label>
&LinkText.label;
</html:label>
<spring flex="100%"/>
<menu id="linktextmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.link_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'linktext',false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="linkText"
pref="true" preftype="string" prefstring="editor.link_color"/>
</box>
<box>
<html:label>
&ActiveLinkText.label;
</html:label>
<spring flex="100%"/>
<menu id="activelinktextmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.active_link_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'activelinktext',false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="activeLinkText"
pref="true" preftype="string" prefstring="editor.active_link_color"/>
</box>
<box>
<html:label>
&FollowedLinkText.label;
</html:label>
<spring flex="100%"/>
<menu id="followedlinktextmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.followed_link_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'followedlinktext',false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="followedLinkText"
pref="true" preftype="string" prefstring="editor.followed_link_color"/>
</box>
<box>
<html:label>
&BackgroundColor.label;
</html:label>
<spring flex="100%"/>
<menu id="colorpreviewmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.background_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'colorpreview',true);"/>
</menupopup>
</menu>
<html:input type="hidden" id="backgroundColor"
pref="true" preftype="string" prefstring="editor.background_color"/>
</box>
</box>
<spring style="width: 7px;"/>
<box align="vertical" flex="100%" id="colorpreview" basestyle="min-width:135px; min-height:50px; width: 100%; border: 1px inset #CCCCCC; padding: 5px; " style="min-width:100px; min-height:50px; width: 100%; border: 1px inset #CCCCCC; padding: 5px; ">
<html:div id="normaltext"> &NormalText.label; </html:div>
<html:div id="linktext"> &LinkText.label; </html:div>
<html:div id="activelinktext"> &ActiveLinkText.label; </html:div>
<html:div id="followedlinktext"> &FollowedLinkText.label; </html:div>
</box>
</box>
</html:fieldset>
<html:legend align="left">&pageColorHeader;</html:legend>
<html:div class="hspace-both">
<html:input name="color" type="radio" id="editorUseCustomColors0"
pref="true" preftype="int" prefindex="0" prefstring="editor.use_custom_colors"/>
<html:label for="editorUseCustomColors" tabindex="0">
&UseNavigatorColor.label;
</html:label>
</html:div>
<html:div class="hspace-both">
<html:input name="color" type="radio" id="editorUseCustomColors1"
pref="true" preftype="int" prefindex="1" prefstring="editor.use_custom_colors"/>
<html:label for="editorUseCustomColors1" tabindex="0">
&UseCustomColors.label;
</html:label>
</html:div>
<spring style="height: 7px;"/>
<box class="hspace-both" align="horizontal" style="width: 93%; height: 100%">
<!-- need to do something BETTER here to accomodate indentation -->
<spring style="width: 21px"/>
<box align="vertical" flex="100%">
<box flex="100%">
<html:label>
&NormalText.label;
</html:label>
<spring flex="100%"/>
<menu id="normaltextmenu" allowevents="true" class="colorpicker">
<html:div id="pref:#000000:color:editor.text_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup id="normalMenuPopup">
<colorpicker allowevents="true" id="normalColorpicker" palettename="standard" onclick="setColorWell(this.parentNode.parentNode, 'normaltext', false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="normalText"
pref="true" preftype="string" prefstring="editor.text_color"/>
</box>
<box>
<html:label>
&LinkText.label;
</html:label>
<spring flex="100%"/>
<menu id="linktextmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.link_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'linktext',false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="linkText"
pref="true" preftype="string" prefstring="editor.link_color"/>
</box>
<box>
<html:label>
&ActiveLinkText.label;
</html:label>
<spring flex="100%"/>
<menu id="activelinktextmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.active_link_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'activelinktext',false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="activeLinkText"
pref="true" preftype="string" prefstring="editor.active_link_color"/>
</box>
<box>
<html:label>
&FollowedLinkText.label;
</html:label>
<spring flex="100%"/>
<menu id="followedlinktextmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.followed_link_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'followedlinktext',false);"/>
</menupopup>
</menu>
<html:input type="hidden" id="followedLinkText"
pref="true" preftype="string" prefstring="editor.followed_link_color"/>
</box>
<box>
<html:label>
&BackgroundColor.label;
</html:label>
<spring flex="100%"/>
<menu id="colorpreviewmenu" class="colorpicker">
<html:div id="pref:#000000:color:editor.background_color" style="width:30px; background-color:white"/>
<titledbutton class="popup" align="right" flex="100%"/>
<menupopup>
<colorpicker palettename="standard" onclick="setColorWell(this.parentNode.parentNode,'colorpreview',true);"/>
</menupopup>
</menu>
<html:input type="hidden" id="backgroundColor"
pref="true" preftype="string" prefstring="editor.background_color"/>
</box>
</box>
<spring style="width: 7px;"/>
<box align="vertical" flex="100%" id="colorpreview" basestyle="min-height:50px; width: 100%; border: 1px inset #CCCCCC; padding: 5px; " style="min-height:50px; width: 100%; border: 1px inset #CCCCCC; padding: 5px; ">
<html:div id="normaltext"> &NormalText.label; </html:div>
<html:div id="linktext"> &LinkText.label; </html:div>
<html:div id="activelinktext"> &ActiveLinkText.label; </html:div>
<html:div id="followedlinktext"> &FollowedLinkText.label; </html:div>
</box>
</box>
<spring style="height: 10px;"/>
</html:fieldset>
</window>