56 Commits

Author SHA1 Message Date
moodler
d65a650133 Fixes for Theme preview 2005-01-31 05:58:03 +00:00
moodler
6fde77de24 Modifications to allow parent theme, and some genral cleanups 2005-01-30 18:17:44 +00:00
moodler
f21330e3a0 Better handles an empty array. 2005-01-26 14:16:15 +00:00
moodler
b3f748f655 There is a new configuration variable called
$THEME->standardsheets

that a theme can use to control how much of the
standard theme is included before the actual current
theme sheets.

When true, use all subsheets from "standard"

When not existent, use all subsheets from "standard" (this is to help old
themes work better out of the box)

When false, don't use standard at all

When an array of filenames, only use those (in that order).
2005-01-26 14:14:16 +00:00
moodler
7290d99537 Reworked styles.php to make it more programmatic with an accurate lastmodified date 2005-01-25 14:40:15 +00:00
moodler
a8e1f343c0 IMPORTANT CHANGE TO THEMES!
This is the new standard theme, based on the excellent work by
Urs Hunkler (and I believe David Scotson had an influence)
who has started rationalising the old mess.

I've made this a very neutral, almost white theme.

[ Come to think of it maybe I've been looking at iPods and Mac Minis
  a bit too much recently.  ;-) ]

The idea is that the standard styles will be included by all
other themes (including custom themes) before local overriding
styles are applied.

This means that upgrades will cause less problems for custom themes.
It's a bit like the language packs, where "en" is always referenced
when a local language string isn't found.

PROGRAMMERS: All new styles MUST go into this "standard" theme,
and the default colours should match the plain white look.

