Merge branch 'MDL-45290-master' of git://github.com/jethac/moodle
[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 }
19213efb
AO
18}
19
20#page-grade-report-grader-index {
21 .topscrollcontent {
22 height: 1px;
23 }
24
25 #user-grades {
26 margin-top: 4px;
27 }
28}
73eb9f43
JC
29
30// Rubrics
31#page-grade-grading-manage {
32 #activemethodselector {
33 label {
34 display: inline-block;
35 }
36 .helptooltip {
37 margin-right: 0.5em;
38 }
39 }
40 .actions {
41 display: block;
42 text-align: center;
43 margin-bottom: 1em;
44 .action {
45 .btn();
46 .btn-large();
47 display: inline-block;
48 position: relative;
49 width: 150px;
50 text-align: center;
51 overflow: hidden;
52 margin: 0.5em;
53 padding: 1em;
54 border: 1px solid #aaa;
55 .action-icon {
56 display: inline-block;
57 position: relative;
58 height: 64px;
59 width: 64px;
60 }
61 .action-text {
62 position: relative;
63 top: 0.4em;
64 font-size: 16px;
65 }
66 }
67 }
68}
69
70#page-grade-grading-form-rubric-edit {
71 .gradingform_rubric_editform .status {
72 font-size: 70%;
73 }
74}
75
76#rubric-rubric {
77 &.gradingform_rubric {
78 #rubric-criteria {
79 margin-bottom: 1em;
80 @rubricPadding: 6px;
81 .criterion {
82 .description {
83 vertical-align: top;
84 padding: @rubricPadding;
85 textarea {
86 margin-bottom: 0px;
87 height: 115px;
88 }
89 }
90 .definition {
91 textarea {
92 width: 80%;
93 margin-bottom: 0px;
94 }
95 }
96 .score {
97 position: relative;
98 float: left;
99 margin-right: 28px;
100 input {
101 margin-bottom: 0px;
102 }
103 }
104 .level {
105 vertical-align: top;
106 padding: @rubricPadding;
107 .delete {
108 position: relative;
109 width: 32px;
110 float: right;
111 input {
112 display: block;
113 position: absolute;
114 right: 0;
115 bottom: 0;
116 height: 24px;
117 width: 24px;
118 margin: 0;
119 &:hover {
120 background-color: #ddd;
121 }
122 }
123 }
124 }
125 .scorevalue {
126 input {
127 width: 20%;
128 }
129 }
130 .addlevel {
131 vertical-align: middle;
132 input {
133 .btn();
134 background-position: 0px 0px;
135 height: 30px;
136 margin-right: 5px;
137 }
138 }
139 }
140 }
141 .addcriterion {
142 margin-left: 5px;
143 .btn();
144 padding: 0;
145 input {
146 margin: 0;
147 color: inherit;
148 text-shadow: inherit;
149 border: 0px none;
150 line-height: inherit;
151 background: transparent url([[pix:t/add]]) no-repeat 7px 8px;
152 padding-left: 26px;
153 }
154 margin-bottom:1em;
155 }
156 .options {
157 clear: both;
158 .option {
159 label {
160 margin: 0;
161 padding: 0;
162 font-size: inherit;
163 font-weight: normal;
164 line-height: 2em;
165 color: inherit;
166 text-shadow: none;
167 background-color: transparent;
168 }
169 input {
170 margin-left: 5px;
171 margin-right: 12px;
172 }
173 }
174 }
175 }
176}