view css/docuviewer.css @ 586:230ba358da3c

fixed annotationServerUrl.
author casties
date Tue, 13 Nov 2012 18:20:43 +0100
parents ca0274423382
children ed4485d2748e
line wrap: on
line source

/*
 * Documentviewer style sheet.
 * 
 * Robert Casties 2012.
 */
body {
    background-color: #ebebeb;
    margin: 5px;
    font-family: Verdana,Arial,sans-serif;
    font-size: 12px;
}

a:link,
a:visited {
    color: black;
    font-weight: bold;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/*
 * head
 */
div.page-head div.logo {
    display: table-cell;
    vertical-align: top;
    padding: 5px;
}
div.page-head div.title-block {
    display: table-cell;
    vertical-align: top;
}
div.page-head div.title {
    max-width: 50em;
    background-color: white;
	font-family: Georgia,Times,serif;
	font-size: 14px;
	line-height: 1.3;
	border: 1px solid silver;
    padding: 0.5em;  
}

ul.view-switcher {
    padding-left: 0;
    margin-top: 4px;
}
ul.view-switcher li {
    list-style-type: none;
    display: inline;
    background-color: #d0d0d0;
    margin-right: 0;
    border-bottom: 1px solid silver;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-radius: 0 0 5px 5px;
    padding: 5px;
}
ul.view-switcher li.sel {
    background-color: white;
}

/*
 * body
 */
div.page-body {
    display: table-row;
}
div.page-body div.col {
    display: table-cell;
    vertical-align: top;
}

/*
 * TOC
 */
div.toc-container {
    display:table-row;
}

div.toc-switcher-col {
	display: table-cell;
}
div.toc-switcher {
    display: block; /* moz only does relative with block */
    position: relative;
    width: 26.5px; /* for moz and webkit -- don't ask me */
}
div.toc-switcher ul {
    position: absolute;
    transform: rotate(270deg);
    transform-origin: top left;
    -moz-transform: rotate(270deg);
    -moz-transform-origin: top left;
    -webkit-transform: rotate(270deg);
    -webkit-transform-origin: top left;
    -o-transform: rotate(270deg);
    -o-transform-origin: top left;
	left: 7px;
    top: 34em;
    width: 40em;
    padding: 0px;
}

div.toc-switcher li {
    list-style-type: none;
    display: inline;
    background-color: #d0d0d0;
    margin-bottom: 5px;
    border-top: 1px solid silver;
    border-left: 1px solid silver;
    border-right: 1px solid silver;
    border-radius: 5px 5px 0 0;
    padding: 5px;
}
div.toc-switcher li.sel {
    background-color: white;
}

div.tocbody {
    display: table-cell;
    border: 1px solid silver;
    border-radius: 5px;
    padding: 0.5em;  
    background-color: white;    
}

div.tocbody h4 {
	margin-top: 0;
	margin-bottom: 0.5em;
}
div.tocbody div.ruler.top {
	text-align: center;
	padding-bottom: 0.5em;
}
div.tocbody div.ruler.bottom {
	clear: both;
	text-align: center;
	padding-top: 0.5em;
}

div.tocbody.text, 
div.tocbody.figures {
    max-width: 20em;
    background-color: white;
}

div.tocbody.text .toc.name, 
div.tocbody.figures .toc.name,
div.tocbody.concordance .toc.name {
    float:left;
    clear:right; 
    margin-right: 1em;
}
div.tocbody.text .toc.page, 
div.tocbody.figures .toc.page,
div.tocbody.concordance .toc.page {
    float:right;
}

div.tocbody table.thumbs td {
    text-align: center;
}
div.tocbody table.thumbs .thumb {
    padding: 3px;
}
div.tocbody table.thumbs .thumbsel {
    padding: 2px;
    border: 1px solid #892B06;
}
div.tocbody table.thumbs .thumbcap {
    color: black;
}

div.tocbody table.concordance {
	border-collapse: collapse;
}
div.tocbody table.concordance td {
    border: 1px solid silver;
    text-align: center;
}

/*
 * content
 */
div.col.main {
    padding-left: 5px;
    padding-right: 5px;
}
div.col.main div.ruler {
    margin-top: 4px;
}
div.col.main span.ruler-main {
    background-color: #d0d0d0;
    border-left: 1px solid silver;
    border-top: 1px solid silver;
    border-right: 1px solid silver;
    border-radius: 5px 5px 0 0;
    padding: 4px;    
}
div.col.main div.ruler.down span.ruler-main {
	border-radius: 0 0 5px 5px;
}

div.col.main div.content {
	min-width: 30em;
    background-color: white;
	border: 1px solid silver;
    padding: 1em;
}
div.col.main div.content a:link,
div.col.main div.content a:visited {
    font-weight: inherit;
    color: #892B06;
}
span.hit.highlight {
    background-color: lime;
}

/*
 * buttons
 */
div.col.buttons div.options {
    background-color: white;
	border: 1px solid silver;
    border-radius: 5px;
    padding: 0.5em;
    margin-bottom: 5px;  
}
div.col.buttons h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
}
div.col.buttons ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0.5em;
}
div.col.buttons ul.list {
	list-style-type: inherit;
	padding-left: inherit;
}
div.col.buttons ul.list li {
	margin-left: 1em;
}
div.options.digilib li img {
	vertical-align: middle;
}

