community block MDL-23288 highlight search result
[moodle.git] / theme / canvas / style / core.css
CommitLineData
8affa0e2
PM
1html {
2 height: 100%;
3}
4
5body {
6 min-height: 100%;
7 margin: 0;
8 padding: 0;
9}
10
43d65a95
PM
11.sitetopic {
12 border: none;
13}
14
15.headingblock {
16 border-bottom: 1px solid #ddd;
17 font-size: 1.3em;
18 color: #333;
19}
f41046c7 20
e1edeb40
PM
21.expired,
22.notopenyet,
f41046c7
PM
23.notifysuccess,
24.notifyproblem,
25.errorbox,
90e957bc 26.continuebutton,
a79db405 27.singlebutton,
90e957bc 28.buttons,
43d65a95
PM
29.singleselect {
30 text-align: center;
31 margin: 1em 0;
32}
33
8affa0e2
PM
34.navbutton .singlebutton {
35 margin: 0;
36}
37
43d65a95
PM
38.generalbox {
39 border-color: #ddd;
40}
a79db405 41
e1edeb40 42.expired,
43d65a95
PM
43.notopenyet {
44 border: none;
45 color: #f00;
46}
47
48.buttons .singlebutton input {
49 margin: 0;
50}
51
52.initialbar {
53 text-align: center;
54}
e1edeb40 55
43d65a95
PM
56.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
57 padding-right: 0;
58}
f41046c7 59
43d65a95
PM
60.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
61 padding-left: 0;
62}
e1edeb40 63
f41046c7
PM
64/* Login
65------------------------*/
66
43d65a95
PM
67.loginbox {
68 margin: 15px 25%;
69}
70
71.loginbox .loginerrors {
72 color: #f00;
73}
74
75.loginbox .loginform {
76 margin: 15px auto 0;
77 width: 175px;
78}
79
80.loginbox .loginform .form-label {
81 float: none;
82 width: 100%;
83 margin: 0 auto;
84 text-align: left;
85}
43c90b9b
RW
86.dir-rtl .loginbox .loginform .form-label {
87 text-align: right;
88}
43d65a95
PM
89.loginbox .loginform .form-input {
90 float: none;
91 width: 100%;
92 margin: 0 auto;
93}
94
a79db405 95.loginbox .loginform .form-input #username,
43d65a95
PM
96.loginbox .loginform .form-input #password {
97 width: 97%;
98 padding: 3px;
99 font-size: 1.1em;
100 font-family: Helvetica, Arial, sans-serif;
101 border: 2px solid #ddd;
102 margin: 0 0 5px;
103 color: #333;
104}
105
106.loginbox .loginform .form-input #loginbtn {
107 margin: 0.5em auto;
108}
109
110.loginbox .forgetpass {
111 margin: 1em 0 0;
112 font-size: 0.95em;
113}
114
115.loginbox.twocolumns {
116 width: 90%;
117 margin-left: 5%;
118}
119
120.loginbox .guestsub {
121 border-top: 1px solid #DDDDDD;
122 margin: 5px 20%
123}
124
125.loginbox.twocolumns .loginpanel {
126 border-color: #ddd;
127 padding-right: 0.5%;
128}
129
130.loginbox.twocolumns .signuppanel {
131 padding-left: 1%;
132 width: 48%;
133}
134
135.page-course-loginas #notice {
136 border: none;
137}
f41046c7 138
43d65a95
PM
139#page-login-forgot_password .generalbox {
140 margin: 0 auto 1.5em;
141 width: 75%;
142 padding: 10px;
143}
e1edeb40 144
43d65a95
PM
145#page-login-signup .mform {
146 width: 85%;
147 margin: 0 auto;
148}
f41046c7 149
43d65a95
PM
150#page-login-signup .mform .fitem .fitemtitle {
151 width: 20%;
152}
153
154#page-login-signup .mform .fitem .felement {
155 margin-left: 21%;
156}
f41046c7
PM
157
158/* Calendar
159-----------------------*/
f41046c7 160
43d65a95
PM
161.calendarlayout .sidecalendar {
162 padding-left: 15px;
163}
164
8c2b51bf 165.minicalendarblock h3 {
43d65a95
PM
166 text-align: center;
167 font-size: 1.2em;
168}
169
170.maincalendar .header .buttons {
171 margin: 0;
172}
173
f41046c7 174.maincalendar .calendarmonth td,
43d65a95
PM
175.maincalendar .calendarmonth th {
176 border-color: #ddd;
177 border-style: dotted;
178 border-width: 1px;
179}
180
f41046c7 181.maincalendar .calendarmonth th,
8c2b51bf 182.minicalendar th {
43d65a95
PM
183 background: url([[pix:theme|gradient-sb]]) repeat-x 0 0;
184}
185
186.maincalendar .calendar-controls {
187 padding: 10px 5px 0;
188}
f41046c7 189
f41046c7
PM
190.maincalendar .calendar-controls .previous,
191.maincalendar .calendar-controls .current,
43d65a95 192.maincalendar .calendar-controls .next {
43d65a95
PM
193 float: left;
194}
195
196.maincalendar .calendar-controls .current {
197 margin: 0 auto;
29ef7d4f 198 font-size: 1.35em;
43d65a95
PM
199 text-align: center;
200 line-height: 1;
201 font-weight: bold;
202}
203
204.maincalendar .calendar-controls .next {
205 text-align: right;
206}
207
208.maincalendar .filters table td {
209 font-size: 0.9em;
210}
211
212.maincalendar .bottom {
213 margin-top: 25px;
214}
215
216.minicalendar th abbr {
217 border: none;
218}
f41046c7 219
8c2b51bf 220.calendar_filters td,
f41046c7 221.minicalendar td,
43d65a95
PM
222.minicalendar th {
223 padding: 2px;
224 font-size: 0.85em;
225}
226
227#page-calendar-view .eventlist {
228 padding-top: 1em;
229}
230
231#page-calendar-view .eventlist .event {
232 border: none;
233}
234
235#page-calendar-view .eventlist .event .topic {
236 border-width: 1px 1px 0;
237 border-color: #ddd;
238 border-style: solid;
239 background: #f5f5f5;
240}
241
242#page-calendar-view .eventlist .event .topic .name {
243 font-weight: bold;
244}
245
246#page-calendar-view .eventlist .event .description {
247 border-width: 0 1px 1px;
248 border-style: solid;
249 border-color: #ddd;
250}
251
252.calendartable .duration ul {
253 border-width: 2px 0;
254 border-style: solid;
255}
256
257.calendartable .duration_user ul {
258 border-color: #dce7ec;
259}
260
261.calendartable .duration_global ul {
262 border-color: #d6f8cd;
263}
264
265.calendartable .duration_group ul {
266 border-color: #fee7ae;
267}
268
269.calendartable .duration_course ul {
270 border-color: #ffd3bd;
271}
272
273.calendartable .duration .events-underway {
274 color: #666;
275}
276
277.minicalendar {
278 border-collapse: separate;
279}
280
f41046c7 281.minicalendar td,
43d65a95
PM
282.minicalendar th {
283 font-size: 0.85em;
284 padding: 0 2px;
285 border-width: 2px 0;
286 border-color: #fff;
287}
f41046c7
PM
288
289.minicalendar .calendar_event_user,
43d65a95
PM
290.minicalendar .duration_user {
291 border-color: #dce7ec;
292}
293
f41046c7 294.minicalendar .calendar_event_course,
43d65a95
PM
295.minicalendar .duration_course {
296 border-color: #ffd3bd;
297}
298
f41046c7 299.minicalendar .calendar_event_global,
43d65a95
PM
300.minicalendar .duration_global {
301 border-color: #d6f8cd;
302}
303
f41046c7 304.minicalendar .calendar_event_group,
43d65a95
PM
305.minicalendar .duration_group {
306 border-color: #fee7ae;
307}
a6516782 308
7b4c6d34
PM
309/* User
310-----------------------*/
311
43d65a95
PM
312.userinfobox {
313 border: none;
314}
315
8c2b51bf 316.profilepicture {
29ef7d4f
PM
317 float: left;
318 margin-right: 10px;
319}
320
8c2b51bf 321.descriptionbox {
8affa0e2 322 margin-left: 110px;
43d65a95 323 border: 1px solid #ddd;
29ef7d4f
PM
324 padding: 10px;
325}
326
327.path-user .description {
8affa0e2
PM
328 padding-bottom: 15px;
329 border-bottom: 1px solid #eee;
29ef7d4f
PM
330}
331
332.userprofile .list {
8affa0e2 333 margin-top: 10px;
29ef7d4f
PM
334}
335
336.userprofile .list td {
8affa0e2
PM
337 padding-top: 3px;
338 padding-bottom: 3px;
29ef7d4f
PM
339}
340
341.userprofile .list .c0 {
8affa0e2
PM
342 padding-left: 0;
343 font-weight: bold;
43d65a95
PM
344}
345
346#page-user-view .buttons {
347 text-align: center;
348 width: 70%;
349 margin: 0 auto;
350}
351
352#page-user-view .buttons div {
353 padding: 0 0 10px;
354}
90e957bc 355
43d65a95
PM
356#page-user-index .controls {
357 width: 100%
358}
359
360#page-user-index .controls .singleselect {
361 margin: 0;
362}
363
a211e4c7 364.rolesform {
43d65a95
PM
365 text-align: center;
366 margin: 1em 0;
367}
368
a211e4c7 369#participantsform {
43d65a95
PM
370 text-align: center;
371}
372
a211e4c7 373#longtimenosee {
43d65a95
PM
374 font-style: italic;
375 font-size: 0.95em;
376}
377
a211e4c7 378#participants {
43d65a95 379 width: 100%;
a211e4c7 380 margin: 1em auto 0;
43d65a95 381}
a79db405 382
a211e4c7
PM
383#participants th,
384#participants td {
43d65a95
PM
385 vertical-align: middle;
386}
7b4c6d34 387
a211e4c7
PM
388/* Roles
389------------------------*/
390
391.path-admin-roles .generaltable {
0bf78bb0 392 /* width: 65%; hiding because it's causing problems on role/assign */
a211e4c7
PM
393}
394
395.path-admin-roles .generaltable th {
8affa0e2 396 vertical-align: middle;
a211e4c7
PM
397}
398
399.path-admin-roles .generaltable .lastcol {
8affa0e2 400 width: 15%;
a211e4c7
PM
401}
402
a211e4c7
PM
403.path-admin-roles .backlink {
404 text-align: center;
405}
406
407/* Blogs
408------------------------*/
409
410.blog_entry .audience {
411 color: #444;
412 margin: 0 0 0.5em;
8affa0e2 413 font-size: 0.9em;
a211e4c7
PM
414}
415
416.blog_entry .tags {
417 margin-bottom: 0.5em;
418}
419
f41046c7
PM
420/* Tags
421------------------------*/
422
43d65a95
PM
423#big-tag-cloud-box {
424 padding: 10px;
425}
426
427#tag-management-box {
428 text-align: center;
429}
430
431.tag-management-form {
432 border: none;
433 padding: 0 0 1em;
434}
435
436#tag-management-list {
437 margin: 1em 0
438}
f41046c7 439
a211e4c7
PM
440#page-tag-index #tag-blogs {
441 border: none;
442}
443
444#tagblogentries {
445 width: 75%;
446 margin: 0 auto 1em;
447}
448
449#tag-user-table {
8affa0e2 450 width: 95%;
a211e4c7
PM
451 margin: 0 auto;
452}
453
43d65a95
PM
454#page-tag-index .managelink {
455 text-align: right;
456}
f41046c7 457
43d65a95
PM
458#page-tag-index .headingblock {
459 text-align: center;
460 margin-bottom: 0;
461}
462
463#page-tag-index #tag-management-box {
464 border-bottom: 1px solid #ddd;
465 padding: 4px 0;
466}
467
a211e4c7 468#page-tag-index .moreblogs,
43d65a95
PM
469#page-tag-index .relatedpages {
470 text-align: center;
471}
472
473#page-tag-manage .lastinitial {
474 margin-bottom: 0.5em;
475}
476
477#page-tag-manage .green {
478 text-align: center;
479 padding: 0 0 1em;
480}
f41046c7 481
7b4c6d34
PM
482/* Embedded Pages
483------------------------*/
484
43d65a95
PM
485.pagelayout-embedded {
486 text-align: center;
487 background-color: #fff;
488 background-image: none;
489}
490
491.pagelayout-embedded #content {
492 padding-top: 30px;
493}
7b4c6d34
PM
494
495/* Forms
496-----------------------*/
497
43d65a95
PM
498.mform .fsubmit {
499 text-align: center;
500 padding: 2px;
501}
502
503.form-label .form-shortname {
504 font-size: 0.9em;
505 color: #777;
506}
507
508.form-description {
509 font-size: 0.95em;
510 color: #444;
511}
a211e4c7
PM
512
513/* Footer
514-----------------------*/
515
8affa0e2
PM
516#page-footer .logininfo {
517 padding: 1em 0;
518}
519
520#page-footer .homelink,
521#page-footer .sitelink {
522 padding: 1em 0;
523}
524
a211e4c7
PM
525.homelink a {
526 text-decoration: none;
527 border-top: 1px solid #cecece;
528 border-bottom: 2px solid #8a8a8a;
529 border-left: 1px solid #cecece;
530 border-right: 2px solid #8a8a8a;
531}
532
533.homelink a:hover {
534 text-decoration: none;
535 border-bottom: 1px solid #cecece;
536 border-top: 2px solid #8a8a8a;
537 border-right: 1px solid #cecece;
538 border-left: 2px solid #8a8a8a;
84474568
MD
539}
540
541/**
542 * Enrol - TODO: tidy up styles here
543 */
544.userenrolment {font-size:90%;border:1px solid #999;}
545.userenrolment tr.r0 {background-color:#F9F9F9;}
546.userenrolment tr.r1 {background-color:#F3F3F3;}
547.userenrolment td {border:1px solid #E9E9E9;border-top-color:#F6F6F6;border-right-color:#EEE;border-left-color:#F3F3F3;}
548.userenrolment td.c0 {border-left-color:#999;}
549.userenrolment td.c4 {border-right-color:#999;}
550.userenrolment .col_userdetails {padding:3px;min-width:35%;}
551.userenrolment .col_role .roles {position:relative;}
552.userenrolment .col_role .role {line-height:10px;font-size:10px;}
553.userenrolment .col_role .role a img {height:8px;}
554.userenrolment .col_role .addrole {background-color:#DDD;border:1px outset #EEE;-moz-border-radius:5px;}
555.userenrolment .col_group {max-width:300px;}
556.userenrolment .col_group .group {line-height:10px;font-size:10px;}
557.userenrolment .col_group .group a img {height:8px;}
558.userenrolment .col_group .addgroup {background-color:#DDD;border:1px outset #EEE;-moz-border-radius:5px;}
559.userenrolment .col_enrol {max-width:300px;}
560.userenrolment .col_enrol .enrolment {border:1px outset #E6E6E6;background-color:#EEE;line-height:10px;font-size:10px;-moz-border-radius:5px;}
561.path-enrol .enrolusersbutton,
562.path-enrol .enrolcohortbutton {float:left;}
563.path-enrol .enrolusersbutton.instance1,
564.path-enrol .enrolcohortbutton.instance1 {float:right;}