MDL-57093 forum: less specific unread styling

Changed the CSS for unread styling to no longer use ids because the
rules are too specific and override other elements with the .unread
class on the forum pages.
This commit is contained in:
Ryan Wyllie
2016-11-23 03:40:30 +00:00
parent 0fbe41f4cd
commit 52aeda247c
+2 -9
View File
@@ -227,17 +227,11 @@
font-weight: bold;
}
#page-mod-forum-index .unread a:first-child,
#page-mod-forum-view .unread a:first-child {
.path-mod-forum span.unread a:first-child {
padding-right: 10px;
}
#page-mod-forum-index .unread img,
#page-mod-forum-view .unread img {
margin-left: 5px;
}
#page-mod-forum-view .unread img {
.path-mod-forum span.unread img {
margin-left: 5px;
}
@@ -248,7 +242,6 @@
/* Forumpost unread
-------------------------*/
#page-mod-forum-view .unread,
.forumpost.unread .row.header,
.path-course-view .unread,
span.unread {