зеркало из https://github.com/mozilla/gecko-dev.git
189 строки
5.5 KiB
JavaScript
189 строки
5.5 KiB
JavaScript
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
|
|
*
|
|
* 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.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
<!-- to hide script contents from old browsers
|
|
//TAGS FOR ACCOUNT SETUP EDITOR DIALOGS
|
|
|
|
|
|
|
|
document.tags.BODY.marginTop="0";
|
|
document.tags.BODY.marginBottom="0";
|
|
|
|
document.tags.P.fontFamily="PrimaSans BT,Helvetica,Arial";
|
|
document.tags.P.fontSize="12px";
|
|
//document.tags.P.lineHeight="1";
|
|
document.tags.P.marginTop="14";
|
|
document.tags.P.marginRight="72";
|
|
document.tags.P.marginBottom="0";
|
|
document.tags.P.marginLeft="72";
|
|
|
|
|
|
|
|
//Titles of Account Setup screens
|
|
|
|
document.classes.title.all.fontFamily="PrimaSans BT,Helvetica,Arial";
|
|
document.classes.title.all.fontSize="12px";
|
|
document.classes.title.all.fontWeight="bold";
|
|
document.classes.title.all.lineHeight="1";
|
|
document.classes.title.all.marginTop="0";
|
|
document.classes.title.all.marginRight="40";
|
|
//classes.title.all.marginBottom="16";
|
|
document.classes.title.all.marginLeft="0";
|
|
|
|
|
|
|
|
|
|
//Tables (for forms inputs, etc.)
|
|
|
|
document.tags.TABLE.marginTop="14";
|
|
|
|
document.tags.TD.fontFamily="PrimaSans BT,Helvetica,Arial";
|
|
document.tags.TD.fontSize="11px";
|
|
document.tags.TD.lineHeight="1.0"
|
|
|
|
|
|
|
|
//the entries below are exceptions to the standard definition
|
|
|
|
//classes.modem1.P.width="260";
|
|
document.classes.accounts.TD.fontSize="12px";
|
|
document.ids.nospace.marginTop="0";
|
|
document.ids.minspace.marginTop="4";
|
|
document.ids.nomargins.margins(14,8,8,8);
|
|
|
|
document.classes.item.all.fontSize="11px";
|
|
document.classes.item.all.marginLeft="0";
|
|
document.classes.item.all.fontFamily="PrimaSans BT,Helvetica,Arial";
|
|
document.classes.item.all.marginTop="0";
|
|
|
|
document.classes.itemtext.all.marginLeft="0";
|
|
document.classes.itemtext.all.fontSize="10px";
|
|
document.classes.itemtext.all.fontFamily="PrimaSans BT,Helvetica,Arial";
|
|
//document.classes.itemtext.all.width="230";
|
|
document.classes.itemtext.all.marginTop="6";
|
|
document.classes.itemtext.all.lineHeight="1";
|
|
|
|
|
|
|
|
document.classes.subitem.all.fontFamily="PrimaSans BT,Helvetica,Arial";
|
|
document.classes.subitem.all.fontSize="10px";
|
|
//document.classes.subitem.all.color="#FFFFFF";
|
|
document.classes.subitem.all.marginTop="0";
|
|
document.classes.subitem.all.marginLeft="24";
|
|
//document.classes.subitem.all.marginLeft="0";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Lists
|
|
|
|
document.tags.UL.listStyleType='disc';
|
|
document.tags.UL.fontFamily='PrimaSans BT,Helvetica,Arial';
|
|
document.tags.UL.fontSize='12px';
|
|
document.tags.UL.marginTop='-6';
|
|
document.tags.UL.marginBottom='-6';
|
|
document.tags.UL.marginLeft='72';
|
|
document.tags.UL.marginRight='72';
|
|
|
|
document.tags.LI.fontSize='10';
|
|
document.tags.LI.marginTop='0';
|
|
document.tags.LI.marginBottom='-14';
|
|
|
|
//Communicator tag in the main.htm (startup screen of Account Setup)
|
|
|
|
document.classes.tag.all.fontSize='12px';
|
|
document.classes.tag.all.paddingLeft='2';
|
|
document.classes.tag.all.color='white';
|
|
|
|
|
|
//Account Setup tag
|
|
|
|
document.classes.previewtag.all.fontSize='12px';
|
|
document.classes.previewtag.all.paddingLeft='5';
|
|
document.classes.previewtag.all.color='white';
|
|
|
|
//TAGS FOR MAIN.HTM
|
|
|
|
//Previews buttons
|
|
|
|
document.classes.previewhead.all.fontSize='11px';
|
|
document.classes.previewhead.all.fontFamily='PrimaSans BT, Helvetica,Arial';
|
|
document.classes.previewhead.all.color='white';
|
|
|
|
document.classes.blurb.all.fontSize='11px';
|
|
document.classes.blurb.all.fontFamily='PrimaSans BT, Helvetica,Arial';
|
|
document.classes.blurb.all.color='black';
|
|
document.classes.blurb.all.lineHeight='1.1';
|
|
|
|
|
|
//This tag overrides the standard table marginTop to make bring previews table
|
|
//closer to Start Account Setup button
|
|
|
|
document.classes.previews.all.marginTop='-2';
|
|
|
|
|
|
|
|
|
|
//Dial-Up Edition header
|
|
|
|
document.classes.due.all.fontSize='34px';
|
|
document.classes.due.all.fontFamily='PrimaSans BT,Helvetica,Arial';
|
|
document.classes.due.all.fontWeight='300';
|
|
document.classes.due.all.marginRight='0';
|
|
document.classes.due.all.marginLeft='80';
|
|
document.classes.due.all.marginTop='12';
|
|
|
|
|
|
//Start Account Setup button text
|
|
|
|
document.classes.sas.B.fontSize='23px';
|
|
document.classes.sas.B.fontFamily='PrimaSans BT,Helvetica,Arial';
|
|
|
|
document.classes.sas1.B.fontSize='17px';
|
|
document.classes.sas1.B.fontFamily='PrimaSans BT,Helvetica,Arial';
|
|
document.classes.sas1.B.marginTop='12';
|
|
document.classes.sas1.B.marginBottom='12';
|
|
|
|
|
|
//Text for the body of main.htm--the dynamic layers
|
|
|
|
|
|
//classes.body.all.width='560';
|
|
document.classes.body.all.margins(54,25,0,38);
|
|
document.classes.body.all.fontSize='12px';
|
|
|
|
//Text for all second paragraphs in the body section
|
|
|
|
document.classes.bodysecondparagraph.all.fontFamily='PrimaSans BT,Helvetica,Arial';
|
|
document.classes.bodysecondparagraph.all.marginLeft='210';
|
|
document.classes.bodysecondparagraph.all.marginRight='2';
|
|
document.classes.bodysecondparagraph.all.marginTop='4';
|
|
document.classes.bodysecondparagraph.all.fontSize='12px';
|
|
|
|
//Generic classes for tables
|
|
|
|
document.classes.tabletext.fontsize='11px';
|
|
document.classes.tabletext.fontWeight='900';
|
|
|
|
// end hiding contents from old browsers -->
|