Skip to content

Commit

Permalink
MDL-46950 gradereport_grader: Prettier styling for base and clean
Browse files Browse the repository at this point in the history
This issue is a part of the MDL-46658 Task.
This issue is a part of the MDL-25544 Epic.
  • Loading branch information
Frederic Massart authored and andrewnicols committed Oct 3, 2014
1 parent 31819e8 commit 62e11d3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
17 changes: 15 additions & 2 deletions grade/report/grader/styles.css
Expand Up @@ -42,6 +42,13 @@
vertical-align: middle;
}

/**
* Stripped table.
*/
.gradeparent tr:nth-of-type(even) .cell {
background-color: #f9f9f9;
}

/**
* All the floating divs.
*/
Expand All @@ -53,14 +60,20 @@
}

/**
* All the header/floating cells.
* All the headers + floating cells.
*/
.gradeparent .heading .cell,
.gradeparent .avg .cell,
.gradeparent .user.cell {
font-size: 14px;
font-weight: normal;
background-color: #eee;
}

/**
* All the floating cells.
*/
.gradeparent .floater .cell {
background-color: #f9f9f9;
}

/**
Expand Down
19 changes: 19 additions & 0 deletions theme/bootstrapbase/less/moodle/grade.less
Expand Up @@ -230,3 +230,22 @@
}
}
}

/**
* Grader report.
*/
.path-grade-report {
.gradeparent {
table {
.border-radius(@baseBorderRadius);
}
table,
.cell {
border-color: @tableBorder;
}
tr:nth-of-type(even) .cell,
.floater .cell {
background-color: @tableBackgroundAccent;
}
}
}
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 62e11d3

Please sign in to comment.