gecko-dev/cmd/dialup/as_html/sheet.js
1999-11-02 07:16:31 +00:00

198 lines
6.4 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):
*/
//TAGS FOR ACCOUNT SETUP SCREENS
//tags.BODY.fontFamily="PrimaSans BT,Helvetica,Arial";
//tags.BODY.fontSize="12px";
//tags.BODY.textAlign="left";
//tags.BODY.color="black";
document.tags.BODY.marginTop="0";
//tags.BODY.lineHeight="1.1";
document.tags.BODY.marginBottom="0";
//tags.BODY.marginLeft="72";
//tags.BODY.borderWidths(0, 0, 0, 0);
//tags.BODY.paddings(0, 0, 0, 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="-6";
document.tags.P.marginLeft="72";
//Titles of Account Setup screens
document.classes.title.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.title.all.fontSize="23px";
//classes.title.all.fontWeight="normal";
document.classes.title.all.lineHeight="1";
//classes.title.all.textAlign="left";
document.classes.title.all.marginTop="29";
document.classes.title.all.marginRight="40";
//classes.title.all.marginBottom="16";
document.classes.title.all.marginLeft="40";
document.classes.compare.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.compare.all.fontSize="12px";
document.classes.compare.all.lineHeight="1.0";
document.classes.compare.all.marginTop="0";
document.classes.compare.all.marginRight="0";
document.classes.compare.all.marginBottom="0";
document.classes.compare.all.marginLeft="0";
document.classes.comparebig.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.comparebig.all.fontSize="14px";
document.classes.comparebig.all.lineHeight="1.0";
document.classes.comparebig.all.marginTop="0";
document.classes.comparebig.all.marginRight="0";
document.classes.comparebig.all.marginBottom="0";
document.classes.comparebig.all.marginLeft="0";
document.classes.comparesmall.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.comparesmall.all.fontSize="10px";
document.classes.comparesmall.all.lineHeight="1.0";
document.classes.comparesmall.all.marginTop="0";
document.classes.comparesmall.all.marginRight="0";
document.classes.comparesmall.all.marginBottom="0";
document.classes.comparesmall.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="6";
document.ids.nomargins.margins(14,8,8,8);
document.classes.buttontext.all.fontSize="11px";
document.classes.buttontext.all.marginLeft="0";
document.classes.tty.all.marginLeft="20";
document.classes.tty.all.width="230";
document.classes.tty.all.fontSize="11px";
document.classes.tty.all.marginTop="-12";
document.classes.clayer.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.clayer.all.fontSize="10";
document.classes.clayer.all.color="#FFFFFF";
//Lists
document.tags.UL.listStyleType="disc";
document.tags.UL.fontFamily="PrimaSans BT,Helvetica,Arial";
document.tags.UL.fontSize="12px";
document.tags.UL.marginTop="0";
document.tags.UL.marginBottom="-6";
document.tags.UL.marginLeft="72";
document.tags.UL.marginRight="72";
//document.tags.LI.fontSize="11px";
//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";