New style classes added to standard themes
[moodle.git] / theme / standardred / styles.php
CommitLineData
8120317e 1<?PHP // $Id$\r
2\r
3/// We use PHP so we can do value substitutions into the styles\r
4\r
5 require_once("../../config.php"); \r
6\r
7 if (isset($themename)) {\r
8 $CFG->theme = $themename;\r
9 }\r
10\r
11 $themeurl = "$CFG->wwwroot/theme/$CFG->theme";\r
12\r
13/// From here on it's nearly a normal stylesheet.\r
14/// First are some CSS definitions for normal tags, \r
9984fe99 15/// then custom tags follow. \r
8120317e 16///\r
9984fe99 17/// New classes always get added to the end of the file.\r
18///\r
19/// Note that a group of standard colours are all \r
20/// defined in config.php in this directory. The\r
21/// reason for this is because Moodle uses the same\r
22/// colours to provide oldstyle formatting for \r
23/// browsers without CSS.\r
24///\r
25/// You can hardcode colours in this file if you \r
26/// don't care about this.\r
8120317e 27\r
28?>\r
29\r
30\r
31a:link {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
32 text-decoration: none; \r
33 color: blue;}\r
34a:visited {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
35 text-decoration: none; \r
36 color: blue;}\r
37a:hover {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
38 text-decoration: underline; \r
39 color: red;}\r
40\r
41body {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
42\r
43p {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
44\r
45h1 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
46\r
47h2 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
48\r
49h3 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
50\r
51h4 {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
52\r
53th {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; \r
54 font-weight: bold; \r
55 background-color: <?PHP echo $THEME->cellheading?>;}\r
56\r
57td {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
58\r
59li {font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;}\r
60\r
61form { margin-bottom: 0; }\r
62\r
63.highlight {\r
64 background-color: <?PHP echo $THEME->highlight?>;\r
65}\r
66\r
67.headingblock {\r
68 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
69 border-width: 1px;\r
70 border-color: <?PHP echo $THEME->borders?>;\r
71 border-style: solid;\r
72}\r
73\r
74.navbar {\r
75 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
76}\r
77\r
8120317e 78.generaltable {\r
79}\r
80\r
81.generaltableheader {\r
82 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
83}\r
84\r
85.generaltablecell {\r
86}\r
87\r
88.sideblock {\r
89 border-width: 1px;\r
90 border-color: <?PHP echo $THEME->borders?>;\r
91 border-style: solid;\r
92}\r
93\r
94.sideblockheading {\r
95 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
96}\r
97\r
98.sideblockmain {\r
99}\r
100\r
101.sideblocklinks {\r
102}\r
103\r
104.sideblocklatestnews {\r
105}\r
106\r
107.sideblockrecentactivity {\r
108}\r
109\r
110.outlineheadingblock {\r
111 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
112 border-width: 1px;\r
113 border-color: <?PHP echo $THEME->borders?>;\r
114 border-style: solid;\r
115}\r
116\r
d34189e1 117.forumpost {\r
118 border-width: 1px;\r
119 border-color: <?PHP echo $THEME->borders?>;\r
120 border-style: solid;\r
121}\r
122\r
123.forumpostheader {\r
124}\r
125\r
126.forumpostheadertopic {\r
127}\r
128\r
129.forumpostpicture {\r
130}\r
131\r
132.forumpostside {\r
133}\r
134\r
135.forumpostmessage {\r
136}\r
9984fe99 137\r
138\r
139.weeklyoutline {\r
140}\r
141\r
142.weeklyoutlineside {\r
143}\r
144\r
145.weeklyoutlinesidehighlight {\r
146}\r
147\r
148.weeklyoutlinecontent {\r
149}\r
150\r
151\r
152.topicsoutline {\r
153}\r
154\r
155.topicsoutlineside {\r
156}\r
157\r
158.topicsoutlinesidehighlight {\r
159}\r
160\r
161.topicsoutlinecontent {\r
162}\r
163\r
164\r
165.siteinfo {\r
166 border-width: 1px;\r
167 border-color: <?PHP echo $THEME->borders?>;\r
168 border-style: solid;\r
169}\r
170\r
171.siteinfocontent {\r
172}\r
173\r
174\r
175.generalbox {\r
176 border-width: 1px;\r
177 border-color: <?PHP echo $THEME->borders?>;\r
178 border-style: solid;\r
179}\r
180\r
181.generalboxcontent {\r
182}\r
183\r