geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hcun...@apache.org
Subject svn commit: r614589 - /geronimo/site/trunk/docs/style/schema-doc.css
Date Wed, 23 Jan 2008 17:48:06 GMT
Author: hcunico
Date: Wed Jan 23 09:48:02 2008
New Revision: 614589

URL: http://svn.apache.org/viewvc?rev=614589&view=rev
Log:
added CSS style for XML schema documentation

Added:
    geronimo/site/trunk/docs/style/schema-doc.css

Added: geronimo/site/trunk/docs/style/schema-doc.css
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/style/schema-doc.css?rev=614589&view=auto
==============================================================================
--- geronimo/site/trunk/docs/style/schema-doc.css (added)
+++ geronimo/site/trunk/docs/style/schema-doc.css Wed Jan 23 09:48:02 2008
@@ -0,0 +1,435 @@
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+/* More-configurable styles */
+
+/******** General ********/
+         
+/* Document body */
+body {
+    color: black;
+/*    background-color: white;*/
+    background-color: #f0f0f0;
+    font-family: Verdana, arial, sans-serif;
+    font-size: 11px;
+    margin: 0;
+    padding: 0; }
+
+#PageContent {
+    text-align: left;
+    background-color: #fff;
+    padding: 0px;
+    margin: 0px;
+    padding-bottom:20px;
+}
+
+.pagecontent
+{
+    padding: 10px;
+    text-align: left;
+}    
+                  
+/* HC added: horizontal rules */
+hr {
+    color: #3c78b5;
+    height: 1;
+}
+
+/* HC added: styles for links in the top bar */
+.topBarDiv a:link {color: #ffffff;}
+.topBarDiv a:visited {color: #ffffff;}
+.topBarDiv a:active {color: #ffffff;}
+.topBarDiv a:hover {color: #ffffff;}
+.topBarDiv { color: #fff; font-style: normal; margin: 4px 2px 4px 4px; padding: 4px; }
+
+.topBar { background-color: #003366; margin: 2px 2px 2px 4px; padding: 4px; }
+
+A:link, A:visited, A:active, A:hover {
+    color: #003366;
+}
+
+/* Document title */
+h1 { font-size: 20px; line-height: normal; font-weight: bold; background-color: #f0f0f0;
color: #003366; padding: 2px; margin: 18px 0 4px; border-bottom: 1px solid #3c78b5; border-left:
1px solid #3c78b5; }
+
+/* Main section headers */
+h2 { font-size: 18px; line-height: normal; font-weight: bold; background-color: #f0f0f0;
border-bottom: 1px solid #5fa3d6; padding: 2px; margin: 15px 0 4px; border-left: 1px solid
#5fa3d6; border-top-color: #5fa3d6; border-right-color: #5fa3d6; list-style-image: none; list-style-position:
inside; display: block; }
+
+/* Sub-section headers */
+
+h3 a, h3 span {
+   font-size: 12pt;
+   font-weight: bold;
+   color: black;
+}
+h3 { font-size: 14px; line-height: normal; font-weight: bold; background-color: #f0f0f0;
padding: 2px; margin: 21px 0 4px; border-bottom: 1px solid #5fa3d6; border-left: 1px solid
#5fa3d6; border-top-color: #5fa3d6; border-right-color: #5fa3d6  }
+
+/* Table displaying the properties of the schema components or the
+   schema document itself */
+table.properties th, table.properties th a { color: #fff; background-color: #5fa3d6; margin:
0; padding: 3px; /* Pink */
+}
+table.properties td {
+   background-color: #eee; /* Gray */
+}
+
+img{
+ border: 0;
+}         
+
+/********* Documentation style *************/
+p.documentation {
+   color:black;
+   font-style:italic;
+         background-color: #EEEEFF;
+         border: 1px solid #DDDDFF;
+         padding-top: 1px;
+         margin-right: 30px;
+         margin-top: 1px;
+}
+
+         
+/******** Table of Contents Section ********/
+
+/* Controls for switching between printing and viewing modes */
+div#printerControls {
+   color: #5fa3d6; /* Orange-brown */
+}
+/* Controls that can collapse or expand all XML Instance
+   Representation and Schema Component Representation boxes */
+div#globalControls {
+   border: 2px solid #999;
+}
+
+
+/******** Schema Document Properties Section ********/
+
+/* Table displaying the namespaces declared in the schema */
+table.namespaces th {
+   background-color: #ccc;
+}
+table.namespaces td {
+   background-color: #eee;
+}
+/* Target namespace of the schema */
+span.targetNS {
+   color: #5fa3d6;
+   font-weight: bold;
+}
+
+
+/******** Schema Components' Sections ********/
+
+/* Name of schema component */
+.name {
+   color: #5fa3d6; /* Blue */
+}
+
+/* Hierarchy table */
+table.hierarchy {
+   border: 2px solid #999; /* Gray */
+}
+
+/* XML Instance Representation table */
+div.sample div.contents {
+   border: 1px dashed black;
+}
+
+
+/* Schema Component Representation table */
+div.schemaComponent div.contents {
+   border: solid 2px #36a;
+}
+
+
+/******** Glossary Section ********/
+
+/* Glossary Terms */
+.glossaryTerm {
+   color: #036; /* Blue */
+}
+
+
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+/* Printer-version styles */
+
+@media print {
+
+/* Ensures that controls are hidden when printing */
+div#printerControls {
+   visibility: hidden;
+}
+div#globalControls {
+   visibility: hidden;
+}
+#legend {
+   display: none;
+}
+#legendTOC {
+   display: none;
+}
+#glossary {
+   display: none;
+}
+#glossaryTOC {
+   display: none;
+}
+
+}
+
+/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+/* Base styles */
+
+/******** General ********/
+
+/* Unordered lists */
+ul {
+   margin-left: 1.5em;
+   margin-bottom: 0em;
+}
+/* Tables */
+table th, table td { font-size: 11px; vertical-align: top; margin: 0; padding: 0; }
+table th {
+   font-weight: bold;
+   text-align: left;
+}
+/* Table displaying the properties of the schema components or the
+   schema document itself */
+table.properties {
+   width: 90%;
+}
+table.properties th {
+   width: 30%;
+}
+/* Boxes that can make its content appear and disappear*/
+div.box {
+   margin: 1em;
+}
+   /* Box caption */
+div.box span.caption {
+   font-weight: bold;
+}
+   /* Button to open and close the box */
+div.box input.control {
+   width: 1.4em;
+   height: 1.4em;
+   text-align: center;
+   vertical-align: middle;
+   font-size: 11pt;
+}
+   /* Box contents */
+div.box div.contents {
+   margin-top: 3px;
+}
+
+
+/******** Table of Contents Section ********/
+
+/* Controls for switching between printing and viewing modes */
+div#printerControls {
+   white-space: nowrap;
+   font-weight: bold;
+   padding: 5px;
+   margin: 5px;
+}
+/* Controls that can collapse or expand all XML Instance
+   Representation and Schema Component Representation boxes */
+div#globalControls {
+   padding: 10px;
+   margin: 5px;
+}
+
+
+/******** Schema Document Properties Section ********/
+
+/* Table displaying the namespaces declared in the schema */
+table.namespaces th {
+}
+table.namespaces td { padding: 3px; }
+/* Target namespace of the schema */
+span.targetNS {
+}
+
+
+/******** Schema Components' Sections ********/
+
+/* Hierarchy table */
+table.hierarchy {
+   width: 90%;
+}
+table.hierarchy th {
+   font-weight: normal;
+   font-style: italic;
+   width: 20%;
+}
+table.hierarchy th, table.hierarchy td {
+   padding: 5px;
+}
+
+/* XML Instance Representation table */
+div.sample {
+   width: 90%;
+}
+div.sample div.contents {
+   padding: 5px;
+   font-family: Courier New, sans-serif;
+   font-size: 10pt;
+}
+   /* Normal elements and attributes */
+div.sample div.contents, div.sample div.contents a {
+   color: black;
+}
+   /* Group Headers */
+div.sample div.contents .group, div.sample div.contents .group a {
+   color: #999; /* Light gray */
+}
+   /* Type Information */
+div.sample div.contents .type, div.sample div.contents .type a {
+   color: #999; /* Light gray */
+}
+   /* Occurrence Information */
+div.sample div.contents .occurs, div.sample div.contents .occurs a {
+   color: #999; /* Light gray */
+}
+   /* Fixed values */
+div.sample div.contents .fixed {
+   color: #063; /* Green */
+   font-weight: bold;
+}
+   /* Simple type constraints */
+div.sample div.contents .constraint, div.sample div.contents .constraint a {
+   color: #999; /* Light gray */
+}
+   /* Elements and attributes inherited from base type */
+div.sample div.contents .inherited, div.sample div.contents .inherited a {
+   color: #666; /* Dark gray */
+}
+   /* Elements and attributes added to or changed from base type */
+div.sample div.contents .newFields {
+   font-weight: bold;
+}
+   /* Other type of information */
+div.sample div.contents .other, div.sample div.contents .other a {
+   color: #369; /* Blue */
+   font-style: italic;
+}
+   /* Link to open up window displaying documentation */
+div.sample div.contents a.documentation {
+   text-decoration: none;
+   padding-left: 3px;
+   padding-right: 3px;
+   padding-top: 0px;
+   padding-bottom: 0px;
+   font-weight: bold;
+   font-size: 11pt;
+   background-color: #FFD;
+   color: #069;
+}
+   /* Invert colors when hovering over link to open up window 
+      displaying documentation */
+div.sample div.contents a.documentation:hover {
+   color: #FFD;
+   background-color: #069;
+}
+
+/* Schema Component Representation table */
+div.schemaComponent {
+   width: 90%;
+}
+div.schemaComponent div.contents {
+   font-family: Courier New, sans-serif;
+   font-size: 10pt;
+   padding: 5px;
+}
+   /* Syntax characters */
+div.schemaComponent div.contents {
+   color: #00f; /* blue */
+}
+   /* Element and attribute tags */
+div.schemaComponent div.contents .scTag {
+   color: #933; /* maroon */
+}
+   /* Element and attribute content */
+div.schemaComponent div.contents .scContent, div.schemaComponent div.contents .scContent
a {
+   color: black;
+   font-weight: bold;
+}
+   /* Comments */
+div.schemaComponent div.contents .comment {
+   color: #999; /* Light gray */
+}
+
+
+/******** Legend Section ********/
+
+div#legend table, div#legend div {
+   margin-bottom: 3px;
+}
+div#legend div.hint {
+   color: #999; /* Light gray */
+   width: 90%;
+   margin-left: 1em;
+   margin-bottom: 2em;
+}
+
+
+/******** Glossary Section ********/
+
+/* Glossary Terms */
+.glossaryTerm {
+   font-weight: bold;
+}
+
+/********* Details *************/
+.detailsToc {
+  color: #666; /* Light gray */
+}
+
+.details {
+  color: #666; /* Light gray */
+  text-decoration:none;
+}
+
+/******* Left Navigation Theme Styles ********/
+.leftnav li a {
+    text-decoration:none;
+    color:white;
+    margin:0px;
+    display:block;
+    padding:2px;
+    padding-left:5px;
+    background-color: #3c78b5;
+    border-top:1px solid #3c78b5;
+}
+
+.leftnav li a:active {color:white;}
+.leftnav li a:visited {color:white;}
+.leftnav li a:hover {background-color: #003366; color:white;}
+
+.quicklinks {
+    font-size: smaller;
+}
+.sideNavSectionTitle { text-align: left; margin: 4px; padding: 4px; }
+.sideNavSectionContent { text-align: left; margin: 4px; padding: 8px 4px; }
+.quicklinks a:link, .quicklinks a:visited, .quicklinks a:active, .quicklinks a:hover  {
+    color: #FFFFFF;
+    text-decoration: none;
+}
+
+.grayed { 
+   color: #b4b4b5; 
+   font-size: smaller; 
+   text-align: center; 
+}
+
+.footer {
+    padding-top:           6px;
+    color:                 #666;
+    font-size: smaller;
+    text-align: left;
+}
+.footer2 {
+    background-image:      url('http://geronimo.apache.org/images/border_bottom.gif');
+    background-repeat:     repeat-x;
+    background-position:   left top;
+    padding-top:           6px;
+    color:                 #666;
+    font-size: smaller;
+    text-align: right;
+}



Mime
View raw message