Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

First I extracted 3 css files from "styles.php": "layout.css", "typog…

…raphie.css" and "color.css". This leads to better handling and the files can be better overlooked. When woring on the color you find only this definitions in one file, them sam econcerns to typhographie and layout (positioning, measurement of objects, borders etc.)

I started to resort the css files and added comments to make them easier readable and understandable.

The file "typography.css" is not jet sorted.
  • Loading branch information...
commit 1f67c4b460e8ffa4af53d23a43d48351f3b977b0 1 parent 29a6bbd
authored January 23, 2005
BIN  theme/standardxhtml/favicon.ico
Binary file not shown
2  theme/standardxhtml/footer.html
... ...
@@ -1,5 +1,5 @@
88  theme/standardxhtml/header.html
... ...
@@ -1,63 +1,47 @@
1 1
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 2
 <html<?php echo $direction ?>>
3 3
 <head>
4  
-<?php echo $meta ?>
5  
-<title><?php echo $title ?></title>
6  
-<meta name="keywords" content="moodle, <?php echo $title ?> " />
7  
-<link rel="stylesheet" type="text/css" href="<?php echo $styles ?>" />
8  
-<link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
9  
-<?php include("$CFG->javascript"); ?>
  4
+    <?php echo $meta ?>
  5
+    <meta name="keywords" content="moodle, <?php echo $title ?> " />
  6
+    <title><?php echo $title ?></title>
  7
+    <link rel="stylesheet" type="text/css" href="<?php echo $styles ?>" />
  8
+    <link rel="shortcut icon" href="<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>/favicon.ico" />
  9
+    <?php include("$CFG->javascript"); ?>
10 10
 </head>
11 11
 
12 12
 <body<?php
13  
-   echo " $bodytags";
14  
-   if ($focus) {
15  
-       echo " onload=\"setfocus()\"";
16  
-   }
17  
-   echo " bgcolor=\"$THEME->body\">";
18  
-?>
  13
+    echo " $bodytags";
  14
+    if ($focus) {
  15
+        echo " onload=\"setfocus()\"";
  16
+    }
  17
+    echo " bgcolor=\"$THEME->body\">";
  18
+    ?>
  19
+    
19 20
 <div id="wrapper">
20 21
 
