MDL-41152 theme_bootstrapbase: Optimise width for gradebook tree view

This commit is contained in:
Frederic Massart
2014-01-09 10:44:40 +01:00
parent e71a5333a3
commit 9a093f57a1
3 changed files with 20 additions and 1 deletions
+1
View File
@@ -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
@@ -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;
}
}
File diff suppressed because one or more lines are too long