Once this theme settles down a bit we need to upgrade all the other
packaged themes accordingly.
2005-01-25 13:17:15 +00:00
moodler
bbd587a753 Changes to the generaltab classes to distinguish between selected and non
selected tabs
2004-12-28 10:04:49 +00:00
defacer
bb4a2e85c0 New features implemented:
* Configurable defaults for the calendar upcoming events lookahead and
   maximum upcoming events displayed (bug #1623)

 * Configurable setting for which days of the week are treated as weekend
   (bug #1919)

 * Configurable setting for which day starts the week (the admin can now set
   this as the default for new users and guests without messing with language
   packs) (no butracker issue)
2004-12-16 18:49:57 +00:00
defacer
86f092d25e New "Calendar" section in Admin -> Configuration.
Includes preliminary support for DST!
Includes "admin sees all events or only own?" setting (bug 1972)

WARNING: Modified moodlelib.php to explicitly specify NOT-DST when
calling mktime() and gmmktime(). This is essential since we don't want
PHP to second-guess us for the DST matters, but... it may affect existing
code?
2004-12-15 07:14:41 +00:00
gustav_delius
4de5f7bbdf added some missing styles to make Latest News and Recent Activity blocks look the same as in Moodle 1.4 2004-11-24 09:38:04 +00:00
moodler
18fc7e7c67 Moving style information from XHTML code to stylesheets 2004-09-30 06:52:49 +00:00
moodler
dca5ac23eb Added styles for site topic on front page 2004-07-14 06:51:13 +00:00
defacer
87722d4f2c A couple of new CSS rules to make the course summary block display the same as before. 2004-05-28 10:48:59 +00:00
moodler
b1049b0bdd Added styles for full event display 2004-05-23 10:29:46 +00:00
moodler
2367e13d6c LOTS of theme fixes for calendars etc 2004-05-22 07:53:40 +00:00
moodler
c488e669cc Updated standard styles for new calendar popups 2004-05-22 07:03:55 +00:00
defacer
f5e99d07a0 Removed obsolete class 2004-05-21 13:47:15 +00:00
defacer
6e245258d2 Changed a few visuals, mainly colors to better distinguish among event types.
It's probably better this way.
2004-04-28 09:46:56 +00:00
defacer
496659193f Upgrade with more intelligent CSS rules. 2004-04-20 11:17:31 +00:00
moodler
829b0c27a3 Added styles as per Jon's recommended install. Things may change though. 2004-03-29 15:40:15 +00:00
moodler
ad0abe9d77 Added new style headingblockcontent 2004-02-15 13:58:22 +00:00
moodler
4fb93b2ed2 Check $themename to prevent warnings at high levels of debugging ... 2004-01-26 18:22:02 +00:00
moodler
5604f7798f New style for tabledivider, and some fixups 2004-01-26 10:14:22 +00:00
moodler
0affff5ecd Put $themename back again 2004-01-26 04:34:44 +00:00
gustav_delius
2e39d2f810 minor fixes, including bugs 997, 998 2004-01-25 19:37:04 +00:00
moodler
e1518b0c1c Added two new styles for smallinfo displays on the side 2003-12-28 05:56:34 +00:00
moodler
18eebff22d Mention new style 2003-11-19 02:55:37 +00:00
moodler
ba1ce4c0eb new style forumheaderlist (instead of re-using forumpost as before) 2003-10-29 06:24:49 +00:00
moodler
5bc6e68fbe Put rounded corners on category box too 2003-10-21 06:55:02 +00:00
moodler
dfe052fcfd Some additions to standard styles 2003-10-21 06:39:05 +00:00
moodler
d8ff63f276 Added styles and colour for autolink'ed text 2003-10-16 03:21:09 +00:00
moodler
8bb0899949 Some improved XHTML 2003-09-21 15:32:25 +00:00
moodler
266d6b75d2 Slight fix for category names (too big on IE) 2003-09-08 14:46:00 +00:00
moodler
091ebec973 Improvements in styles for category/course listings 2003-09-03 15:23:41 +00:00
moodler
d5f26b070c Added some missing styles from the course listing, so that the
course and category names can be tweaked.
2003-08-29 01:31:41 +00:00
moodler
6535be8551 New, shorter intro to styles files that calls a function.
This function sets header information to improve caching (default 5 minutes)

Cookies are also prevented to improve cacheability.
2003-08-12 07:52:19 +00:00
moodler
b5987b0f49 Added missing style - .forumpostheadertopic 2003-05-20 06:17:06 +00:00
moodler
e48feed988 Many little clean-ups for themes.
- Got rid of obvious non-XHTML code in headers and footers.
  - Got rid of all the PHP short tags
  - Added new styles for the headers
2003-05-15 13:55:22 +00:00
moodler
4105fe9dd2 Added two styles: .noticebox and .noticeboxcontent 2003-05-05 12:17:34 +00:00
moodler
ea23100a02 Style cleanups. Some consistency, converted all to Unix format, and
added manual setting of the MIME type.
2003-05-05 08:12:28 +00:00
moodler
93d64ea469 Get rid of dashes 2003-05-04 15:16:17 +00:00
moodler
b37eb1bf00 Theme updates to suit new course formatting 2003-05-04 15:09:13 +00:00
moodler
81ed361792 Added new style for hidden topics as well as some docs about
all the changes in this version
2003-05-04 07:58:15 +00:00
stronk7
85093cf4f9 Added the dimmed_text css style to show normal text dimmed (gray #AAAAAA) 2003-04-26 18:54:37 +00:00
moodler
78e0146055 Argh! Excess quotes in CSS 2003-04-26 12:12:30 +00:00
moodler
6eb6cd8753 New style for teacher-only colour (eg when showing teacher posts in recent activity) 2003-04-26 12:07:14 +00:00
moodler
b328523cc1 Style for "You are logged in as xxx" and the link to the course home page. 2003-04-25 09:23:08 +00:00
moodler
29507631a9 First pass at a cleaner display for discussion listings 2003-04-18 03:58:12 +00:00
moodler
1acfbce5b6 Hide/show individual activities in any section
Code submitted by Eloy Lafuente (thanks!) for 1.0.8 ... I hand-merged it
into 1.0.9.
2003-04-14 15:11:09 +00:00
moodler
c897eac5e4 Some small robustness things, and a new style for quiz feedback text 2003-01-08 09:08:05 +00:00