/******************************
*
* Styles for manuscript blocks. PW: as of 9/21/2011, the styles here should
* should be defined from the perspective of the preview view; manuscript-editor
* can then be used to "correct" or add things needed for the editor view
*
******************************/
#manuscript {
font-size:14px;
font-family:Arial, sans-serif;
min-width: 600px;
margin:10px;
display:block;
}
a, a:hover, a:visited, a:active {
font-weight:bold;
color:#009;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
/* chapter title */
h1 {
position:static;
width:auto;
height:auto;
color:#000;
margin-top:.5em;
display:block;
}
/* section title: no top-margin */
h2 {
margin-top:0;
display:block;
}
/* Other titles: visible by default */
h3 {
display:block;
margin-top:0;
}
/* Chapter */
[data-type=chapter] {
}
/* Section */
[data-type=section] {
width:600px;
clear: both;
display:none; /* all sections are initially hidden */
}
/**
* Paragraph
*/
[data-type=paragraph] {
padding-bottom: 1px; /* makes the p's margin push the bottom down. */
}
/**
* Rawhtml
*/
[data-type=rawhtml] {
margin-bottom:1em;
}
/* Metadata: hidden */
[data-type=metadata] {
display:none;
}
/**
* Question
*/
[data-type=question] {
border-left:5px solid #666;
padding-left:10px;
margin-top:5px;
display:block;
}
[data-type=question] h3 {
font-weight:bold;
color:#600;
}
/**
* Queries
*/
[data-type=query_display] {
/*background-color:#fcc;*/
}
/* don't show query_display spans in questions */
[data-type=question] [data-type=query_display] {
display:none;
}
[data-type=query] {
display:none;
}
.query_text {
}
.query_correct_answer_span {
color:#006600;
font-weight:bold;
}
.query_fb_input {
font-size:12px;
font-weight:bold;
}
.query_dd_select {
font-family:Verdana,sans-serif;
font-size:12px
}
.query_dd_select_span {
white-space:nowrap;
}
.query_mc_choice_table td {
border:0px solid black;
padding:0px 0px 3px 5px;
vertical-align:top;
}
.query_mc_choice_table label {
padding:0px;
margin:0px;
font-weight:normal;
}
.query_mc_choice_radio {
margin:1px 3px !important;
}
.query_mc_correct_choice {
border:1px solid #090;
background-color:#9f9;
}
.query_mc_incorrect_user_choice {
border:1px solid #900;
background-color:#f99;
}
.query_mc_other_choice {
border:1px solid transparent;
}
.query_mc_correct_choice, .query_mc_incorrect_user_choice {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
-khtml-border-radius: 8px;
border-radius: 8px;
}
.query_mc_feedback_correct_incorrect {
margin-top:5px;
font-style:italic;
}
.essay_question_text {
margin-bottom:5px;
}
.query_essay_ta {
font-family:Verdana, sans-serif;
font-size:12px;
width:450px;
height:150px;
}
.query_result {
margin-top:5px;
color: red;
font-weight: bold;
}
.query_correct_answer {
margin-top:5px;
font-weight: bold;
color: green;
}
.query_feedback, .question_feedback {
border-top:2px solid #333;
margin-top:12px;
padding-top:8px;
position:relative;
}
/* hide question_feedback divs at start so they can be faded in */
.question_feedback {
display:none;
}
.query_feedback_head, .question_feedback_head {
position:absolute;
top:-8px;
left:0px;
color:#333;
font-weight:bold;
font-size:10px;
background-color:#fff;
padding-right:4px;
}
.question_action_div {
/*height:23px;*/
padding-top:5px;
}
.question_instructor_controls {
font-size:12px;
background-color:#fff;
}
.question_instructor_controls a {
font-size:10px;
font-weight:normal;
}
.points_awarded_div {
margin-top:5px;
font-size:80%;
font-style:italic;
}
/**
* Figure
* -- a
or
*/
[data-type=figure], [data-type=table] {
display: block;
border:1px solid #666;
padding:1em;
margin-bottom:1em;
background-color:#fff;
text-align:center;
}
[data-type=figure][data-layout-align=left], [data-type=table][data-layout-align=left] {
float: left;
margin-right:1em;
}
[data-type=figure][data-layout-align=right], [data-type=table][data-layout-align=right] {
float: right;
margin-left:1em;
margin-right:-180px;
}
[data-layout-align=center] img {
display: block;
margin: 0 auto;
}
[data-type=figure][data-layout-width=small], [data-type=table][data-layout-width=small] {
width:200px;
}
[data-layout-width=small] img {
max-width:200px;
}
[data-type=figure][data-layout-width=medium], [data-type=table][data-layout-width=medium] {
width:350px;
}
[data-layout-width=medium] img {
max-width:350px;
}
[data-type=figure][data-layout-width=large], [data-type=table][data-layout-width=large] {
width:500px;
}
[data-layout-width=large] img {
max-width:500px;
}
/* why did I think xlarge figures must be float?? */
[data-type=figure][data-layout-width=xlarge], [data-type=table][data-layout-width=xlarge] {
margin-left:0;
margin-right:0;
width:685px;
}
/* but xlarge tables shouldn't be */
[data-type=table][data-layout-width=xlarge] {
float:none;
}
[data-layout-width=xlarge] img {
max-width:685px;
}
[data-type=figure][data-layout-border=false], [data-type=table][data-layout-border=false] {
border:none;
padding:0;
width:auto;
background-color:transparent;
}
/* in body.figure mode, always make the figures big and not floated */
body.figure [data-type=figure], body.figure [data-type=table] {
float:none;
width:500px;
border:0px;
}
body.figure [data-type=figure] img {
max-width:500px;
}
/**
* Figure and table text, including captions
*/
[data-type=figure_text], [data-type=table_text] {
margin-top:5px;
text-align:left;
color:#333;
}
[data-type=figure_text] [data-type=number], [data-type=table_text] [data-type=number] {
color: #6666ff;
font-weight:bold;
}
/* Figure number will be clickable */
[data-type=figure_text] [data-type=number], [data-type=table_text] [data-type=number] {
cursor:pointer;
}
/* Tables */
[data-type=table] table {
border-collapse:collapse;
background-color:#fff;
}
[data-type=table] td {
border: 1px solid black;
padding:2px;
vertical-align:middle;
}
[data-type=table] th {
font-weight:bold;
border: 1px solid black;
padding:2px;
vertical-align:bottom;
background-color:#ccf;
}
[data-type=table] .title_cell {
background-color:#006;
color:#fff;
}
/* hide table definition */
[data-block_type=table_definition] {
display:none;
}
/**
* Reference
*/
[data-type=ref] {
/*display:none;*/
}
/* block types */
[data-block_type=supplemental] {
display:none;
}
[data-block_type=margin_text] {
float: right;
margin-left:1em;
margin-right:-100px;
width:250px;
border:1px solid black;
padding:5px;
background-color:#ccf;
}
[data-block_type=margin_text] p {
margin:0px;
}
[data-block_type=margin_quote] {
float: right;
margin-left:1em;
margin-right:-100px;
width:250px;
border:1px solid black;
padding:5px;
background-color:#ccf;
}
[data-block_type=margin_quote_speaker] p {
margin:0px;
text-align:right;
font-style: italic;
}
[data-block_type=quote] {
margin-left:30px;
margin-right:30px;
}
[data-block_type=subtitle] {
font-weight:bold;
font-size:120%;
border-top:1px solid #999;
padding-top:.5em;
}
[data-block_type=equation] {
margin-left:30px;
margin-right:30px;
margin-bottom:10px;
margin-top:10px;
border-left:5px solid #c4d79f;
padding-left:20px;
}
/* onclick "show" items are initially hidden */
[data-onclick=show] {
display:none;
}
/* boxes */
[data-type=box] h3 {
font-weight:bold;
font-size:120%;
margin-bottom:15px;
margin-top:0px;
}
[data-type=box] {
border:2px solid black;
padding:10px 10px 0 10px;
background-color:#eee;
margin-bottom:1em;
}
/* question_sequence and question_pool boxes shouldn't have any markings */
[data-block_type=question_sequence], [data-block_type=question_pool] {
border:0px;
padding:0px;
background-color:inherit;
margin-bottom:0px;
}
/* and their headings shouldn't be shown */
[data-block_type=question_sequence] h3[data-for_type=box], [data-block_type=question_pool] h3[data-for_type=box] {
display:none;
}
/* variables */
[data-type=variable] {
color:#900;
}
/* TOC: not really used anymore; should we remove this?? */
#toc {
display:none;
position:fixed;
top:0px;
left:10px;
width: 220px;
background-color:#fff;
padding:0 5px;
}
#toc .number {
display: block;
float: left;
}
#toc a {
display: block;
margin-left: 12px;
text-decoration: none;
}
#toc a:hover {
text-decoration: underline;
}
#toc a.active {
background-color:#ccc;
}
#toc ul ul a {
margin-left: 24px;
}
#toc ul {
margin-left: 0;
padding-left: 0;
list-style: none;
}
#toc ul ul {
margin-top: 0.5em;
}
#toc li {
padding: 1px 3px;
overflow: hidden;
line-height: 12px;
font-size:11px;
}
#toc ul ul li {
padding-left: 12px;
}
/* standard player elements */
#section_navigation {
display:none;
position:fixed;
left:790px; /* width of section + right margin of figure - width of element */
font-size:24px;
font-weight:bold;
padding-left:10px;
background-color:#ccf;
border:1px solid black;
padding:5px;
padding-top:0px;
}
/* jquery.simplemodal */
/* Overlay */
#simplemodal-overlay {
background-color:#000;
cursor:wait;
}
/* Container */
#simplemodal-container {
height:360px;
width:600px;
color:#000;
background-color:#fff;
border:4px solid #444;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
-khtml-border-radius: 12px;
border-radius: 12px;
padding:12px;
}
#simplemodal-container .simplemodal-data {
padding:8px;
}
#simplemodal-container code {
background:#141414;
border-left:3px solid #65B43D;
color:#bbb;
display:block;
font-size:12px;
margin-bottom:12px;
padding:4px 6px 6px;
}
#simplemodal-container a {
color:#ddd;
}
#simplemodal-container a.modalCloseImg {
background:url(img/simple_modal_x.png) no-repeat;
width:25px;
height:29px;
display:inline;
z-index:3200;
position:absolute;
top:-15px;
right:-16px;
cursor:pointer;
}
#simplemodal-container h3 {
color:#84b8d9;
}
/* Simple buttons */
.button_wrapper {
margin:15px 0;
}
.button {
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
-khtml-border-radius: 8px;
border-radius: 8px;
border: 2px solid #393;
background-color:#cfc;
font-size:14px;
font-weight:bold;
padding:5px;
margin-left:5px;
float:left;
cursor:pointer;
}
.button.alt_color {
background-color:#fcc;
border-color:#933;
}