Improve output: distinguish between failed assertions (failures) and unexpected exceptions (errors), and print a filtered stack trace for any exception.

This commit is contained in:
jeb228 2010-01-29 22:13:57 +00:00
commit 4f2e303079
1839 changed files with 235630 additions and 0 deletions

View file

@ -0,0 +1,338 @@
/******************* styles copied from old global.css.jsp ********************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
.buttonForm {
margin-top : 0;
margin-bottom : 0;
margin-right : 0;
margin-left : 0.5em;
padding-bottom : 0.5em;
color : #444444;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
line-height : 16px;
min-height : 100px;
display : inline;
}
.editingForm {
margin-top : 0;
margin-bottom : 0;
margin-right : 0;
margin-left : 0;
padding-bottom : 1em;
color : #444444;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
line-height : 16px;
background-color : #eee; /* cals+vivo themes were: #dddddd; */
min-height : 100px;
font-size : 0.9em;
}
.editingForm table {
text-align : left;
border-width : 1px;
border-style : solid;
border-color : black;
border-collapse:separate;
}
.editingForm td{
padding: 2px 2px 2px 2px;
font-size : 1em;
}
td.verticalfieldlabel {
font-size : 11px;
line-height : 13px;
}
.editingForm .entryFormHead {
text-align : center;
padding : 0.2em;
background-color: #f8f8c8;
border-width : 1px;
border-style : solid;
border-color : black;
}
.editingForm .entryFormHead h2{
margin : 0.1em;
padding : 0em;
font-size: 1.4em;
color : black;
}
.editingForm .entryFormHead h3{
margin : 0.1em;
padding : 0em;
font-size : 1.2em;
font-weight: 600; /* cals theme was: 650 */
color : red;
}
.editingForm .entryFormHead .entryFormHeadInstructions {
margin : 0em;
padding : 0em;
font-size : 0.8em;
}
.editingForm .form-item {
background-color: #FAFAD2;
border-color : #2E440C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
}
.editingForm .form-button {
background-color: #ccf;
border-color : #ccf;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 1em;
border-width : 1px;
margin-top : 2px;
width : auto;
overflow : visible;
}
tr.form-row-even {
background-color : #e9f0ff;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
tr.form-row-odd {
background-color : #e9f9ff;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
.form-editingRow {
background-color: #ff9;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
/* DWR apparently no longer used
.form-subEditingRow {
background-color : #ffb;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 10px;
border-width : 1px;
margin-top : 2px;
} */
table.form-background td {
padding-left : 1em;
padding-right : 1em;
}
table.form-background td form {
padding : 0.2em;
}
.form-background {
background-color : #C8D8F8;
border-color : #CCCCFF;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
.form-background.vclass {
background-color : #E05550;
}
.form-background.property {
background-color : #A8F0A0;
}
.form-table-head {
background-color: #ccf;
border-color : #eec;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 10px;
border-width : 1px;
margin-top : 2px;
}
.navlinkblock {
color : black; /*#4B0082;*/
font-family : Verdana,Arial, Helvetica, sans-serif;
font-size : 10px;
font-weight : normal;
margin-top : 1px;
margin-bottom : 1px;
padding-top : 1px;
padding-bottom : 4px;
}
td.editformcell {
font-size: 9px;
}
td.editformcell select {
margin: 0;
}
.header {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_header {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_upperleftcorner {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_upperleftcenter {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.rownumheader {
background-color: #B0C4DE;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.headercenter {
background-color: #9370DB;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.postheader {
background-color: #E6E6FA;
color : #777777;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.database_postheader {
background-color: #E6E6FA;
color : #777777;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.postheadercenter {
background-color: #E6E6FA;
color : #4682B4;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
.postheaderright {
background-color: #E6E6FA;
color : #4682B4;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : right;
}
.verticalfieldlabel {
background-color: #DEDEDF;
color : black;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 8pt;
font-style : normal;
text-align : right;
vertical-align : top;
}
.row, .rowvert {
background-color: #F0FFFF;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.rowalternate {
background-color: #F8F8FF;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : left;
}
.rowbold {
background-color: #FFFAFA;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
font-weight : bold;
text-align : left;
}
.rownum {
background-color: #87CEFA;
color : black;
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-style : normal;
text-align : center;
}
span.entityRelationsSpan {
padding-top : 4px;
margin : 0 0 0 1em;
font-weight : bold;
font-size : 90%;
color : #2E440C;
text-align : center;
}

View file

@ -0,0 +1,21 @@
/****************************************
* Albert R. Mann Library
* Cornell University
* Ithaca, NY 14853
****************************************/
/*
Title: VIVO - CU Banner when editing
Author: mw542@cornell.edu
Updated: March 7, 2008
*/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
#cu-logo img { display: none; }
#cu-logo { background: url(../site_icons/layout/cu_logo.gif) no-repeat 12px top; }
#cu-logo a { width: 240px; height: 75px; margin-left: 12px, text-indent: 0; }
select#search-form-qualifier {display: none;}

View file

@ -0,0 +1,319 @@
/****************************************
CSS for default Vitro application / VIVO
entity display styles
This version
2006-06-21 bjl23
2008-04-17 jc55
Original version
2006-01-05 bdc34
*****************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* added by jc55 to clean up clone rendering */
.admin {
margin: 10px 0;
padding: 10px;
background-color: #8ac;
}
.admin a:link, .admin a:visited {
color: #fff;
}
.admin a:hover {
color: #203e48;
}
h3.propertyName {
clear: left;
display: inline;
margin: 0;
padding: 0;
font-size: 1.0em;
line-height: 1em;
color: #000;
}
div.datatypeProperties {
margin-left: 1em;
margin-top: .3em;
}
.datatypeProperty { /* added by jc55 */
margin-left: 2em;
}
ul.datatypeProperties {
margin-left: 1em;
margin-top: .3em;
}
ul.datatypeProperties li{
margin-top:1.2ex;
margin-bottom:0.8ex;
margin-left:0em;
line-height:2.5ex;
}
ul.datatypePropertyDataList{
list-style-type:square;
margin-left:1.2em;
padding-left:1.2em;
}
ul.datatypePropertyDataList li{
margin-top:0.4ex;
margin-bottom:0.4ex;
line-height:2.7ex;
}
/************** Entity ***********/
.entity{
margin-left:0.4em;
margin-top:1em;
padding-bottom:2ex;
font-size:0.9em;
line-height:1.4em;
}
.entity h1{
margin-left:0;
display: inline;
font-size:1em;
}
.description{
/*
line-height:2.7ex;
margin-left:0em;
margin-right:0em;
*/
margin-top:0.4ex;
/*
margin-bottom:5.4ex;
padding-right:1.5em;
*/
}
.description ul{
font-weight:normal;
margin-top:1ex;
list-style-type:square;
margin-left:1.2em;
padding-left:1.2em;
}
.description ul li{
font-weight:normal;
margin-top:0.4ex;
margin-bottom:0.4ex;
line-height:2.7ex;
}
.description p {
font-weight:normal;
margin-top:1ex;
margin-bottom:1ex;
line-height:2.7ex;
}
.qualifier{
font-style: italic;
}
.citation {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 0.8em;
line-height:2.5ex;
margin-top:0.4ex;
margin-left:0em;
width:60%;
}
p.caption {
color:#AAA;
background-color:inherit;
font-style:italic;
}
.thumbnail img {
margin-right:1em;
margin-top:4ex;
}
/****** Entity Property Lists *********/
ul.properties {
list-style-type:none;
margin-top: 0.3em;
margin-bottom:0;
padding-top:0;
padding-bottom:0;
/* margin-left:0;*/
margin-left: 1em;
padding-left:0;
}
ul.properties li{
/* margin-top:0.5ex;*/
margin-bottom:0;
margin-left: 1.2em;
margin-top: 0;
/* line-height:1.2em;*/
}
ul.datatypePropertyValue li,
ul.properties li {
clear: left; /* prevent list items from stacking on floated edit icons */
}
div.editing ul.properties li {
/* margin-left: 1em;*/
/* margin-left: 0;*/
/* list-style-type: none;*/
}
ul.propertyLinks{
list-style-type:square;
margin-top:0.25ex;
margin-bottom:0.3ex;
padding-top:0.2em;
margin-left:1.2em;
padding-left:1.2em;
}
ul.propertyLinks li{
font-size:0.95em;
margin-top:0.4ex;
margin-bottom:0.4ex;
line-height:2.7ex;
}
ul.datatypeProperties {
list-style-type:none;
margin-left:0;
padding-left:0;
}
ul.datatypeProperties li{
/* font-weight:600; */
font-weight:normal;
margin-top:2ex;
margin-bottom:1ex;
margin-left:0em;
line-height:2.5ex;
}
ul.datatypeProperties ul{
font-weight:normal;
margin-top:1ex;
list-style-type:square;
margin-left:1.2em;
padding-left:1.2em;
}
ul.datatypeProperties ul li{
font-weight:normal;
margin-top:0.4ex;
margin-bottom:0.4ex;
line-height:2.7ex;
}
ul.datatypeProperties p {
font-weight:normal;
margin-top:0.4ex;
margin-bottom:0.4ex;
line-height:2.7ex;
}
.indent {
font-weight:normal;
margin-top:1ex;
margin-left:1.1em;
margin-bottom:1ex;
}
/************ servlet buttons **************************/
.servletButton{
margin-top:2.5ex;
margin-bottom:2.5ex;
}
.servletButton input{
background-color:#FAFAD2;
border-color:#CCCCDD;
color:#0000CD;
font-size:0.9em;
line-height:120%;
}
/************ toggle-related ***************************
These controls are set up to use JavaScript but degrade to use
CSS :hover classes -- JavaScript can be found in controls.js
IE6 does not support :hover so it will
******************************************************************/
span.entityMoreSpan {
display: block;
font-style: italic;
background: url(../site_icons/plus.gif) left center no-repeat;
padding-left: 14px;
margin: .5em 0;
line-height: 1em;
cursor: pointer;
}
div.navlinkblock:hover span.entityMoreSpan,
div.navlinkblock-collapsed:hover span.entityMoreSpan,
span.entityMoreSpan:hover {
color: #8C65A1;
}
div.navlinkblock:hover span.entityMoreSpan,
div.navlinkblock-expanded span.entityMoreSpan {
background: url(../site_icons/minus.gif) left center no-repeat;
}
div.navlinkblock:hover div.extraEntities,
div.navlinkblock-expanded div.extraEntities {
display: block;
}
div.extraEntities {
display: none;
}
/* Hack for IE6 */
* html div.navlinkblock div.extraEntities {
display: block;
}
span.entityMoreSpan {
margin-left: 1em;
}
/***************** link-related ****************************/
a.propertyLink{
font-weight:bold;
}
/**************** editing links **************************/
a.editlink {
font-weight:bold;
background-color:#FFFF99;
float: right;
}

View file

@ -0,0 +1,60 @@
/****************************************
* Albert R. Mann Library
* Cornell University
* Ithaca, NY 14853
****************************************/
/*
Title: Faculty Reporting Demo
Updated: February 5, 2008
*/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* Resetting from 2-column layout */
#content.full { width: 100%; margin-top: 40px; }
#dashboard { display: none; }
div#header a.manage, div#header a.logout {display: block; float: right; margin-right: 15px;}
div#header a.image img {display: block;}
form * {
margin-top:0.8ex;
margin-bottom:0.8ex;
}
form {
padding-bottom: 20px;
}
form textarea {
width: 60%;
}
form a:link.cancel, form a:visited.cancel {
color: #f00;
border-color: #f00;
}
form select option{
padding-right: 5px;
}
form a:hover.cancel {
color: #fff;
background: #f00;
}
form dl {
margin-bottom: 20px;
}
form dl dt, form dl dd {
padding-top: 15px;
}
.validationError {
font-weight:bold;
color:red;
}

View file

@ -0,0 +1,102 @@
/****************************************
* Albert R. Mann Library
* Cornell University
* Ithaca, NY 14853
****************************************/
/*
Title: Academic Profile screen styles
Author: mw542@cornell.edu
Updated: April 21, 2008
*/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/*div#header a, div#header img {display: none; }*/
div#header { height: 72px; }
div#header a.manage, div#header a.logout {display: block; float: right; margin-right: 15px;}
div#header a.image img {display: block;}
#contentwrap { border-top: 3px solid #b21a1b; background: #fff url(../site_icons/layout/bg_facedit_chalkboard.jpg) no-repeat left top; }
body { background: #c2c0c0; }
ul#profileCats { display: block; }
ul#profileCats li a:link, ul#profileCats li a:visited { color: #8fa993; background: #eaf0eb; }
ul#profileCats li a:hover { color: #eaf0eb; background: #8fa993; }
ul#profileCats li a:link#currentCat, ul#profileCats li a:visited#currentCat { color: #fff; background: #579c62; }
h1 { font-weight: normal; font-family: Verdana, Helvetica, sans-serif; color: #fff; font-size: 6.0em; }
body.formsEdit h2 { font-size: 1.7em; }
.entity em.moniker { font-style: normal; color: #b21a1b; padding-top: .9em; padding-left: 12px; }
/*div.entity ul.externalLinks { display: none; } /* Hiding external links under name */*/
div.thumbnail { display: none; padding: 14px; margin-top: 35px; } /* Hidden when editing */
h3.propertyName { float: left; clear: left; color: #fff; background-color: #6a7f6b; font-size: 1.1em; font-weight: bold; text-transform: uppercase; padding: 3px 5px; margin-bottom: 0; }
.propsCategory h3 { color: #579C62; }
ul.properties, div.datatypePropertyValue { padding: 8px 12px 5px 12px; margin:0; background-color: #f2f0f0; }
li.datatypeProperty { padding-top: 20px; }
div#datatypeProperties ul, div#datatypeProperties div, ul.propertyLinks { padding: 6px 0 6px 12px; background-color: #f2f0f0; }
/*div#datatypeProperties p { padding: 6px 0 6px 12px; }*/
div#datatypeProperties div { clear: left; }
div#datatypeProperties div ul { padding: 0; }
div.indent { background-color: #f2f0f0; margin: 0; padding: 8px 12px 5px 12px; }
div.navlinkblock { background-color: #f2f0f0; padding: 8px 12px 5px 12px; }
div.citation { clear: both; }
p.caption { margin-top: 2em; }
div.clearingDiv {clear: both;}
/* Here are the changed link colors */
span.entityMoreSpan { color: #50a882; }
span:hover.entityMoreSpan, span:active.entityMoreSpan { color: #8a4a8a; }
a:link.propertyLink, a:visited.propertyLink { color: #50a882; border: none; }
a:hover.propertyLink, a:active.propertyLink { color: #8a4a8a; border: none; }
a:link.externalLink, a:visited.externalLink { color: #a7595a; border: none; }
a:hover.externalLink, a:active.externalLink { color: #ff0003; border: none; }
p.caption a:link, p.caption a:visited { color: #50a882; border: 0; }
/* Alterations for 2-column layout */
/*#content.full { clear: none; width: 67%; min-width: 400px; padding-right: 0; margin-top: 40px; }*/
/*.entity { padding-right: 0; }*/
.citation, ul.externalLinks, .thumbnail, ul.properties, .contentsBrowseGroup h2 { clear: left; } /* To clear the moniker but not sidebar */
#dashboard { border-left: 1px solid #e1e1e1; margin: 0; padding: 0; text-align: left; background-image: none; background-position: top left; }
/*#dashboard { float: right; width: 30%; border-left: 1px solid #e1e1e1; padding: 0; }*/
/*#dashboard p { padding-left: 16px;}*/
#dashboard img { display: block; border: 2px solid #e1e1e1; width: 100px; height: 100px; margin: 0 0 16px 16px; padding: 0; }
#dashboard p { margin-left: 8px; }
#dashboard a:link, #dashboard a:visited { color: #4d5155; }
#dashboard a:hover, #dashboard a:active { color: #8a4a8a; }
ul#dashboardNavigation li h2 { font-size: 1.1em; background: #eaf0eb url(../site_icons/layout/bg-dashboardcat.gif) top left repeat-y; padding: 7px 8px 4px 8px; margin: 3px 0 0 0; text-transform: uppercase; }
ul#dashboardNavigation li h2:hover { cursor: pointer; }
ul#dashboardNavigation li h2.active { color: #579C62; }
ul.dashboardCategories { padding: 4px 8px 12px 0; }
ul.dashboardCategories li { list-style-type: disc; font-size: 1em; padding: 0; margin-left: 23px; }
div.toBeDeleted { margin: 12px 0; padding: 10px; width: 80%; background: #FFB673; border: solid 1px #FF7B2E;}
div.toBeDeleted ul { padding-left: 15px; }
div.toBeDeleted ul li { list-style-type: disc; }
#footer a:link, #footer a:visited { color: #bf7374; border-bottom: 1px solid #bf7374; }
#footer a:hover, #footer a:active { color: #b21a1b; border-bottom: 1px solid #b21a1b; }
#footer { color: #878787; }

View file

@ -0,0 +1,705 @@
/****************************************
CSS for default Vitro application / VIVO
main site styles
This version
2006-06-21 bjl23
Original version
2006-01-05 bdc34
*****************************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
@import url("tab.css");
/*@import url("editBanner.css");*/
/*@import url("inlineEdit.css");*/
@import url("vivo.css");
body {
font-family:"Lucida Grande", Verdana, Lucida, Arial, Helvetica, sans-serif;
background-color:white;
color:black;
font-size:82%;
line-height:120%;
margin-top:1ex ;
margin-bottom:1ex;
margin-left:0.5em;
margin-right:0.5em;
}
img {
border:0 hidden;
}
img.closecrop {
margin : 0;
padding : 0;
}
h2 {
font-size:1.15em;
margin-top:0.7em;
margin-bottom:0.7em;
}
h3 {
font-size:1.15em;
margin-top:0.6em;
margin-bottom:0.6em;
}
h4 {
font-size:1.0em;
margin-top:0.5em;
margin-bottom:0.5em;
font-weight:500;
}
h5 {
margin-top:0.5ex;
margin-bottom:0.5ex;
padding-top:0.5ex;
padding-bottom:0.5ex;
}
.description h2,
.description h3,
.description h4,
.description h5 {
font-weight: bold;
margin: 1em 0 .5em 0;
}
.description h2 { font-size: 1.5em; }
.description h3 { font-size: 1.3em; }
.description h4 { font-size: 1.2em; }
.description h5 { font-size: 1.2em; }
table{
border-collapse:collapse;
}
table tr td {
font-size:1em;
}
li {
margin-top:0.3ex;
margin-bottom:0.3ex;
padding-top:0.3ex;
padding-bottom:0.3ex;
list-style-type:square;
}
hr {
display: none;
}
/************************ links ********************************/
a {
text-decoration:none;
color:#6A5ACD;
background-color:inherit;
}
a:visited {
color:#6A5ACD;
background-color:inherit;
}
a:hover {
text-decoration:underline;
color:#C25D04;
background-color:inherit;
}
a:active {
text-decoration:none;
color:#BC6015;
background-color:inherit;
}
a img {
border:none;
}
a.externalLink{
font-style:italic;
}
/*************************** forms ****************************/
form {
margin:0;
}
textarea {
width:95%;
}
.form-button{
background-color:#CCCCFF; /* #f1f1d1 */
color:inherit;
font-family:Verdana,Arial,Helvetica,sans-serif;
margin-top:0.2ex;
margin-bottom:0.2ex;
padding-left:0.5em;
padding-right:0.5em;
width:auto;
overflow:visible;
}
.logout-button {
background-color : #F1F1D1; /* #DEB887; */
color:inherit;
border-color : #F1F1D1; /*#2E440C; */
font-size:0.8em;
padding-left:0.6em;
padding-right:0.6em;
margin-top:0.5ex;
margin-bottom:0.5ex;
margin-left:0;
margin-right:0;
border-width:1px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
width:auto;
overflow:visible;
}
.add-action-button {
background-color : #F1F1D1; /* #DEB887; */
color:inherit;
border-color : #F1F1D1; /*#2E440C; */
font-size:0.8em;
padding-left:0.6em;
padding-right:0.6em;
margin-top:0.5ex;
margin-bottom:0.5ex;
margin-left:0;
margin-right:0;
border-width:1px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
width:auto;
overflow:visible;
}
.form-item{
background-color:#fafad2;
color:inherit;
font-size:0.8em;
margin-top:0.5ex;
margin-bottom:0.3ex;
padding-left:0.2em;
}
/********************** header ************************************/
div#header {
width:100%;
clear:both; /* jc55 2008-07-18 */
}
#header a{
margin:0;
padding:0;
}
table#head{
width:100%;
}
#header td{
margin:0;
padding:0;
}
#header img{
margin:0;
}
/************** header search form *********************************/
td#SearchArea {
text-align:center;
padding-left:2.4em;
padding-right:2.4em;
}
td#SearchArea .searchForm {
text-align:center;
font-size:1.1em;
margin-top:0.6ex;
margin-bottom:0.6ex;
}
.searchForm table {
margin-left:auto;
margin-right:auto;
width:50%;
}
.searchForm select {
margin-left:0.5em;
margin-right:0.5em;
font-size:0.8em;
}
.searchForm a.formlink {
font-size:0.75em;
line-height:2ex;
margin-top:1ex;
}
.searchForm label {
color:#C25D04; /* ORANGE */
background-color:inherit;
font-size:0.95em;
margin-bottom:1ex;
}
.search-form-item {
background-color:#fafad2;
color:inherit;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:0.8em;
margin-top:0.5ex;
margin-bottom:0.4ex;
margin-left:0.5em;
margin-right:0.5em;
padding-left:0.2em;
}
.search-form-button {
background-color : #CCCCFF; /* #DEB887; */
color:inherit;
border-color : #CCFFFF; /*#2E440C; */
font-size:0.8em;
padding-top:0.1ex;
padding-bottom:0.1ex;
padding-left:0.5em;
padding-right:0.5em;
border-width:1px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
width:auto;
overflow:visible;
}
/*********************** Menu ****************************************/
#menu *{
padding:0px;
margin:0px;
}
#menu{
padding:0px;
margin:0px;
display:block;
background-color:rgb(241,241,209);
color:inherit;
}
#primaryAndOther{
padding:0px;
margin:0px;
background-color:rgb(241,241,209);
color:inherit;
border-bottom: 1px solid gray;
height:2em;
}
#menu ul li a td{
font-weight: bold;
}
#otherMenu{
float:right;
}
#otherMenu ul, #primary ul, #otherMenu, #primary{
font-weight: bold;
line-height:2em;
}
#secondaryTabMenu{
clear:both;
background-color: rgb(57, 82, 107);
color:inherit;
width:100%;
min-height:1.7em;
padding-top:0;
padding-bottom:0;
}
#secondaryTabMenu table#secondary {
border-collapse:collapse;
margin-left:auto;
margin-right:auto;
margin-top:0;
margin-bottom:0;
padding-top:0;
padding-bottom:0;
min-height:1.7em;
}
#menu li {
display:block;
list-style-type: none;
float:left;
line-height:2em;
max-height:2em;
padding-left:0.4em;
padding-right:0.4em;
}
#primary li{
background-color: rgb(51, 166, 199);
color:inherit;
border-right: 2px solid rgb(222, 184, 135);
}
#primary li.activePrimaryTab{
background-color: rgb(57, 82, 107);
color:inherit;
border-right: 2px solid rgb(222, 184, 135);
}
#secondary td{
font-weight:bold;
margin-left:0px;
margin-right:0px;
margin-top:0px;
margin-bottom:0px;
padding-top:0.25em;
padding-bottom:0.25em;
padding-left:0.4em;
padding-right:0.3em;
background-color: rgb(57, 82, 107);
color:inherit;
border-left: 2px solid gray;
border-right: 2px solid gray;
min-height:1.7em;
line-height:1.2em;
}
#otherMenu li{
background-color: rgb(238, 238, 153);
color:inherit;
border-left: 2px solid rgb(222, 184, 135);
}
#otherMenu a:hover{
color:#C25D04;
background-color:inherit;
}
#menu a{
text-decoration: none;
}
#otherMenu a {
color: gray;
background-color:inherit;
}
#primary a {
color: white;
background-color:inherit;
}
#primary a:hover {
color: yellow;
background-color:inherit;
}
#secondary a {
color: white;
background-color:inherit;
}
#secondary a:hover {
color:yellow;
background-color:inherit;
text-decoration:underline;
}
#secondaryTabMenu td.activeSecondaryTab {
color: black;
background-color: rgb(197, 197, 163);
padding-left:1em;
padding-right:1em;
}
#secondaryTabMenu td.activeSecondaryTab a{
color: #C25D04;
background-color:inherit;
}
/*********** bread crumbs *****************/
.breadCrumbs a{
text-decoration:none;
}
div.breadCrumbs {
clear:both;
background-color: rgb(241,241,209);
color:inherit;
font-family: Helvetica, Verdana, Arial, sans-serif;
font-size:0.9em;
min-height:3.3ex;
line-height:3.2ex;
padding-left:0.3em;
margin-top:0px;
margin-bottom:0px;
}
div.content {
margin-top: 2em;
}
/************************** main ******************************/
#contentwrap {
/* padding-bottom:1ex; */
}
#contentwrap img {
/* margin-top:0.4em;*/
/* margin-bottom:0.4em;*/
/* margin-right:0.4em;*/
/* margin-left:0;*/
border:0px hidden;
}
#aboutControlPane {
padding-bottom:3ex;
}
#aboutControlPane img {
margin-top:0em;
margin-bottom:0em;
margin-right:0.1em;
margin-left:0;
border:0px hidden;
}
#aboutControlPane div {
padding-top:0.3ex;
padding-bottom:0.3ex;
}
#aboutControlPane form {
padding-top:0.6ex;
padding-bottom:0.6ex;
}
/**************************************************************/
.contents{
padding:0.5em;
}
.blurb {
margin-top:0.2ex;
margin-bottom:0.6ex;
line-height:2.5ex;
/* font-size:0.85em; */
color:gray;
background-color:inherit;
}
.nowrap {
text-align:left;
white-space:nowrap;
}
/********** browsegroup *****************/
.contentsBrowseGroup .searchTOC{
margin-top:1em;
margin-left:0.3em;
padding:0.4em;
line-height:2.5em;
}
.contentsBrowseGroup .searchTOC a{
border-width:1px;
border-style:dotted;
background-color:#eeeeee;
color:inherit;
padding-top:0.3em;
padding-bottom:0.3em;
padding-right:0.6em;
padding-left:0.6em;
margin-top:0;
margin-left:0.2em;
margin-right:0.2em;
}
.contentsBrowseGroup a{
text-decoration:none;
}
.contentsBrowseGroup ul{
margin-top:0.4em;
margin-bottom:0.4em;
}
.contentsBrowseGroup li{
margin-top:0.7em;
margin-bottom:0.7em;
}
.contentsBrowseGroup li div{
font-size:0.9em;
color:gray;
background-color:inherit;
}
.contentsBrowseGroup h2{
font-size:1.3em;
font-weight:500;
color:black;
background-color:#E4E4C8;
padding-left:0.2em;
padding-top:0.3em;
padding-bottom:0.3em;
}
.contentsBrowseGroup h3{
margin-left:0.6em;
}
.SearchTerm{
color:red;
background-color:inherit;
font-weight:bold;
}
/*********** Entity List ****************/
.entityList ul{
list-style-type:none;
margin-bottom:0.6em;
}
.entityList li{
margin-top:0.7em;
margin-bottom:0.7em;
}
.entityList h3{
font-weight:bold;
}
/**************************** footer ***************************/
div.footer{
clear:both;
font-size:0.9em;
padding-top:0.4ex;
padding-bottom:0.4ex;
margin-top: 0;
background-color: rgb(197, 197, 163);
color: rgb(57, 82, 107);
text-align: center;
}
/*************** these are from portal.css.jsp ****************/
/******* for maintaining compatibility with older pages *******/
.lightbackground {
background-color:#A0C5CE;
color:inherit;
}
.lightbackground2 {
background-color:#F8F8C8;
color:inherit;
}
.pageGroupBody {
padding:1em;
}
.pageGroupBody p{
padding-left:0.8em;
padding-right:0.4em;
}
/***************************************************/
.staticPageBackground{
background-color:#e0e0e0;
color:inherit;
margin:0;
padding-left:0.45em;
padding-right:0.45em;
padding-top:0.45em;
padding-bottom:0.45em;
}
.staticPageBackground table{
border-width:1px;
border-color:black;
padding:0.45em;
}
.staticPageBackground td{
padding:0.45em;
}
.feedbackForm{
padding:0.45em;
border:1px solid black;
}
/***************************************************/
.warning{
color:red;
background-color:inherit;
}
/***************************************************/
/* Column styles from Blueprint's liquid.css
-------------------------------------------------------------- */
/* Use this class together with the .span-x classes
to create any composition of columns in a layout. */
.column {float: left;}
/* The last column in a row needs this class. */
.last { margin-right: 0; }
/* Use these classes to set the width of a column. */
.span-1 { width: 4%; }
.span-2 { width: 8%; }
.span-3 { width: 12%; }
.span-4 { width: 16%; }
.span-5 { width: 20%; }
.span-6 { width: 25%; }
.span-7 { width: 29%; }
.span-8 { width: 33%; }
.span-9 { width: 37%; }
.span-10 { width: 41%; }
.span-11 { width: 45%; }
.span-12 { width: 50%; }
.span-13 { width: 54%; }
.span-14 { width: 58%; }
.span-15 { width: 62%; }
.span-16 { width: 66%; }
.span-17 { width: 70%; }
.span-18 { width: 75%; }
.span-19 { width: 79%; }
.span-20 { width: 83%; }
.span-21 { width: 87%; }
.span-22 { width: 91%; }
.span-23 { width: 95%; }
.span-24 { width: 100%; margin-right: 0; }

