moodle/mod/workshop/styles.php

445 lines
9.2 KiB
PHP
Raw Normal View History

2010-01-04 18:01:40 +00:00
/**
* Submission - one line summary display
*/
.mod-workshop .submission-summary {
2010-01-04 18:01:40 +00:00
position: relative;
margin-bottom: 10px;
}
.mod-workshop .submission-summary .title,
.mod-workshop .submission-summary .author,
.mod-workshop .submission-summary .author .fullname,
.mod-workshop .submission-summary .author .picture {
2010-01-04 18:01:40 +00:00
display: inline;
}
.mod-workshop .submission-summary .title,
.mod-workshop .submission-summary .userdate {
2010-01-04 18:01:40 +00:00
margin: 0px 0px 0px 40px;
}
.mod-workshop .submission-summary .author {
2010-01-04 18:01:40 +00:00
margin-left: 1ex;
}
.mod-workshop .submission-summary.anonymous .title,
.mod-workshop .submission-summary.anonymous .author,
.mod-workshop .submission-summary.anonymous .userdate {
2010-01-04 18:01:40 +00:00
margin: 0px 0px 0px 5px;
}
.mod-workshop .submission-summary .userdate {
2010-01-04 18:01:40 +00:00
font-size: x-small;
color: #333;
}
.mod-workshop .submission-summary .userdate span {
2010-01-04 18:01:40 +00:00
font-style: italic;
}
.mod-workshop .submission-summary .author .picture {
2010-01-04 18:01:40 +00:00
position: absolute;
top: 0px;
left: 0px;
}
/**
* Submission - full display
*/
.mod-workshop .submission-full {
border: 1px solid #ddd;
margin: 0px 0px 1em 0px;
}
.mod-workshop .submission-full .header {
position: relative;
background-color: #ddd;
padding: 3px;
}
.mod-workshop .submission-full .header .title,
.mod-workshop .submission-full .header .author,
.mod-workshop .submission-full .header .userdate {
margin: 0px 0px 0px 80px;
}
.mod-workshop .submission-full.anonymous .header .title,
.mod-workshop .submission-full.anonymous .header .author,
.mod-workshop .submission-full.anonymous .header .userdate {
margin: 0px 0px 0px 5px;
}
.mod-workshop .submission-full .header .userdate.modified {
margin-left: 10px;
padding-left: 10px;
border-left: 1px solid #000;
}
.mod-workshop .submission-full .header .userdate {
font-size: x-small;
color: #333;
display: inline;
}
.mod-workshop .submission-full .header .userdate span {
font-style: italic;
}
.mod-workshop .submission-full .header .author .picture {
position: absolute;
top: 3px;
left: 3px;
}
.mod-workshop .submission-full .content,
.mod-workshop .submission-full .attachments {
padding: 5px 10px;
}
.mod-workshop .submission-full .attachments .files img.icon {
margin-right: 5px;
}
/**
* Elements generated by the workshop renderer
*/
.mod-workshop .status-message {
padding: 5px 5em 5px 15px;
margin: 0px auto 20px auto;
width: 60%;
font-size: 80%;
position: relative;
}
.mod-workshop .status-message-closer {
font-weight: bold;
position: absolute;
top: 5px;
right: 15px;
}
.mod-workshop .status-message.ok {
color: #547c22;
background-color: #e7f1c3;
}
.mod-workshop .status-message.error {
color: #dd0221;
background-color: #ffd3d9;
}
.mod-workshop .status-message.info {
color: #1666a9;
background-color: #d2ebff;
}
/**
* Allocators
*/
.mod-workshop .allocation-init-results {
margin: 10px auto;
width: 60%;
font-size: 80%;
}
.mod-workshop .allocation-init-results .indent {
margin-left: 20px;
}
.mod-workshop .allocation-init-results .ok {
color: #547c22;
background-color: #e7f1c3;
}
.mod-workshop .allocation-init-results .error {
color: #dd0221;
background-color: #ffd3d9;
}
.mod-workshop .allocation-init-results .info {
color: #1666a9;
background-color: #d2ebff;
}
.mod-workshop .allocation-init-results .debug {
color: black;
background-color: #ddd;
}
/**
* Manual allocator
*/
.mod-workshop .manual-allocator .allocations {
margin: 0px auto;
}
.mod-workshop .manual-allocator .allocations .r0 {
background-color: #eee;
}
2010-01-04 17:51:22 +00:00
.mod-workshop .manual-allocator .allocations .peer .image {
margin-right: 5px;
vertical-align: middle;
}
.mod-workshop .manual-allocator .allocations .reviewedby .image,
.mod-workshop .manual-allocator .allocations .reviewerof .image {
margin-right: 3px;
vertical-align: middle;
}
.mod-workshop .manual-allocator .allocations .highlightreviewedby .reviewedby,
.mod-workshop .manual-allocator .allocations .highlightreviewerof .reviewerof {
background-color: #fff3d2;
}
.mod-workshop .manual-allocator .allocations tr td {
vertical-align: top;
padding: 5px;
}
.mod-workshop .manual-allocator .allocations tr td.peer {
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}
.mod-workshop .manual-allocator .allocations .reviewedby .info,
.mod-workshop .manual-allocator .allocations .peer .info,
.mod-workshop .manual-allocator .allocations .reviewerof .info {
font-size: 80%;
color: #888;
font-style: italic;
}
.mod-workshop .manual-allocator .allocations .peer .submission {
font-size: 90%;
margin-top: 1em;
}
/**
* User plan
*/
.mod-workshop .userplan {
width: 70%;
margin: 1em auto 1em auto;
2010-01-04 18:01:05 +00:00
font-size: 80%;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
.mod-workshop .userplan th {
vertical-align: bottom;
white-space: normal;
color: #999;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
padding: 3px;
}
.mod-workshop .userplan th.active {
vertical-align: top;
color: black;
2010-01-04 18:01:05 +00:00
font-size: 140%;
border: 1px solid #ddd;
border-bottom: none;
background: #e7f1c3;
}
.mod-workshop .userplan td {
width: 20%;
vertical-align: top;
border-right: 1px solid #ddd;
background-color: #f5f5f5;
2010-01-04 18:01:05 +00:00
}
.mod-workshop .userplan td,
.mod-workshop .userplan td a,
.mod-workshop .userplan td a:link,
.mod-workshop .userplan td a:hover,
.mod-workshop .userplan td a:visited,
.mod-workshop .userplan td a:active {
color: #999;
}
.mod-workshop .userplan td.active,
.mod-workshop .userplan td.active a,
.mod-workshop .userplan td.active a:link,
.mod-workshop .userplan td.active a:hover,
.mod-workshop .userplan td.active a:visited,
.mod-workshop .userplan td.active a:active {
2010-01-04 18:01:05 +00:00
color: black;
}
.mod-workshop .userplan td.lastcol {
border-right: none;
}
.mod-workshop .userplan td.active {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
background-color: #e7f1c3;
}
.mod-workshop .userplan tr.phasetasks li {
background-image: url(../../pix/i/completion-auto-n.gif);
background-position: top left;
background-repeat: no-repeat;
}
.mod-workshop .userplan tr.phasetasks li.completed {
background-image: url(../../pix/i/completion-auto-y.gif);
}
.mod-workshop .userplan tr.phasetasks li.fail {
2010-01-04 18:01:05 +00:00
background-image: url(../../pix/i/completion-auto-fail.gif);
}
.mod-workshop .userplan tr.phasetasks li.info {
2010-01-04 18:01:05 +00:00
background-image: url(../../pix/i/info.gif);
}
.mod-workshop .userplan tr.phasetasks .tasks {
list-style:none;
margin: 3px;
padding: 0px;
}
.mod-workshop .userplan tr.phasetasks .title {
padding: 0px 10px 0px 20px;
}
.mod-workshop .userplan tr.phasetasks .details {
padding: 0px 10px 0px 25px;
font-size: 80%;
}
/**
* Assessment
*/
.mod-workshop .assessment-summary.graded {
background-color: #e7f1c3;
}
.mod-workshop .assessmentform .description {
margin: 0px 1em;
}
/* Rubric - list layout */
.mod-workshop .assessmentform.rubric.list .fitem .fitemtitle {
display: none;
}
.mod-workshop .assessmentform.rubric.list .fitem .felement {
width: auto;
}
.mod-workshop .assessmentform.rubric.list .fitem .felement span {
display: block;
}
.mod-workshop .assessmentform.rubric.list .fitem .felement span input {
display: block;
float: left;
}
.mod-workshop .assessmentform.rubric.list .fitem .felement.fgroup span label {
display: block;
margin-left: 30px;
}
/* Rubric - grid layout */
.mod-workshop .assessmentform.rubric #rubric-grid-wrapper {
border: none;
}
.mod-workshop .assessmentform.rubric #rubric-grid-wrapper legend {
display: none;
}
.mod-workshop .assessmentform.rubric.grid th,
.mod-workshop .assessmentform.rubric.grid td {
border: 1px solid #ddd;
padding: 5px;
vertical-align: top;
}
.mod-workshop .assessmentform.rubric.grid .criterion {
text-align: center;
}
.mod-workshop .assessmentform.rubric.grid .fitem {
text-align: center;
}
.mod-workshop .assessmentform.rubric.grid .fitem .fitemtitle {
display: none;
}
.mod-workshop .assessmentform.rubric.grid .fitem .felement {
width: 100%;
margin-left: auto;
margin-right: auto;
}
.mod-workshop .assessmentform.rubric.grid .fitem .felement span {
display: block;
text-align: center;
}
.mod-workshop .assessmentform.rubric.grid .fitem .felement span label {
display: block;
text-align: center;
}
/**
* Grading report
*/
.mod-workshop .grading-report {
width: 90%;
margin: 1em auto 1em auto;
font-size: 80%;
border: 1px solid #ddd;
}
.mod-workshop .grading-report th {
white-space: normal;
}
.mod-workshop .grading-report td {
vertical-align: top;
border: 1px solid #ddd;
}
.mod-workshop .grading-report td.c3,
.mod-workshop .grading-report td.c5 {
text-align: center;
font-size: 160%;
}
.mod-workshop .grading-report td.c6 {
text-align: center;
font-size: 220%;
}
/**
* Edit assessment form
*/
#mod-workshop-editform fieldset.fgroup * {
vertical-align: top;
}
/**
* Misc
*/
.mod-workshop div.buttonsbar {
text-align: center;
}
.mod-workshop div.buttonwithhelp div {
display: inline;
}