From 52aeda247c7b57d85c8abe0b6c177eda58347254 Mon Sep 17 00:00:00 2001 From: Ryan Wyllie Date: Wed, 23 Nov 2016 03:40:30 +0000 Subject: [PATCH] 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. --- mod/forum/styles.css | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/mod/forum/styles.css b/mod/forum/styles.css index 4a23b38d80d..147285670bc 100644 --- a/mod/forum/styles.css +++ b/mod/forum/styles.css @@ -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 {