MDL-41152 theme_bootstrapbase: Optimise width for gradebook tree view
[moodle.git] / theme / bootstrapbase / less / moodle / grade.less
CommitLineData
138eb087
FM
1// The class gradetreebox matches the pages displaying the gradebook
2// "Categories and items" > "Simple view" and "Full view".
3.gradetreebox {
4 h4 {
5 // Force back the base font-size to minimise width.
6 font-size: @baseFontSize;
7 }
8 th.cell,
9 input[type=text] {
10 // Fallback on the minimum width.
11 width: auto;
12 }
13 input[type=text],
14 select {
15 // Remove the bottom margin to gain height.
16 margin-bottom: 0;
17 }
18}