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