21  
-<?php if ($home) {  // This is what gets printed on the home page only  ?>
22  
-<div id="header-home">
23  
-  <table width="100%" cellpadding="10" cellspacing="0" border="0" class="headerhome">
24  
-    <tr>
25  
-      <td valign="top" class="headerhomemain"><?php echo $heading?></td>
26  
-      <td align="right" valign="top" class="headerhomemenu"><?php echo $menu ?></td>
27  
-    </tr>
28  
-  </table>
29  
-
30  
-<?php } else if ($heading) {  // This is what gets printed on any other page with a heading ?>
31  
-<div id="header">
32  
-  <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header">
33  
-    <tr>
34  
-      <td valign="top" class="headermain"><?php echo $heading?></td>
35  
-      <td align="right" valign="top" class="headermenu"><?php echo $menu ?></td>
36  
-    </tr>
37  
-  </table>
  22
+<?php if ($home) {  // This is what gets printed on the home page only  
  23
+?>
  24
+    <div id="header-home">
  25
+        <div class="headermain"><?php echo $heading ?></div>
  26
+        <div class="headermenu"><?php echo $menu ?></div>
  27
+    </div>
  28
+<?php } else if ($heading) {  // This is what gets printed on any other page with a heading 
  29
+?>
  30
+    <div id="header">
  31
+        <div class="headermain"><?php echo $heading ?></div>
  32
+        <div class="headermenu"><?php echo $menu ?></div>
  33
+    </div>
38 34
 <?php } ?>
39  
-</div>
40  
-
41  
-<div id="nav-bar">
  35
+    <div class="clearer">&nbsp;</div>
42 36
 <?php if ($navigation) { // This is the navigation table with breadcrumbs  ?>
43  
-
44  
-  <table border="0" cellpadding="3" cellspacing="0" width="100%">
45  
-    <tr>
46  
-      <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar">
47  
-        <font size="2"><b><?php print_navigation("$navigation"); ?></b></font>
48  
-      </td>
49  
-      <td bgcolor="<?php echo $THEME->cellheading?>" class="navbar" align="right" width="20" valign="top"><?php
50  
-          echo $button;
51  
-      ?></td>
52  
-    </tr>
53  
-  </table>
54  
-  <img src="<?php echo $CFG->wwwroot?>/pix/spacer.gif" alt="" height="5" width="1" /><br />
55  
-
56  
-<?php } else if ($heading) { // If no navigation, but a heading, then print a line  ?>
57  
-
58  
-  <hr size="1" noshade="noshade" />
59  
-
  37
+    <div id="nav-bar">
  38
+        <div id="breadcrumb"><?php print_navigation("$navigation"); ?></div>
  39
+        <div id="navbutton"><?php echo $button; ?></div>
  40
+    </div>
  41
+<?php } else if ($heading) { // If no navigation, but a heading, then print a line  
  42
+?>
  43
+        <hr size="1" noshade="noshade" />
60 44
 <?php } ?>
61  
-</div>
62  
-<!-- END OF HEADER -->
63  
-<div id="containerContent">
  45
+    <div class="clearer">&nbsp;</div>
  46
+    <!-- END OF HEADER -->
  47
+    <div id="containerContent">
855  theme/standardxhtml/styles.php
... ...
@@ -1,6 +1,7 @@
1 1
 <?PHP /*  $Id$ */
2 2
 
3  
-/// We use PHP so we can do value substitutions into the styles
  3
+/// We use PHP so we can load groups of CSS files
  4
+/// because it's so much easier to work with the editor's CSS highlighting
4 5
 
5 6
     if (!isset($themename)) {
6 7
         $themename = NULL;
@@ -10,851 +11,9 @@
10 11
     require_once("../../config.php");
11 12
     $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
12 13
 
13  
-/// From here on it's nearly a normal stylesheet.
14  
-/// First are some CSS definitions for normal tags,
15  
-/// then custom tags follow.
16  
-///
17  
-/// New classes always get added to the end of the file.
18  
-///
19  
-/// Note that a group of standard colours are all
20  
-/// defined in config.php in this directory.  The
21  
-/// reason for this is because Moodle uses the same
22  
-/// colours to provide oldstyle formatting for
23  
-/// browsers without CSS.
24  
-///
25  
-/// You can hardcode colours in this file if you
26  
-/// don't care about this.
  14
+    include ("./styles_layout.css");
  15
+    include ("./styles_typography.css");
  16
+    include ("./styles_color.css");
  17
+    include ("./styles_moz.css");
27 18
 
28  
-?>
29  
-
30  
-
31  
-body, td, th, li {
32  
-    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
33  
-}
34  
-
35  
-th {
36  
-    font-weight: bold;
37  
-    background-color: <?PHP echo $THEME->cellheading?>;
38  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
39  
-}
40  
-
41  
-a:link {
42  
-    text-decoration: none;
43  
-    color: blue;
44  
-}
45  
-
46  
-a:visited {
47  
-    text-decoration: none;
48  
-    color: blue;
49  
-}
50  
-
51  
-a:hover {
52  
-    text-decoration: underline;
53  
-    color: red;
54  
-}
55  
-
56  
-form {
57  
-    margin-bottom: 0;
58  
-}
59  
-
60  
-
61  
-.activitydate, .activityhead
62  
-{
63  
-    font-size: x-small;
64  
-    text-align: center;
65  
-}
66  
-
67  
-
68  
-.editorhelptext
69  
-{
70  
-    font-size: x-small;
71  
-}
72  
-
73  
-.formhelplinks
74  
-{
75  
-    font-size: x-small;
76  
-    cursor: help;
77  
-}
78  
-
79  
-
80  
-.highlight {
81  
-    background-color: <?PHP echo $THEME->highlight?>;
82  
-}
83  
-
84  
-.headingblock {
85  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
86  
-    border-width: 1px;
87  
-    border-color: <?PHP echo $THEME->borders?>;
88  
-    border-style: solid;
89  
-    -moz-border-radius: 3px;
90  
-}
91  
-
92  
-.navbar {
93  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
94  
-}
95  
-
96  
-.generaltable {
97  
-}
98  
-
99  
-.generaltableheader {
100  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
101  
-}
102  
-
103  
-.generaltablecell {
104  
-}
105  
-
106  
-.sideblock {
107  
-    border-width: 1px;
108  
-    border-color: <?PHP echo $THEME->borders?>;
109  
-    border-style: solid;
110  
-    -moz-border-radius-bottomleft: 20px;
111  
-    -moz-border-radius-bottomright: 20px;
112  
-}
113  
-
114  
-.sideblockheading {
115  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
116  
-}
117  
-
118  
-.sideblockmain {
119  
-    -moz-border-radius-bottomleft: 20px;
120  
-    -moz-border-radius-bottomright: 20px;
121  
-}
122  
-
123  
-.sideblocklinks {
124  
-}
125  
-
126  
-.sideblocklatestnews {
127  
-    -moz-border-radius-bottomleft: 20px;
128  
-    -moz-border-radius-bottomright: 20px;
129  
-}
130  
-
131  
-.sideblockrecentactivity {
132  
-    -moz-border-radius-bottomleft: 20px;
133  
-    -moz-border-radius-bottomright: 20px;
134  
-}
135  
-
136  
-.outlineheadingblock {
137  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
138  
-    border-width: 1px;
139  
-    border-color: <?PHP echo $THEME->borders?>;
140  
-    border-style: solid;
141  
-    -moz-border-radius: 3px;
142  
-}
143  
-
144  
-.forumpost {
145  
-    border-width: 1px;
146  
-    border-color: <?PHP echo $THEME->borders?>;
147  
-    border-style: solid;
148  
-    -moz-border-radius-bottomleft: 20px;
149  
-    -moz-border-radius-bottomright: 20px;
150  
-}
151  
-
152  
-.forumpostpicture {
153  
-}
154  
-
155  
-.forumpostside {
156  
-    -moz-border-radius-bottomleft: 20px;
157  
-}
158  
-
159  
-.forumpostmessage {
160  
-    -moz-border-radius-bottomright: 20px;
161  
-}
162  
-
163  
-
164  
-.forumaddnew, .forumaddnewminimal,
165  
-.forumnodiscuss, .forumnodiscussminimal,
166  
-.forumolddiscussminimal
167  
-{
168  
-    text-align: center;
169  
-}
170  
-
171  
-.forumaddnewminimal, .forumnodiscussminimal,
172  
-.forumheadminimal, .foruminfominimal,
173  
-.forumolddiscussminimal
174  
-{
175  
-    font-size: x-small;
176  
-}
177  
-
178  
-.forumnodiscuss,.forumnodiscussminimal
179  
-{
180  
-    font-weight: bold;
181  
-}
182  
-
183  
-.forumolddiscuss {
184  
-    text-align: right;
185  
-}
186  
-
187  
-.forumheadminimal
188  
-{
189  
-    color: #555555;
190  
-}
191  
-    
192  
-
193  
-
194  
-.weeklyoutline {
195  
-}
196  
-
197  
-.weeklyoutlineside {
198  
-}
199  
-
200  
-.weeklyoutlinesidehighlight {
201  
-}
202  
-
203  
-.weeklyoutlinesidehidden {
204  
-    background-color: <?PHP echo $THEME->hidden?>;
205  
-}
206  
-
207  
-.weeklyoutlinecontent {
208  
-    border-color: <?PHP echo $THEME->cellheading ?>;
209  
-    border-style: solid;
210  
-    border-width: 1px;
211  
-    border-left: 0px;
212  
-    border-right: 0px;
213  
-}
214  
-
215  
-.weeklyoutlinecontenthighlight {
216  
-    border-color: <?PHP echo $THEME->cellheading2 ?>;
217  
-    border-style: solid;
218  
-    border-width: 1px;
219  
-    border-left: 0px;
220  
-    border-right: 0px;
221  
-}
222  
-
223  
-.weeklyoutlinecontenthidden {
224  
-    border-color: <?PHP echo $THEME->hidden ?>;
225  
-    border-style: solid;
226  
-    border-width: 1px;
227  
-    border-left: 0px;
228  
-    border-right: 0px;
229  
-}
230  
-
231  
-.weeklydatetext {
232  
-    font-size: medium;
233  
-    font-weight: bold;
234  
-    color: <?PHP echo $THEME->cellheading2?>;
235  
-}
236  
-
237  
-.topicsoutline {
238  
-}
239  
-
240  
-.topicsoutlineside {
241  
-}
242  
-
243  
-.topicsoutlinesidehighlight {
244  
-}
245  
-
246  
-.topicsoutlinesidehidden {
247  
-    background-color: <?PHP echo $THEME->hidden?>;
248  
-}
249  
-
250  
-.topicsoutlinecontent {
251  
-    border-color: <?PHP echo $THEME->cellheading ?>;
252  
-    border-style: solid;
253  
-    border-width: 1px;
254  
-    border-left: 0px;
255  
-    border-right: 0px;
256  
-}
257  
-
258  
-.topicsoutlinecontenthighlight {
259  
-    border-color: <?PHP echo $THEME->cellheading2 ?>;
260  
-    border-style: solid;
261  
-    border-width: 1px;
262  
-    border-left: 0px;
263  
-    border-right: 0px;
264  
-}
265  
-
266  
-.topicsoutlinecontenthidden {
267  
-    border-color: <?PHP echo $THEME->hidden ?>;
268  
-    border-style: solid;
269  
-    border-width: 1px;
270  
-    border-left: 0px;
271  
-    border-right: 0px;
272  
-}
273  
-
274  
-.siteinfo {
275  
-}
276  
-
277  
-.siteinfocontent {
278  
-    border-width: 1px;
279  
-    border-color: <?PHP echo $THEME->borders?>;
280  
-    border-style: solid;
281  
-    -moz-border-radius: 20px;
282  
-    padding: 10px;
283  
-}
284  
-
285  
-
286  
-.generalbox {
287  
-    border-width: 1px;
288  
-    border-color: <?PHP echo $THEME->borders?>;
289  
-    border-style: solid;
290  
-    -moz-border-radius-topleft: 3px;
291  
-    -moz-border-radius-topright: 3px;
292  
-    -moz-border-radius-bottomleft: 15px;
293  
-    -moz-border-radius-bottomright: 15px;
294  
-}
295  
-
296  
-.generalboxcontent {
297  
-    -moz-border-radius-topleft: 3px;
298  
-    -moz-border-radius-topright: 3px;
299  
-    -moz-border-radius-bottomleft: 15px;
300  
-    -moz-border-radius-bottomright: 15px;
301  
-}
302  
-
303  
-.noticebox {
304  
-    border-width: 1px;
305  
-    border-color: <?PHP echo $THEME->borders?>;
306  
-    border-style: solid;
307  
-    -moz-border-radius: 3px;
308  
-}
309  
-
310  
-.noticeboxcontent {
311  
-    text-align: center;
312  
-}
313  
-
314  
-
315  
-.feedbacktext {
316  
-    color: <?PHP echo $THEME->cellheading2?>;
317  
-    text-align: right;
318  
-    display: block;
319  
-}
320  
-
321  
-a.dimmed:link {
322  
-    text-decoration: none;
323  
-    color: <?PHP echo $THEME->hidden?>;
324  
-}
325  
-
326  
-a.dimmed:visited {
327  
-    text-decoration: none;
328  
-    color: <?PHP echo $THEME->hidden?>;
329  
-}
330  
-
331  
-a.dimmed:hover {
332  
-    text-decoration: underline;
333  
-    color: red;
334  
-}
335  
-
336  
-.dimmed_text {
337  
-    color: #AAAAAA;
338  
-}
339  
-
340  
-.forumpostheader {
341  
-}
342  
-
343  
-.forumpostheadertopic {
344  
-}
345  
-
346  
-.forumpostheaderpicture {
347  
-}
348  
-
349  
-.forumpostheadername {
350  
-    font-size: small;
351  
-}
352  
-
353  
-.forumpostheaderreplies {
354  
-    font-size: small;
355  
-}
356  
-
357  
-.forumpostheaderdate {
358  
-    font-size: small;
359  
-}
360  
-
361  
-.logininfo {
362  
-    font-size: x-small;
363  
-}
364  
-
365  
-.homelink {
366  
-    font-size: x-small;
367  
-}
368  
-
369  
-.teacheronly {
370  
-    color: #990000;
371  
-}
372  
-
373  
-.header {
374  
-}
375  
-
376  
-.headermain {
377  
-    font-size: large;
378  
-    font-weight: bold;
379  
-}
380  
-
381  
-.headermenu {
382  
-}
383  
-
384  
-.headerhome {
385  
-}
386  
-
387  
-.headerhomemain {
388  
-    font-size: x-large;
389  
-    font-weight: bold;
390  
-}
391  
-
392  
-.headerhomemenu {
393  
-}
394  
-
395  
-.categorybox {
396  
-}
397  
-
398  
-.categoryboxcontent {
399  
-    border-width: 1px;
400  
-    border-color: <?PHP echo $THEME->borders?>;
401  
-    border-style: solid;
402  
-    -moz-border-radius: 20px;
403  
-}
404  
-
405  
-.categoryname {
406  
-    font-size: larger;
407  
-    font-weight: bold;
408  
-}
409  
-
410  
-.categorynumber {
411  
-    font-size: larger;
412  
-    font-weight: bold;
413  
-}
414  
-
415  
-.coursename {
416  
-}
417  
-
418  
-.coursebox {
419  
-}
420  
-
421  
-.courseboxcontent {
422  
-    border-width: 1px;
423  
-    border-color: <?PHP echo $THEME->borders?>;
424  
-    border-style: solid;
425  
-    -moz-border-radius: 20px;
426  
-}
427  
-
428  
-.courseboxinfo {
429  
-    font-size: normal;
430  
-}
431  
-
432  
-.courseboxsummary {
433  
-    font-size: small;
434  
-}
435  
-
436  
-.courseboxteachers {
437  
-    font-size: smaller;
438  
-}
439  
-
440  
-.courseboxcost {
441  
-    font-size: smaller;
442  
-}
443  
-
444  
-a.autolink:link {
445  
-    text-decoration: none;
446  
-    color: #000000;
447  
-    background-color: <?PHP echo $THEME->autolink?>;
448  
-}
449  
-
450  
-a.autolink:visited {
451  
-    text-decoration: none;
452  
-    color: #000000;
453  
-    background-color: <?PHP echo $THEME->autolink?>;
454  
-}
455  
-
456  
-a.autolink:hover {
457  
-    text-decoration: underline;
458  
-    color: red;
459  
-}
460  
-
461  
-.userinfobox {
462  
-    border-width: 1px;
463  
-    border-color: <?PHP echo $THEME->borders?>;
464  
-    border-style: solid;
465  
-    -moz-border-radius-bottomleft: 20px;
466  
-    -moz-border-radius-bottomright: 20px;
467  
-    margin-bottom: 5px;
468  
-}
469  
-
470  
-.userinfoboxside {
471  
-    -moz-border-radius-bottomleft: 20px;
472  
-}
473  
-
474  
-.userinfoboxcontent {
475  
-    -moz-border-radius-bottomright: 20px;
476  
-}
477  
-
478  
-.userinfoboxsummary {
479  
-}
480  
-
481  
-.userinfoboxlinkcontent {
482  
-    -moz-border-radius-bottomright: 20px;
483  
-}
484  
-
485  
-.generaltab {
486  
-    -moz-border-radius-topleft: 15px;
487  
-    -moz-border-radius-topright: 15px;
488  
-    background: none;
489  
-    background-color: <?PHP echo $THEME->cellheading?>;
490  
-}
491  
-
492  
-.generaltabselected {
493  
-    -moz-border-radius-topleft: 15px;
494  
-    -moz-border-radius-topright: 15px;
495  
-    background: none;
496  
-    background-color: <?PHP echo $THEME->cellheading2?>;
497  
-}
498  
-
499  
-.forumheaderlist {
500  
-    border-width: 1px;
501  
-    border-color: <?PHP echo $THEME->borders?>;
502  
-    border-style: solid;
503  
-}
504  
-
505  
-.smallinfo {
506  
-}
507  
-
508  
-.smallinfohead {
509  
-    color: #555555;
510  
-}
511  
-
512  
-.tabledivider {
513  
-    border-width: 1px;
514  
-    border-color: <?PHP echo $THEME->borders?>;
515  
-    border-style: solid;
516  
-    border-left: 0px;
517  
-    border-right: 0px;
518  
-    border-top: 0px;
519  
-}
520  
-
521  
-.headingblockcontent {
522  
-}
523  
-
524  
-TABLE.calendarmini {
525  
-    width: 100%;
526  
-    border-width: 1px;
527  
-    border-color: <?PHP echo $THEME->borders?>;
528  
-    border-style: solid;
529  
-    font-size: .7em;
530  
-    margin: 0px;
531  
-    padding: 2px;
532  
-    -moz-border-radius: 10px;
533  
-}
534  
-
535  
-TABLE.calendarmonth {
536  
-    width: 100%;
537  
-    border-width: 1px;
538  
-    border-color: <?PHP echo $THEME->borders?>;
539  
-    border-style: solid;
540  
-    margin: 0px;
541  
-    padding: 2px;
542  
-    -moz-border-radius: 10px;
543  
-}
544  
-
545  
-TABLE.calendarmini TBODY TD {
546  
-    text-align: center;
547  
-    vertical-align: center;
548  
-    border-width: 2px;
549  
-    border-color: <?PHP echo $THEME->cellcontent2?>;
550  
-    border-style: solid;
551  
-    -moz-border-radius: 4px;
552  
-}
553  
-
554  
-TABLE.calendarmonth TBODY TD {
555  
-    width: 14%;
556  
-    border-width: 2px;
557  
-    border-color: <?PHP echo $THEME->cellcontent2?>;
558  
-    border-style: solid;
559  
-    vertical-align: top;
560  
-}
561  
-
562  
-.cal_event_global {
563  
-	background-color: #2EBA0E;
564  
-	border: 2px #2EBA0E solid !important;
565  
-}
566  
-
567  
-.cal_event_course {
568  
-	background-color: #ff9966;
569  
-	border: 2px #ff9966 solid !important;
570  
-}
571  
-
572  
-.cal_event_group {
573  
-	background-color: #FBBB23;
574  
-	border: 2px #FBBB23 solid !important;
575  
-}
576  
-
577  
-.cal_event_user {
578  
-	background-color: #A1BECB;
579  
-	border: 2px #A1BECB solid !important;
580  
-}
581  
-
582  
-.cal_duration_global {
583  
-	border-top: 2px #2EBA0E solid !important;
584  
-	border-bottom: 2px #2EBA0E solid !important;
585  
-}
586  
-
587  
-.cal_duration_course {
588  
-	border-top: 2px #ff9966 solid !important;
589  
-	border-bottom: 2px #ff9966 solid !important;
590  
-}
591  
-
592  
-.cal_duration_user {
593  
-	border-top: 2px #A1BECB solid !important;
594  
-	border-bottom: 2px #A1BECB solid !important;
595  
-}
596  
-
597  
-.cal_duration_group {
598  
-	border-top: 2px #FBBB23 solid !important;
599  
-	border-bottom: 2px #FBBB23 solid !important;
600  
-}
601  
-
602  
-.cal_weekend {
603  
-    color: red;
604  
-}
605  
-
606  
-.cal_today {
607  
-	border: 2px black solid !important;
608  
-}
609  
-
610  
-TABLE.calendarmonth TBODY TD TABLE {
611  
-	margin-top: 0px;
612  
-	margin-left: 0px;
613  
-	font-size: 0.75em;
614  
-	line-height: 1.2em;
615  
-}
616  
-
617  
-TABLE.calendarmonth TBODY TD TABLE TD {
618  
-    border: none;
619  
-}
620  
-
621  
-TABLE.calendarmonth TBODY TD DIV {
622  
-	margin-top: 0px;
623  
-	margin-left: 0px;
624  
-	font-size: 0.75em;
625  
-	line-height: 1.2em;
626  
-}
627  
-
628  
-TABLE.calendarmini THEAD TD {
629  
-    font-size: .95em;
630  
-    text-align: center;
631  
-    vertical-align: center;
632  
-}
633  
-
634  
-TABLE.calendarmonth THEAD TD {
635  
-    text-align: center;
636  
-    vertical-align: center;
637  
-    padding-bottom: 3px;
638  
-    border-bottom: 2px <?PHP echo $THEME->borders?> solid;
639  
-}
640  
-
641  
-.sideblockmain .cal_event {
642  
-    font-size: 0.8em;
643  
-    font-weight: bold;
644  
-}
645  
-
646  
-.sideblockmain .cal_event_date {
647  
-	font-size: 0.6em;
648  
-}
649  
-
650  
-.mycalendar {
651  
-    -moz-border-radius-bottomleft: 20px;
652  
-    -moz-border-radius-bottomright: 20px;
653  
-}
654  
-
655  
-.mycalendar .cal_event {
656  
-	font-weight: bold;
657  
-}
658  
-.mycalendar .cal_event_date {
659  
-	font-size: 0.8em;
660  
-}
661  
-
662  
-.mycalendar TABLE.cal_filters {
663  
-    width: 100%;
664  
-    border-width: 1px;
665  
-    border-color: <?PHP echo $THEME->borders?>;
666  
-    border-style: solid;
667  
-    margin: 0px;
668  
-    padding: 2px;
669  
-    -moz-border-radius: 10px;
670  
-}
671  
-
672  
-.mycalendar .cal_filters THEAD TD {
673  
-    border-bottom: 2px <?PHP echo $THEME->borders?> solid;
674  
-    margin: 0px;
675  
-    padding: 2px;
676  
-}
677  
-
678  
-
679  
-.mycalendar .cal_event_table {
680  
-    width: 100%;
681  
-    border-width: 1px;
682  
-    border-color: <?PHP echo $THEME->borders?>;
683  
-    border-style: solid;
684  
-    margin: 0px;
685  
-    padding: 2px;
686  
-    -moz-border-radius: 10px;
687  
-}
688  
-
689  
-.mycalendar .cal_event_table THEAD {
690  
-	background-color: <?PHP echo $THEME->cellcontent?>;
691  
-	text-align: center;
692  
-	font-weight: bold;
693  
-}
694  
-
695  
-.sideblockmain HR {
696  
-	height: 1px;
697  
-	border: none;
698  
-	border-top: 1px #999 solid;
699  
-	margin-top: 4px;
700  
-	margin-bottom: 4px;
701  
-}
702  
-
703  
-.mycalendar HR {
704  
-	height: 1px;
705  
-	border: none;
706  
-	border-top: 1px #999 solid;
707  
-	margin-top: 4px;
708  
-	margin-bottom: 4px;
709  
-}
710  
-
711  
-.calendarreferer {
712  
-	font-weight: bold;
713  
-}
714  
-
715  
-TD.cal_event_description {
716  
-	width: 80%;
717  
-	border-left: 2px <?php echo $THEME->borders?> solid;
718  
-	vertical-align: top;
719  
-	padding: 5px;
720  
-}
721  
-
722  
-.cal_popup_fg {
723  
-    background-color: <?php echo $THEME->cellcontent?>;
724  
-}
725  
-
726  
-.cal_popup_bg {
727  
-    border-top: 2px <?php echo $THEME->cellcontent2 ?> solid;
728  
-    border-left: 2px <?php echo $THEME->cellcontent2 ?> solid;
729  
-    border-right: 2px <?php echo $THEME->cellheading2 ?> solid;
730  
-    border-bottom: 2px <?php echo $THEME->cellheading2 ?> solid;
731  
-    background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);
732  
-    padding: 0px;
733  
-    margin: 0px;
734  
-}
735  
-
736  
-.cal_popup_caption {
737  
-    font-size: 75%;
738  
-    font-weight: bold;
739  
-    font-family: sans-serif;
740  
-}
741  
-
742  
-.cal_popup_close {
743  
-	font-size: 75%;
744  
-	font-weight: bold;
745  
-    font-family: sans-serif;
746  
-	margin-right: 5px;
747  
-}
748  
-
749  
-.sideblock .cal_controls {
750  
-	text-align: center;
751  
-	font-size: 9px;
752  
-}
753  
-
754  
-A IMG {
755  
-	border: none;
756  
-}
757  
-
758  
-TABLE.formtable TD {
759  
-	padding: 9px;
760  
-}
761  
-
762  
-.eventfull {
763  
-    border-width: 1px;
764  
-    border-color: <?PHP echo $THEME->borders?>;
765  
-    border-style: solid;
766  
-    -moz-border-radius-bottomleft: 15px;
767  
-    -moz-border-radius-bottomright: 15px;
768  
-}
769  
-
770  
-.eventfullheader {
771  
-}
772  
-
773  
-.eventfullpicture {
774  
-    padding:8px;
775  
-}
776  
-
777  
-.eventfullside {
778  
-    -moz-border-radius-bottomleft: 15px;
779  
-}
780  
-
781  
-.eventfullmessage {
782  
-    -moz-border-radius-bottomright: 15px;
783  
-}
784  
-
785  
-#block_course_summary, #block_course_summary .sideblockmain {
786  
-    -moz-border-radius: 20px;
787  
-}
788  
-
789  
-#block_course_summary .sideblockmain {
790  
-    padding: 10px;
791  
-}
792  
-
793  
-.sitetopic {
794  
-    border-width: 1px;
795  
-    border-color: <?PHP echo $THEME->borders?>;
796  
-    border-style: solid;
797  
-    -moz-border-radius: 15px;
798  
-}
799  
-
800  
-.sitetopiccontent {
801  
-    -moz-border-radius: 15px;
802  
-}
803  
-
804  
-.rssclientitem {
805  
-}
806  
-
807  
-.rssclientlink {
808  
-	font-size: x-small;
809  
-    border-top: 1px <?php echo $THEME->cellheading2 ?> solid;
810  
-    padding-bottom: 5px;
811  
-}
812  
-
813  
-.rssclientdescription {
814  
-	font-size: x-small;
815  
-    color: #555555;
816  
-    padding-left: 10px;
817  
-    padding-bottom: 8px;
818  
-}
819  
-
820  
-.message_contact {
821  
-	font-size: small;
822  
-}
823  
-.message_summary {
824  
-	font-size: small;
825  
-}
826  
-.message_summary_link {
827  
-	font-size: small;
828  
-    text-align: right;
829  
-}
830  
-.message_date {
831  
-	font-size: small;
832  
-}
833  
-.message_small_note {
834  
-	font-size: x-small;
835  
-}
836  
-.message_link {
837  
-	font-size: x-small;
838  
-    vertical-align: center;
839  
-}
840  
-.message_pix {
841  
-	font-size: x-small;
842  
-}
843  
-.message_form {
844  
-	font-size: 0.78em;
845  
-}
846  
-.message_heading {
847  
-	font-size: medium;
848  
-    font-weight: bold;
849  
-    text-align:center;
850  
-}
851  
-.message_search_results {
852  
-    border-collapse: collapse;
853  
-    border-spacing: 0px;
854  
-}
855  
-TABLE.message_search_results TD {
856  
-    border-width: 1px;
857  
-    border-color: <?PHP echo $THEME->borders?>;
858  
-    border-style: solid;
859  
-    padding: 5px;
860  
-}
  19
