]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-18971, fix forum unread post highlighting issue, thanks Eric straw's patch,...
authordongsheng <dongsheng>
Mon, 25 May 2009 09:19:27 +0000 (09:19 +0000)
committerdongsheng <dongsheng>
Mon, 25 May 2009 09:19:27 +0000 (09:19 +0000)
theme/chameleon/config.php
theme/formal_white/config.php
theme/formal_white/fw_color.css
theme/metal/colors.css
theme/oceanblue/styles_color.css
theme/orangewhite/config.php
theme/orangewhite/styles_color.css
theme/orangewhitepda/config.php
theme/standard/styles_color.css

index 923ce19253aa077d3421fd69fb0a5d3e60cd6388..b917d045e8d37e86a51549bdc13e897884f6287d 100644 (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 
index cfc6edbc2c5b3159196201c9c734d2615615ba7c..df72ac4cbf31b421fe1d2f7dc7ffe1bb7353ff85 100644 (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
index a65137ccf52763759e88f6a25f534f29206a6b28..f85ce50e19be6678b28264d9811307c49823d452 100644 (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 {
index 6c1cfb7cd69bc2a1dfd1b27b654a6d2b53d4d793..7a7f2452719a43f0d7e82e13a1043b51957eef56 100755 (executable)
@@ -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 {
index e021942b15c1e5a0591ed83f82f134f1f53e50e4..3d46e07d499d656fdc151eff12073e76767ad1b5 100644 (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
  ***/
index d133053741ed3c5fd28848d4219931513d9fdaec..d63534763d0935754d6f5e84382a2e80fd8adde5 100644 (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 
index 47ac6cd722c7326180cb245248a25c2e644e6418..7d80e4684e69e3d4350f59e9532046e5e6dc5ef4 100644 (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 {
 }
index ef3afa19f8c04076719aefb239188b40a5e46591..2a7a0567d797fa0b69e95b9e1b583df35fa54259 100644 (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 
index 744e0ec6c9d1c9a49ae7744a29faba320c5c19bf..e1dcbff7e87ae57e7273d915477490ccda4212a9 100644 (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; 
 }