MDL-46658 gradereport_grader: Style the ajax editing error
[moodle.git] / grade / report / grader / styles.css
CommitLineData
31819e89
FM
1/**
2 * Container.
3 */
6821f731 4.path-grade-report-grader .gradeparent {
f79776cb
FM
5 position: relative;
6}
7
31819e89
FM
8/**
9 * Tooltip and overlay.
10 */
6821f731 11.path-grade-report-grader .gradeparent .grader-information-tooltip {
6ad1af09 12 min-width: 200px;
870e2795 13}
6821f731 14.path-grade-report-grader .gradeparent .graderreportoverlay {
6ad1af09 15 background-color: white;
fb95da6f 16 width: auto;
6ad1af09 17 padding: 10px;
6f0bab68 18 font-size: 12px;
31819e89 19 border: 1px solid #ccc;
6ad1af09
AN
20 border-radius: 4px;
21}
22
31819e89
FM
23/**
24 * The table.
25 */
6821f731 26.path-grade-report-grader .gradeparent table {
31819e89
FM
27 border: 1px solid #ccc;
28 border-collapse: separate;
29 border-spacing: 0;
30 border-bottom-width: 0;
31 border-right-width: 0;
d688ee6d 32 margin-bottom: 2em;
31819e89 33}
6821f731 34.dir-rtl .path-grade-report-grader .gradeparent table {
b0cade11
FM
35 border-left-width: 0;
36 border-right-width: 1px;
37}
31819e89
FM
38
39/**
40 * All the cells.
41 */
6821f731 42.path-grade-report-grader .gradeparent .cell {
31819e89
FM
43 border: 1px solid #ccc;
44 border-top-width: 0;
45 border-left-width: 0;
6ad1af09 46 padding: 4px 5px;
4e2b37db 47 vertical-align: middle;
d688ee6d
FM
48 text-align: right;
49 white-space: nowrap;
dc482cfa 50}
6821f731 51.dir-rtl .path-grade-report-grader .gradeparent .cell {
b0cade11
FM
52 border-left-width: 1px;
53 border-right-width: 0;
d688ee6d 54 text-align: left;
b0cade11 55}
2c4a3f75 56
62e11d37
FM
57/**
58 * Stripped table.
59 */
6821f731 60.path-grade-report-grader .gradeparent tr:nth-of-type(even) .cell {
62e11d37
FM
61 background-color: #f9f9f9;
62}
63
31819e89
FM
64/**
65 * All the floating divs.
66 */
6821f731 67.path-grade-report-grader .gradeparent .floater {
31819e89
FM
68 display: none;
69}
6821f731 70.path-grade-report-grader .gradeparent .floating {
31819e89 71 display: block;
6ad1af09
AN
72}
73
31819e89 74/**
62e11d37 75 * All the headers + floating cells.
31819e89 76 */
6821f731
AN
77.path-grade-report-grader .gradeparent .heading .cell,
78.path-grade-report-grader .gradeparent .avg .cell,
79.path-grade-report-grader .gradeparent .user.cell {
31819e89
FM
80 font-size: 14px;
81 font-weight: normal;
d688ee6d
FM
82 text-align: left;
83}
6821f731
AN
84.dir-rtl .path-grade-report-grader .gradeparent .heading .cell,
85.dir-rtl .path-grade-report-grader .gradeparent .avg .cell,
86.dir-rtl .path-grade-report-grader .gradeparent .user.cell {
d688ee6d 87 text-align: right;
62e11d37
FM
88}
89
90/**
91 * All the floating cells.
92 */
6821f731 93.path-grade-report-grader .gradeparent .floater .cell {
62e11d37 94 background-color: #f9f9f9;
6ad1af09
AN
95}
96
31819e89
FM
97/**
98 * The user cells.
99 */
6821f731 100.path-grade-report-grader .gradeparent .user.cell {
6ad1af09 101 min-width: 200px;
6ad1af09 102 width: 200px;
d688ee6d
FM
103 white-space: normal;
104 vertical-align: top;
6ad1af09 105}
6821f731 106.path-grade-report-grader .gradeparent .user.cell .userpicture {
31819e89 107 margin: 0 4px;
6ad1af09 108 border: none;
d688ee6d 109 vertical-align: middle;
2c4a3f75
AR
110}
111
31819e89
FM
112/**
113 * The additional user fields.
114 */
6821f731 115.path-grade-report-grader .gradeparent .userfield {
31819e89 116 font-weight: normal;
d688ee6d
FM
117 text-align: left;
118}
6821f731 119.dir-rtl .path-grade-report-grader .gradeparent .userfield {
d688ee6d 120 text-align: right;
2c4a3f75
AR
121}
122
31819e89
FM
123/**
124 * The footer's header.
125 */
6821f731
AN
126.path-grade-report-grader .gradeparent .range .header,
127.path-grade-report-grader .gradeparent .avg .header {
31819e89 128 font-weight: bold;
2c4a3f75
AR
129}
130
31819e89 131/**
d688ee6d 132 * The footer's floating cells.
31819e89 133 */
6821f731 134.path-grade-report-grader .gradeparent .avg.floating .cell {
31819e89 135 border-top-width: 1px;
2c4a3f75 136}
d688ee6d 137
31819e89 138/**
d688ee6d 139 * The footer's cells.
31819e89 140 */
6821f731 141.path-grade-report-grader .gradeparent .avg .cell {
31819e89 142 text-align: right;
edb7d5ad 143}
6821f731 144.dir-rtl .path-grade-report-grader .gradeparent .avg .cell {
b0cade11
FM
145 text-align: left;
146}
4e2b37db 147
31819e89
FM
148/**
149 * Content styling.
150 */
6821f731 151.path-grade-report-grader .gradeparent .heading .cell .iconsmall {
31819e89
FM
152 /* Fixes inconsistencies in cell height on IE. */
153 padding-top: 0;
154 padding-bottom: 0;
155}
6821f731 156.path-grade-report-grader .gradeparent .sorticon {
31819e89
FM
157 margin-left: 3px;
158}
6821f731 159.dir-rtl .path-grade-report-grader .gradeparent .sorticon {
31819e89
FM
160 margin-left: 0;
161 margin-right: 3px;
162}
6821f731 163.path-grade-report-grader .gradeparent .gradevalue {
31819e89 164 display: inline-block;
19213efb 165}
6821f731 166.path-grade-report-grader .gradeparent tr:nth-child(n) td.overridden:nth-child(n) {
457a113e 167 /* Made very specific to override the default stripped style of the table. */
d688ee6d
FM
168 background-color: #efd9a4;
169}
6821f731 170.path-grade-report-grader .gradeparent tr:nth-child(n) td.ajaxoverridden:nth-child(n) {
457a113e
FM
171 /* Made very specific to override the default stripped style of the table. */
172 background-color: #ffe3a0;
173}
6821f731 174.path-grade-report-grader .gradeparent .excludedfloater {
d688ee6d
FM
175 font-weight: bold;
176 color: red;
177 font-size: 9px;
178 float: left;
179}
6821f731 180.dir-rtl .path-grade-report-grader .gradeparent .excludedfloater {
d688ee6d
FM
181 float: right;
182}
33bc816e
AN
183
184.path-grade-report .gradeparent .floater .controls.cell,
6821f731 185.path-grade-report-grader .gradeparent .controls {
d688ee6d
FM
186 background-color: #f3ead8;
187}
6821f731 188.path-grade-report-grader .gradeparent .category {
d688ee6d
FM
189 text-align: left;
190}
6821f731 191.dir-rtl .path-grade-report-grader .gradeparent .category {
d688ee6d
FM
192 text-align: right;
193}
8c97393c 194
d688ee6d
FM
195/**
196 * Editing fields.
197 */
6821f731 198.path-grade-report-grader .gradeparent select {
d688ee6d
FM
199 margin: 0;
200 padding: 0;
201}
6821f731 202.path-grade-report-grader .gradeparent .text {
d688ee6d
FM
203 border: 1px solid #666;
204 width: auto;
8c97393c
ME
205 margin: 0;
206 padding: 0;
d688ee6d 207 text-align: center;
8c97393c 208}
6821f731 209.path-grade-report-grader .gradeparent .quickfeedback {
d688ee6d
FM
210 border: 1px dashed #000;
211 width: auto;
212 margin: 0;
213 padding: 0;
214 margin-left: 10px;
8c97393c 215}
6821f731 216.dir-rtl .path-grade-report-grader .gradeparent .quickfeedback {
d688ee6d
FM
217 margin-left: 0;
218 margin-right: 10px;
8c97393c 219}
b55d37f0
AN
220
221.path-grade-report-grader .yui3-overlay {
222 border: 0;
223 background: none;
224 background-color: initial;
225 min-width: 200px;
226}
227
228.path-grade-report-grader .yui3-overlay {
229 background-color: white;
230 width: auto;
231 padding: 10px;
232 font-size: 12px;
233 border: 1px solid #ccc;
234 border-radius: 4px;
235}