Further development of Wilma theme, still include a lot of temporary files and directories. There are duplicated files, wrong file image location, still a work in progress.
117
productMods/edit/formPrefix.jsp
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
<%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%>
|
||||||
|
|
||||||
|
<%@ page import="java.util.List" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||||
|
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/functions" prefix="fn" %>
|
||||||
|
|
||||||
|
<%
|
||||||
|
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
VitroRequest vreq = new VitroRequest(request);
|
||||||
|
Portal portal = vreq.getPortal();
|
||||||
|
|
||||||
|
String contextRoot = vreq.getContextPath();
|
||||||
|
|
||||||
|
String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||||
|
themeDir = contextRoot + '/' + themeDir;
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<c:set var="portal" value="${requestScope.portalBean}"/>
|
||||||
|
<c:set var="themeDir"><%=themeDir%></c:set>
|
||||||
|
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||||
|
<c:set var="title"><c:out value="${requestScope.title}" /></c:set>
|
||||||
|
|
||||||
|
<%-- test for Wilma theme to help for smooth transition --%>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${fn:contains(themeDir,'wilma')}">
|
||||||
|
<jsp:include page="/themes/wilma/templates/edit/formPrefix.jsp" flush="true"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
|
<head> <!-- formPrefix.jsp -->
|
||||||
|
<%
|
||||||
|
String useTinyMCE = (useTinyMCE=request.getParameter("useTinyMCE")) != null && !(useTinyMCE.equals("")) ? useTinyMCE : "false";
|
||||||
|
if (useTinyMCE.equalsIgnoreCase("true")) {
|
||||||
|
String height = (height=request.getParameter("height")) != null && !(height.equals("")) ? height : "200";
|
||||||
|
String width = (width=request.getParameter("width")) != null && !(width.equals("")) ? width : "75%";
|
||||||
|
String defaultButtons="bold,italic,underline,separator,link,bullist,numlist,separator,sub,sup,charmap,separator,undo,redo,separator,code";
|
||||||
|
String buttons = (buttons=request.getParameter("buttons")) != null && !(buttons.equals("")) ? buttons : defaultButtons;
|
||||||
|
String tbLocation = (tbLocation=request.getParameter("toolbarLocation")) != null && !(tbLocation.equals("")) ? tbLocation : "top";
|
||||||
|
%>
|
||||||
|
<script language="javascript" type="text/javascript" src="../js/tiny_mce/tiny_mce.js"></script>
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
tinyMCE.init({
|
||||||
|
theme : "advanced",
|
||||||
|
mode : "textareas",
|
||||||
|
theme_advanced_buttons1 : "<%=buttons%>",
|
||||||
|
theme_advanced_buttons2 : "",
|
||||||
|
theme_advanced_buttons3 : "",
|
||||||
|
theme_advanced_toolbar_location : "<%=tbLocation%>",
|
||||||
|
theme_advanced_toolbar_align : "left",
|
||||||
|
theme_advanced_statusbar_location : "bottom",
|
||||||
|
theme_advanced_path : false,
|
||||||
|
theme_advanced_resizing : true,
|
||||||
|
height : "<%=height%>",
|
||||||
|
width : "<%=width%>",
|
||||||
|
valid_elements : "a[href|name|title],br,p,i,em,cite,strong/b,u,sub,sup,ul,ol,li",
|
||||||
|
fix_list_elements : true,
|
||||||
|
fix_nesting : true,
|
||||||
|
cleanup_on_startup : true,
|
||||||
|
gecko_spellcheck : true,
|
||||||
|
forced_root_block: false
|
||||||
|
//forced_root_block : 'p',
|
||||||
|
// plugins: "paste",
|
||||||
|
// theme_advanced_buttons1_add : "pastetext,pasteword,selectall",
|
||||||
|
// paste_create_paragraphs: false,
|
||||||
|
// paste_create_linebreaks: false,
|
||||||
|
// paste_use_dialog : true,
|
||||||
|
// paste_auto_cleanup_on_paste: true,
|
||||||
|
// paste_convert_headers_to_strong : true
|
||||||
|
// save_callback : "customSave",
|
||||||
|
// content_css : "example_advanced.css",
|
||||||
|
// extended_valid_elements : "a[href|target|name]",
|
||||||
|
// plugins : "table",
|
||||||
|
// theme_advanced_buttons3_add_before : "tablecontrols,separator",
|
||||||
|
// invalid_elements : "li",
|
||||||
|
// theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
<% String useAutoComplete = (useAutoComplete=request.getParameter("useAutoComplete")) != null && !(useAutoComplete.equals("")) ? useAutoComplete : "false";
|
||||||
|
if (useAutoComplete.equalsIgnoreCase("true")) { %>
|
||||||
|
<link rel="stylesheet" type="text/css" href="<c:url value="/js/jquery_plugins/jquery-autocomplete/jquery.autocomplete.css"/>" />
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
|
||||||
|
<c:forEach var="cssFile" items="${customCss}">
|
||||||
|
<link rel="stylesheet" type="text/css" href="<c:url value="${cssFile}"/>" media="screen"/>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="<c:url value="/js/jquery_plugins/thickbox/thickbox.css"/>" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="${themeDir}css/screen.css" media="screen"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${themeDir}css/formedit.css" media="screen"/>
|
||||||
|
|
||||||
|
<title>Edit</title>
|
||||||
|
</head>
|
||||||
|
<body class="formsEdit">
|
||||||
|
<div id="wrap" class="container">
|
||||||
|
<jsp:include page="/templates/page/freemarkerTransition/identity.jsp" flush="true"/>
|
||||||
|
<jsp:include page="/templates/page/freemarkerTransition/menu.jsp" flush="true"/>
|
||||||
|
<div id="contentwrap">
|
||||||
|
<div id="content" class="form">
|
||||||
|
<!-- end of formPrefix.jsp -->
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
66
productMods/edit/formSuffix.jsp
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
<%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%>
|
||||||
|
|
||||||
|
<%@ page import="java.util.List" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||||
|
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/functions" prefix="fn" %>
|
||||||
|
|
||||||
|
<%
|
||||||
|
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
VitroRequest vreq = new VitroRequest(request);
|
||||||
|
Portal portal = vreq.getPortal();
|
||||||
|
|
||||||
|
String contextRoot = vreq.getContextPath();
|
||||||
|
|
||||||
|
String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||||
|
themeDir = contextRoot + '/' + themeDir;
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<c:set var="portal" value="${requestScope.portalBean}"/>
|
||||||
|
<c:set var="themeDir"><%=themeDir%></c:set>
|
||||||
|
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||||
|
<c:set var="title"><c:out value="${requestScope.title}" /></c:set>
|
||||||
|
|
||||||
|
<%-- test for Wilma theme to help for smooth transition --%>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${fn:contains(themeDir,'wilma')}">
|
||||||
|
<jsp:include page="/themes/wilma/templates/edit/formSuffix.jsp" flush="true"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
</div> <!-- #content.form -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="push"></div>
|
||||||
|
|
||||||
|
<jsp:include page="/templates/page/freemarkerTransition/footer.jsp" flush="true"/>
|
||||||
|
|
||||||
|
</div><!-- end wrap -->
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/extensions/String.js"/>"></script></script>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery.js"/>"></script>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery_plugins/jquery.bgiframe.pack.js"/>"></script>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery_plugins/thickbox/thickbox-compressed.js"/>"></script>
|
||||||
|
<!-- <script type="text/javascript" src="<c:url value="/js/jquery_plugins/ui.datepicker.js"/>"></script> -->
|
||||||
|
|
||||||
|
<% String useAutoComplete = (useAutoComplete=request.getParameter("useAutoComplete")) != null && !(useAutoComplete.equals("")) ? useAutoComplete : "false";
|
||||||
|
if (useAutoComplete.equalsIgnoreCase("true")) { %>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery_plugins/jquery-autocomplete/jquery.autocomplete.pack.js"/>"></script>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<c:forEach var="jsFile" items="${customJs}">
|
||||||
|
<script type="text/javascript" src="<c:url value="${jsFile}"/>"></script>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
60
productMods/templates/page/basicPage.jsp
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
<%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%>
|
||||||
|
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/functions" prefix="fn" %>
|
||||||
|
<%@ page errorPage="/error.jsp"%>
|
||||||
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||||
|
|
||||||
|
<%
|
||||||
|
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
VitroRequest vreq = new VitroRequest(request);
|
||||||
|
Portal portal = vreq.getPortal();
|
||||||
|
|
||||||
|
String contextRoot = vreq.getContextPath();
|
||||||
|
|
||||||
|
String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||||
|
themeDir = contextRoot + '/' + themeDir;
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<c:set var="portal" value="${requestScope.portalBean}"/>
|
||||||
|
<c:set var="themeDir"><%=themeDir%></c:set>
|
||||||
|
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||||
|
<c:set var="title"><c:out value="${requestScope.title}" /></c:set>
|
||||||
|
|
||||||
|
<%-- test for Wilma theme to help for smooth transition --%>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${fn:contains(themeDir,'wilma')}">
|
||||||
|
<jsp:include page="/themes/wilma/templates/page/basicPage.jsp" flush="true"/>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<jsp:include page="doctype.jsp"/>
|
||||||
|
<head>
|
||||||
|
<jsp:include page="headContent.jsp"/>
|
||||||
|
</head>
|
||||||
|
<body ${requestScope.bodyAttr}>
|
||||||
|
<div id="wrap" class="container">
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include page="/templates/page/freemarkerTransition/identity.jsp" flush="true"/>
|
||||||
|
<jsp:include page="/templates/page/freemarkerTransition/menu.jsp" flush="true"/>
|
||||||
|
</div><!-- #header -->
|
||||||
|
<hr class="hidden" />
|
||||||
|
<div id="contentwrap">
|
||||||
|
<c:import url="${bodyJsp}"/>
|
||||||
|
</div> <!-- #contentwrap -->
|
||||||
|
<jsp:include page="/templates/page/freemarkerTransition/footer.jsp" flush="true"/>
|
||||||
|
</div> <!-- #wrap -->
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
342
themes/wilma/css/edit.css
Normal file
|
@ -0,0 +1,342 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/******************* styles copied from old global.css.jsp ********************************/
|
||||||
|
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Temporary hack to remove stuff from forms in vivoweb only */
|
||||||
|
.hideFromVivoWeb {
|
||||||
|
display: none;
|
||||||
|
height: 0;
|
||||||
|
}
|
7
themes/wilma/css/entity.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/*************************************************
|
||||||
|
vivo-basic theme: individual profile page styles
|
||||||
|
|
||||||
|
**************************************************/
|
||||||
|
|
60
themes/wilma/css/formedit.css
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/*************************************************
|
||||||
|
vivo-basic theme: editing form styles
|
||||||
|
|
||||||
|
This document is included by formPrefix.jsp
|
||||||
|
|
||||||
|
**************************************************/
|
||||||
|
|
||||||
|
form {
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form p {
|
||||||
|
margin-bottom:0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
form textarea {
|
||||||
|
width: 60%;
|
||||||
|
}
|
||||||
|
|
||||||
|
form a:link.cancel, form a:visited.cancel {
|
||||||
|
color: #f70;
|
||||||
|
border-color: #f70;
|
||||||
|
}
|
||||||
|
|
||||||
|
form a:hover.cancel {
|
||||||
|
color: #fff;
|
||||||
|
background: #f70;
|
||||||
|
}
|
||||||
|
|
||||||
|
form select option{
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
form dl {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
form dl dt, form dl dd {
|
||||||
|
padding-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.validationError {
|
||||||
|
font-weight:bold;
|
||||||
|
color:red;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inlineForm input {
|
||||||
|
display:inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inlineForm label {
|
||||||
|
display:inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.submit {
|
||||||
|
clear: left;
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
657
themes/wilma/css/individual.css
Normal file
|
@ -0,0 +1,657 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/*************************************************
|
||||||
|
vivo-basic theme: TEMPORARY individual styles
|
||||||
|
**************************************************/
|
||||||
|
|
||||||
|
/*@import url("thickbox.css");*/
|
||||||
|
|
||||||
|
#personWrap #vitroPropertyGroupname {
|
||||||
|
/* display: none;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #content.person {
|
||||||
|
padding: 30px 0 20px 4px;
|
||||||
|
/* width: 69%;*/
|
||||||
|
width: auto;
|
||||||
|
/* min-width: 600px;*/
|
||||||
|
/* margin-right: 280px;*/
|
||||||
|
/* padding-top: 10px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #contentwrap {
|
||||||
|
/* background: #fff url(../site_icons/grouping/bg_page_person.gif) no-repeat right top;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap {
|
||||||
|
/* background: url(../site_icons/grouping/bg_innerwrap_person.gif) repeat-y right top;*/
|
||||||
|
padding-top: 20px;
|
||||||
|
/* margin-top: 25px;*/
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap .entity {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------ duplicate styles for department pages ----- */
|
||||||
|
|
||||||
|
#deptWrap div.admin {
|
||||||
|
/* display: none;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap #content {
|
||||||
|
/* padding: 0 0 20px 4px;*/
|
||||||
|
padding-top: 0;
|
||||||
|
/* width: 69%;*/
|
||||||
|
width: auto;
|
||||||
|
min-width: 600px;
|
||||||
|
margin-right: 280px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap {
|
||||||
|
background: url(../site_icons/grouping/bg_innerwrap_person.gif) repeat-y right top;
|
||||||
|
padding-top: 26px;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap #dashboard {
|
||||||
|
padding: 0 0 100px 0;
|
||||||
|
display: inline-block; /* fixes IE double top-padding bug, discussed at: http://exscale.se/archives/2007/06/13/ie-double-padding-bug/ */
|
||||||
|
background: none;
|
||||||
|
text-align: left;
|
||||||
|
width: 255px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap em.moniker {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap div.description {
|
||||||
|
/* font-size: 1.2em;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap div.description p,
|
||||||
|
#deptWrap div.description li {
|
||||||
|
/* font-size: 1em;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
img.screenshot {
|
||||||
|
display: block;
|
||||||
|
margin: 4px 0;
|
||||||
|
border: 3px solid #C7C3BB;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap #dashboard a:link {
|
||||||
|
/* color: #55AABB;*/
|
||||||
|
/* border-color: #55AABB;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap ul.externalLinks {
|
||||||
|
padding-left: 21px;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deptWrap ul.externalLinks li {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 21px;
|
||||||
|
padding-left: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ------------------------------------------------- */
|
||||||
|
|
||||||
|
#personWrap #entity {
|
||||||
|
clear: left;
|
||||||
|
margin: 0;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #entity h2,
|
||||||
|
#personWrap #entity em.moniker {
|
||||||
|
float: none;
|
||||||
|
/* display: inline;*/
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #entity h2 {
|
||||||
|
/* padding-right: 16px;*/
|
||||||
|
/* line-height: 2.5em;*/
|
||||||
|
line-height: 1.3em;
|
||||||
|
margin: 0;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap em.moniker {
|
||||||
|
clear: none;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 2px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div#profileImage {
|
||||||
|
width: 87px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap img.headshot,
|
||||||
|
#personWrap a.img img.headshot {
|
||||||
|
width: 75px;
|
||||||
|
float: left;
|
||||||
|
margin: 0 12px 3px 0;
|
||||||
|
/* border: 1px solid #333333;*/
|
||||||
|
border: 1px solid #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #entity div.citation {
|
||||||
|
clear: left;
|
||||||
|
display: inline;
|
||||||
|
font-size: .8em;
|
||||||
|
line-height: 1.2em;
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div#overview {
|
||||||
|
position: relative;
|
||||||
|
clear: left;
|
||||||
|
margin: 0;
|
||||||
|
padding-top: 6px;
|
||||||
|
font-size: 1.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div#overview.loggedIn {
|
||||||
|
/* padding-right: 4em;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap ol,
|
||||||
|
#personWrap ul {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #content ol li,
|
||||||
|
#personWrap #content ul li {
|
||||||
|
padding-left: 0;
|
||||||
|
/* font-size: 1em;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory h3 {
|
||||||
|
float: left;
|
||||||
|
display: inline;
|
||||||
|
height: 24px;
|
||||||
|
margin: 0 0 0 -1px;
|
||||||
|
padding: 0 0 0 12px;
|
||||||
|
font-size: 1.08em;
|
||||||
|
color: #fff;
|
||||||
|
background: url(../site_icons/grouping/h3_tab_left.gif) left top no-repeat;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory h3 strong {
|
||||||
|
float: left;
|
||||||
|
display: inline;
|
||||||
|
height: 19px;
|
||||||
|
line-height:19px;
|
||||||
|
padding: 5px 16px 0 0;
|
||||||
|
background: url(../site_icons/grouping/h3_tab_right.gif) right top no-repeat;
|
||||||
|
color:#fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory {
|
||||||
|
clear: left;
|
||||||
|
background: #fff url(../site_icons/grouping/bg_propsCategory.gif) right top no-repeat;
|
||||||
|
/* border-left: 1px solid #d9d9d9;*/
|
||||||
|
border-left: 1px solid #dedede;
|
||||||
|
/* border-bottom: 1px solid #d9d9d9;*/
|
||||||
|
border-bottom: 1px solid #dedede;
|
||||||
|
/* margin-bottom: 30px;*/
|
||||||
|
margin: 25px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsWrap {
|
||||||
|
clear: left;
|
||||||
|
margin: 0;
|
||||||
|
padding: 8px 16px;
|
||||||
|
/* background: url(../site_icons/grouping/bg_propsWrap.gif) right top no-repeat;*/
|
||||||
|
/* border-top: 1px solid transparent;*/
|
||||||
|
/* border-right: 1px solid transparent;*/
|
||||||
|
/* background: #f7f7f7;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsItem {
|
||||||
|
position: relative;
|
||||||
|
background: none;
|
||||||
|
border: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 14px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.propsItem { /* being more specific here to leave borders off ungrouped (single) properties */
|
||||||
|
|
||||||
|
|
||||||
|
/* border-top: 1px solid #fff;*/
|
||||||
|
/* border-bottom: 1px solid #f0ede4;*/
|
||||||
|
border-bottom: 1px solid #f2f2f2;
|
||||||
|
/* background: #faf8f3;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
/* temporary patch - can't reliably apply class of first to some properties */
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.propsItem.first,
|
||||||
|
#personWrap div.propsCategory div.propsItem:first-child {
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.propsItem.last,
|
||||||
|
#personWrap div.propsCategory div.propsItem:last-child {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.propsItem:first-child { /* temporary patch - can't apply class of first to initial property under affiliations group */
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.propsItem:last-child {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsItem h4 {
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
margin-left: -16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap ul.properties {
|
||||||
|
/* font-size: 1.2em;*/
|
||||||
|
padding-left: 0;
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.properties h5.collate {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties p, /* resetting font sizes for html inside data props */
|
||||||
|
#personWrap div.datatypeProperties ul {
|
||||||
|
/* font-size: 1em;*/
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ul {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 0 .5em 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ol {
|
||||||
|
list-style-type: decimal;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 0 .5em 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ul li {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ul.datatypePropertyValue {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* multi-item data properties should not have initial bullets */
|
||||||
|
#personWrap div.datatypeProperties ul.datatypePropertyValue li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ul.datatypePropertyValue ul li {
|
||||||
|
list-style-type: disc;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ul.datatypePropertyValue ol li {
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties ul ol,
|
||||||
|
#personWrap div.datatypeProperties ul ul {
|
||||||
|
margin-left: 1.5em;
|
||||||
|
list-style-position: inside; /* resetting from vivo.css */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ----------------- Dashboard ---------------- */
|
||||||
|
|
||||||
|
#personWrap #dashboard {
|
||||||
|
padding: 32px 0 100px 0;
|
||||||
|
display: inline-block; /* fixes IE double top-padding bug, discussed at: http://exscale.se/archives/2007/06/13/ie-double-padding-bug/ */
|
||||||
|
background: none;
|
||||||
|
text-align: left;
|
||||||
|
width: 256px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard a {
|
||||||
|
/* color: #B31B1B;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #propGroupNav {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
border: 2px solid #F0EEE4;
|
||||||
|
border-left: 0;
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #propGroupNav li {
|
||||||
|
padding: 0 0 1px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #propGroupNav h2 {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-size: 1.08em;
|
||||||
|
text-align: left;
|
||||||
|
text-transform: uppercase;
|
||||||
|
/* background: #6d8e80;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard #propGroupNav h2 a {
|
||||||
|
display: block;
|
||||||
|
padding: 5px 14px 5px 14px;
|
||||||
|
border: 0;
|
||||||
|
color: #fff;
|
||||||
|
/* background: #6d8e80;*/
|
||||||
|
background: #baa280 url(../site_icons/grouping/bg_propGroupNav-active.gif) top right repeat-y;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard #propGroupNav h2 a.inactive {
|
||||||
|
color: #b4bfba;
|
||||||
|
background: #baa280 url(../site_icons/grouping/bg_propGroupNav-inactive.gif) top right repeat-y;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard #propGroupNav h2 a:hover {
|
||||||
|
color: #fff;
|
||||||
|
background: #b31b1b;
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard #propGroupNav h2 a#currentCat {
|
||||||
|
background: #b3a37c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboard strong.contactLink {
|
||||||
|
padding-left: 22px;
|
||||||
|
margin-left: 14px;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
margin-top: 2em;
|
||||||
|
background: url(../site_icons/contactinfo.gif) left center no-repeat;
|
||||||
|
font-weight: bold;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboardExtras {
|
||||||
|
position: relative;
|
||||||
|
height: 1%;
|
||||||
|
margin: 10px 14px;
|
||||||
|
/* padding: 10px;*/
|
||||||
|
/* border: 1px solid #CBCBCB;*/
|
||||||
|
/* background: #e6e6e6;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboardExtras h3 {
|
||||||
|
display: inline;
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 1.5em;
|
||||||
|
margin: 0 0 .5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboardExtras a img {
|
||||||
|
/* border: 1px solid #ccc;*/
|
||||||
|
/* display: block;*/
|
||||||
|
/* width: auto;*/
|
||||||
|
/* margin: 4px 0 0 0;*/
|
||||||
|
/* text-decoration: none;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap ul.profileLinks {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap ul.profileLinks li {
|
||||||
|
padding-left: 0;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.keywords li {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #links,
|
||||||
|
#personWrap #keywords {
|
||||||
|
/* position: relative;*/
|
||||||
|
clear: both;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #links {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----------------- Editing Controls ---------------- */
|
||||||
|
|
||||||
|
#personWrap #dashboard #dashboardExtras a.add,
|
||||||
|
#personWrap #dashboard #dashboardExtras a.edit,
|
||||||
|
#personWrap #dashboard #dashboardExtras a.delete { /* being overly specific because IE6 had difficulties */
|
||||||
|
color: #209ae0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #dashboardExtras a.add {
|
||||||
|
position: absolute;
|
||||||
|
/* top: 0;*/
|
||||||
|
right: 8px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #content a.delete {
|
||||||
|
/* display: none;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #overview a.delete {
|
||||||
|
/* display: none;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #overview a.edit {
|
||||||
|
padding-left: 5px;
|
||||||
|
/* position: absolute;*/
|
||||||
|
/* top: 0;*/
|
||||||
|
/* right: 16px;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap a.add, #personWrap a.edit, #personWrap a.delete {
|
||||||
|
color: #209ae0;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap a.add:hover, #personWrap a.edit:hover, #personWrap a.delete:hover,
|
||||||
|
#personWrap a.add:active, #personWrap a.edit:active, #personWrap a.delete:active {
|
||||||
|
color: #FF8811;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*#personWrap div.propsCategory a.add,
|
||||||
|
#personWrap div.propsCategory a.edit {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.highlighted a.add,
|
||||||
|
#personWrap div.propsCategory div.highlighted a.edit {
|
||||||
|
right: 15px;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
#personWrap div.dataItem a.delete {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties a.delete {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #content .properties a.edit,
|
||||||
|
#personWrap #content .properties a.delete,
|
||||||
|
#personWrap #content .datatypeProperties a.edit,
|
||||||
|
#personWrap #content .datatypeProperties a.delete {
|
||||||
|
position: static; /* reset for edit links for property statements */
|
||||||
|
padding-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.editBox.editMode {
|
||||||
|
border: 2px solid #b5d6e8;
|
||||||
|
background: #FFFEDB;
|
||||||
|
/* padding: 12px 10px;*/
|
||||||
|
padding: 12px 10px;
|
||||||
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#personWrap div.datatypeProperties div.editMode ol li,
|
||||||
|
#personWrap div.datatypeProperties div.editMode ul li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.editBox.editMode.editing {
|
||||||
|
background: #F4F8FE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#personWrap div.editing ul.properties,
|
||||||
|
#personWrap div.editing div.datatypeProperties {
|
||||||
|
color: #888;
|
||||||
|
/* display: none;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
div.button {
|
||||||
|
padding: 16px 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.editBox button {
|
||||||
|
color: #209ae0;
|
||||||
|
padding: 3px 6px 3px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.addNewButton {
|
||||||
|
/* color: #209ae0;
|
||||||
|
border: 1px solid #5394c3;
|
||||||
|
padding: 6px 16px;
|
||||||
|
line-height: 3em;
|
||||||
|
background: url(../site_icons/grouping/bg_links_addnew.gif) center center repeat-x;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
a.addNewButton button {
|
||||||
|
color: #209AE0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap a.cancel {
|
||||||
|
color: red;
|
||||||
|
border-color: #E7B6B9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap .editForm input#submit {
|
||||||
|
color: #209AE0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.editBox .editForm {
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap table.mceEditor,
|
||||||
|
#personWrap div.editBox textarea {
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap p.propEntryHelpText {
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
margin: 0;
|
||||||
|
padding: 5px 0;
|
||||||
|
line-height: 1.2em;
|
||||||
|
color: #439CBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap #keywords div.editBox a.edit {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.backToTop {
|
||||||
|
float: right;
|
||||||
|
margin-top: -22px;
|
||||||
|
font-size: .9em;
|
||||||
|
color: #aaa;
|
||||||
|
border-color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.backToTop:link,
|
||||||
|
a.backToTop:visited {
|
||||||
|
/* color: #118855; */
|
||||||
|
}
|
||||||
|
|
||||||
|
#personWrap div.propsCategory div.highlighted {
|
||||||
|
/* background: #faf8f3 url(../site_icons/grouping/bg_propsItem_highlighted.gif) left top repeat-y;*/
|
||||||
|
border-top-color: #faf8f3;
|
||||||
|
/* border-top-color: #F0EDE4;*/
|
||||||
|
border-bottom-color: #faf8f3;
|
||||||
|
/* border-top: 1px solid #F0EDE4;*/
|
||||||
|
margin-left: -16px;
|
||||||
|
padding-left: 16px;
|
||||||
|
margin-right: -15px;
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----------------- Colors ----------------
|
||||||
|
|
||||||
|
Light Blue (edit links): #209ae0
|
||||||
|
Bright Orange (link hover): #FF8811
|
||||||
|
Dark Green (links): #118855
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* fixes IE double top-padding bug, discussed at: http://exscale.se/archives/2007/06/13/ie-double-padding-bug/
|
||||||
|
-- recent versions of Firefox and Safari don't ignore inline-block anymore */
|
||||||
|
|
||||||
|
* html #personWrap div.propsWrap {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
*:first-child+html #personWrap div.propsWrap {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
* html div.editBox button {
|
||||||
|
padding: 1px 3px 2px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
*:first-child+html div.editBox button {
|
||||||
|
padding: 1px 3px 2px 3px;}
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #personWrap #entity h2,
|
||||||
|
* html #personWrap #entity em.moniker {
|
||||||
|
height: 1%; /* fixes IE6 peekaboo bug */
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #personWrap #dashboardExtras,
|
||||||
|
* html #personWrap div.propsCategory,
|
||||||
|
* html #personWrap div.propsItem {
|
||||||
|
height: 1%; /* fixes IE6 peekaboo and absolute position bug described at http://www.positioniseverything.net/abs_relbugs.html */
|
||||||
|
}
|
||||||
|
|
||||||
|
* html #personWrap div.admin {
|
||||||
|
height: 1%;
|
||||||
|
}
|
||||||
|
* html #personWrap #content div.propsItem {
|
||||||
|
border-color: #f0ede4;
|
||||||
|
border-top: 0;
|
||||||
|
}
|
22
themes/wilma/css/institution.css
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/****************************************
|
||||||
|
vivo-basic theme: institutional identity
|
||||||
|
|
||||||
|
Original version
|
||||||
|
2009-01-27 nac26
|
||||||
|
*****************************************/
|
||||||
|
|
||||||
|
/**********************************************************************************
|
||||||
|
Add styles for institutional identity here.
|
||||||
|
Be sure to place all of your content in <div id="institution"> found in themes/vivo-basic/templates/identity.ftl on line 5.
|
||||||
|
|
||||||
|
See our online documentation for more info:
|
||||||
|
http://vivoweb.org/support/user-guide/theme-modifications
|
||||||
|
**********************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
/****************
|
||||||
|
Institution
|
||||||
|
****************/
|
||||||
|
div#institution { position: relative; }
|
|
@ -97,11 +97,10 @@ ul#header-nav a:hover, ul#header-nav a:active {
|
||||||
/* <------ HEADER */
|
/* <------ HEADER */
|
||||||
|
|
||||||
/*MAIN NAVIGATION------> */
|
/*MAIN NAVIGATION------> */
|
||||||
|
|
||||||
ul#main-nav {
|
ul#main-nav {
|
||||||
display:block;
|
display:block;
|
||||||
width:968px;
|
width:968px;
|
||||||
height:48px;
|
height:46px;
|
||||||
border:1px solid #dce4e3;
|
border:1px solid #dce4e3;
|
||||||
background-color:#f7f9f9;
|
background-color:#f7f9f9;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
|
@ -111,10 +110,11 @@ ul#main-nav {
|
||||||
}
|
}
|
||||||
#main-nav li {
|
#main-nav li {
|
||||||
float:left;
|
float:left;
|
||||||
line-height:40px;
|
line-height:46px;
|
||||||
background:url(../images/separator-main-nav.jpg) right -3px no-repeat;
|
background:url(../images/separator-main-nav.jpg) right -2px no-repeat;
|
||||||
}
|
}
|
||||||
#main-nav li a {
|
#main-nav li a {
|
||||||
|
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
display:block;
|
display:block;
|
||||||
|
@ -127,23 +127,24 @@ ul#main-nav {
|
||||||
}
|
}
|
||||||
#main-nav li a.selected {
|
#main-nav li a.selected {
|
||||||
color:#002b44;
|
color:#002b44;
|
||||||
background:url(../images/selected-main-nav.jpg) left -3px no-repeat;
|
background:url(../images/selected-main-nav.jpg) left -1px no-repeat;
|
||||||
margin-left:18px;
|
margin-left:18px;
|
||||||
}
|
}
|
||||||
/* <------ MAIN NAVIGATION */
|
/* <------ MAIN NAVIGATION */
|
||||||
|
|
||||||
|
|
||||||
#wrapper-content {
|
#wrapper-content {
|
||||||
width:970px;
|
clear:both;
|
||||||
|
width:930px;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
background:#fff;
|
background:#fff;
|
||||||
min-height:450px;
|
min-height:450px;
|
||||||
|
padding:20px;
|
||||||
}
|
}
|
||||||
/* INTRO ------> */
|
/* INTRO ------> */
|
||||||
|
|
||||||
#intro {
|
#intro {
|
||||||
float:left;
|
float:left;
|
||||||
width:600px;
|
width:570px;
|
||||||
padding-bottom:40px;
|
padding-bottom:40px;
|
||||||
}
|
}
|
||||||
#intro h3 {
|
#intro h3 {
|
||||||
|
@ -258,8 +259,8 @@ p.forgot-password a {
|
||||||
clear:both;
|
clear:both;
|
||||||
float:left;
|
float:left;
|
||||||
margin-left:38px;
|
margin-left:38px;
|
||||||
margin-top:20px;
|
margin-top:0;
|
||||||
padding-top:20px;
|
padding-top:15px;
|
||||||
border-top:1px solid #e8ece9;
|
border-top:1px solid #e8ece9;
|
||||||
}
|
}
|
||||||
/* <------ LOG IN */
|
/* <------ LOG IN */
|
||||||
|
@ -298,7 +299,7 @@ input.search-home-vivo {
|
||||||
height:20px;
|
height:20px;
|
||||||
font-size:14;
|
font-size:14;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
padding-top:15px;
|
padding-top:10px;
|
||||||
padding-left:30px;
|
padding-left:30px;
|
||||||
}
|
}
|
||||||
/* <------ SEARCH */
|
/* <------ SEARCH */
|
||||||
|
@ -447,6 +448,7 @@ ul#class-group-list .count-individuals {
|
||||||
height:400px;
|
height:400px;
|
||||||
border:1px solid #dfe6e6;
|
border:1px solid #dfe6e6;
|
||||||
background:#f7f9f9;
|
background:#f7f9f9;
|
||||||
|
padding-bottom:30px;
|
||||||
}
|
}
|
||||||
#highlights h2 {
|
#highlights h2 {
|
||||||
background:#5e6363;
|
background:#5e6363;
|
||||||
|
@ -535,12 +537,14 @@ time.dtstart {
|
||||||
background:url(../images/date-display.jpg) 0 0 no-repeat;
|
background:url(../images/date-display.jpg) 0 0 no-repeat;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
padding-top:12px;
|
padding-top:10px;
|
||||||
font-size:20px;
|
font-size:20px;
|
||||||
}
|
}
|
||||||
time.dtstart span {
|
time.dtstart span {
|
||||||
display:block;
|
display:block;
|
||||||
font-size:11px;
|
font-size:11px;
|
||||||
|
color:#fff;
|
||||||
|
margin-top:-10px;
|
||||||
}
|
}
|
||||||
p.summary {
|
p.summary {
|
||||||
padding-left:50px;
|
padding-left:50px;
|
||||||
|
@ -551,7 +555,7 @@ p.summary {
|
||||||
}
|
}
|
||||||
p.summary time {
|
p.summary time {
|
||||||
display:block;
|
display:block;
|
||||||
padding-top:5px;
|
padding-top:0;
|
||||||
font-weight:normal;
|
font-weight:normal;
|
||||||
}
|
}
|
||||||
/* <------ UPCOMING EVENTS */
|
/* <------ UPCOMING EVENTS */
|
||||||
|
@ -593,7 +597,7 @@ p.publication-content span {
|
||||||
}
|
}
|
||||||
#footer-content p.copyright {
|
#footer-content p.copyright {
|
||||||
float:left;
|
float:left;
|
||||||
padding-top:50px;
|
padding-top:48px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
width:500px;
|
width:500px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ The goal of a reset stylesheet is to reduce browser inconsistencies in things li
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
/*html, body, div, span, applet, object, iframe, blockquote, h1, h2, h3, h4, h5, h6, p, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -15,12 +15,39 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
color:#595b5b;
|
||||||
|
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
line-height: 1;
|
line-height: 1.3;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
html, body, div, span, object, iframe,
|
||||||
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
|
a, abbr, acronym, address, code,
|
||||||
|
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
|
||||||
|
fieldset, form, label, legend,
|
||||||
|
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
font-weight: inherit;
|
||||||
|
font-style: inherit;
|
||||||
|
font-size: 100%;
|
||||||
|
font-family: inherit;
|
||||||
|
vertical-align: baseline;
|
||||||
|
color:#595b5b;
|
||||||
|
font-weight:normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ol, ul {
|
ol, ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
font-weight:normal;
|
||||||
}
|
}
|
||||||
blockquote, q {
|
blockquote, q {
|
||||||
quotes: none;
|
quotes: none;
|
||||||
|
@ -55,3 +82,7 @@ fieldset {
|
||||||
legend {
|
legend {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
836
themes/wilma/css/screen.css
Normal file
|
@ -0,0 +1,836 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/****************************************
|
||||||
|
vivo-basic theme: screen styles
|
||||||
|
|
||||||
|
Original version
|
||||||
|
2009-04-30 mw542
|
||||||
|
*****************************************/
|
||||||
|
|
||||||
|
@import url("blueprint/reset.css");
|
||||||
|
@import url("blueprint/forms.css");
|
||||||
|
@import url("blueprint/typography.css");
|
||||||
|
@import url("blueprint/liquid.css");
|
||||||
|
@import url("blueprint/ie.css");
|
||||||
|
@import url("institution.css");
|
||||||
|
@import url("individual.css");
|
||||||
|
|
||||||
|
body {
|
||||||
|
position: relative;
|
||||||
|
background: #596673;
|
||||||
|
/* background: #737373;*/
|
||||||
|
padding: 0 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wrap { background: #fff; }
|
||||||
|
|
||||||
|
#contentwrap {
|
||||||
|
padding: 24px 20px;
|
||||||
|
background: #D9D9D9;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
padding: 16px 12px;
|
||||||
|
background: #fff;
|
||||||
|
font-size: 108.33%; /* bumping up content text from 12px to 13px */
|
||||||
|
min-height:350px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
color: #e5e5e5;
|
||||||
|
background: #3d454e;
|
||||||
|
/* background: #4e4e4e;*/
|
||||||
|
padding: 16px 20px 40px 20px;
|
||||||
|
text-align: right;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#research_instance {
|
||||||
|
background-color:red;
|
||||||
|
color:white;
|
||||||
|
font-size:1.25em;
|
||||||
|
font-weight:bold;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#research_instance a {
|
||||||
|
color:white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/****************
|
||||||
|
Global classes
|
||||||
|
****************/
|
||||||
|
|
||||||
|
ul.clean { margin-left: 0; }
|
||||||
|
ul.clean li { list-style-type: none; }
|
||||||
|
|
||||||
|
|
||||||
|
/****************
|
||||||
|
Identity
|
||||||
|
****************/
|
||||||
|
|
||||||
|
div#identity { position: relative; }
|
||||||
|
|
||||||
|
#identity h1 {
|
||||||
|
/* position: absolute;
|
||||||
|
top: 33px;
|
||||||
|
left: 10px;*/
|
||||||
|
padding-top: 20px;
|
||||||
|
margin-left: 20px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
width: 361px;
|
||||||
|
height: 55px;
|
||||||
|
text-indent: -9999px;
|
||||||
|
background: url(../site_icons/vivo-logo.jpg) bottom left no-repeat;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#identity h1 a {
|
||||||
|
width: 361px;
|
||||||
|
height: 55px;
|
||||||
|
display: block;
|
||||||
|
overflow: hidden; /* hide the extended outline in firefox */
|
||||||
|
/* background: url(images/layout/transparent.gif) top left no-repeat;*/
|
||||||
|
/* for some reason IE7 needs a background to make this link clickable */
|
||||||
|
}
|
||||||
|
|
||||||
|
#identity em {
|
||||||
|
position: absolute;
|
||||||
|
top: 32px;
|
||||||
|
left: 167px;
|
||||||
|
color: #212d35;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 1.17em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#otherMenu {
|
||||||
|
position: absolute;
|
||||||
|
margin: 0;
|
||||||
|
top: 3px;
|
||||||
|
right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#otherMenu li {
|
||||||
|
display: inline;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#otherMenu li {
|
||||||
|
padding-right: 4px;
|
||||||
|
border-right: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#otherMenu li.last {
|
||||||
|
padding-right: 0;
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Navigation and Search
|
||||||
|
************************/
|
||||||
|
|
||||||
|
div#navAndSearch {
|
||||||
|
position: relative;
|
||||||
|
background: #212d34;
|
||||||
|
/* background: #7d8b99;*/
|
||||||
|
border-top: 3px solid #3d454e;
|
||||||
|
/* border-top: 3px solid #4e4e4e;*/
|
||||||
|
padding-left: 20px;
|
||||||
|
/* padding-right: 300px;*/
|
||||||
|
padding-right: 22em;
|
||||||
|
padding-top: 8px;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
height: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#secondaryTabMenu { display: none; }
|
||||||
|
|
||||||
|
select#search-form-modifier,
|
||||||
|
#searchForm label { display: none; }
|
||||||
|
|
||||||
|
div#searchBlock {
|
||||||
|
height: 100%;
|
||||||
|
text-align: right;
|
||||||
|
padding: 0 20px 0 20px !important; /* fix for IE6 */
|
||||||
|
padding: 10px 20px;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
background: #3d454e;
|
||||||
|
/* background: #4e4e4e;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
#searchForm { margin-top: 10px; }
|
||||||
|
|
||||||
|
#navAndSearch ul {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navAndSearch li {
|
||||||
|
list-style-type: none;
|
||||||
|
margin: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navAndSearch li a {
|
||||||
|
display: block;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navAndSearch li a:hover {
|
||||||
|
color: #000;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#navAndSearch li a.activePrimaryTab,
|
||||||
|
#navAndSearch li a.activeTab {
|
||||||
|
color: #000;
|
||||||
|
background: #fff;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#primary,
|
||||||
|
ul#primary li,
|
||||||
|
ul#index,
|
||||||
|
ul#index li {
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul#primary li a,
|
||||||
|
ul#index li a { padding: 5px 12px; }
|
||||||
|
|
||||||
|
|
||||||
|
div#breadcrumbs {
|
||||||
|
color: #aaa;
|
||||||
|
clear: left;
|
||||||
|
background: #D9D9D9;
|
||||||
|
padding: 16px 20px 0 20px;
|
||||||
|
margin-bottom: -18px;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div#breadcrumbs a { color: #888; }
|
||||||
|
|
||||||
|
div#breadcrumbs a:hover { color: #000; }
|
||||||
|
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Individual Pages
|
||||||
|
************************/
|
||||||
|
|
||||||
|
div#labelAndMoniker { margin-bottom: 1.5em; }
|
||||||
|
|
||||||
|
|
||||||
|
#labelAndMoniker div {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
#label h2,
|
||||||
|
#label h3 {
|
||||||
|
display: inline;
|
||||||
|
padding-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
em.moniker {
|
||||||
|
color: #9c9c9c;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.externalLinks { margin: 0 0 1.5em 0; }
|
||||||
|
|
||||||
|
ul.externalLinks li {
|
||||||
|
list-style-type: none;
|
||||||
|
display: inline;
|
||||||
|
padding-right: .5em;
|
||||||
|
padding-left: .8em;
|
||||||
|
border-left: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.externalLinks li.primary,
|
||||||
|
ul.externalLinks li.first {
|
||||||
|
padding-left: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.externalLinks a { color: #84a655; } /* green links */
|
||||||
|
|
||||||
|
ul.externalLinks a:hover,
|
||||||
|
ul.externalLinks a:active,
|
||||||
|
a.externalLink:hover,
|
||||||
|
a.externalLink:active {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.externalLink { color: #84a655; }
|
||||||
|
|
||||||
|
div.description { margin-bottom: 1.5em; }
|
||||||
|
|
||||||
|
.propertyName,
|
||||||
|
.propsItem h4 {
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 1em;
|
||||||
|
color: #666;
|
||||||
|
background: #ebebeb;
|
||||||
|
border-right: 1px solid #fff;
|
||||||
|
margin-left: -12px;
|
||||||
|
/* margin-bottom: .75em;*/
|
||||||
|
padding: 4px 12px;
|
||||||
|
float: left;
|
||||||
|
/* Fixes in IE6 the cut off text for data and object property names for individual display property groups. */
|
||||||
|
*padding-left:24px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.propsItem,
|
||||||
|
.datatypeProperties,
|
||||||
|
.properties {
|
||||||
|
clear: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.propsItem { padding: 1em 0; }
|
||||||
|
|
||||||
|
.propsItem a { font-weight: bold; }
|
||||||
|
|
||||||
|
.pageGroupBody {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#acknowledgementText {
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Search Results
|
||||||
|
************************/
|
||||||
|
|
||||||
|
.contentsBrowseGroup h2 {
|
||||||
|
margin-top: 2em;
|
||||||
|
padding-bottom: .25em;
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contentsBrowseGroup h3 {
|
||||||
|
color: #666666;
|
||||||
|
font-size: 1em;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contentsBrowseGroup ul { margin-left: 0; }
|
||||||
|
|
||||||
|
.contentsBrowseGroup li {
|
||||||
|
list-style-type: none;
|
||||||
|
color: #9C9C9C;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchTOC a {
|
||||||
|
font-weight: bold;
|
||||||
|
padding-left: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Tabs
|
||||||
|
************************/
|
||||||
|
|
||||||
|
ul.tabEntities {
|
||||||
|
color: #9c9c9c;
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabEntities li {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabEntities a { font-weight: bold; }
|
||||||
|
|
||||||
|
ul.tabEntities a.externalLink,
|
||||||
|
.individualList a.externalLink {
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.individualList ul.individualData {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.individualList ul.individualData li {
|
||||||
|
display: inline;
|
||||||
|
border-right: solid 1px #a0a0a0;
|
||||||
|
padding-right: .3em;
|
||||||
|
padding-bottom:1.2em;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.individualList ul.individualData li.last {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.blurb { color: #999; }
|
||||||
|
|
||||||
|
div.blurb a { font-weight: normal; }
|
||||||
|
|
||||||
|
/* Index and List pages */
|
||||||
|
.siteMap ul,
|
||||||
|
.individualList ul { margin-left: 0; }
|
||||||
|
|
||||||
|
.siteMap li {
|
||||||
|
list-style-type: none;
|
||||||
|
color: #9c9c9c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.individualList li {
|
||||||
|
list-style-type: none;
|
||||||
|
color: #9c9c9c;
|
||||||
|
margin-bottom: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.siteMap li a,
|
||||||
|
.individualList li a {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.siteMap h2 {
|
||||||
|
margin-top: 10px;
|
||||||
|
font-weight:bold;
|
||||||
|
color:#2485AE;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab h2 {
|
||||||
|
margin: 0 -12px;
|
||||||
|
padding: 0 12px 2px 12px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab h3 {
|
||||||
|
color: #999;
|
||||||
|
margin-top: 1em;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab h3 a { color: #1b4f89; }
|
||||||
|
|
||||||
|
.tab h3 a:hover { color: #000; }
|
||||||
|
|
||||||
|
.tab th, .tab td, .tab caption { padding-left: 0; }
|
||||||
|
|
||||||
|
.tabBody { padding: 2px 0; }
|
||||||
|
|
||||||
|
.tabDesc { padding-top: 16px; }
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Footer
|
||||||
|
************************/
|
||||||
|
|
||||||
|
#footer a {
|
||||||
|
color: #fff;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.footerLogo { float: left; }
|
||||||
|
|
||||||
|
ul.otherNav { margin: 0; }
|
||||||
|
|
||||||
|
ul.otherNav li {
|
||||||
|
display: inline;
|
||||||
|
padding: 0 6px;
|
||||||
|
border-right: 1px solid #aaa;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.otherNav li.last {
|
||||||
|
border: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************
|
||||||
|
Admin Panels & Controls
|
||||||
|
|
||||||
|
the odd combinations of positioning types
|
||||||
|
are necessary for cross-browser consistency
|
||||||
|
**********************************************/
|
||||||
|
|
||||||
|
/*** Admin Dashboard ***/
|
||||||
|
|
||||||
|
#adminDashboard {
|
||||||
|
margin-top: 1em;
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*#adminDashboard .pageBodyGroup {
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 2em;
|
||||||
|
clear: both;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
#adminDashboard .pageBodyGroup {
|
||||||
|
float: left;
|
||||||
|
clear: right;
|
||||||
|
display: inline-block;
|
||||||
|
width: 45%;
|
||||||
|
margin-top: 2em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
padding: 0 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminDashboard .pageBodyGroup h4 {
|
||||||
|
margin-bottom: .25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminDashboard .pageBodyGroup h3 {
|
||||||
|
background-color: #efefef;
|
||||||
|
color: #000;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminDashboard .pageBodyGroup ul {
|
||||||
|
margin: 0 0 1.5em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminDashboard .pageBodyGroup li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminDashboard #verbosePropertyForm {
|
||||||
|
margin-top: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#adminDashboard .add-action-button {
|
||||||
|
margin-top: .75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#logoutPanel {
|
||||||
|
float: right;
|
||||||
|
margin-right: 4.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#logoutPanel input.button {
|
||||||
|
margin-left: .9em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** end Admin Dashboard ***/
|
||||||
|
|
||||||
|
div.admin {
|
||||||
|
color: #fff;
|
||||||
|
background: #aaa;
|
||||||
|
padding: 6px;
|
||||||
|
height: 1%; /* IE likes this */
|
||||||
|
width: 100%; /* and this */
|
||||||
|
}
|
||||||
|
|
||||||
|
div.panelContents {
|
||||||
|
color: #777;
|
||||||
|
background: #e5e3d5;
|
||||||
|
/* display: none;*/
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.top {
|
||||||
|
margin: 0 -12px;
|
||||||
|
padding: 0 24px 0 0;
|
||||||
|
position: relative;
|
||||||
|
top: -16px;
|
||||||
|
background: #e5e3d5;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.bottom {
|
||||||
|
margin: 0 -12px;
|
||||||
|
position: relative;
|
||||||
|
bottom: -16px;
|
||||||
|
padding: 6px 12px 8px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin h3 {
|
||||||
|
font-size: 1em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #ddd;
|
||||||
|
background: #aaa;
|
||||||
|
line-height: 2em;
|
||||||
|
margin: 0 !important; /* fix for IE6 */
|
||||||
|
margin-right: -24px;
|
||||||
|
padding: 0 12px;
|
||||||
|
width: 100% !important; /* fix for IE6 */
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin p { margin-bottom: .25em; }
|
||||||
|
|
||||||
|
.admin a:link,
|
||||||
|
.admin a:visited { color: #fff; }
|
||||||
|
|
||||||
|
.panelContents a:link,
|
||||||
|
.panelContents a:visited { color: #777; }
|
||||||
|
|
||||||
|
.admin a:hover,
|
||||||
|
.admin a:active { color: #000; }
|
||||||
|
|
||||||
|
#loginPanel ul { margin: 0; }
|
||||||
|
|
||||||
|
#loginPanel li {
|
||||||
|
list-style-type: none;
|
||||||
|
margin-bottom: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************
|
||||||
|
ENTITY LIST TOGGLES
|
||||||
|
(The little plus/minus toggles that show additional items)
|
||||||
|
|
||||||
|
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 see everything
|
||||||
|
(hack is in ie.css)
|
||||||
|
******************************************************************/
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/********************************
|
||||||
|
Frontend Edit Controls and Forms
|
||||||
|
********************************/
|
||||||
|
|
||||||
|
div.editingForm { background: none; }
|
||||||
|
|
||||||
|
div.editingForm hr { display: none; }
|
||||||
|
|
||||||
|
a.add {
|
||||||
|
float: left;
|
||||||
|
line-height: 1em;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
padding: 4px;
|
||||||
|
background: #ebebeb url(../site_icons/plus_transparent.gif) center center no-repeat;
|
||||||
|
text-indent: -9999px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.add:hover {
|
||||||
|
background-image: url(../site_icons/plus_transparent_hover.gif);
|
||||||
|
background-color: #576772;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.properties { margin: 0; }
|
||||||
|
|
||||||
|
ul.properties li {
|
||||||
|
color: #9c9c9c;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.datatypePropertyValue,
|
||||||
|
ul.properties li,
|
||||||
|
ul.datatypePropertyValue li {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
span.editLinks,
|
||||||
|
em.nonEditable {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.editLinks a,
|
||||||
|
em.nonEditable { font-size: 84.62%; } /* 13px down to 11px */
|
||||||
|
|
||||||
|
span.editLinks a {
|
||||||
|
color: #da8622;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.editLinks a:hover { color: #000; }
|
||||||
|
|
||||||
|
span.editLinks a.edit { padding-right: 4px; }
|
||||||
|
|
||||||
|
.statementWrap:hover span.editLinks,
|
||||||
|
.statementWrap:hover em.nonEditable {
|
||||||
|
display: block;
|
||||||
|
width: 6em;
|
||||||
|
padding: 2px 0 4px 0;
|
||||||
|
position: absolute;
|
||||||
|
top: -2px;
|
||||||
|
left: -6em;
|
||||||
|
line-height: 1.5em;
|
||||||
|
background: #fff;
|
||||||
|
z-index: 10;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
span.statementWrap:hover em.nonEditable {
|
||||||
|
padding-top: 5px;
|
||||||
|
width: 8em;
|
||||||
|
left: -8em;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.verbosePropertyListing {
|
||||||
|
color: gray;
|
||||||
|
font-size: 0.75em;
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#dprop-vitro-links.editing li {
|
||||||
|
display: block;
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin-bottom: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Backend forms
|
||||||
|
************************/
|
||||||
|
|
||||||
|
div.sparqlform label {
|
||||||
|
font-weight: normal;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
em.note {
|
||||||
|
font-size: 0.92em;
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3.associate {
|
||||||
|
margin-bottom: 0;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Upload Images
|
||||||
|
************************/
|
||||||
|
|
||||||
|
div.thumbnail img,
|
||||||
|
div#thumbnail img {
|
||||||
|
border:3px solid #d5d5d5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/************************
|
||||||
|
Miscellaneous
|
||||||
|
************************/
|
||||||
|
|
||||||
|
.clear{
|
||||||
|
clear:both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hidden{
|
||||||
|
display:none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/************************
|
||||||
|
style for those with javascript disable
|
||||||
|
************************/
|
||||||
|
|
||||||
|
#javascriptDisableWrapper, ie67DisableWrapper{
|
||||||
|
margin-top:15px;
|
||||||
|
width:500px;
|
||||||
|
height:300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#javascriptDisableContent, #ie67DisableContent{
|
||||||
|
width:500px;
|
||||||
|
height:100px;
|
||||||
|
border:3px solid #bee6f8;
|
||||||
|
}
|
||||||
|
#ie67DisableContent{
|
||||||
|
width:80%;
|
||||||
|
margin-bottom:200px;
|
||||||
|
}
|
||||||
|
#javascriptDisableContent img, #ie67DisableContent img{
|
||||||
|
float:left;
|
||||||
|
margin-top:36px;
|
||||||
|
margin-left:30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#javascriptDisableContent p, #ie67DisableContent p{
|
||||||
|
font-size:1.1em;
|
||||||
|
color:#384c5d;
|
||||||
|
line-height:100px;
|
||||||
|
padding-left:65px;
|
||||||
|
}
|
||||||
|
#ie67DisableContent p{
|
||||||
|
line-height:normal;
|
||||||
|
padding-top:36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* styles for error alerts */
|
||||||
|
|
||||||
|
#errorAlert{
|
||||||
|
color:#900;
|
||||||
|
padding:0px;
|
||||||
|
margin-bottom:5px;
|
||||||
|
height:30px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#errorAlert img{
|
||||||
|
float:left;
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#errorAlert p{
|
||||||
|
padding-left:40px;
|
||||||
|
font-size:0.9em;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles for contact us page */
|
||||||
|
|
||||||
|
.contactUsReturnHome{
|
||||||
|
margin-top:30px;
|
||||||
|
margin-bottom:250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--*/
|
||||||
|
h2{
|
||||||
|
font-weight:bold;
|
||||||
|
}
|
||||||
|
p{
|
||||||
|
line-height:1.3em;
|
||||||
|
padding-bottom:10px;
|
||||||
|
}
|
63
themes/wilma/css/search.css
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/*************************************************
|
||||||
|
|
||||||
|
vivo-basic theme: search results styles
|
||||||
|
|
||||||
|
**************************************************/
|
||||||
|
|
||||||
|
/***** Search form *****/
|
||||||
|
|
||||||
|
.advancedSearchForm .form-button {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***** Class and subclass refinement links *****/
|
||||||
|
|
||||||
|
.searchTOC {
|
||||||
|
margin-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***** Search results *****/
|
||||||
|
|
||||||
|
.searchhits li {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.SearchTerm, h1 span.SearchTerm, a:link span.SearchTerm, a:visited span.SearchTerm {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #7D7D7D;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***** Paging links *****/
|
||||||
|
|
||||||
|
.searchpages {
|
||||||
|
margin-top: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchpages a, .searchpages span {
|
||||||
|
margin-left: .5em;
|
||||||
|
margin-right: .5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchpages a:link, .searchpages a:visited {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchpages a:hover, .searchpages a:active {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchpages a.prev {
|
||||||
|
margin-right: 1em;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchpages a.next {
|
||||||
|
margin-left: 1em;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
|
@ -16,6 +16,9 @@ VIVO theme: screen styles
|
||||||
|
|
||||||
@import url("reset.css");
|
@import url("reset.css");
|
||||||
@import url("pictos.css");
|
@import url("pictos.css");
|
||||||
|
@import url("screen.css"); /*don't move it*/
|
||||||
@import url("layout.css");
|
@import url("layout.css");
|
||||||
@import url("top-level.css");
|
@import url("top-level.css");
|
||||||
|
@import url("individual.css");
|
||||||
@import url("forms.css");
|
@import url("forms.css");
|
||||||
|
@import url("formedit.css");
|
||||||
|
|
141
themes/wilma/css/uploadImages.css
Normal file
|
@ -0,0 +1,141 @@
|
||||||
|
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||||
|
|
||||||
|
/* styles for uploading a picture */
|
||||||
|
|
||||||
|
#photoUploadContainer{
|
||||||
|
margin-left: 0px;
|
||||||
|
height:280px;
|
||||||
|
background:#fff;
|
||||||
|
padding:15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoUploadDefaultImageContainer{
|
||||||
|
|
||||||
|
width:120px;
|
||||||
|
float:left;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoUploadDefaultImageContainer img{
|
||||||
|
|
||||||
|
border:3px solid #CCC;
|
||||||
|
margin-bottom:10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoUploadForm{
|
||||||
|
width:280px;
|
||||||
|
float:left;
|
||||||
|
padding-top:45px;
|
||||||
|
padding-left:15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#photoUploadForm form label{
|
||||||
|
display:block;
|
||||||
|
padding-bottom:10px;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoUploadForm label span{
|
||||||
|
font-size:0.7em;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoUploadForm form input{
|
||||||
|
margin-bottom:10px;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* styles for cropping a picture */
|
||||||
|
|
||||||
|
#photoCroppingContainer{
|
||||||
|
margin-left: 0px;
|
||||||
|
height:450px;
|
||||||
|
background:#fff;
|
||||||
|
padding:15px 0 15px 15px;
|
||||||
|
margin-right:0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoCroppingPreview{
|
||||||
|
width:180px;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.photoCroppingNote{
|
||||||
|
margin-top:15px;
|
||||||
|
font-size:0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#photoCropping{
|
||||||
|
width:400px;
|
||||||
|
float:left;
|
||||||
|
padding-top:30px;
|
||||||
|
padding-left:15px;
|
||||||
|
margin-left:0;
|
||||||
|
margin-right:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* styles for deleting a picture */
|
||||||
|
|
||||||
|
#photoDeletingContainer{
|
||||||
|
margin-left: 0px;
|
||||||
|
width:720px;
|
||||||
|
height:330px;
|
||||||
|
background:#fff;
|
||||||
|
border:1px solid grey;
|
||||||
|
padding:15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
/* styles for error alerts */
|
||||||
|
#errorAlert{
|
||||||
|
color:#900;
|
||||||
|
padding:0px;
|
||||||
|
margin-bottom:5px;
|
||||||
|
height:30px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#errorAlert img{
|
||||||
|
float:left;
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
vertical-align:middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
#errorAlert p{
|
||||||
|
padding-left:35px;
|
||||||
|
font-size:0.9em;
|
||||||
|
line-height:30px;
|
||||||
|
}
|
||||||
|
a.cancelUpload:link, a.cancelUpload:visited {
|
||||||
|
color:#FF7700;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.cancelUpload:hover {
|
||||||
|
color:#FFF;
|
||||||
|
background-color:#FF7700;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.cancelUpload:active {
|
||||||
|
color:#FF7700;
|
||||||
|
}
|
||||||
|
.or{
|
||||||
|
display:inline;
|
||||||
|
vertical-align:middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
themes/wilma/images/arrow-green.gif
Normal file
After Width: | Height: | Size: 183 B |
BIN
themes/wilma/images/arrow-grey.gif
Normal file
After Width: | Height: | Size: 183 B |
BIN
themes/wilma/images/individual--foaf-person.png
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
themes/wilma/images/individual-coauthor.jpg
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/wilma/images/individuals/Bacall.jpg
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/wilma/images/individuals/Bogart.jpg
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
themes/wilma/images/individuals/Gable.jpg
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/wilma/images/individuals/Grant.jpg
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/wilma/images/individuals/Leigh.jpg
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/wilma/images/individuals/Welles.jpg
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/wilma/images/jump-tp-property-group-menu.gif
Normal file
After Width: | Height: | Size: 234 B |
BIN
themes/wilma/images/phone-icon.gif
Normal file
After Width: | Height: | Size: 737 B |
BIN
themes/wilma/images/separator-property-group-nav.jpg
Normal file
After Width: | Height: | Size: 48 B |
BIN
themes/wilma/images/sparkline.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
109
themes/wilma/templates/edit/formPrefix.jsp
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
<%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%>
|
||||||
|
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||||
|
<%@ page errorPage="/error.jsp"%>
|
||||||
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||||
|
|
||||||
|
<%
|
||||||
|
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
VitroRequest vreq = new VitroRequest(request);
|
||||||
|
Portal portal = vreq.getPortal();
|
||||||
|
|
||||||
|
String contextRoot = vreq.getContextPath();
|
||||||
|
|
||||||
|
String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||||
|
themeDir = contextRoot + '/' + themeDir;
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<c:set var="portal" value="${requestScope.portalBean}"/>
|
||||||
|
<c:set var="themeDir"><c:out value="${themeDir}" /></c:set>
|
||||||
|
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||||
|
<c:set var="title"><c:out value="${requestScope.title}" /></c:set>
|
||||||
|
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head> <!-- formPrefix.jsp -->
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>${title}</title>
|
||||||
|
<link rel="stylesheet" href="<%=themeDir%>/css/style.css" />
|
||||||
|
|
||||||
|
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
|
||||||
|
<%-- ${headScripts.add("/js/html5.js")} --%>
|
||||||
|
<c:if test="${!empty scripts}"><jsp:include page="${scripts}"/></c:if>
|
||||||
|
<%
|
||||||
|
String useTinyMCE = (useTinyMCE=request.getParameter("useTinyMCE")) != null && !(useTinyMCE.equals("")) ? useTinyMCE : "false";
|
||||||
|
if (useTinyMCE.equalsIgnoreCase("true")) {
|
||||||
|
String height = (height=request.getParameter("height")) != null && !(height.equals("")) ? height : "200";
|
||||||
|
String width = (width=request.getParameter("width")) != null && !(width.equals("")) ? width : "75%";
|
||||||
|
String defaultButtons="bold,italic,underline,separator,link,bullist,numlist,separator,sub,sup,charmap,separator,undo,redo,separator,code";
|
||||||
|
String buttons = (buttons=request.getParameter("buttons")) != null && !(buttons.equals("")) ? buttons : defaultButtons;
|
||||||
|
String tbLocation = (tbLocation=request.getParameter("toolbarLocation")) != null && !(tbLocation.equals("")) ? tbLocation : "top";
|
||||||
|
%>
|
||||||
|
<script language="javascript" type="text/javascript" src="../js/tiny_mce/tiny_mce.js"></script>
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
tinyMCE.init({
|
||||||
|
theme : "advanced",
|
||||||
|
mode : "textareas",
|
||||||
|
theme_advanced_buttons1 : "<%=buttons%>",
|
||||||
|
theme_advanced_buttons2 : "",
|
||||||
|
theme_advanced_buttons3 : "",
|
||||||
|
theme_advanced_toolbar_location : "<%=tbLocation%>",
|
||||||
|
theme_advanced_toolbar_align : "left",
|
||||||
|
theme_advanced_statusbar_location : "bottom",
|
||||||
|
theme_advanced_path : false,
|
||||||
|
theme_advanced_resizing : true,
|
||||||
|
height : "<%=height%>",
|
||||||
|
width : "<%=width%>",
|
||||||
|
valid_elements : "a[href|name|title],br,p,i,em,cite,strong/b,u,sub,sup,ul,ol,li",
|
||||||
|
fix_list_elements : true,
|
||||||
|
fix_nesting : true,
|
||||||
|
cleanup_on_startup : true,
|
||||||
|
gecko_spellcheck : true,
|
||||||
|
forced_root_block: false
|
||||||
|
//forced_root_block : 'p',
|
||||||
|
// plugins: "paste",
|
||||||
|
// theme_advanced_buttons1_add : "pastetext,pasteword,selectall",
|
||||||
|
// paste_create_paragraphs: false,
|
||||||
|
// paste_create_linebreaks: false,
|
||||||
|
// paste_use_dialog : true,
|
||||||
|
// paste_auto_cleanup_on_paste: true,
|
||||||
|
// paste_convert_headers_to_strong : true
|
||||||
|
// save_callback : "customSave",
|
||||||
|
// content_css : "example_advanced.css",
|
||||||
|
// extended_valid_elements : "a[href|target|name]",
|
||||||
|
// plugins : "table",
|
||||||
|
// theme_advanced_buttons3_add_before : "tablecontrols,separator",
|
||||||
|
// invalid_elements : "li",
|
||||||
|
// theme_advanced_styles : "Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1", // Theme specific setting CSS classes
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<% String useAutoComplete = (useAutoComplete=request.getParameter("useAutoComplete")) != null && !(useAutoComplete.equals("")) ? useAutoComplete : "false";
|
||||||
|
if (useAutoComplete.equalsIgnoreCase("true")) { %>
|
||||||
|
<link rel="stylesheet" type="text/css" href="<c:url value="/js/jquery_plugins/jquery-autocomplete/jquery.autocomplete.css"/>" />
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<c:forEach var="cssFile" items="${customCss}">
|
||||||
|
<link rel="stylesheet" type="text/css" href="<c:url value="${cssFile}"/>" media="screen"/>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="<c:url value="/js/jquery_plugins/thickbox/thickbox.css"/>" />
|
||||||
|
</head>
|
||||||
|
<body class="formsEdit">
|
||||||
|
<div id="wrapper">
|
||||||
|
${ftl_menu}
|
||||||
|
<div id="wrapper-content">
|
||||||
|
<!-- end of formPrefix.jsp -->
|
55
themes/wilma/templates/edit/formSuffix.jsp
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
<%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%>
|
||||||
|
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||||
|
<%@ page errorPage="/error.jsp"%>
|
||||||
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||||
|
|
||||||
|
<%
|
||||||
|
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
VitroRequest vreq = new VitroRequest(request);
|
||||||
|
Portal portal = vreq.getPortal();
|
||||||
|
|
||||||
|
String contextRoot = vreq.getContextPath();
|
||||||
|
|
||||||
|
String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||||
|
themeDir = contextRoot + '/' + themeDir;
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<c:set var="portal" value="${requestScope.portalBean}"/>
|
||||||
|
<c:set var="themeDir"><c:out value="${themeDir}" /></c:set>
|
||||||
|
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||||
|
<c:set var="title"><c:out value="${requestScope.title}" /></c:set>
|
||||||
|
|
||||||
|
|
||||||
|
</div><!-- #wrapper-content -->
|
||||||
|
|
||||||
|
${ftl_footer}
|
||||||
|
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/extensions/String.js"/>"></script></script>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery.js"/>"></script>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery_plugins/jquery.bgiframe.pack.js"/>"></script>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery_plugins/thickbox/thickbox-compressed.js"/>"></script>
|
||||||
|
<!-- <script type="text/javascript" src="<c:url value="/js/jquery_plugins/ui.datepicker.js"/>"></script> -->
|
||||||
|
|
||||||
|
<% String useAutoComplete = (useAutoComplete=request.getParameter("useAutoComplete")) != null && !(useAutoComplete.equals("")) ? useAutoComplete : "false";
|
||||||
|
if (useAutoComplete.equalsIgnoreCase("true")) { %>
|
||||||
|
<script type="text/javascript" src="<c:url value="/js/jquery_plugins/jquery-autocomplete/jquery.autocomplete.pack.js"/>"></script>
|
||||||
|
<% } %>
|
||||||
|
|
||||||
|
<c:forEach var="jsFile" items="${customJs}">
|
||||||
|
<script type="text/javascript" src="<c:url value="${jsFile}"/>"></script>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
20
themes/wilma/templates/googleAnalytics.ftl
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<#-- NOTICE: This is SAMPLE Google Analytics code. You must replace it with your institution's code.
|
||||||
|
Please see documentation at https://confluence.cornell.edu/display/ennsrd/Google+Analytics+for+UI. -->
|
||||||
|
|
||||||
|
<#--
|
||||||
|
<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
try {
|
||||||
|
var pageTracker = _gat._getTracker("UA-5164622-5");
|
||||||
|
pageTracker._setDomainName("vivo.cornell.edu");
|
||||||
|
pageTracker._setAllowLinker(true);
|
||||||
|
pageTracker._trackPageview();
|
||||||
|
var rollupTracker = _gat._getTracker("UA-12531954-1");
|
||||||
|
rollupTracker._setDomainName("none");
|
||||||
|
rollupTracker._setAllowLinker(true);
|
||||||
|
rollupTracker._trackPageview(location.host+location.pathname);
|
||||||
|
}
|
||||||
|
catch(err) {}
|
||||||
|
</script>
|
||||||
|
-->
|
|
@ -1,6 +1,74 @@
|
||||||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>${title}</title>
|
||||||
|
<link rel="stylesheet" href="${themeDir}/css/style.css" />
|
||||||
|
${stylesheets.tags}
|
||||||
|
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
|
||||||
|
${headScripts.add("/js/html5.js")}
|
||||||
|
${headScripts.tags}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<header id="branding">
|
||||||
|
<h2 class="vivo-logo"><a href="${urls.home}"><span class="displace">${siteName}</span></a></h2>
|
||||||
|
<!-- Since we are using a graphic text for the tagline, we won't render ${siteTagline}
|
||||||
|
<#if siteTagline?has_content>
|
||||||
|
<em>${siteTagline}</em>
|
||||||
|
</#if>-->
|
||||||
|
<#import "lib-list.ftl" as l>
|
||||||
|
<nav>
|
||||||
|
<ul id="header-nav">
|
||||||
|
<#if loginName??>
|
||||||
|
<li><span class="pictos-arrow-10">U</span> ${loginName}</li>
|
||||||
|
<li><a href="${urls.logout}">Log out</a></li>
|
||||||
|
<li><a href="${urls.siteAdmin}">Site Admin</a></li>
|
||||||
|
<#else>
|
||||||
|
<li><a title="log in to manage this site" href="${urls.login}">Log in</a></li>
|
||||||
|
</#if>
|
||||||
|
<#-- List of links that appear in submenus, like the header and footer. -->
|
||||||
|
|
||||||
<#-- Template for the body of the Home page -->
|
<li><a href="${urls.about}">About</a></li>
|
||||||
|
<#if urls.contact??>
|
||||||
|
<li><a href="${urls.contact}">Contact Us</a></li>
|
||||||
|
</#if>
|
||||||
|
<li><a href="http://www.vivoweb.org/support" target="blank">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<section id="search">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Search form</legend>
|
||||||
|
<form id="searchForm" action="${urls.search}" name="searchForm">
|
||||||
|
<#if showFlag1SearchField??>
|
||||||
|
<select id="search-form-modifier" name="flag1" class="form-item" >
|
||||||
|
<option value="nofiltering" selected="selected">entire database (${loginName})</option>
|
||||||
|
<option value="${portalId}">${siteTagline!}</option>
|
||||||
|
</select>
|
||||||
|
<#else>
|
||||||
|
<input type="hidden" name="flag1" value="${portalId}" />
|
||||||
|
</#if>
|
||||||
|
<div id="search-field">
|
||||||
|
<input type="text" name="querytext" class="search-vivo" value="${querytext!}" />
|
||||||
|
<a class ="submit" href="javascript:document.searchForm.submit();">Search</a> </div>
|
||||||
|
<!-- <input class ="submit" name="submit" type="submit" value="Search" /> -->
|
||||||
|
</form>
|
||||||
|
</fieldset>
|
||||||
|
</section>
|
||||||
|
</header>
|
||||||
|
<nav>
|
||||||
|
<ul id="main-nav">
|
||||||
|
<#list tabMenu.items as item>
|
||||||
|
<li>
|
||||||
|
<a href="${item.url}" <#if item.active> class="selected" </#if>>
|
||||||
|
${item.linkText}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</#list>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<div id="wrapper-content">
|
||||||
|
|
||||||
|
|
||||||
<section id="intro">
|
<section id="intro">
|
||||||
|
@ -67,7 +135,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
<section id="visual-graph">
|
<section id="visual-graph">
|
||||||
<h4>Visual Graph</h4>
|
<h4>Visual Graph</h4>
|
||||||
<img src="images/visual-graph.jpg" /> </section>
|
<img src="${themeDir}/images/visual-graph.jpg" /> </section>
|
||||||
</section>
|
</section>
|
||||||
</section><!-- Browse -->
|
</section><!-- Browse -->
|
||||||
<section id="highlights">
|
<section id="highlights">
|
||||||
|
@ -75,10 +143,10 @@
|
||||||
<section id="fearuted-people" class="global-highlights">
|
<section id="fearuted-people" class="global-highlights">
|
||||||
<h3>FEATURED PEOPLE</h3>
|
<h3>FEATURED PEOPLE</h3>
|
||||||
<!--use Hs-->
|
<!--use Hs-->
|
||||||
<article class="featured-people vcard"> <img class="individual-photo" src="images/person-thumbnail.jpg" width="80" height="80" />
|
<article class="featured-people vcard"> <img class="individual-photo" src="${themeDir}/images/person-thumbnail.jpg" width="80" height="80" />
|
||||||
<p class="fn">foaf:lastName, foaf:firstName <span class="title">core:preferredTitle</span><span class="org">currentPosition(s)</span></p>
|
<p class="fn">foaf:lastName, foaf:firstName <span class="title">core:preferredTitle</span><span class="org">currentPosition(s)</span></p>
|
||||||
</article>
|
</article>
|
||||||
<article class="featured-people vcard"> <img class="individual-photo" src="images/person-thumbnail.jpg" width="80" height="80" />
|
<article class="featured-people vcard"> <img class="individual-photo" src="${themeDir}/images/person-thumbnail.jpg" width="80" height="80" />
|
||||||
<p class="fn">foaf:lastName, foaf:firstName <span class="title">core:preferredTitle</span><span class="org">currentPosition(s)</span></p>
|
<p class="fn">foaf:lastName, foaf:firstName <span class="title">core:preferredTitle</span><span class="org">currentPosition(s)</span></p>
|
||||||
</article>
|
</article>
|
||||||
</section><!-- featured-people -->
|
</section><!-- featured-people -->
|
||||||
|
@ -129,3 +197,53 @@
|
||||||
<p class="view-all"><a class="view-all-style" href="#">View All <span class="pictos-arrow-10">4</span></a></p>
|
<p class="view-all"><a class="view-all-style" href="#">View All <span class="pictos-arrow-10">4</span></a></p>
|
||||||
</section><!-- latest-publications -->
|
</section><!-- latest-publications -->
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div id="footer-content">
|
||||||
|
<#if copyright??>
|
||||||
|
<p class="copyright"><small>©${copyright.year?c}
|
||||||
|
<#if copyright.url??>
|
||||||
|
<a href="${copyright.url}">${copyright.text}</a>
|
||||||
|
<#else>
|
||||||
|
${copyright.text}
|
||||||
|
</#if>
|
||||||
|
All Rights Reserved | <a class="terms" href="${urls.termsOfUse}">Terms of Use</a></small> | Powered by <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank"><strong>VIVO</strong></a></p>
|
||||||
|
</#if>
|
||||||
|
<nav>
|
||||||
|
<ul id="footer-nav">
|
||||||
|
<li><a href="${urls.about}">About</a></li>
|
||||||
|
<#if urls.contact??>
|
||||||
|
<li><a href="${urls.contact}">Contact Us</a></li>
|
||||||
|
</#if>
|
||||||
|
<li><a href="http://www.vivoweb.org/support" target="blank">Support</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="http://use.typekit.com/chp2uea.js"></script>
|
||||||
|
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||||
|
${scripts.add("/js/jquery.js")}
|
||||||
|
${scripts.tags}
|
||||||
|
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<script type="text/javascript" src="${themeDir}/js/jquery_plugins/supersleight.js"></script>
|
||||||
|
<script type="text/javascript" src="${themeDir}/js/utils.js"></script>
|
||||||
|
<link rel="stylesheet" href="css/ie6.css" />
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<!--[if IE 7]>
|
||||||
|
<link rel="stylesheet" href="css/ie7.css" />
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<!--[if (gte IE 6)&(lte IE 8)]>
|
||||||
|
<script type="text/javascript" src="${themeDir}/js/selectivizr.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<#include "googleAnalytics.ftl">
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>${title}</title>
|
<title>${title}</title>
|
||||||
<link rel="stylesheet" href="${themeDir}/css/style.css" />
|
<link rel="stylesheet" href="${themeDir}/css/style.css" />
|
||||||
|
${stylesheets.tags}
|
||||||
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
|
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
|
||||||
${headScripts.add("/js/html5.js")}
|
${headScripts.add("/js/html5.js")}
|
||||||
${headScripts.tags}
|
${headScripts.tags}
|
||||||
|
@ -68,9 +69,7 @@ ${headScripts.tags}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<div id="wrapper-content">
|
<div id="wrapper-content">
|
||||||
|
|
||||||
${body}
|
${body}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<div id="footer-content">
|
<div id="footer-content">
|
||||||
|
@ -81,7 +80,7 @@ ${headScripts.tags}
|
||||||
<#else>
|
<#else>
|
||||||
${copyright.text}
|
${copyright.text}
|
||||||
</#if>
|
</#if>
|
||||||
All Rights Reserved | <a class="terms" href="${urls.termsOfUse}">Terms of Use</a></small> | Powered by <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank"><strong>VIVO</em></a></p>
|
All Rights Reserved | <a class="terms" href="${urls.termsOfUse}">Terms of Use</a></small> | Powered by <a class="powered-by-vivo" href="http://vivoweb.org" target="_blank"><strong>VIVO</strong></a></p>
|
||||||
</#if>
|
</#if>
|
||||||
<nav>
|
<nav>
|
||||||
<ul id="footer-nav">
|
<ul id="footer-nav">
|
||||||
|
@ -93,7 +92,6 @@ ${headScripts.tags}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -102,21 +100,23 @@ ${headScripts.tags}
|
||||||
<script type="text/javascript" src="http://use.typekit.com/chp2uea.js"></script>
|
<script type="text/javascript" src="http://use.typekit.com/chp2uea.js"></script>
|
||||||
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
|
||||||
${scripts.add("/js/jquery.js")}
|
${scripts.add("/js/jquery.js")}
|
||||||
|
${scripts.tags}
|
||||||
|
|
||||||
|
|
||||||
<!--[if lt IE 7]>
|
<!--[if lt IE 7]>
|
||||||
${scripts.add("/js/jquery_plugins/supersleight.js")}
|
<script type="text/javascript" src="${themeDir}/js/jquery_plugins/supersleight.js"></script>
|
||||||
${scripts.addFromTheme("/js/utils.js")}
|
<script type="text/javascript" src="${themeDir}/js/utils.js"></script>
|
||||||
<link rel="stylesheet" href="css/ie6.css" />
|
<link rel="stylesheet" href="css/ie6.css" />
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!--[if IE 7]>
|
<!--[if IE 7]>
|
||||||
<link rel="stylesheet" href="css/ie7.css" />
|
<link rel="stylesheet" href="css/ie7.css" />
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<!--[if (gte IE 6)&(lte IE 8)]>
|
|
||||||
${scripts.add("/js/selectivizr.js")}
|
|
||||||
<![endif]-->
|
|
||||||
${scripts.tags}
|
|
||||||
|
|
||||||
|
<!--[if (gte IE 6)&(lte IE 8)]>
|
||||||
|
<script type="text/javascript" src="${themeDir}/js/selectivizr.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<#include "googleAnalytics.ftl">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
101
themes/wilma/templates/page/basicPage.jsp
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||||
|
<%-- This is a temporary file and will be removed once we have completed the transition to freemarker --%>
|
||||||
|
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.dao.WebappDaoFactory" %>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
||||||
|
<%@ page errorPage="/error.jsp"%>
|
||||||
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%>
|
||||||
|
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||||
|
|
||||||
|
<% /***********************************************
|
||||||
|
Display a single Page in the most basic fashion.
|
||||||
|
The html <HEAD> is generated followed by the banners and menu.
|
||||||
|
After that the result of the jsp in the attribute bodyJsp is inserted.
|
||||||
|
Finally comes the footer.
|
||||||
|
|
||||||
|
request.attributes:
|
||||||
|
"bodyJsp" - jsp of the body of this page.
|
||||||
|
"title" - title of page
|
||||||
|
"css" - optional additional css for page
|
||||||
|
"scripts" - optional name of file containing <script> elements to be included in the page
|
||||||
|
"bodyAttr" - optional attributes for the <body> tag, e.g. 'onload': use leading space
|
||||||
|
"portalBean" - PortalBean object for request.
|
||||||
|
|
||||||
|
Consider sticking < % = MiscWebUtils.getReqInfo(request) % > in the html output
|
||||||
|
for debugging info.
|
||||||
|
|
||||||
|
bdc34 2006-02-03 created
|
||||||
|
**********************************************/
|
||||||
|
/*
|
||||||
|
String e = "";
|
||||||
|
if (request.getAttribute("bodyJsp") == null){
|
||||||
|
e+="basicPage.jsp expects that request parameter 'bodyJsp' be set to the jsp to display as the page body.\n";
|
||||||
|
}
|
||||||
|
if (request.getAttribute("title") == null){
|
||||||
|
e+="basicPage.jsp expects that request parameter 'title' be set to the title to use for page.\n";
|
||||||
|
}
|
||||||
|
if (request.getAttribute("css") == null){
|
||||||
|
e+="basicPage.jsp expects that request parameter 'css' be set to css to include in page.\n";
|
||||||
|
}
|
||||||
|
if( request.getAttribute("portalBean") == null){
|
||||||
|
e+="basicPage.jsp expects that request attribute 'portalBean' be set.\n";
|
||||||
|
}
|
||||||
|
if( request.getAttribute("appBean") == null){
|
||||||
|
e+="basicPage.jsp expects that request attribute 'appBean' be set.\n";
|
||||||
|
}
|
||||||
|
if( e.length() > 0 ){
|
||||||
|
throw new JspException(e);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
// This is here as a safety net. We should have gotten the values in identity.jsp,
|
||||||
|
// since it's the first jsp we hit.
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<%
|
||||||
|
FreemarkerHttpServlet.getFreemarkerComponentsForJsp(request);
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
VitroRequest vreq = new VitroRequest(request);
|
||||||
|
Portal portal = vreq.getPortal();
|
||||||
|
|
||||||
|
String contextRoot = vreq.getContextPath();
|
||||||
|
|
||||||
|
String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT;
|
||||||
|
themeDir = contextRoot + '/' + themeDir;
|
||||||
|
%>
|
||||||
|
|
||||||
|
|
||||||
|
<c:set var="portal" value="${requestScope.portalBean}"/>
|
||||||
|
<c:set var="themeDir"><c:out value="${themeDir}" /></c:set>
|
||||||
|
<c:set var="bodyJsp"><c:out value="${requestScope.bodyJsp}" default="/debug.jsp"/></c:set>
|
||||||
|
<c:set var="title"><c:out value="${requestScope.title}" /></c:set>
|
||||||
|
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>${title}</title>
|
||||||
|
<link rel="stylesheet" href="<%=themeDir%>/css/style.css" />
|
||||||
|
|
||||||
|
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
|
||||||
|
<%-- ${headScripts.add("/js/html5.js")} --%>
|
||||||
|
<c:if test="${!empty scripts}"><jsp:include page="${scripts}"/></c:if>
|
||||||
|
</head>
|
||||||
|
<body ${requestScope.bodyAttr}>
|
||||||
|
<div id="wrapper">
|
||||||
|
${ftl_menu}
|
||||||
|
<div id="wrapper-content">
|
||||||
|
<c:import url="${bodyJsp}"/>
|
||||||
|
</div>
|
||||||
|
${ftl_footer}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|