Skip to content

Commit

Permalink
MDL-39798 theme_bootstrapbase: Improve layout for course participatio…
Browse files Browse the repository at this point in the history
…n reports.
  • Loading branch information
gjb2048 committed Jun 8, 2013
1 parent 1430866 commit 35b76a3
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
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ body {
@import "moodle/blocks"; @import "moodle/blocks";
@import "moodle/forms"; @import "moodle/forms";
@import "moodle/modules"; @import "moodle/modules";
@import "moodle/reports";
@import "moodle/backup-restore"; @import "moodle/backup-restore";
@import "moodle/tables"; @import "moodle/tables";
@import "moodle/buttons"; @import "moodle/buttons";
Expand Down
18 changes: 18 additions & 0 deletions theme/bootstrapbase/less/moodle/reports.less
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,18 @@
/* reports.less */

// The home for small tweaks to reports that don't require
// changes drastic enough to pull in the full module css
// and replace it completely.

#page-report-participation-index .participationselectform div label { // Using 'div' here to override the report styles.css
display: inline;
margin: 0 5px; // No top and bottom margin with a 5px left and right for LTR and RTL.
}

#page-report-participation-index.dir-ltr .participationselectform div label[for=menuinstanceid] {
margin-left: 0px; // No left margin for LTR.
}

#page-report-participation-index.dir-rtl .participationselectform div label[for=menuinstanceid] {
margin-right: 0px; // No right margin for RTL.
}
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit 35b76a3

Please sign in to comment.