moodle/grade/report/grader/styles.css
Frederic Massart d688ee6d33 MDL-47027 gradereport_grader: Styling when editing is turned on
This issue is a part of the MDL-46658 Task.
This issue is a part of the MDL-25544 Epic.
2014-10-03 15:44:04 +08:00

212 lines
3.5 KiB
CSS

/**
* Container.
*/
.gradeparent {
position: relative;
}
/**
* Tooltip and overlay.
*/
.gradeparent .grader-information-tooltip {
min-width: 200px;
}
.gradeparent .graderreportoverlay {
background-color: white;
width: auto;
padding: 10px;
font-size: 12px;
border: 1px solid #ccc;
border-radius: 4px;
}
/**
* The table.
*/
.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 .gradeparent table {
border-left-width: 0;
border-right-width: 1px;
}
/**
* All the cells.
*/
.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 .gradeparent .cell {
border-left-width: 1px;
border-right-width: 0;
text-align: left;
}
/**
* Stripped table.
*/
.gradeparent tr:nth-of-type(even) .cell {
background-color: #f9f9f9;
}
/**
* All the floating divs.
*/
.gradeparent .floater {
display: none;
}
.gradeparent .floating {
display: block;
}
/**
* All the headers + floating cells.
*/
.gradeparent .heading .cell,
.gradeparent .avg .cell,
.gradeparent .user.cell {
font-size: 14px;
font-weight: normal;
text-align: left;
}
.dir-rtl .gradeparent .heading .cell,
.dir-rtl .gradeparent .avg .cell,
.dir-rtl .gradeparent .user.cell {
text-align: right;
}
/**
* All the floating cells.
*/
.gradeparent .floater .cell {
background-color: #f9f9f9;
}
/**
* The user cells.
*/
.gradeparent .user.cell {
min-width: 200px;
width: 200px;
white-space: normal;
vertical-align: top;
}
.gradeparent .user.cell .userpicture {
margin: 0 4px;
border: none;
vertical-align: middle;
}
/**
* The additional user fields.
*/
.gradeparent .userfield {
font-weight: normal;
text-align: left;
}
.dir-rtl .gradeparent .userfield {
text-align: right;
}
/**
* The footer's header.
*/
.gradeparent .avg .header {
font-weight: bold;
}
/**
* The footer's floating cells.
*/
.gradeparent .avg.floating .cell {
border-top-width: 1px;
}
/**
* The footer's cells.
*/
.gradeparent .avg .cell {
text-align: right;
}
.dir-rtl .gradeparent .avg .cell {
text-align: left;
}
/**
* Content styling.
*/
.gradeparent .heading .cell .iconsmall {
/* Fixes inconsistencies in cell height on IE. */
padding-top: 0;
padding-bottom: 0;
}
.gradeparent .sorticon {
margin-left: 3px;
}
.dir-rtl .gradeparent .sorticon {
margin-left: 0;
margin-right: 3px;
}
.gradeparent .gradevalue {
display: inline-block;
}
.gradeparent .overridden {
background-color: #efd9a4;
}
.gradeparent .excludedfloater {
font-weight: bold;
color: red;
font-size: 9px;
float: left;
}
.dir-rtl .gradeparent .excludedfloater {
float: right;
}
.gradeparent .controls {
background-color: #f3ead8;
}
.gradeparent .category {
text-align: left;
}
.dir-rtl .gradeparent .category {
text-align: right;
}
/**
* Editing fields.
*/
.gradeparent select {
margin: 0;
padding: 0;
}
.gradeparent .text {
border: 1px solid #666;
width: auto;
margin: 0;
padding: 0;
text-align: center;
}
.gradeparent .quickfeedback {
border: 1px dashed #000;
width: auto;
margin: 0;
padding: 0;
margin-left: 10px;
}
.dir-rtl .gradeparent .quickfeedback {
margin-left: 0;
margin-right: 10px;
}