view css/docuviewer.css @ 537:ad6f97fd3944

fixes closing tickets concerning tocs.
author casties
date Fri, 27 Jul 2012 17:09:59 +0200
parents abd36d4d97b8
children dbf25bd05fc6
line wrap: on
line source


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: 32em;
    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 {
	text-align: center;
	margin-bottom: 0.5em;
}

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

div.tocbody.text .toc, 
div.tocbody.figures .toc,
div.tocbody.concordance .toc {
    float:left;
    clear:right; 
}
div.tocbody.text .toc.float.right, 
div.tocbody.figures .toc.float.right,
div.tocbody.concordance .toc.float.right {
    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;
    font-family: Junicode,Gentium,Georgia,serif;
    font-size: 14px;
	line-height: 1.3;
	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;
}

/*
 * search results
 */
div.col.results {
    max-width: 20em;
}

/*
 * 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 td.type {
	font-weight: bold;
}
div.index-info td.content {
	max-width: 30em;
}
div.index-actions {
	float: left;
	border: 1px solid silver;
    padding: 1em;
	margin-top: 2em;
}
div.index-actions div.action {
	margin-bottom: 1em;
}

/*
 * image page
 */
div.col.main div.content-images {
	border: 1px solid silver;
}
div.col.main div.content-images table {
	border-collapse: collapse; /* for tight digilib */
}

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