]> git.aero2k.de Git - dfde-theme.git/commitdiff
Unread icons
authoreggy <eggy@localhost>
Fri, 28 Jul 2017 08:10:07 +0000 (10:10 +0200)
committereggy <eggy@localhost>
Fri, 28 Jul 2017 08:10:07 +0000 (10:10 +0200)
template/forumlist_body.html
template/viewtopic_body.html
theme/colours.css

index 8191c64f2b13cd6c726a0d24f1614b5119edecfb..06035a58a2ceccc7ae7ef8df479aaf4819e2e508 100644 (file)
@@ -53,7 +53,7 @@
                                                        <br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
                                                        <!-- BEGIN subforum -->
                                                                <!-- EVENT forumlist_body_subforum_link_prepend --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">
-                                                                       <i class="icon <!-- IF forumrow.subforum.IS_LINK -->fa-external-link<!-- ELSE -->fa-file-o<!-- ENDIF --> fa-fw <!-- IF forumrow.subforum.S_UNREAD --> icon-red<!-- ELSE --> icon-blue<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
+                                                                       <i class="icon <!-- IF forumrow.subforum.IS_LINK -->fa-external-link<!-- ELSE -->fa-file-o<!-- ENDIF --> fa-fw <!-- IF forumrow.subforum.S_UNREAD --> icon-debianforum_unread<!-- ELSE --> icon-debianforum_read<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
                                                        <!-- END subforum -->
                                                        <!-- EVENT forumlist_body_subforums_after -->
                                                <!-- ENDIF -->
index 71d364bbb920fbdac1dd4da15f24779cc7b31893..75bc6a40ac026ad3c17afca035980c3f15b52f81 100644 (file)
                        <!-- EVENT viewtopic_body_postrow_post_details_before -->
                        <p class="author">
                                <!-- IF S_IS_BOT -->
-                                       <span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span></span>
+                                       <span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-debianforum_unread<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span></span>
                                <!-- ELSE -->
                                        <a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
-                                               <i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
+                                               <i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-debianforum_unread<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
                                        </a>
                                <!-- ENDIF -->
                                <span class="responsive-hide">{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; </span>{postrow.POST_DATE}
index b0eddae774c4c2f59918441c3df524282603e1e8..c9921a8be26c2364d0c7d99443c69d122a6e850e 100644 (file)
@@ -223,6 +223,10 @@ dl.details dd {
        color: #cc6699;
 }
 
+.icon.icon-debianforum_read, a:hover .icon.icon-debianforum_unread{
+       color: #d2d2d2;
+}
+
 .icon.icon-debianforum_grau, a:hover .icon.icon-debianforum_grau{
        color: #bbbbbb;
 }