Hide/show individual activities in any section
[moodle.git] / theme / standardblue / 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
e28a6c73 15/// then custom tags follow. \r
8120317e 16///\r
e28a6c73 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
e28a6c73 30\r
31body, td, th, li {\r
541b602d 32 font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;\r
541b602d 33}\r
8120317e 34\r
e28a6c73 35th {\r
36 font-weight: bold; \r
37 background-color: <?PHP echo $THEME->cellheading?>;\r
2e914755 38}\r
8120317e 39\r
2e914755 40a:link {\r
41 text-decoration: none; \r
42 color: blue;\r
43}\r
8120317e 44\r
2e914755 45a:visited {\r
46 text-decoration: none; \r
47 color: blue;\r
48}\r
8120317e 49\r
2e914755 50a:hover {\r
51 text-decoration: underline; \r
52 color: red;\r
53}\r
8120317e 54\r
2e914755 55form { \r
56 margin-bottom: 0;\r
57}\r
8120317e 58\r
8120317e 59\r
8120317e 60\r
e28a6c73 61\r
62\r
8120317e 63.highlight {\r
64 background-color: <?PHP echo $THEME->highlight?>;\r
65}\r
66\r
67.headingblock {\r
e28a6c73 68 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
8120317e 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
e28a6c73 75 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
8120317e 76}\r
77\r
8120317e 78.generaltable {\r
79}\r
80\r
81.generaltableheader {\r
e28a6c73 82 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
8120317e 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
e28a6c73 95 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
8120317e 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
e28a6c73 110.outlineheadingblock {\r
111 background-image: url(<?PHP echo "$themeurl"?>/gradient.jpg);\r
8120317e 112 border-width: 1px;\r
113 border-color: <?PHP echo $THEME->borders?>;\r
114 border-style: solid;\r
115}\r
116\r
e28a6c73 117.forumpost {\r
d34189e1 118 border-width: 1px;\r
119 border-color: <?PHP echo $THEME->borders?>;\r
120 border-style: solid;\r
121}\r
122\r
e28a6c73 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
137\r
138\r
9984fe99 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
541b602d 151.weeklyoutlinecontenthighlight {\r
541b602d 152}\r
9984fe99 153\r
e28a6c73 154\r
9984fe99 155.topicsoutline {\r
156}\r
157\r
158.topicsoutlineside {\r
159}\r
160\r
161.topicsoutlinesidehighlight {\r
162}\r
163\r
164.topicsoutlinecontent {\r
165}\r
166\r
541b602d 167.topicsoutlinecontenthighlight {\r
541b602d 168}\r
9984fe99 169\r
541b602d 170\r
e28a6c73 171.siteinfo {\r
9984fe99 172 border-width: 1px;\r
173 border-color: <?PHP echo $THEME->borders?>;\r
174 border-style: solid;\r
175}\r
176\r
e28a6c73 177.siteinfocontent {\r
9984fe99 178}\r
179\r
180\r
e28a6c73 181.generalbox {\r
182 border-width: 1px;\r
183 border-color: <?PHP echo $THEME->borders?>;\r
184 border-style: solid;\r
9984fe99 185}\r
186\r
e28a6c73 187.generalboxcontent {\r
9984fe99 188}\r
189\r
c897eac5 190.feedbacktext {\r
191 color: <?PHP echo $THEME->cellheading2?>;\r
192}\r
1acfbce5 193\r
194a.dimmed:link {\r
195 text-decoration: none; \r
196 color: #AAAAAA;\r
197}\r
198\r
199a.dimmed:visited {\r
200 text-decoration: none;\r
201 color: #AAAAAA;\r
202}\r
203\r
204a.dimmed:hover {\r
205 text-decoration: underline;\r
206 color: red;\r
207}\r