moodle/grade/report/grader/styles.css

171 lines
3.8 KiB
CSS
Raw Normal View History

.gradeparent {
position: relative;
}
.gradeparent .grader-information-tooltip {
min-width: 200px;
}
.gradeparent .graderreportoverlay {
background-color: white;
width: auto;
padding: 10px;
border-color: #ddd;
font-size: 12px;
box-shadow: #999999 2px 2px 3px;
border-radius: 4px;
}
.gradebook-header-cell,
.gradeparent table th {
font-size: 14px;
font-weight: normal;
padding: 4px 5px 4px 5px;
border: 0 solid #ddd;
border-left-width: 1px;
border-top-width: 1px;
}
/* General table properties */
.gradeparent table td,
.gradeparent table th,
.gradeparent .cell,
.gradebook-footer-cell,
.gradebook-user-cell {
padding: 4px 5px;
vertical-align: middle;
}
/* Grade Item titles */
.gradebook-header-cell,
.gradebook-header-cell,
#gradebook-user-header-container,
.gradeparent tr.heading th.item,
.gradeparent tr.heading th.courseitem,
.gradeparent tr.heading th.userfield,
#studentheader {
white-space: nowrap;
background-color: #333;
}
.gradeparent .gradebook-header-cell.item,
.gradeparent .gradebook-header-cell.item a,
.gradeparent .gradebook-header-cell.courseitem,
.gradeparent .gradebook-header-cell.courseitem a,
.gradeparent .gradebook-header-cell.userfield,
.gradeparent .gradebook-header-cell.userfield a,
.gradeparent #gradebook-user-header-container,
.gradeparent #gradebook-user-header-container a,
.gradeparent .gradebook-user-cell,
.gradeparent .gradebook-user-cell a,
.gradeparent tr.heading th.item,
.gradeparent tr.heading th.item a,
.gradeparent tr.heading th.courseitem,
.gradeparent tr.heading th.courseitem a,
.gradeparent tr.heading th.userfield,
.gradeparent tr.heading th.userfield a,
.gradeparent th a,
.gradeparent #studentheader a {
color: #fff;
}
/* The username cells */
.gradebook-user-cell {
border-width: 1px 0 0 1px;
border-style: solid;
}
.gradebook-user-cell,
.gradeparent th.user {
padding: 4px;
min-width: 200px;
width: 200px;
border-color: #666666;
border-right-width: 1px;
border-left: none;
background-color: #333;
color: #ddd;
}
.gradebook-user-cell:nth-child(odd),
.gradeparent tr:nth-child(odd) th.user {
background-color: #777;
}
.gradebook-user-cell:nth-child(even),
.gradeparent tr:nth-child(even) th.user {
background-color: #5c5c5c;
}
.gradebook-user-cell .userpicture,
.gradeparent th.user .userpicture {
margin-right: 4px;
border-radius: 50px;
border: none;
vertical-align: top;
}
/* The top-left user header cell */
#gradebook-user-header-container,
#studentheader {
padding: 4px 5px;
border-top: 1px solid #ddd;
}
#studentheader {
border-left: none;
}
/* The footer row */
.gradebook-footer-cell,
.gradeparent .gradevalue,
.gradeparent .avg .cell {
text-align: center;
width: 100%;
}
.gradeparent .gradevalue {
display: inline-block;
}
.gradeparent table#user-grades tr.avg th,
.gradeparent table#user-grades tr.avg td,
.gradebook-footer-cell {
padding: 8px;
background-color: #333;
color: white;
font-weight: bold;
text-align: center;
border: 1px solid #444;
border-right: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
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
}
#gradebook-footer-container.gradebook-footer-row-sticky {
background-color: #444;
display: block;
border-bottom: 0px solid #444;
}
.gradebook-footer-cell:first-child,
.gradeparent table#user-grades tr.avg th.range {
text-align: right;
}
/** MDL-46812 **/
#page-grade-report-grader-index.jsenabled .right_scroller.topscroll {
background-color: #ececec;
height: 20px;
margin: 0;
padding: 0;
}
#page-grade-report-grader-index.jsenabled .topscrollcontent {
background-color: #ececec;
height: 20px;
}
.jsenabled.path-grade-report-grader .left_scroller {
border-top: 20px solid #ececec;
}