moodle/grade/report/grader/styles.css

243 lines
5.3 KiB
CSS
Raw Normal View History

/**
* Container.
*/
.path-grade-report-grader .gradeparent {
position: relative;
}
/**
* Tooltip and overlay.
*/
.path-grade-report-grader .gradeparent .grader-information-tooltip {
min-width: 200px;
}
.path-grade-report-grader .gradeparent .graderreportoverlay {
background-color: white;
width: auto;
padding: 10px;
font-size: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
/**
* The table.
*/
.path-grade-report-grader .gradeparent table {
border: 1px solid #ccc;
border-collapse: separate;
border-spacing: 0;
border-bottom-width: 0;
border-right-width: 0;
margin-bottom: 2em;
}
.dir-rtl.path-grade-report-grader .gradeparent table {
border-left-width: 0;
border-right-width: 1px;
max-width: initial;
}
/**
* All the cells.
*/
.path-grade-report-grader .gradeparent .cell {
border: 1px solid #ccc;
border-top-width: 0;
border-left-width: 0;
padding: 4px 5px;
vertical-align: middle;
text-align: right;
white-space: nowrap;
}
.dir-rtl.path-grade-report-grader .gradeparent .cell {
border-left-width: 1px;
border-right-width: 0;
text-align: left;
}
/**
* Stripped table.
*/
.path-grade-report-grader .gradeparent tr:nth-of-type(even) .cell {
background-color: #f9f9f9;
}
/**
* All the floating divs.
*/
.path-grade-report-grader .gradeparent .floater {
display: none;
}
.path-grade-report-grader .gradeparent .floating {
display: block;
}
/**
* All the headers + floating cells.
*/
.path-grade-report-grader .gradeparent .heading .cell,
.path-grade-report-grader .gradeparent .avg .cell,
.path-grade-report-grader .gradeparent .user.cell {
font-size: 14px;
font-weight: normal;
text-align: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .heading .cell,
.dir-rtl.path-grade-report-grader .gradeparent .avg .cell,
.dir-rtl.path-grade-report-grader .gradeparent .user.cell {
text-align: right;
}
/**
* All the floating cells.
*/
.path-grade-report-grader .gradeparent .floater .cell {
background-color: #f9f9f9;
}
/**
* The user cells.
*/
.path-grade-report-grader .gradeparent .user.cell {
min-width: 200px;
width: 200px;
white-space: normal;
vertical-align: top;
}
.path-grade-report-grader .gradeparent .user.cell .userpicture {
margin: 0 4px;
border: none;
vertical-align: middle;
}
/**
* The additional user fields.
*/
.path-grade-report-grader .gradeparent .userfield {
font-weight: normal;
text-align: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .userfield {
text-align: right;
}
/**
* The footer's header.
*/
.path-grade-report-grader .gradeparent .range .header,
.path-grade-report-grader .gradeparent .avg .header {
font-weight: bold;
}
/**
* The footer's floating cells.
*/
.path-grade-report-grader .gradeparent .avg.floating .cell {
border-top-width: 1px;
}
/**
* The footer's cells.
*/
.path-grade-report-grader .gradeparent .avg .cell {
text-align: right;
MDL-40347 grade/report/grader: Fixes: Grade report does not highlight some cells properly. Squashed commit of the following: commit 2c2164a7e27bd2b81102251420892386e39edecc Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Tue Aug 20 12:59:47 2013 +0100 MDL-40347 theme: Modified upgrade.txt and created bootstrapbase/upgrade.txt. commit 4449975a0f9249785ed152f63786bf7974c1776e Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Tue Aug 13 18:42:20 2013 +0100 MDL-40347 grade/report/grader: added RTL css previously in bootstrapbase/less/moodle/grade.less to styles.css commit b0af8f05a411b3dbb1d9c162a0d65c7f9c069c0f Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Tue Aug 13 12:42:02 2013 +0100 MDL-40347_M26 grade/report/grader: cleaned up grade/report/grader/styles.css. commit 52627137dc662d47cbfdf023d056baf102f29d8a Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Sat Jul 6 17:15:12 2013 +0100 MDL-40347 grade/report/grader: Grade report does not highlight some cells properly. Merged/squashed original commit by Marina Glancy who: - added class 'i123' to each cell in the column - changed JS to highlight the cells with this class instead that cells with the column number - changed grade report css so the .vmarked and .hmarked classes have higher priority for all rows - made cells in 'average range' row td instead of th - little corrections to css: removed background image for some cells with .header css class - MyMobile theme disabled cells highlighting, make sure it disables it in all cases Merged/squashed original commit Mary Evans who: - removed theme/bootstrapbase/less/moodle/grade.less - removed @import "moodle/grade"; from bootstrapbase/less/moodle.less - removed reference to plugins_exclude_sheets for grader in both bootstrapbase/config.php and clean themes/config.php - commented out .hidden from bootstrapbase/less/bootstrap/responsive_utilities.less - made minor changes to grader/style.css
2013-08-20 13:21:40 +01:00
}
.dir-rtl.path-grade-report-grader .gradeparent .avg .cell {
text-align: left;
}
/**
* Content styling.
*/
.path-grade-report-grader .gradeparent .heading .cell .iconsmall {
/* Fixes inconsistencies in cell height on IE. */
padding-top: 0;
padding-bottom: 0;
}
.path-grade-report-grader .gradeparent .sorticon {
margin-left: 3px;
}
.dir-rtl.path-grade-report-grader .gradeparent .sorticon {
margin-left: 0;
margin-right: 3px;
}
.path-grade-report-grader .gradeparent .gradevalue {
display: inline-block;
}
.path-grade-report-grader span.gradepass {
color: #298721;
}
.path-grade-report-grader span.gradefail {
color: #890d0d;
}
.path-grade-report-grader .gradeparent tr:nth-child(n) td.overridden:nth-child(n) {
/* Made very specific to override the default stripped style of the table. */
background-color: #efd9a4;
}
.path-grade-report-grader .gradeparent tr:nth-child(n) td.ajaxoverridden:nth-child(n) {
/* Made very specific to override the default stripped style of the table. */
background-color: #ffe3a0;
}
.path-grade-report-grader .gradeparent .excludedfloater {
font-weight: bold;
color: red;
font-size: 9px;
float: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .excludedfloater {
float: right;
}
.path-grade-report .gradeparent .floater .controls.cell,
.path-grade-report-grader .gradeparent .controls {
background-color: #f3ead8;
}
.path-grade-report-grader .gradeparent .category {
text-align: left;
}
.dir-rtl.path-grade-report-grader .gradeparent .category {
text-align: right;
}
/**
* Editing fields.
*/
.path-grade-report-grader .gradeparent select {
margin: 0;
padding: 0;
}
.path-grade-report-grader .gradeparent .text {
border: 1px solid #666;
width: auto;
margin: 0;
padding: 0;
text-align: center;
}
.path-grade-report-grader .gradeparent .quickfeedback {
border: 1px dashed #000;
width: auto;
margin: 0;
padding: 0;
margin-left: 10px;
}
.dir-rtl.path-grade-report-grader .gradeparent .quickfeedback {
margin-left: 0;
margin-right: 10px;
}
.path-grade-report-grader .yui3-overlay {
border: 0;
background: none;
background-color: initial;
min-width: 200px;
}
.path-grade-report-grader .yui3-overlay {
background-color: white;
width: auto;
padding: 10px;
font-size: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}