MDL-40347 Fixed gradebook css overwriting in Canvas
[moodle.git] / theme / canvas / style / core.css
CommitLineData
8affa0e2 1html {
df7962f9 2 height: 100%;
8affa0e2
PM
3}
4
5body {
df7962f9
ME
6 min-height: 100%;
7 margin: 0;
8 padding: 0;
9}
10
11#page {
5fc36f55 12 font-size: 108%;
df7962f9 13 line-height: 1.4;
8affa0e2
PM
14}
15
43d65a95 16.sitetopic {
df7962f9 17 border: none;
43d65a95
PM
18}
19
34d2c672 20#notice {
df7962f9 21 text-align: center;
34d2c672
PM
22}
23
34d2c672 24.noticebox,
e1edeb40
PM
25.expired,
26.notopenyet,
f41046c7
PM
27.notifysuccess,
28.notifyproblem,
29.errorbox,
90e957bc 30.continuebutton,
a79db405 31.singlebutton,
8d773a88 32.buttons {
df7962f9
ME
33 text-align: center;
34 margin: 1em 0;
43d65a95
PM
35}
36
8affa0e2 37.navbutton .singlebutton {
df7962f9 38 margin: 0;
8affa0e2
PM
39}
40
43d65a95 41.generalbox {
df7962f9 42 border-color: #ddd;
43d65a95 43}
a79db405 44
34d2c672 45.noticebox .generalbox {
df7962f9
ME
46 border: none;
47 margin:2em 0;
34d2c672
PM
48}
49
e1edeb40 50.expired,
43d65a95 51.notopenyet {
df7962f9
ME
52 border: none;
53 color: #f00;
43d65a95
PM
54}
55
56.buttons .singlebutton input {
df7962f9 57 margin: 0 1em;
43d65a95
PM
58}
59
60.initialbar {
df7962f9 61 text-align: center;
43d65a95 62}
e1edeb40 63
43d65a95 64.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
df7962f9 65 padding-right: 0;
43d65a95 66}
f41046c7 67
43d65a95 68.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
df7962f9 69 padding-left: 0;
43d65a95 70}
e1edeb40 71
7843d2d6 72/* Calendar
4db41cbd 73-------------------------*/
f41046c7 74
43d65a95 75.calendarlayout .sidecalendar {
df7962f9 76 padding-left: 15px;
43d65a95
PM
77}
78
8c2b51bf 79.minicalendarblock h3 {
df7962f9
ME
80 text-align: center;
81 font-size: 1.2em;
43d65a95
PM
82}
83
84.maincalendar .header .buttons {
df7962f9 85 margin: 0;
43d65a95
PM
86}
87
f41046c7 88.maincalendar .calendarmonth td,
43d65a95 89.maincalendar .calendarmonth th {
df7962f9
ME
90 border-color: #ddd;
91 border-style: dotted;
92 border-width: 1px;
43d65a95
PM
93}
94
f41046c7 95.maincalendar .calendarmonth th,
8c2b51bf 96.minicalendar th {
080fbe68 97 background: none;
43d65a95
PM
98}
99
100.maincalendar .calendar-controls {
df7962f9 101 padding: 10px 5px 0;
43d65a95 102}
f41046c7 103
f41046c7
PM
104.maincalendar .calendar-controls .previous,
105.maincalendar .calendar-controls .current,
43d65a95 106.maincalendar .calendar-controls .next {
df7962f9 107 float: left;
43d65a95
PM
108}
109
110.maincalendar .calendar-controls .current {
df7962f9
ME
111 margin: 0 auto;
112 font-size: 1.35em;
113 text-align: center;
114 line-height: 1;
115 font-weight: bold;
43d65a95
PM
116}
117
118.maincalendar .calendar-controls .next {
df7962f9 119 text-align: right;
43d65a95
PM
120}
121
122.maincalendar .filters table td {
df7962f9 123 font-size: 0.9em;
43d65a95
PM
124}
125
126.maincalendar .bottom {
df7962f9 127 margin-top: 25px;
43d65a95
PM
128}
129
130.minicalendar th abbr {
df7962f9 131 border: none;
43d65a95 132}
f41046c7 133
8c2b51bf 134.calendar_filters td,
f41046c7 135.minicalendar td,
43d65a95 136.minicalendar th {
df7962f9
ME
137 padding: 2px;
138 font-size: 0.85em;
43d65a95
PM
139}
140
141#page-calendar-view .eventlist {
df7962f9 142 padding-top: 1em;
43d65a95
PM
143}
144
145#page-calendar-view .eventlist .event {
df7962f9 146 border: none;
43d65a95
PM
147}
148
149#page-calendar-view .eventlist .event .topic {
df7962f9
ME
150 border-width: 1px 1px 0;
151 border-color: #ddd;
152 border-style: solid;
153 background: #f5f5f5;
43d65a95
PM
154}
155
156#page-calendar-view .eventlist .event .topic .name {
df7962f9 157 font-weight: bold;
43d65a95
PM
158}
159
160#page-calendar-view .eventlist .event .description {
df7962f9
ME
161 border-width: 0 1px 1px;
162 border-style: solid;
163 border-color: #ddd;
43d65a95
PM
164}
165
166.calendartable .duration ul {
df7962f9
ME
167 border-width: 2px 0;
168 border-style: solid;
43d65a95
PM
169}
170
171.calendartable .duration_user ul {
df7962f9 172 border-color: #dce7ec;
43d65a95
PM
173}
174
175.calendartable .duration_global ul {
df7962f9 176 border-color: #d6f8cd;
43d65a95
PM
177}
178
179.calendartable .duration_group ul {
df7962f9 180 border-color: #fee7ae;
43d65a95
PM
181}
182
183.calendartable .duration_course ul {
df7962f9 184 border-color: #ffd3bd;
43d65a95
PM
185}
186
187.calendartable .duration .events-underway {
df7962f9 188 color: #666;
43d65a95
PM
189}
190
191.minicalendar {
df7962f9 192 border-collapse: separate;
43d65a95
PM
193}
194
f41046c7 195.minicalendar td,
43d65a95 196.minicalendar th {
df7962f9
ME
197 font-size: 0.85em;
198 padding: 0 2px;
199 border-width: 2px 0;
200 border-color: #fff;
43d65a95 201}
f41046c7
PM
202
203.minicalendar .calendar_event_user,
43d65a95 204.minicalendar .duration_user {
df7962f9 205 border-color: #dce7ec;
43d65a95
PM
206}
207
f41046c7 208.minicalendar .calendar_event_course,
43d65a95 209.minicalendar .duration_course {
df7962f9 210 border-color: #ffd3bd;
43d65a95
PM
211}
212
f41046c7 213.minicalendar .calendar_event_global,
43d65a95 214.minicalendar .duration_global {
df7962f9 215 border-color: #d6f8cd;
43d65a95
PM
216}
217
f41046c7 218.minicalendar .calendar_event_group,
43d65a95 219.minicalendar .duration_group {
df7962f9 220 border-color: #fee7ae;
43d65a95 221}
a6516782 222
7b4c6d34 223/* User
4db41cbd 224-------------------------*/
7b4c6d34 225
43d65a95 226.userinfobox {
8dc13ee7
SH
227 border-color: #ddd;
228 padding: 0
34d2c672
PM
229}
230
231.userinfobox .content {
df7962f9
ME
232 text-align: left;
233 padding-left:10px
34d2c672 234}
b801e460 235.dir-rtl .userinfobox .content {text-align: right;padding-right:10px;padding-left:0px;}
34d2c672
PM
236
237.userinfobox .links {
df7962f9
ME
238 vertical-align: top;
239 background: #f4f4f4;
240 padding-left: 10px;
34d2c672
PM
241}
242
243.userinfobox .links a {
df7962f9
ME
244 display: block;
245 text-align: left;
43d65a95 246}
9461033d 247.dir-rtl .userinfobox .links a {text-align: right;}
43d65a95 248
8c2b51bf 249.profilepicture {
df7962f9
ME
250 float: left;
251 margin-right: 10px;
29ef7d4f 252}
b801e460 253.dir-rtl .profilepicture {float: right;margin-left: 10px;margin-right: 0px;}
29ef7d4f 254
8c2b51bf 255.descriptionbox {
df7962f9
ME
256 margin-left: 110px;
257 border: 1px solid #ddd;
258 padding: 10px;
6e5d002e 259 width: 80%;
29ef7d4f
PM
260}
261
262.path-user .description {
df7962f9
ME
263 padding-bottom: 15px;
264 border-bottom: 1px solid #eee;
29ef7d4f
PM
265}
266
6e5d002e 267.userprofile dl {
df7962f9 268 margin-top: 10px;
29ef7d4f
PM
269}
270
6e5d002e 271.userprofile dl dt, .userprofile dl dd {
df7962f9
ME
272 padding-top: 3px;
273 padding-bottom: 3px;
6e5d002e
JF
274 float: left;
275}
276
277.dir-rtl .userprofile dl dt, .dir-rtl .userprofile dl dd {
278 float: right;
c111b9f3
DW
279}
280
6e5d002e 281.userprofile dl dt {
df7962f9
ME
282 padding-left: 0;
283 font-weight: bold;
6e5d002e
JF
284 display: inline-block;
285 padding-right: 2%;
286 min-width: 100px;
287 width: 15%;
288 clear: both;
289}
290
291.dir-rtl .userprofile dl dt {
292 padding-left: 2%;
293 padding-right: 0;
294}
295
296.userprofile dl dd {
297 display: inline-block;
298 margin: 0px;
299 width: 75%;
43d65a95
PM
300}
301
302#page-user-view .buttons {
df7962f9
ME
303 text-align: center;
304 width: 70%;
305 margin: 0 auto;
43d65a95
PM
306}
307
308#page-user-view .buttons div {
df7962f9 309 padding: 0 0 10px;
43d65a95 310}
90e957bc 311
43d65a95 312#page-user-index .controls {
df7962f9 313 width: 100%
43d65a95
PM
314}
315
316#page-user-index .controls .singleselect {
df7962f9 317 margin: 0;
43d65a95
PM
318}
319
a211e4c7 320.rolesform {
df7962f9
ME
321 text-align: center;
322 margin: 1em 0;
43d65a95
PM
323}
324
a211e4c7 325#participantsform {
df7962f9 326 text-align: center;
43d65a95
PM
327}
328
a211e4c7 329#participants {
df7962f9
ME
330 width: 100%;
331 margin: 1em auto 0;
43d65a95 332}
a79db405 333
a211e4c7
PM
334#participants th,
335#participants td {
df7962f9 336 vertical-align: middle;
43d65a95 337}
7b4c6d34 338
8dc13ee7
SH
339.groupinfobox {
340 border-color: #DDDDDD;
341 width: 60%;
342 margin-left: 20%;
343 margin-right: 20%;
344}
b60cae86 345
34d2c672
PM
346/* Notes
347------------------------*/
348
349.path-notes .generalbox {
df7962f9 350 border: none;
34d2c672
PM
351}
352
a211e4c7
PM
353/* Roles
354------------------------*/
355
356.path-admin-roles .generaltable {
df7962f9 357 /* width: 65%; hiding because it's causing problems on role/assign */
a211e4c7
PM
358}
359
360.path-admin-roles .generaltable th {
df7962f9 361 vertical-align: middle;
a211e4c7
PM
362}
363
364.path-admin-roles .generaltable .lastcol {
df7962f9 365 width: 15%;
a211e4c7
PM
366}
367
a211e4c7 368.path-admin-roles .backlink {
df7962f9 369 text-align: center;
a211e4c7
PM
370}
371
7843d2d6 372/* Blogs
a211e4c7
PM
373------------------------*/
374
375.blog_entry .audience {
df7962f9
ME
376 color: #444;
377 margin: 0 0 0.5em;
378 font-size: 0.9em;
a211e4c7
PM
379}
380
381.blog_entry .tags {
df7962f9 382 margin-bottom: 0.5em;
a211e4c7
PM
383}
384
7843d2d6 385/* Tags
f41046c7
PM
386------------------------*/
387
43d65a95 388#big-tag-cloud-box {
df7962f9 389 padding: 10px;
43d65a95
PM
390}
391
392#tag-management-box {
df7962f9 393 text-align: center;
43d65a95
PM
394}
395
396.tag-management-form {
df7962f9
ME
397 border: none;
398 padding: 0 0 1em;
43d65a95
PM
399}
400
401#tag-management-list {
df7962f9 402 margin: 1em 0
43d65a95 403}
f41046c7 404
a211e4c7 405#page-tag-index #tag-blogs {
df7962f9
ME
406 border-width: 0 0 1px;
407 width: 65%;
408 margin: 1em auto;
a211e4c7
PM
409}
410
411#tagblogentries {
df7962f9 412 margin: 0 0 1em;
34d2c672
PM
413}
414
415#tagblogentries li {
df7962f9
ME
416 list-style: none;
417 padding: 0.25em 0;
418 margin: 0
34d2c672
PM
419}
420
421#big-tag-cloud-box {
df7962f9 422 border: none;
a211e4c7
PM
423}
424
425#tag-user-table {
df7962f9
ME
426 width: 95%;
427 margin: 0 auto;
428 border-width: 0 0 1px;
a211e4c7
PM
429}
430
34d2c672 431.managelink {
df7962f9 432 text-align: right;
43d65a95 433}
f41046c7 434
43d65a95 435#page-tag-index #tag-management-box {
df7962f9
ME
436 border-bottom: 1px solid #ddd;
437 padding: 4px 0;
43d65a95
PM
438}
439
440#page-tag-index .relatedpages {
df7962f9 441 text-align: center;
43d65a95
PM
442}
443
444#page-tag-manage .lastinitial {
df7962f9 445 margin-bottom: 0.5em;
43d65a95
PM
446}
447
448#page-tag-manage .green {
df7962f9
ME
449 text-align: center;
450 padding: 0 0 1em;
43d65a95 451}
f41046c7 452
7b4c6d34
PM
453/* Embedded Pages
454------------------------*/
455
43d65a95 456.pagelayout-embedded {
df7962f9
ME
457 text-align: center;
458 background-color: #fff;
459 background-image: none;
43d65a95
PM
460}
461
462.pagelayout-embedded #content {
df7962f9 463 padding-top: 30px;
43d65a95 464}
7b4c6d34 465
7843d2d6 466/* Forms
7b4c6d34
PM
467-----------------------*/
468
43d65a95 469.mform .fsubmit {
df7962f9
ME
470 text-align: center;
471 padding: 2px;
43d65a95
PM
472}
473
474.form-label .form-shortname {
df7962f9
ME
475 font-size: 0.8em;
476 color: #777;
43d65a95
PM
477}
478
479.form-description {
df7962f9
ME
480 font-size: 0.95em;
481 color: #444;
43d65a95 482}
a211e4c7 483
bf6d283e
SH
484.path-backup .mform .hidden .fitem .fgroup {
485 text-align: left;
486}
487
488.path-backup .mform .grouped_settings {
489 margin:1em;
490}
491.path-backup .mform .grouped_settings .grouped_settings {
492 margin:0;
493}
494
5581c618
FM
495.mform .btn-cancel {
496 color: #0000EE;
497 text-decoration: none;
498}
499.mform .btn-cancel:hover, .mform .btn-cancel:focus {
500 color: #0000EE;
501 text-decoration: none;
502}
503
34d2c672
PM
504/* Comments
505-----------------------*/
506
507.comment-list li {
df7962f9
ME
508 background: #eee !important;
509 list-style: none;
34d2c672
PM
510}
511
512/* Gradebook
513----------------------*/
514
515.path-grade h1.headermain {
df7962f9 516 text-align: left; /* Strangely necessary TODO: find bug */
34d2c672
PM
517}
518
519.gradestable .lastrow th.header {
df7962f9 520 background: #ddd;
34d2c672
PM
521}
522
63138173
MG
523table#user-grades tr.avg td.cell,
524table#user-grades tr.avg th.cell {
0956dd7b
DW
525 background: #eee;
526}
527
528table#user-grades tr.avg td.vmarked {
529 background-color: #fc3;
34d2c672
PM
530}
531
532.user-grade td.b1t,
533.user-grade td.baggt {
df7962f9 534 background: #ddd !important;
34d2c672
PM
535}
536
537#page-grade-edit-scale-index .generaltable {
df7962f9 538 margin: 1em auto;
34d2c672
PM
539}
540
541#page-grade-report-grader-preferences .generalbox {
df7962f9 542 border: none;
34d2c672
PM
543}
544
545.path-grade-report-grader form {
df7962f9 546 text-align: left;
34d2c672 547}
6abbcf19 548.path-grade-report-grader.dir-rtl form { text-align: right; }
34d2c672 549
a211e4c7
PM
550/* Footer
551-----------------------*/
552
8affa0e2 553#page-footer .logininfo {
df7962f9 554 padding: 1em 0;
8affa0e2
PM
555}
556
557#page-footer .homelink,
558#page-footer .sitelink {
df7962f9 559 padding: 1em 0;
8affa0e2
PM
560}
561
a211e4c7 562.homelink a {
df7962f9
ME
563 text-decoration: none;
564 border-top: 1px solid #cecece;
565 border-bottom: 2px solid #8a8a8a;
566 border-left: 1px solid #cecece;
567 border-right: 2px solid #8a8a8a;
a211e4c7
PM
568}
569
570.homelink a:hover {
df7962f9
ME
571 text-decoration: none;
572 border-bottom: 1px solid #cecece;
573 border-top: 2px solid #8a8a8a;
574 border-right: 1px solid #cecece;
575 border-left: 2px solid #8a8a8a;
84474568
MD
576}
577
4db41cbd
ME
578/* Enrol
579-------------------------*/
580
df7962f9 581.userenrolment {
8dc13ee7
SH
582 font-size:90%;
583 border:1px solid #999;
df7962f9
ME
584}
585.userenrolment tr.r0 {
4db41cbd 586 background-color: #F9F9F9;
df7962f9
ME
587}
588.userenrolment tr.r1 {
4db41cbd 589 background-color: #F3F3F3;
df7962f9 590}
8dc13ee7 591.userenrolment td {
4db41cbd
ME
592 border-width: 1px;
593 border-style: solid;
594 border-top-color: #F6F6F6;
595 border-right-color: #EEE;
596 border-bottom-color: #E9E9E9;
597 border-left-color: #F3F3F3;
df7962f9
ME
598}
599.userenrolment td.c0 {
8dc13ee7 600 border-left-color:#999;
df7962f9
ME
601}
602.userenrolment td.c4 {
8dc13ee7 603 border-right-color:#999;
df7962f9
ME
604}
605.userenrolment .col_userdetails {
8dc13ee7
SH
606 padding:3px;
607 min-width:35%;
df7962f9
ME
608}
609.userenrolment .col_role .roles {
8dc13ee7 610 position:relative;
df7962f9
ME
611}
612.userenrolment .col_role .role {
4db41cbd
ME
613 line-height: 10px;
614 font-size: 10px;
df7962f9
ME
615}
616.userenrolment .col_role .role a img {
8dc13ee7 617 height:8px;
df7962f9
ME
618}
619.userenrolment .col_role .addrole {
4db41cbd
ME
620 background-color: #DDD;
621 border: 1px outset #EEE;
622 -moz-border-radius: 5px;
df7962f9
ME
623}
624.userenrolment .col_group {
4db41cbd 625 max-width: 300px;
df7962f9
ME
626}
627.userenrolment .col_group .group {
8dc13ee7
SH
628 line-height:10px;
629 font-size:10px;
df7962f9
ME
630}
631.userenrolment .col_group .group a img {
8dc13ee7 632 height:8px;
df7962f9
ME
633}
634.userenrolment .col_group .addgroup {
8dc13ee7
SH
635 background-color:#DDD;
636 border:1px outset #EEE;
637 -moz-border-radius:5px;
df7962f9
ME
638}
639.userenrolment .col_enrol {
8dc13ee7 640 max-width:300px;
df7962f9
ME
641}
642.userenrolment .col_enrol .enrolment {
8dc13ee7
SH
643 border:1px outset #E6E6E6;
644 background-color:#EEE;
645 line-height:10px;
646 font-size:10px;
647 -moz-border-radius:5px;
df7962f9 648}
84474568 649.path-enrol .enrolusersbutton,
df7962f9 650.path-enrol .enrolcohortbutton {
8dc13ee7 651 float:left;
df7962f9 652}
84474568 653.path-enrol .enrolusersbutton.instance1,
df7962f9 654.path-enrol .enrolcohortbutton.instance1 {
8dc13ee7 655 float:right;
df7962f9 656}
20e033bd 657
4db41cbd
ME
658/* Registration
659-------------------------*/
660
661
8dc13ee7
SH
662#page-admin-registration-hubselector .registration_textfield {
663 width: 400px;
664}
96321cf4 665
4db41cbd
ME
666/* Redirect
667-------------------------*/
668
df7962f9 669.pagelayout-redirect #content {
4db41cbd
ME
670 text-align: center;
671 margin: 10% auto;
6abbcf19
NK
672}
673
9461033d 674.path-grade-report.dir-rtl #graded_users_selector .singleselect {margin: 0px;}