+?>
265  theme/standardxhtml/styles_color.css
... ...
@@ -0,0 +1,265 @@
  1
+/*  $Id$ */
  2
+
  3
+/*
  4
+** color
  5
+*/
  6
+
  7
+
  8
+/* basic styles */
  9
+a:link,
  10
+a:visited {
  11
+    color:#0000FF;
  12
+}
  13
+
  14
+a.dimmed:link,
  15
+a.dimmed:visited {
  16
+    color:#AAAAAA; /* hidden */
  17
+}
  18
+
  19
+a.autolink:link,
  20
+a.autolink:visited {
  21
+    color:#000000;
  22
+    background-color:#DDDDDD; /* autolink */
  23
+}
  24
+
  25
+a.autolink:hover,
  26
+a:hover,
  27
+a.dimmed:hover {
  28
+    color:#FF0000;
  29
+}
  30
+
  31
+/* general styles */
  32
+th {
  33
+    background-color:#FFD991;
  34
+}
  35
+
  36
+
  37
+/* header styles */
  38
+
  39
+
  40
+/* footer styles */
  41
+
  42
+
  43
+/* content styles */
  44
+.generalbox {
  45
+    border-color:#FFC85F; /* borders */
  46
+}
  47
+
  48
+/* many */
  49
+.noticebox {
  50
+    border-color:#FFC85F; /* borders */
  51
+}
  52
