What is the Default Theme colur Scheme?

What is the Default Theme colur Scheme?

by David Nash -
Number of replies: 2

Hi,

From messing with the .css files and using hit and miss to see what happens to the frontpage when changing colours, it seems to me that the Frontpage is  a combination of the standard and the standardwhite themes.

Is this correct?

Is there somewhere I can edit to create just one css sheet for the whole site and is there somewhere where I can get an explanation of what css style effects what element of the pages. Or is it just trialand error to figure it out?

cheers

Average of ratings: -
In reply to David Nash

Re: What is the Default Theme colur Scheme?

by A. T. Wyatt -
Greetings, Darren!

If you want to see an example of a theme that uses a single css stylesheet, I believe you could examine Orange Chocolate by Joseph Rezeau. (check the themes database on the front page to download)

If you want to see the elements, perhaps you could give Chameleon a try? If you search for it in this forum, you will find quite a lot of information.

atw
In reply to David Nash

Re: What is the Default Theme colur Scheme?

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Darren,

It is not clear from your post what you actually want to do.

If you want to create your own visual theme for Moodle, then you might consider studying the Themes documentation. Basically you don't create a brand-new theme from scratch, you copy an existing theme (e.g. standard) and then you customize it. It is almost impossible to provide a complete list of all the elements (CSS classes) in a Moodle site, but you can get good results by using these techniques: a) browsing through existing themes CSS files b) using the Chameleon theme as suggested by A.T. Wyatt c) installing the excellent Webdeveloper plugin in FireFox.

"Is there somewhere I can edit to create just one css sheet for the whole site" -> you don't create a CSS sheet for a whole Moodle site, but you may do so for a Moodle theme. Maybe you would like to have a unique CSS file in your own personal theme rather than separate styles_color.css, styles_fonts.css, styles_layout.css etc. files. This is what I have done in my own orangechoc theme. On the topic of single vs multiple CSS files, see this discussion.

I do not understand "it seems to me that the Frontpage is a combination of the standard and the standardwhite themes." The way the front page of a Moodle site looks like depends on the chosen theme for that site. If you select standardwhite as your site default theme, then indeed standardwhite is based on standard. In fact most Moodle Themes are based on the standard theme. Again, all of this is well-explained in the Themes Documentation and can also be understood when looking at all the files in any given theme distributed with Moodle.

Finally, some themes will work only with some versions of Moodle, so it is important to know which Moodle version you are using.

Hope that helps,

Joseph

Average of ratings:Useful (1)