Chameleon and Message popups

Chameleon and Message popups

Steven McKay -
回帖数:7
Hi,
I've been playing around with chameleon on my site and I'm pretty pleased with it (since I don't really know CSS, or want to).  However, I have one problem.  When a student sends me a message, the message box colors are wrong.  Where the message is written, the colors make it hard to read.  It looks like the background of the message is the body color of the main site which is really dark.  I would like to use the courseboxcontent color or the color behind the coursebox for the message background.  Is there an easy way to fix this? (Its entirely possible that I messed the colors up when I was initially playing around with chameleon).   When I shift-click on the message box, chameleon does not pop up.

To see the colors in question, go to mathcourses.byu.edu.  Login as testuser with password default if you want to look inside the site.  testuser is a student of Calculus II section 12 Fall 06, but will be going away soon.

I apologize in advance if this is a really stupid question, but I'll still appreciate any help you can give 微笑

S.M.
回复Steven McKay

Re: Chameleon and Message popups

Joseph Rézeau -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像
#message-messages .message .me {
  background-color:yellow;
  color:red;
}
replace yellow and red with the colors of your choice
Joseph
回复Joseph Rézeau

Re: Chameleon and Message popups

Steven McKay -
Sorry for the naive reply, I assume that I append that to the end of the material in the free edit box?  It doesn't work.  I'm clearly doing something wrong but I don't know what.伤心

Thanks
S.M.
回复Steven McKay

Re: Chameleon and Message popups

Steven McKay -
I figured it out.  I removed the #message-messages part, and it uses the stated color.  Thanks for your help.
回复Steven McKay

Re: Chameleon and Message popups

Joseph Rézeau -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像
Hi Steven, my fault. As I don't use Chameleon myself but edit my own CSS files, I assumed that you would copy & paste my CSS style into one of your theme's CSS files...
Joseph
回复Steven McKay

Re: Chameleon and Message popups

Steve O'Connor -
I may seem dense, but this one still eludes me. Can anyone be a little more specific as to which file and what modifications work? I tweak templates all the time--but I'm stumped here. Maybe I just need to walk away from this for awhile--I'm sure it is something I should know!

Thanks!

Steve
回复Steve O'Connor

Re: Chameleon and Message popups

Urs Hunkler -
Core developers的头像

Some areas in Moodle you can't access with Chameleon directly. The "Free Edit" tab offers to write or copy and paste CSS.

Please read "8.1 How can I change the background of the "messages" with Chameleon?" or "8.2 How can I change the background of the "chat" window with Chameleon?" in Moodle Docs.

Urs

回复Urs Hunkler

Re: Chameleon and Message popups

Steve O'Connor -
Yes--That helps! Thank you!

I'm still having trouble wit the chat--but I'll keep plugging!

I'll post the code if I can't get it soon!

Thanks again!

Steve