+
  53
+.highlight {
  54
+    background-color:#AAFFAA; /* highlight */
  55
+}
  56
+
  57
+/* entry-page index.php */ 
  58
+.sitetopic {
  59
+    border-color:#FFC85F; /* borders */
  60
+}
  61
+
  62
+/* summary of a user in a nice little box - weblib.php */
  63
+.userinfobox {
  64
+    border-color:#FFC85F; /* borders */
  65
+}
  66
+
  67
+/* glossary, wiki */
  68
+.generaltab {
  69
+    background-color:#FFD991; /* cellheading */
  70
+}
  71
+
  72
+.generaltabselected {
  73
+    background-color:#FFC85F; /* cellheading2 */
  74
+}
  75
+
  76
+/* assignment, forum, glossary */
  77
+.forumheaderlist,
  78
+.forumpost {
  79
+    border-color:#FFC85F; /* borders */
  80
+}
  81
+
  82
+/* weblib.php table */
  83
+.tabledivider {
  84
+    border-color:#FFC85F; /* borders */
  85
+}
  86
+
  87
+/* calendar */
  88
+table.calendarmini {
  89
+    border-color:#FFC85F; /* borders */
  90
+}
  91
+
  92
+table.calendarmini tbody td {
  93
+    border-color:#FEE6B9; /* cellcontent2 */
  94
+}
  95