View file

@ -0,0 +1,93 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* *************** advanced search **************** */
.searchTips {
font-size:0.9em;
margin-top:2ex;
margin-left:1em;
padding-right:0.45em;
}
.searchTips li{
margin-top:1ex;
margin-bottom:1ex;
}
.advancedSearchForm {
padding-top:1.5ex;
padding-bottom:1.5ex;
padding-left:1em;
padding-right:1em;
margin-top:2ex;
background-color:#DDDDDD;
color:inherit;
font-size:0.9em;
}
.moreSearchOptions {
font-size:0.9em;
text-align:left;
padding-top:5ex;
padding-bottom:3ex;
margin-left:1em;
}
.moreSearchOptions a {
font-size:1.1em;
}
.moreSearchOptions p {
margin-top:0.5ex;
margin-bottom:0.5ex;
}
.moreSearchOptions img {
position:relative; top:+0.7ex;
}
.moreSearchOptions ul{
list-style-type:none;
margin-left:0;
padding-left:0;
}
.moreSearchOptions ul li{
margin-top:2.5ex;
margin-bottom:2.5ex;
margin-left:0;
padding-left:0;
}
#search1 {
padding:0;
margin-left:1em;
}
#search1 p{
margin-top:0.1ex;
margin-bottom:0.1ex;
padding-left:0;
margin-left:0;
}
#search1 input{
margin-left:0;
}
#search1 select{
margin-left:0;
}
/* ****************** toggle-related ***************** */
.resultsMoreSpan{
margin-left:1.7em;
position:relative; top:-0.7ex;
}
.resultsMoreSpan img{
position:relative; top:+0.8ex;
margin-right:0.1em;
}

