﻿/*  **********************************************************  *
 *  This style sheet is for all documents in the SHELL subweb.  *
 *  **********************************************************  */

/*  ****************  */
/*  Character Styles  */

/*  By character style is here meant a class that is only ever meant to 
    apply to inline text and is therefore made specific here to SPAN 
    elements. The same class may be reused for other elements. 

    Unfortunately, Expression Web does not like this specificity and will 
    recognise class selectors for SPAN elements only once a SPAN element is 
    formally created, even though Expression Web will create a SPAN element 
    implicitly when formatting inline text. A workaround is to give all 
    these styles an empty definition as class selectors with no element.  */

.argument, .class, .clsid, .constant, .doc04, .doc0405, .doc0406, .doc05, 
.doc0506, .doc06, .enum, .function, .guid, .iid, .inikey, .inisect, 
.interface, .keyword, .licvalue, .macro, .member, .menu, .message, .method, 
.object, .pkey, .placeholder, .policy, .polid, .postdoc, .progid, .property, 
.regkey, .regsz, .regvalue, .restriction, .service, .settlement, .struct, 
.switch, .symbol, .tag, .type, .undocumented, .urlscheme, .verb {
}

/*  For small programming and usage elements in text  */

span.argument, span.placeholder {
  font-style:italic;
}

span.class, span.clsid, span.constant, span.enum, span.function, 
span.guid, span.iid, span.inikey, span.inisect, span.interface, span.keyword, 
span.licvalue, span.macro, span.member, span.menu, span.message, span.method, 
span.object, span.pkey, span.policy, span.polid, span.progid, span.property, 
span.regkey, span.regsz, span.regvalue, span.restriction, span.service, 
span.struct, span.switch, span.symbol, span.tag, span.type, span.urlscheme, 
span.verb {
  font-weight:bold;
}

/*  For colour-coded documentation status  */

span.settlement {
  background-color:#FFE0C0
}

span.postdoc,
span.doc04, 
span.doc0405, span.doc05, 
span.doc0406, span.doc0506, span.doc06 {
  background-color:#FFFFC0
}

span.undocumented {
  background-color:#FFFF00
}

/*  For tooltips based on inner text  */

span.comctl32, span.shell32, span.shlwapi {
}

/*  ******  */
/*  Tables  */

/*  For tables of functions, most notably for the API index of each shell 
	DLL, and HISTORY names and ordinals  */

table.Functions col.Name,
table.Functions col.Remarks,
table.Functions col.Status, 
table.Functions col.Versions {
  text-align:left;
}

table.Functions col.FirstAvailability {
  text-align:center;
}

table.Functions col.Ordinal {
  text-align:right;
}

table.Functions td {
  white-space:nowrap;           /*  for want of tighter control  */
}

/*  For tables of function usage, especially in the USAGE index for each 
    shell DLL  */

table.FunctionUsage col.Name {
  text-align:left;
  white-space:nowrap;           /*  though apparently not supported  */
}

table.FunctionUsage col.Users {
  text-align:left;
  white-space:normal;           /*  though apparently not supported  */
}

table.FunctionUsage td {
  white-space:normal;           /*  for want of tighter control  */
}

/*  For tables of file versions, most notably in the HISTORY index for each 
    shell DLL  */

table.FileVersions th.Distribution {
  text-align:center;
}

table.FileVersions col.Assembly, 
table.FileVersions col.DateStamp, 
table.FileVersions col.FileVersion, 
table.FileVersions col.Package {
  text-align:left;
}

table.FileVersions col.Size {
  text-align:right;
}

/*  For tables of interface methods  */

table.Methods col.Method, 
table.Methods col.Offset {
  text-align:left;
}

/*  For tables of flags, error codes, etc  */

table.Constants col.Constant {
  text-align:right;
}

table.Constants col.Name, 
table.Constants col.Protocol,
table.Constants col.RegistryValue, 
table.Constants col.RegistryKey, 
table.Constants col.Remarks, 
table.Constants col.Versions {
  text-align:left;
}

table.Constants td {
  white-space:nowrap;           /*  for want of tighter control  */ 
}

/*  For tables of registry settings  */

table.Registry col.Data, 
table.Registry col.Type, 
table.Registry col.Value {
  text-align:left;
}

/*  For tables of structure layout  */

table.Struct col.Name, 
table.Struct col.Offset, 
table.Struct col.Remarks, 
table.Struct col.Size {
  text-align:left;
}

table.Struct td {
  white-space:nowrap;           /*  for want of tighter control  */
}

/*  Copyright © 2007-2009. Geoff Chappell. All rights reserved.  */
