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