Removed old styles
[moodle.git] / theme / standard / styles_layout.css
CommitLineData
7005a81c 1/*************************************************
2***
3*** layout
4***
5**************************************************/
a8e1f343 6
992b5971 7/*************************************************
8***
9*** This CSS file contains all layout definitions
10*** like positioning, floats,
11*** margins, paddding,
12*** borders etc.
13***
14*** Shortindex:
15*** basic and general styles
16*** header and footer styles
17*** content styles (alphabetically)
7005a81c 18*** admin, course, activities, calendar, blocks
992b5971 19***
20*** Please sort new styles for existing content
21*** into the appropriate part of this CSS file.
22*** Styles for new Blocks or Activities please
23*** place at the end.
24*** Wouldn't the alphabetical order be better?
25***
26**************************************************/
a8e1f343 27
7005a81c 28
a8e1f343 29/* basic styles */
30.clearer {
31 clear:both;
32 margin:0px;
33 padding:0px;
34 height:1px;
35 border:none;
36 background:transparent;
37}
38
39
40/* general styles */
41th {
42 background-image:url(gradient.jpg);
43 background-position:top;
44 background-repeat:repeat-x;
45}
46
47form {
48 margin-bottom:0px;
49}
50
51
52/* header styles */
53#header-home {
54 padding:1em 0.5em;
55 height:2em;
56}
57
58#header {
59 padding:0.1em 0.5em;
60}
61
62.headermain {
63 float:left;
64}
65
66#header .headermain {
67 margin:0.2em 0em;
68}
69
70.headermenu {
71 float:right;
72}
73
74#nav-bar {
75 padding:3px 0.5em;
76 height:1.3em;
77 background-image:url(gradient.jpg);
78 background-position:top;
79 background-repeat:repeat-x;
80}
81
82#breadcrumb {
83 float:left;
84 margin:0.2em 0em;
85}
86
87#navbutton {
88 float:right;
89}
90
91
92/* footer styles */
93
94
992b5971 95/*****************************
96***
97*** content styles
98***
99******************************/
a8e1f343 100/* many places */
992b5971 101.generalbox {
a8e1f343 102 border-width:1px;
103 border-style:solid;
104}
992b5971 105.noticebox {
a8e1f343 106 border-width:1px;
107 border-style:solid;
108}
109
7005a81c 110
a8e1f343 111/* summary of a user in a nice little box - weblib.php */
112.userinfobox {
7005a81c 113 margin-bottom:5px;
a8e1f343 114 border-width:1px;
115 border-style:solid;
a8e1f343 116}
117
118.userinfoboxside,
119.userinfoboxsummary,
120.userinfoboxlinkcontent { }
121
7005a81c 122
992b5971 123/* weblib.php table */
124.tabledivider {
125 border-width:1px;
126 border-style:solid;
127 border-left:0px;
128 border-right:0px;
129 border-top:0px;
130}
131
7005a81c 132
992b5971 133/* entry-page index.php */
134.sitetopic {
135 border-width:1px;
136 border-style:solid;
137}
138
7005a81c 139
992b5971 140/*****************************
141***
7005a81c 142*** Admin
992b5971 143***
144******************************/
145/* admin, calendar */
146table.formtable td {
147 padding:9px;
a8e1f343 148}
149
992b5971 150
7005a81c 151/*****************************
152***
153*** Course
154***
155******************************/
992b5971 156/* course, entry-page, login */
157.headingblock {
158 background-image:url(gradient.jpg);
159 background-position:top;
160 background-repeat:repeat-x;
161 border-width:1px;
162 border-style:solid;
163}
164
7005a81c 165
992b5971 166/* course */
167.outlineheadingblock {
168 background-image:url(gradient.jpg);
169 background-position:top;
170 background-repeat:repeat-x;
a8e1f343 171 border-width:1px;
172 border-style:solid;
992b5971 173}
7005a81c 174
992b5971 175.weeklyoutlinecontent,
176.topicsoutlinecontent {
177 border-width:1px;
a8e1f343 178 border-left:0px;
179 border-right:0px;
992b5971 180 border-style:solid;
181}
182
183.weeklyoutlinecontenthighlight,
184.topicsoutlinecontenthighlight {
185 border-width:1px;
186 border-left:0px;
187 border-right:0px;
188 border-style:solid;
189}
190
191.weeklyoutlinecontenthidden,
192.topicsoutlinecontenthidden {
193 border-width:1px;
194 border-left:0px;
195 border-right:0px;
196 border-style:solid;
197}
198
199.categoryboxcontent,
200.courseboxcontent {
201 border-width:1px;
202 border-style:solid;
a8e1f343 203}
204
7005a81c 205
206/*****************************
207***
208*** Activities
209***
210******************************/
211/* assignment, forum, glossary */
212.forumheaderlist,
213.forumpost {
214 border-width:1px;
215 border-style:solid;
216}
217
218.forumpostindent {
219 margin-left: 30px;
220}
221
546739f6 222.unread {
223 padding-right:2px;
224}
225
7005a81c 226
227/* calendar, course, weblib,php, attandance
228dialouge, exercise, forum, lesson, quiz */
229.generaltableheader {
230 background-image:url(gradient.jpg);
231 background-position:top;
232 background-repeat:repeat-x;
233}
234
235
992b5971 236/* glossary, wiki */
237.generaltab,
238.generaltabselected {
239 background:none;
240}
241
7005a81c 242
992b5971 243/* message */
244.message_link {
245 vertical-align:center;
246}
247
248.message_search_results {
249 border-collapse:collapse;
250 border-spacing:0px;
251}
252
253table.message_search_results td {
254 padding:5px;
255 border-width:1px;
256 border-style:solid;
257}
258
7005a81c 259
992b5971 260/* quiz */
261.feedbacktext {
262 display:block;
263}
264
7005a81c 265
992b5971 266/*****************************
267***
268*** Calendar
269***
270******************************/
a8e1f343 271/* calendar */
272table.calendarmini {
273 width:100%;
274 margin:0px;
275 padding:2px;
276 border-width:1px;
277 border-style:solid;
278}
279
280table.calendarmini thead td {
281 vertical-align:center;
282}
283
284table.calendarmini tbody td {
285 border-width:2px;
286 border-style:solid;
287 vertical-align:center;
288}
289
290table.calendarmonth thead td {
291 padding-bottom:3px;
292 border-bottom:2px solid;
293 vertical-align:center;
294}
295
296table.calendarmonth tbody td {
297 width:14%;
298 border-width:2px;
299 border-style:solid;
300 vertical-align:top;
301}
302
303.cal_event_global {
304 border:2px solid !important;
305}
306
307.cal_event_course {
308 border:2px solid !important;
309}
310
311.cal_event_group {
312 border:2px solid !important;
313}
314
315.cal_event_user {
316 border:2px solid !important;
317}
318
319.cal_duration_global {
320 border-top:2px solid !important;
321 border-bottom:2px solid !important;
322}
323
324.cal_duration_course {
325 border-top:2px solid !important;
326 border-bottom:2px solid !important;
327}
328
329.cal_duration_user {
330 border-top:2px solid !important;
331 border-bottom:2px solid !important;
332}
333
334.cal_duration_group {
335 border-top:2px solid !important;
336 border-bottom:2px solid !important;
337}
338
339.cal_today {
340 border:2px solid !important;
341}
342
343.mycalendar .cal_filters thead td {
344 margin:0px;
345 padding:2px;
346 border-bottom:2px solid;
347}
348
349table.calendarmonth tbody td table,
350table.calendarmonth tbody td div {
351 margin-top:0px;
352 margin-left:0px;
353}
354
355table.calendarmonth tbody td table td,
356a img {
357 border:none;
358}
359
360.mycalendar .cal_event_table,
361table.calendarmonth,
362.mycalendar table.cal_filters {
363 width:100%;
364 margin:0px;
365 padding:2px;
366 border-width:1px;
367 border-style:solid;
368}
369
370.mycalendar hr {
371 height:1px;
372 margin-top:4px;
373 margin-bottom:4px;
374 border:none;
375 border-top:1px solid;
376}
377
378td.cal_event_description {
379 width:80%;
380 padding:5px;
381 vertical-align:top;
382 border-left:2px solid;
383}
384
385.cal_popup_bg {
386 padding:0px;
387 margin:0px;
388 background-image:url(gradient.jpg);
389 background-position:top;
390 background-repeat:repeat-x;
391 border:2px solid;
392}
393
394.cal_popup_close {
395 margin-right:5px;
396}
397
398.eventfull {
399 border-width:1px;
400 border-style:solid;
401}
402
403.eventfullpicture {
404 padding:8px;
405}
406
7005a81c 407
992b5971 408/*****************************
409***
410*** Blocks
411***
412******************************/
a8e1f343 413/* block_rss_client.php */
414.rssclientlink {
415 padding-bottom:5px;
416 border-top:1px solid;
417}
418
419.rssclientdescription {
420 padding-left:10px;
421 padding-bottom:8px;
422}
423
7005a81c 424
992b5971 425/* sideblock */
426.sideblock {
427 width: 100%;
428 margin-bottom:1em;
a8e1f343 429 border-width:1px;
430 border-style:solid;
431}
7005a81c 432
992b5971 433.sideblockheading {
a8e1f343 434 background-image:url(gradient.jpg);
435 background-position:top;
436 background-repeat:repeat-x;
a8e1f343 437}
438
992b5971 439.sideblockmain hr {
440 height:1px;
441 margin-top:4px;
442 margin-bottom:4px;
443 border:none;
444 border-top:1px solid;
af7a6386 445}
446
7005a81c 447
a8e1f343 448/* sideblock weblib.php */
449#block_course_summary .sideblockmain {
450 padding:10px;
451}
452
744fd5bb 453/* block_quiz_results.php */
eb111397 454#block_quiz_results {
455 text-align: center;
456}
457
cae0f35b 458#block_quiz_results table.grades {
459 width: 100%;
460 border-spacing: 0px;
461 border-collapse: collapse;
eb111397 462 text-align: left;
cae0f35b 463}
464
9c581405 465#block_quiz_results table.grades caption {
cae0f35b 466 font-weight: bold;
9c581405 467 margin: 1em 0px 0px 0px;
468 border-bottom: 1px solid;
cae0f35b 469}
470
9c581405 471#block_quiz_results table.grades .number, #block_quiz_results table.grades .grade {
472 width: 10%;
473 text-align: right;
474}
475
476#block_quiz_results h1 {
cae0f35b 477 font-weight: bold;
9c581405 478 font-size: 1.2em;
479 margin: 4px;
eb111397 480}
744fd5bb 481
482/*****************************
483***
484*** Doc
485***
486******************************/
487
488/* contents.php */
489
490body#doc-contents h1 {
491 font-size: 1em;
492 margin: 1em 0px 0px 0px;
493}
494
495body#doc-contents ul {
496 list-style-type: none;
497 margin: 0px;
498 padding: 0px;
499 font-size: 0.8em;
500 width: 90%; /* try it on IE without this and see what happens */
501}
be37582e 502
503body#course-view .unread {
504 margin-left: 3em;
505}