14 Commits

Author SHA1 Message Date
urs_hunkler
c24a1ccd08 I added all code to handle the cookies and the sideblock content, the icon and the patches for hiding/showing the content of the sideblocks.
How it works:
_ within the "sideblockheading" a DIV with class="hide-show" holds a link calling the JS containerDisplaySwitching(). To the user it's represented by the icon "switch.gif" (a plus in a square) at the right end side of the header.
_ all content of the sideblock is surounded by a new <div class="blockcontent" id="'.$attributes['id']."_cont\">"
_ a call of the JS containerDisplaySwitching() changes the state of the appropriate DIV with the content to "display:none/inline" and writes this state into a cookie.
_ at the end of every block I added a call to the JS "containerDisplaySet()". This reads the block's state and hides the content or leaves it visible with every page load.
_ in the stylesheet I added the positioning of the icon:
.sideblockheading .hide-show {
    float:right;
}
.sideblockheading a img.hide-show-image {
    padding-top:0.25em;
}
2005-02-05 21:37:53 +00:00
moodler
d65a650133 Fixes for Theme preview 2005-01-31 05:58:03 +00:00
moodler
3b765890f3 Updated to latest styles.php and config.php 2005-01-30 18:21:54 +00:00
urs_hunkler
f67f8307a4 I changed the course colors again ;-) 2005-01-30 13:12:10 +00:00
urs_hunkler
6a4c008b39 changed the style of .unread. I'm using this "hook" and the very short text "+ 1" to signalize about new posts unexcited but as an disquieter. 2005-01-30 11:34:30 +00:00
urs_hunkler
214dcd4216 changed the coursespecific colors for course 1 to 4 2005-01-30 11:28:17 +00:00
moodler
e45746d8fe Moving all the config to config.php ... styles.php should now not
need to be touched for most themes.
2005-01-30 08:43:05 +00:00
urs_hunkler
d3c402fba8 minor changes 2005-01-29 19:47:56 +00:00
urs_hunkler
8fa1c321cf changes to show different colors for course 1 to 5 on the course page. 2005-01-29 18:46:31 +00:00
urs_hunkler
84853a94d7 changes to deal with the forum class "unread" 2005-01-29 17:36:17 +00:00
urs_hunkler
6eda0e8b03 updates for changed ID of the Moodle index page. 2005-01-29 14:17:04 +00:00
urs_hunkler
5c75c3ca03 took th favicon from another distribution, because the one in the cvs is corrupt. 2005-01-28 21:54:21 +00:00
urs_hunkler
80bcd3cf71 Changes for better cascading specially in for the fonts. To be able to predict the changes I had to turn off integration of the standard CSS in config.php. Martin, this is a really great feature ;-) 2005-01-28 21:52:05 +00:00
moodler
e768789327 Moving XHTML_CSS_UH to orangewhite 2005-01-28 17:26:15 +00:00