I modified standardwhite slightly to appear whith lightyellow colors.
Have a look on:
http://bs.seminar-karlsruhe.de/forum/
Have fun with it!
Thanks a lot to Urs for his excellent theme-documentation!
Bertold
P.S:
Only changes are to styles_color: theese colors are changed:
diff -bB standard/styles_color.css standardlightyellow/styles_color.css
57c57
< background-color:#FAFAFA;
---
> background-color:#FFFFE0;
146c146
< background: #FFD991;
---
> background: #FFEBA6;
216c216
< background-color: #FAFAFA;
---
> background-color:#FFFFE0;
226c226
< background-color: #fafafa;
---
> background-color:#FFFFE0;
244c244
< background-color:#FCFCFC;
---
> background-color:#FFFFCC;
415c415
< background: #FFD991;
---
> background: #FFEBA6;
614c614
< background: #FFD991;
---
> background: #FFEBA6;
621c621
< border-color: #FFD991;
---
> border-color: #FFEBA6;
"but I don't understand this behavior, because in standardwhite or standardlogo there isn't a pix folder"
Berthold, I suppose you decided to use custompix and use the line:
$THEME->custompix = true;
In this case you must also copy the tab folder into your pix folder. If you set
$THEME->custompix = false;
the tabs of your parent theme or the standard theme are taken, depending on your config.
Urs
PS. Sorry Jeff
Martin reworked "standardwhite" and "standardlogo" for Moodle 1.5. For only a few changes it is best to work as you see it in for example "standardwhite". Relay compleatly on the theme "standard" and use a small CSS file for your changes to overwrite some of the standard properties with your colors, fonts or whatever.
My CoolBlueOrb theme is on my test site, with custompix set to false, and without the Pix directory, no tabs show.
Could I be using old 1.5 theme files?
Jeff
Hi Jeff,
my themes took the tabs of the parent theme - so I thought it where the userpix configuration.
But it is not. If you use a copy of "styles_color.css" you must comment out or delete the tabs section in this CSS file. In this section the tab pix are linked - and they link to your theme folder. My themes did not have this tabs section and worked perfectly. I tried commenting the whole section out in the theme "metal" and the theme starts using the standard tabs. Like the theme "standardwhite" which does not have it's own tabs definition in CSS. If you know the reason it's quite logical.
Would you like to try with "CoolBlueOrb" and tell us, if this config works for you?
Thank you,
Urs
Good work all around on this Urs!!!!
































thanks for your explanation, but that's what I thought (with your documentation)...
But it doesn't work when I don't copy the pix-folder in my new theme...
I don't want a custom-pix-folder (or better, I don't have the time to change it).
Thanks for help
Bertold
P.S:
My steps in creating a new them:
cp -r standardwhite standardlightyellow
edit config.php to use own colors
edit styles_color.css to change some colors
Here are the differencies:
diff -bB standardlightyellow/config.php standardwhite/config.php
9c9
< $THEME->sheets = array('gradients','styles_color');
---
> $THEME->sheets = array('gradients');
15c15,16
< $THEME->standardsheets = array('styles_layout','styles_fonts','styles_moz');
---
>
> $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color','styles_moz');
Binary files standardlightyellow/gradient.jpg and standardwhite/gradient.jpg differ
Only in standardlightyellow: styles_color.css
you copied exactly the "styles_color" with the tab definitions into your folder and excluded it form the list of standard CSS files.
If you add "styles_color" to the list of standard CSS files again and delete the tabs section from your "styles_color" and look for other parts with urls to the pix folder and delete them you should not need the pix folder any more.
It should work, it works for several other themes.
I wish you much success
Urs
thanks for your help!
It works now!
P.S: I don't have to delete the parts with the urls to the pix folder, I have to edit them from:
url('pix/tab/
to:
url('../standard/pix/tab/
Only deleting don't solve the problem, am i right?
(since there is no definition of tabs in other css-files, or?)
Bertold