+
  96
+table.calendarmonth tbody td {
  97
+    border-color:#FEE6B9; /* cellcontent2 */
  98
+}
  99
+
  100
+.cal_event_global {
  101
+    border-color:#2EBA0E !important;
  102
+    background-color:#2EBA0E;
  103
+}
  104
+
  105
+.cal_event_course {
  106
+    border-color:#FF9966 !important;
  107
+    background-color:#FF9966;
  108
+}
  109
+
  110
+.cal_event_group {
  111
+    border-color:#FBBB23 !important;
  112
+    background-color:#FBBB23;
  113
+}
  114
+
  115
+.cal_event_user {
  116
+    border-color:#A1BECB !important;
  117
+    background-color:#A1BECB;
  118
+}
  119
+
  120
+.cal_duration_global {
  121
+    border-top-color:#2EBA0E !important;
  122
+    border-bottom-color:#2EBA0E !important;
  123
+}
  124
+
  125
+.cal_duration_course {
  126
+    border-top-color:#FF9966 !important;
  127
+    border-bottom-color:#FF9966 !important;
  128
+}
  129
+
  130
+.cal_duration_user {
  131
+    border-top-color:#A1BECB !important;
  132
+    border-bottom-color:#A1BECB !important;
  133
+}
  134
+
  135
