Some more information about buggy_referrer
[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
541b602d 15/// then custom tags follow.\r
8120317e 16///\r
541b602d 17/// Note that colours are all defined in config.php\r
18/// in this directory\r
8120317e 19\r
20?>\r
21\r
541b602d 22body {\r
23 font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
24 background-image: url(<?PHP echo "$themeurl"?>/texture1.jpg);\r
25}\r
8120317e 26\r
541b602d 27td, th {\r
2e914755 28 font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
29}\r
8120317e 30\r
2e914755 31a:link {\r
32 text-decoration: none; \r
33 color: blue;\r
34}\r
8120317e 35\r
2e914755 36a:visited {\r
37 text-decoration: none; \r
38 color: blue;\r
39}\r
8120317e 40\r
2e914755 41a:hover {\r
42 text-decoration: underline; \r
43 color: red;\r
44}\r
8120317e 45\r
2e914755 46th {\r
47 font-weight: bold; \r
48 background-color: <?PHP echo $THEME->cellheading?>;\r
49}\r
8120317e 50\r
541b602d 51ul {\r
52 margin-bottom: 5px;\r
53 margin-top: 0px;\r
54}\r
55\r
2e914755 56form { \r
57 margin-bottom: 0;\r
58}\r
8120317e 59\r
8120317e 60\r
8120317e 61\r
8120317e 62.highlight {\r
63 background-color: <?PHP echo $THEME->highlight?>;\r
64}\r
65\r
66.headingblock {\r
541b602d 67 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
8120317e 68 border-width: 1px;\r
69 border-color: <?PHP echo $THEME->borders?>;\r
70 border-style: solid;\r
71}\r
72\r
73.navbar {\r
541b602d 74 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
75}\r
76\r
77.generalbox {\r
78 border-width: 1px;\r
79 border-color: <?PHP echo $THEME->borders?>;\r
80 border-style: solid;\r
81}\r
82\r
83.generalboxcontent {\r
84 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
8120317e 85}\r
86\r
8120317e 87.generaltable {\r
88}\r
89\r
90.generaltableheader {\r
541b602d 91 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
8120317e 92}\r
93\r
94.generaltablecell {\r
95}\r
96\r
97.sideblock {\r
98 border-width: 1px;\r
99 border-color: <?PHP echo $THEME->borders?>;\r
100 border-style: solid;\r
101}\r
102\r
103.sideblockheading {\r
541b602d 104 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
8120317e 105}\r
106\r
107.sideblockmain {\r
541b602d 108 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
8120317e 109}\r
110\r
111.sideblocklinks {\r
541b602d 112 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
8120317e 113}\r
114\r
115.sideblocklatestnews {\r
541b602d 116 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
8120317e 117}\r
118\r
119.sideblockrecentactivity {\r
541b602d 120 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
8120317e 121}\r
122\r
541b602d 123.siteinfo {\r
8120317e 124 border-width: 1px;\r
125 border-color: <?PHP echo $THEME->borders?>;\r
126 border-style: solid;\r
127}\r
128\r
541b602d 129.siteinfocontent {\r
130 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
131}\r
132\r
133.outlineheadingblock {\r
134 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
d34189e1 135 border-width: 1px;\r
136 border-color: <?PHP echo $THEME->borders?>;\r
137 border-style: solid;\r
138}\r
139\r
9984fe99 140.weeklyoutline {\r
141}\r
142\r
143.weeklyoutlineside {\r
541b602d 144 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
145 border-width: 1px;\r
146 border-color: <?PHP echo $THEME->borders?>;\r
147 border-style: solid;\r
9984fe99 148}\r
149\r
150.weeklyoutlinesidehighlight {\r
541b602d 151 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
152 border-width: 1px;\r
153 border-color: <?PHP echo $THEME->borders?>;\r
154 border-style: solid;\r
9984fe99 155}\r
156\r
157.weeklyoutlinecontent {\r
541b602d 158 border-width: 0px;\r
159 border-top: 1px;\r
160 border-bottom: 1px;\r
161 border-color: <?PHP echo $THEME->borders?>;\r
162 border-style: solid;\r
9984fe99 163}\r
164\r
541b602d 165.weeklyoutlinecontenthighlight {\r
166 background: #FDFBF1;\r
167 border-width: 0px;\r
168 border-top: 1px;\r
169 border-bottom: 1px;\r
170 border-color: <?PHP echo $THEME->borders?>;\r
171 border-style: solid;\r
172}\r
9984fe99 173\r
174.topicsoutline {\r
175}\r
176\r
177.topicsoutlineside {\r
541b602d 178 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
179 border-width: 1px;\r
180 border-color: <?PHP echo $THEME->borders?>;\r
181 border-style: solid;\r
9984fe99 182}\r
183\r
184.topicsoutlinesidehighlight {\r
541b602d 185 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
186 border-width: 1px;\r
187 border-color: <?PHP echo $THEME->borders?>;\r
188 border-style: solid;\r
9984fe99 189}\r
190\r
191.topicsoutlinecontent {\r
541b602d 192 border-width: 0px;\r
193 border-top: 1px;\r
194 border-bottom: 1px;\r
195 border-color: <?PHP echo $THEME->borders?>;\r
196 border-style: solid;\r
9984fe99 197}\r
198\r
541b602d 199.topicsoutlinecontenthighlight {\r
200 border-width: 0px;\r
201 border-top: 1px;\r
202 border-bottom: 1px;\r
203 border-color: <?PHP echo $THEME->borders?>;\r
204 border-style: solid;\r
205}\r
9984fe99 206\r
541b602d 207\r
208.forumpost {\r
9984fe99 209 border-width: 1px;\r
210 border-color: <?PHP echo $THEME->borders?>;\r
211 border-style: solid;\r
212}\r
213\r
541b602d 214.forumpostheader {\r
215 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
9984fe99 216}\r
217\r
541b602d 218.forumpostheadertopic {\r
219 background-image: url(<?PHP echo "$themeurl"?>/texture3.jpg);\r
220}\r
9984fe99 221\r
541b602d 222.forumpostpicture {\r
223 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
9984fe99 224}\r
225\r
541b602d 226.forumpostside {\r
227 background-image: url(<?PHP echo "$themeurl"?>/texture2.jpg);\r
9984fe99 228}\r
229\r
541b602d 230.forumpostmessage {\r
231}\r