View file

@ -0,0 +1,170 @@
/****************************
css for vitro tab styles
This version
2006-06-20 bjl23
Original version
2006-01-05 bdc34
***************************/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/************ header ******************/
#contents h2 {
background-color: rgb(197,197,163);
color:inherit;
font-weight:600;
padding-left:0.3em;
padding-top:0.5ex;
padding-bottom:0.5ex;
margin-top:0ex;
margin-left:0em;
margin-right:0em;
}
.tab.depth1 table {
table-layout:fixed;
}
.tab.depth2 h3 {
background-color: #F1F1D1;
color:inherit;
font-size:1em;
line-height:2ex;
font-weight: normal;
padding: 0.6ex 0.45em 0.6ex 0.45em;
margin-right:0;
margin-left:0;
margin-top:1.5ex;
margin-bottom:1.5ex;
}
.tab.depth2 table {
table-layout:fixed;
}
.tab.depth3 h4{
font-weight: normal;
margin:0;
padding: 0.6ex 0.45em 0.6ex 0.45em;
}
.tabBody {
margin-left:0.45em;
margin-right:0.45em;
/* font-size:0.9em;
line-height:135%; */
}
.tabBody h4{
font-weight:bold;
text-align:center;
}
.tabBody table{
table-layout:auto;
}
.tabBody img{
margin-right:0.5em;
}
.tabBody form{
margin-top:0.5ex;
margin-bottom:0.5ex;
}
.tabBody p{
margin-top:1.4ex;
margin-bottom:1.4ex;
}
.tabEntities {
font-size:0.9em;
}
ul.tabEntities.entityListForTab {
padding-bottom:1ex;
}
/******** table *******************/
#contents td{
vertical-align: top;
/* font-family: "Lucida Grande",Verdana,Lucida,Arial,Helvetica,sans-serif; */
padding:0.2em;
}
.subtabs table{
width: 100%;
}
#tabContent table{
width: 100%;
/* table-layout:fixed; */
}
#tabContent td {
padding:0.4em;
}
/******** vertical layout *****/
ul.tabSubAsList {
list-style:disc;
margin-left:1.7em;
margin-top:0.5ex;
margin-bottom:0.5ex;
padding:0;
}
ul.tabSubAsList li{
/* font-size:0.85em; */
line-height:2.2ex;
margin:0;
padding:0;
}
.tabDesc{
margin-left:0.45em;
line-height:2.4ex;
}
.alphaIndex{
margin-left:0.45em;
margin-right:0.45em;
margin-top:1em;
margin-bottom:1em;
}
/** tab specific ***/
/* a style can be applied to a single tab based on its tabId */
#tabNN{
color:rgb(200,0,0);
background-color:rgb(0,200,200);
}
/**************** tab entities ******************/
.tabEntities img {
position:relative; left:-0.2em;
}
ul.tabEntities {
margin-top:0.2em;
margin-bottom:0.2em;
/* margin-left:1.7em;*/
margin-left: 0.5em;
padding:0;
list-style-type:none;
}
.tabEntities li{
padding: 0 0 0 0;
margin-top:1em;
margin-bottom:1em;
list-style-type:none;
}

