Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

"MDL-18971, fix forum unread post highlighting issue, thanks Eric str…

…aw's patch"
  • Loading branch information...
commit 42ad0d11bacb5c4527016a6a87a645b046711cfe 1 parent be88a9d
dongsheng authored
View
2  theme/chameleon/config.php
@@ -13,7 +13,7 @@
////////////////////////////////////////////////////////////////////////////////
-$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
View
2  theme/formal_white/config.php
@@ -12,7 +12,7 @@
/// 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
View
2  theme/formal_white/fw_color.css
@@ -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 {
View
2  theme/metal/colors.css
@@ -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 {
View
21 theme/oceanblue/styles_color.css
@@ -713,16 +713,31 @@ table.message_search_results td {
background-color: transparent;
}
+/** 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
***/
View
2  theme/orangewhite/config.php
@@ -13,7 +13,7 @@
////////////////////////////////////////////////////////////////////////////////
-$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
View
2  theme/orangewhite/styles_color.css
@@ -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 {
}
View
2  theme/orangewhitepda/config.php
@@ -13,7 +13,7 @@
////////////////////////////////////////////////////////////////////////////////
-$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
View
107 theme/standard/styles_color.css
@@ -725,6 +725,14 @@ body#course-user .section {
background-color: #fdfdfd;
}
+/**
+ * unread count background on
+ * course/view.php
+ **/
+#course-view .unread{
+ background: #9EBEFF;
+}
+
/***
*** Doc
@@ -902,59 +910,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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.