+.cal_duration_group {
  136
+    border-top-color:#FBBB23 !important;
  137
+    border-bottom-color:#FBBB23 !important;
  138
+}
  139
+
  140
+.cal_weekend {
  141
+    color:#FF0000;
  142
+}
  143
+
  144
+.cal_today {
  145
+    border-color:#000000 !important;
  146
+}
  147
+
  148
+table.calendarmonth thead td {
  149
+    border-bottom-color:#FFC85F;
  150
+}
  151
+
  152
+.mycalendar .cal_filters thead td {
  153
+    border-bottom-color:#FFC85F;
  154
+}
  155
+
  156
+.mycalendar .cal_event_table thead {
  157
+    background-color:#FFFFFF; /* cellcontent */
  158
+}
  159
+
  160
+td.cal_event_description {
  161
+    border-left-color:#FFC85F;
  162
+}
  163
+
  164
+.cal_popup_fg {
  165
+    background-color:#FFFFFF; /* cellcontent */
  166
+}
  167
+
  168
+.cal_popup_bg {
  169
+    border-color:#FEE6B9;
  170
+}
  171
+
  172
+.mycalendar .cal_event_table, 
  173
+table.calendarmonth, 
  174
+.mycalendar table.cal_filters {
  175
+    border-color:#FFC85F; /* borders */
  176
+}
  177
+
  178
+.sideblockmain hr,
  179
+.mycalendar hr {
  180
+    border-top-color:#999999;
  181
+}
  182
+
  183
+.eventfull {
  184
+    border-color:#FFC85F; /* borders */
  185
+}
  186
+
  187
+/* block_rss_client.php */
  188
+.rssclientlink {
  189
+    border-top-color:#FFC85F;
  19