View file

@ -0,0 +1,548 @@
/****************************************
* Albert R. Mann Library
* Cornell University
* Ithaca, NY 14853
****************************************/
/*
Title: VIVO screen styles
Authors: nac26@cornell.edu, mw542@cornell.edu
Updated: June 11, 2008
* bjl23@cornell.edu tweaked a.add and a.edit and copied dt/dd styling
because alignment was way off on default theme
*/
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
/* **** 2008-06-11 BJL copied from VIVO's vivo.css **** */
form dt {
float: left;
clear: left;
text-align: right;
margin: 5px 10px 0 0;
width: 140px;
}
/****************************************************************
content roll call
****************************************************************/
.admin {
margin: 10px 0;
padding: 10px;
background-color: #8ac;
}
.admin a:link, .admin a:visited {
color: #fff;
}
.admin a:hover {
color: #203e48;
}
.entityValues {
color: #555;
font-size: 0.9em;
line-height: 0.9em;
}
.citation {
clear: both;
padding-top: 25px;
}
span.SearchTerm, h1 span.SearchTerm, a:link span.SearchTerm, a:visited span.SearchTerm {
background: #ffb;
}
.entity {
margin-top: 0;
padding-top: 0;
padding-right: 16px;
}
.entity em.moniker {
/* float: left; */
display: inline;
/* padding-top: 12px; */
/* padding-left: 16px; */
font-size: 1em;
/* color: #888;*/
}
ul.externalLinks {
clear: left;
margin-bottom: 20px;
padding-left: 2px;
}
ul.externalLinks li {
display: inline;
padding-right: 6px;
/* border-left: solid 1px #ccc;*/
}
ul.externalLinks li.first {
padding-left: 0;
border-left: none;
}
ul.externalLinks a {
text-decoration: underline;
}
a:link.propertyLink, a:visited.propertyLink {
font-weight: bold;
}
a:link.externalLink, a:visited.externalLink {
color: #21A6BA;
/* font-size: 0.9em;*/
font-weight: normal;
font-style: normal;
/* border: none;*/
}
a:visited.externalLink {
color: #67999E;
}
a:hover.externalLink {
color: #f81;
}
.thumbnail {
float: left;
clear: both;
margin-bottom: 20px;
}
ul.properties {
clear: left;
}
ul.properties li {
color: #777777;
}
li.editcontrols {
list-style-type: none;
margin-left: 0;
}
a:link.add, a:visited.add {
color: #76BF6C;
font-size: .8em;
padding-left: 3px;
}
a.add img {
/* padding-top:3.6ex; */
padding-left:0.5em;
margin-bottom: -2px;
/* margin-top: .5em; */
}
a.edit img, a.delete img {
padding-left: .5em;
/* margin-left: 10px; */
/* vertical-align: bottom;*/
vertical-align: middle;
}
a.edit img {
margin-right: -5px; /* tighten space between edit and delete icons */
}
div.editing a.edit img,
div.editing a.delete img {
padding-left: 0;
}
div.editing a.edit img {
margin-right: 4px;
}
div.editing a.delete {
padding-right: 7px;
}
div.editing a.edit,
div.editing a.delete {
/* float: left;*/
/* color: #C76C1C;*/
color: #76BF6C;
/* color: #DF905D;*/
padding-right: 4px;
}
span.statementWrap {
}
span.editLinks,
em.nonEditable {
font-size: .8em;
padding-left: 5px;
}
em.nonEditable {
color: #bbb;
}
li.property {
color: #bbb;
padding-top: 20px;
}
li.property a.edit {
padding: 6px;
}
ul.datatypePropertyValue,
ul.datatypePropertyValue li {
margin: 0;
padding: 0;
}
ul.datatypePropertyValue {
margin-left: 1.3em;
margin-left: 0;
}
div.editing ul.datatypePropertyValue {
/*margin-left: 0;*/ /* overriding when editing icons are used */
}
div.editing ul.datatypePropertyValue li {
list-style-type: none; /* overriding when editing icons are used */
}
ul.datatypePropertyValue li p {
margin: 0;
display: inline; /* data properties with multiple statements render as lists with paragraphs inside */
}
.datatypePropertyValue {
clear: left;
}
.propsItem {
margin: 2em 0;
}
.propsItem p {
line-height: 1.4em;
}
ul.tabEntities {
margin-top: 25px;
}
#datatypeProperties ul ul {
margin-left: 10px;
font-size: 0.9em;
}
#datatypeProperties ul, #datatypeProperties ol, #datatypeProperties p {
clear: left;
}
.datatypeProperties ol {
margin-left: 18px;
}
ul.properties li.property, ul.datatypeProperties li.datatypeProperty, ul.tabEntities li {
margin-top: 7px;
font-size: 1.1em;
font-weight: bold;
}
ul.datatypeProperties li.datatypeProperty span, span.entityMoreSpan span.resultsMoreSpan {
font-weight: normal;
color: #185;
}
ul.datatypeProperties li.datatypeProperty span:hover, span:hover.entityMoreSpan span:hover.resultsMoreSpan {
color: #f81;
}
ul.properties li.property ul, ul.datatypeProperties li.datatypeProperty ul, div.indent, div.blurb {
margin-top: 4px;
/* margin: 4px 0 0 8px;*/
font-size: 0.9em;
font-weight: normal;
line-height: 1.5em;
}
div.indent, ul.datatypeProperties li.datatypeProperty p, div.blurb {
font-size: 0.99em;
}
div.description {
margin: 1em 0;
}
div.description ol {
margin-left: 18px;
}
/****************************************************************
basics roll call
****************************************************************/
/* Disable the deprecated HTML <font> tag. Reduces need to zoom.) */
font {
font-family: inherit !important;
font-size: inherit !important;
color: inherit !important;
}
div.pm-indicators {
font-size: 2.8em !important;
}
p {
margin: 0 0 10px 0;
padding: 0;
font-size: 1em;
line-height: 1.4em;
text-align: left;
}
h1 {
margin: 7px 0 2px 0;
font-size: 2.3em;
font-family: Verdana, Helvetica, sans-serif;
color: #fff;
}
h2 {
margin: 20px 0 2px 0;
font-size: 2.3em;
font-family: Verdana, Helvetica, sans-serif;
color: #000;
}
.entity h2 {
margin: 7px 0 2px 0;
font-size: 1.5em; /* jc55 was 2.3 */
font-family: Verdana, Helvetica, sans-serif;
color: #000;
}
.entity h2 em {
padding: 1.5em 0 2em 0;
font-size: 0.85em; /* jc55 was 0.55 em */
font-weight: normal;
font-style: normal;
color: #397382;
}
.entity h2 {
/* float: left; */
margin-top: 0;
margin-bottom: 10px;
padding-top: 0;
}
#label h2 {
display: inline;
padding-right: 12px;
line-height: 1.2em;
}
span.h2 {
display: block;
margin: 15px 0 4px 0;
font-size: 1.5em;
font-weight: bold;
color: #054;
}
h2.primary {
margin-top: 10px;
font-family: Georgia, Verdana, sans-serif;
font-size: 1.8em;
font-weight: normal;
color: #630;
}
.siteMap h2 {
font-size: 1.1em;
/*color: #203E48;*/
}
/*
h3 {
margin: 30px 0 4px 0;
font-size: 1.7em;
line-height: 1.3em;
font-family: Verdana, Helvetica, sans-serif;
color: #203e48;
}
*/
/*h3 {
margin-top: 25px;
font-size: 1.0em;
color: #087;
}*/
h3 a:link, h3 a:visited {
color: #134;
border-color: #134;
}
h3 a:hover {
color: #f81;
}
/*
h3.propertyName, .propsCategory h4 {
clear: left;
float: left;
margin: 30px 0 3px 0;
padding: 0;
font-size: 1.2em;
color: #000;
}
*/
.propsCategory h3 {
clear: left;
float: left;
color: #2E515C;
text-transform: uppercase;
}
h3.centered {
margin-top: 10px;
font-size: 1.2em;
}
.admin h3 {
margin-top: 0;
}
/*
.contentsBrowseGroup h3 {
clear: both;
margin-top: 20px;
font-size: 2.0em;
color: #f81;
}
*/
div.headerlink {
padding: 1em;
}
#loginPanel h3 {
margin-top: 10px;
}
#loginPanel ul {
margin-left: 0;
padding-left: 0;
}
#loginPanel li {
list-style-type: none;
}
h4 {
margin-top: 10px;
font-size: 1.0em;
}
h4.targeted { background: yellow; }
h4.compapp-ref {
padding: 10px;
font-size: 1.2em;
color: #777;
background: #ded5b3;
}
h4 a:link, h4 a:visited {
color: #087;
border-color: #087;
}
h4 a:hover {
color: #f81;
}
h4.first, .contentsBrowseGroup h4.first {
margin-top: 4px;
}
.contentsBrowseGroup h4 {
margin-top: 12px;
margin-bottom: 4px;
font-size: 1.2em;
}
h6 {
margin-top: 2px;
font-size: 1.0em;
font-weight: normal;
}
h6 a {
color: #054;
border-bottom-color: #054;
}
h6 a:hover {
background: #054;
}
#tags h6 {
float: left;
margin: 0 4px 0 0;
font-weight: bold;
}
address {
float: left;
margin: 10px 0 0 16px;
width: 40%;
text-align: left;
font-style: normal;
line-height: 1.3em;
}
ul.dataProperties li em {
font-size: 0.9em;
font-style: normal;
}
ul.dataProperties li em a:link {
color: #5ca2ba;
}
.propsCategory h2 {
float:none;
display:inline;
font-size:1.8em;
font-weight:500;
color:black;
background-color:#E4E4C8;
padding-left:0.2em;
padding-top:0.2em;
padding-bottom:0.1em;
}