/*
 * text page
 */
div.col.main div.content.text {
    font-family: Junicode,Gentium,Georgia,serif;
    font-size: 14px;
	line-height: 1.3;
}
div.col.main div.content.text div.emptyPage {
    font-family: Verdana,Arial,sans-serif;
    font-size: 12px;
}
div.col.main div.content.text .bf {
    font-weight: bold;
}
div.col.main div.content.text .head {
    margin-top: 0.5em;
    margin-bottom: 0.25em;
}
/* page break */
div.col.main div.content.text span.pb span.n,
div.col.main div.content.text span.pb span.o {
	display: none;
}
/* running head */
div.col.main div.content.text span.pb span.rhead {
    display: block;
    text-align: center;
    margin-bottom: 1em;
}
/* note */
div.col.main div.content.text span.note span.noteBody {
	display: block;
	/* float: left; */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding: 5px;
    border: 1px dashed silver;	
}
div.col.main div.content.text span.note span.noteSign {
    display: none;
    /* font-size: 70%;
	vertical-align: super; */
}
/* figure */
div.col.main div.content.text span.figure {
    display: block;
    width: 200px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding: 5px;
    border: 1px dashed silver;
    /* float: right; */
    /* text-align: center; */
}
div.col.main div.content.text span.figure>a,
div.col.main div.content.text span.figure span.figureNumber,
div.col.main div.content.text span.figure span.caption,
div.col.main div.content.text span.figure span.description {
    display:block;
}
div.col.main div.content.text span.figure span.figureNum {
    display: none;
}
/*
 * search results
 */
div.col.results {
    max-width: 20em;
    padding-right: 5px;
}
div.col.results div.result {
	border: 1px solid silver;
    border-radius: 5px;
    padding: 0.5em;
}
div.col.results h4 {
    margin-top: 0;
    margin-bottom: 0.5em;
}
div.col.results div.ruler {
	text-align: center;
	margin-bottom: 0.5em;
}
div.col.results div.query {
	margin-bottom: 0.5em;
}
div.col.results div.content div.hit {
    margin-bottom: 0.5em;
}
div.col.results div.content div.hit span.hitLink {
    margin-right: 0.5em;
}

/*
 * index page
 */
div.index-image {
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 1em;
	padding-top: 1em;
}
div.index-info {
	padding-top: 1em;	
}
div.index-info h2 {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
div.index-info td {
	vertical-align: top;
}
div.index-info td.type {
	font-weight: bold;
}
div.index-info td.content {
	max-width: 30em;
}

/*
 * image page
 */
div.col.main div.content.images {
	background-color: inherit;
	padding: 0;
}
div.col.main div.content.images table {
	border-collapse: collapse; /* for tight digilib */
}

/*
 * xml page
 */
div.col.main div.content.xml {
	font-family: Monaco,Courier,monospace;
	font-size: 12px;
}
div.col.main div.content.xml ul {
    padding-left: 1em;
}
div.col.main div.content.xml div.pageHeaderTitle {
	display: none;
}

/*
 * thumbnail overview
 */
div.col.main div.content-thumbs {
	border: 1px solid silver;
    padding: 0.5em;
}
div.col.main table.thumbs td {
	text-align: center;
}

/*
 * footer
 */
div.footer {
    max-width: 68em;
	margin-top: 1em;
	border-top: 1px solid silver;
	margin-left: 28px;
	margin-right: 28px;
	text-align: center;
}
div.footer div.content {
	font-size: 10px;
	color: gray;	
}
div.footer div.content a:link,
div.footer div.content a:visited {
	color: gray;
}