Skip to content

Commit

Permalink
MDL-41152 theme_bootstrapbase: Optimise width for gradebook tree view
Browse files Browse the repository at this point in the history
  • Loading branch information
FMCorz committed Jan 9, 2014
1 parent e71a533 commit 9a093f5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions theme/bootstrapbase/less/moodle.less
Expand Up @@ -48,6 +48,7 @@ body {
@import "moodle/backup-restore";
@import "moodle/tables";
@import "moodle/buttons";
@import "moodle/grade";

// Anything below this line is considered expendable,
// so it doesn't matter if it doesn't show up in ie < 9
Expand Down
18 changes: 18 additions & 0 deletions theme/bootstrapbase/less/moodle/grade.less
@@ -0,0 +1,18 @@
// The class gradetreebox matches the pages displaying the gradebook
// "Categories and items" > "Simple view" and "Full view".
.gradetreebox {
h4 {
// Force back the base font-size to minimise width.
font-size: @baseFontSize;
}
th.cell,
input[type=text] {
// Fallback on the minimum width.
width: auto;
}
input[type=text],
select {
// Remove the bottom margin to gain height.
margin-bottom: 0;
}
}
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 9a093f5

Please sign in to comment.