Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Forcing the colour of the chat discussion pane (pop-up mode).

Forcing the colour of the chat discussion pane (pop-up mode): Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Where the background colour of the chat pane background is inherited and is difficult to read e.g. the colour makes it hard to see the text. The colour can be forced using the following in your theme's CSS.
Where the background colour of the chat pane background is inherited and is difficult to read e.g. the colour makes it hard to see the text. The colour can be forced using the following in your theme's CSS.


<code php></code>
<code php>
html {
html {
   background: none !important;
   background: none !important;
Line 7: Line 7:


body.mod-chat-gui_header_js {
body.mod-chat-gui_header_js {
   background-color: white !important;
  background: none!important; /*optional: disables any background image in the body area */
   background-color: white !important;
}
}
</code>
</code>

Latest revision as of 21:06, 4 December 2010

Where the background colour of the chat pane background is inherited and is difficult to read e.g. the colour makes it hard to see the text. The colour can be forced using the following in your theme's CSS.

html {

 background: none !important;

}

body.mod-chat-gui_header_js {

 background: none!important; /*optional: disables any background image in the body area */
 background-color: white !important;  

}

The above example makes the background white.

(Derived from this discussion in the Theme forum)