MDL-46962 gradereport_grader: Correct positioning when using RTL languages
[moodle.git] / grade / report / grader / styles.css
CommitLineData
f79776cb
FM
1.gradeparent {
2 position: relative;
3}
4
6ad1af09
AN
5.gradeparent .grader-information-tooltip {
6 min-width: 200px;
870e2795 7}
2c4a3f75 8
6ad1af09
AN
9.gradeparent .graderreportoverlay {
10 background-color: white;
fb95da6f 11 width: auto;
6ad1af09
AN
12 padding: 10px;
13 border-color: #ddd;
6f0bab68 14 font-size: 12px;
6ad1af09
AN
15 box-shadow: #999999 2px 2px 3px;
16 border-radius: 4px;
17}
18
19.gradebook-header-cell,
20.gradeparent table th {
21 font-size: 14px;
22 font-weight: normal;
23 padding: 4px 5px 4px 5px;
24 border: 0 solid #ddd;
25 border-left-width: 1px;
26 border-top-width: 1px;
27}
28
29/* General table properties */
30.gradeparent table td,
31.gradeparent table th,
32.gradeparent .cell,
33.gradebook-footer-cell,
34.gradebook-user-cell {
35 padding: 4px 5px;
4e2b37db 36 vertical-align: middle;
dc482cfa 37}
2c4a3f75 38
6ad1af09
AN
39/* Grade Item titles */
40.gradebook-header-cell,
41.gradebook-header-cell,
42#gradebook-user-header-container,
43.gradeparent tr.heading th.item,
44.gradeparent tr.heading th.courseitem,
45.gradeparent tr.heading th.userfield,
46#studentheader {
47 white-space: nowrap;
48 background-color: #333;
49}
50
51.gradeparent .gradebook-header-cell.item,
52.gradeparent .gradebook-header-cell.item a,
53.gradeparent .gradebook-header-cell.courseitem,
54.gradeparent .gradebook-header-cell.courseitem a,
55.gradeparent .gradebook-header-cell.userfield,
56.gradeparent .gradebook-header-cell.userfield a,
57.gradeparent #gradebook-user-header-container,
58.gradeparent #gradebook-user-header-container a,
59.gradeparent .gradebook-user-cell,
60.gradeparent .gradebook-user-cell a,
61.gradeparent tr.heading th.item,
62.gradeparent tr.heading th.item a,
63.gradeparent tr.heading th.courseitem,
64.gradeparent tr.heading th.courseitem a,
65.gradeparent tr.heading th.userfield,
66.gradeparent tr.heading th.userfield a,
67.gradeparent th a,
68.gradeparent #studentheader a {
69 color: #fff;
70}
71
72/* The username cells */
f79776cb
FM
73.gradebook-user-cell {
74 border-width: 1px 0 0 1px;
75 border-style: solid;
76}
77
6ad1af09
AN
78.gradebook-user-cell,
79.gradeparent th.user {
6ad1af09
AN
80 padding: 4px;
81 min-width: 200px;
6ad1af09
AN
82 width: 200px;
83 border-color: #666666;
84 border-right-width: 1px;
85 border-left: none;
86 background-color: #333;
87 color: #ddd;
88}
89
90.gradebook-user-cell:nth-child(odd),
91.gradeparent tr:nth-child(odd) th.user {
92 background-color: #777;
93}
94
95.gradebook-user-cell:nth-child(even),
96.gradeparent tr:nth-child(even) th.user {
97 background-color: #5c5c5c;
98}
99
100.gradebook-user-cell .userpicture,
101.gradeparent th.user .userpicture {
102 margin-right: 4px;
103 border-radius: 50px;
104 border: none;
105 vertical-align: top;
2c4a3f75
AR
106}
107
6ad1af09
AN
108/* The top-left user header cell */
109#gradebook-user-header-container,
110#studentheader {
111 padding: 4px 5px;
112 border-top: 1px solid #ddd;
2c4a3f75
AR
113}
114
6ad1af09
AN
115#studentheader {
116 border-left: none;
2c4a3f75
AR
117}
118
6ad1af09
AN
119/* The footer row */
120.gradebook-footer-cell,
121.gradeparent .gradevalue,
122.gradeparent .avg .cell {
123 text-align: center;
124 width: 100%;
2c4a3f75
AR
125}
126
6ad1af09
AN
127.gradeparent .gradevalue {
128 display: inline-block;
2c4a3f75
AR
129}
130
6ad1af09
AN
131.gradeparent table#user-grades tr.avg th,
132.gradeparent table#user-grades tr.avg td,
133.gradebook-footer-cell {
134 padding: 8px;
135 background-color: #333;
136 color: white;
137 font-weight: bold;
138 text-align: center;
139 border: 1px solid #444;
140 border-right: 0;
141 -webkit-box-sizing: border-box;
142 -moz-box-sizing: border-box;
143 box-sizing: border-box;
edb7d5ad 144}
4e2b37db 145
6ad1af09
AN
146#gradebook-footer-container.gradebook-footer-row-sticky {
147 background-color: #444;
148 display: block;
149 border-bottom: 0px solid #444;
6f0bab68
ME
150}
151
6ad1af09
AN
152.gradebook-footer-cell:first-child,
153.gradeparent table#user-grades tr.avg th.range {
154 text-align: right;
19213efb 155}
8c97393c
ME
156
157/** MDL-46812 **/
158#page-grade-report-grader-index.jsenabled .right_scroller.topscroll {
159 background-color: #ececec;
160 height: 20px;
161 margin: 0;
162 padding: 0;
163}
164#page-grade-report-grader-index.jsenabled .topscrollcontent {
165 background-color: #ececec;
166 height: 20px;
167}
168.jsenabled.path-grade-report-grader .left_scroller {
169 border-top: 20px solid #ececec;
170}