"MDL-18971, fix forum unread post highlighting issue, thanks Eric straw's patch, merged from 1.9"

This commit is contained in:
dongsheng
2009-05-25 09:19:27 +00:00
parent e4f0a85e10
commit 994d4a3be1
9 changed files with 107 additions and 35 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ $THEME->sheets = array('user_styles');
////////////////////////////////////////////////////////////////////////////////
$THEME->standardsheets = array('styles_layout');
$THEME->standardsheets = array('styles_layout', 'styles_color');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
+1 -1
View File
@@ -12,7 +12,7 @@ $THEME->sheets = array('fw_layout','fw_color','fw_fonts');
/// stylesheet files you want included in this theme, and in what order
////////////////////////////////////////////////////////////////////////////////
$THEME->standardsheets = array('styles_layout');
$THEME->standardsheets = array('styles_layout', 'styles_color');
///$THEME->standardsheets = true;
/// This variable can be set to an array containing
+1 -1
View File
@@ -398,7 +398,7 @@ table.minicalendar tr td.weekend {
}
#mod-forum-discuss .forumpost.unread .content {
border-color: #C6BDA8;
/* border-color: #C6BDA8; */
}
#mod-forum-discuss .forumthread .unread {
+1 -1
View File
@@ -590,7 +590,7 @@ table.message_search_results td {
#mod-forum-discuss .forumpost.unread .content {
border-width:3px;
border-color: #FFD991;
/* border-color: #FFD991; */
}
#mod-forum-discuss .forumthread .unread {
+19 -2
View File
@@ -862,17 +862,34 @@ table.message_search_results td {
background: none;
}
/** inside border of unread posts in nested format in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumpost.unread .content {
border-color: #FFD991;
}
border-width:2px;
border-color: #0000FF;
}
#mod-forum-discuss .forumthread .unread {
}
/** headers of unread posts in threaded format in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumthread.unread {
background: #FFFF6B;
}
#mod-forum-index .unread {
}
/** unread column background on
* mod/forum/view.php
**/
#mod-forum-view .unread{
background: #FFFF6B;
}
/***
*** Modules: Glossary
***/
+1 -1
View File
@@ -13,7 +13,7 @@ $THEME->sheets = array('styles_layout', 'styles_fonts', 'styles_color', 'styles_
////////////////////////////////////////////////////////////////////////////////
$THEME->standardsheets = array('styles_layout');
$THEME->standardsheets = array('styles_layout', 'styles_color');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
+1 -1
View File
@@ -578,7 +578,7 @@ table.message_search_results td {
background:none
}
#mod-forum-discuss .forumpost.unread .content {
border-color:#FFD991
/* border-color:#FFD991 */
}
#mod-forum-discuss .forumthread .unread {
}
+1 -1
View File
@@ -13,7 +13,7 @@ $THEME->sheets = array('styles_pda');
////////////////////////////////////////////////////////////////////////////////
$THEME->standardsheets = array('styles_layout');
$THEME->standardsheets = array('styles_layout', 'styles_color');
/// This variable can be set to an array containing
/// filenames from the *STANDARD* theme. If the
+81 -26
View File
@@ -728,6 +728,14 @@ body#course-user .section {
background-color: #fdfdfd;
}
/**
* unread count background on
* course/view.php
**/
#course-view .unread{
background: #9EBEFF;
}
/***
*** Doc
@@ -936,59 +944,106 @@ table.message_search_results td {
*** Modules: Forum
***/
/**
* Patch MDL-18971 version 3 puts the forum classes
* in page sequence. Also added one course class (above)
* for course/view.php
**/
/** The location of these classes is unknown
* Commented out with patch MDL-18971 version 3
**/
/*.sideblock .post .head {
color:#555555;
}*/
/** Unread Posts count background on
* mod/forum/index.php
**/
#mod-forum-index .unread {
background: #9EBEFF;
}
/** wire frame around cells in
* mod/forum/view.php
**/
.forumheaderlist td {
border-color: #FFFFFF;
}
/** Discussion column background in
* mod/forum/view.php
* The inner class is actually "topic starter"
**/
.forumheaderlist .discussion .starter {
background:#DDDDDD;
}
/** unread column background on
* mod/forum/view.php
**/
#mod-forum-view .unread{
background: #9EBEFF;
}
/** border around posts in
* mod/forum/view.php (forumheaderlist) and
* mod/forum/discuss.php (forumpost)
**/
.forumheaderlist,
.forumpost {
border-color:#DDDDDD;
}
/** post body color in
* mod/forum/discuss.php
**/
.forumpost .content {
background: #FFFFFF;
}
/** left photo section of each post in
* mod/forum/discuss.php
**/
.forumpost .left {
background:#EEEEEE;
}
/** line between header and post body in
* mod/forum/discuss.php
**/
.forumpost .topic {
border-bottom-color: #EEEEEE;
}
/** header of the first post in
* mod/forum/discuss.php
**/
.forumpost .starter {
background:#DDDDDD;
}
.forumheaderlist .discussion .starter {
background:#DDDDDD;
}
.forumheaderlist td {
border-color: #FFFFFF;
}
.sideblock .post .head {
color:#555555;
}
/** header of reply posts and
* lower corners of all posts in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumpost {
background: none;
}
/* for unread colum in mod/forum/view.php */
#forumheaderlist .unread {
border-bottom: 1px solid #FFCB44;
/** inside border of unread posts in nested format in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumpost.unread .content {
border-width:2px;
border-color: #0046C7;
}
/* for mod/forum/discuss.php
* will highlight the table header
**/
#mod-forum-discuss .unread {
background: #FFD991;
}
/* for unread colum in mod/forum/index.php
**/
#mod-forum-index .unread {
background: #FFD991;
/** headers of unread posts in threaded format in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumthread.unread {
background: #9EBEFF;
}