This is a quick fix for the the forumlist.

This commit is contained in:
Michael Vogel 2015-11-17 19:56:32 +01:00
parent e43c7a4447
commit 4b21512f56
2 changed files with 20 additions and 9 deletions

View File

@ -18,7 +18,7 @@ function showHideForumlist() {
{{foreach $forums as $forum}}
{{if $forum.id <= $visible_forums}}
<div class="forum-widget-entry" id="forum-widget-entry" role="menuitem">
<div class="forum-widget-entry" id="forum-widget-entry-{{$forum.id}}" role="menuitem">
<a href="{{$forum.external_url}}" title="{{$forum.link_desc}}" class="label sparkle" target="_blank">
<img class="forumlist-img" src="{{$forum.micro}}" alt="{{$forum.link_desc}}" />
</a>
@ -27,7 +27,7 @@ function showHideForumlist() {
{{/if}}
{{if $forum.id > $visible_forums}}
<div class="forum-widget-entry" id="forum-widget-entry-extended" role="menuitem" style="display: none;">
<div class="forum-widget-entry" id="forum-widget-entry-extended-{{$forum.id}}" role="menuitem" style="display: none;">
<a href="{{$forum.external_url}}" title="{{$forum.link_desc}}" class="label sparkle" target="_blank">
<img class="forumlist-img" src="{{$forum.micro}}" alt="{{$forum.link_desc}}" />
</a>
@ -37,9 +37,9 @@ function showHideForumlist() {
{{/foreach}}
{{if $total > $visible_forums }}
<ul class="forum-widget-ul">
<li onclick="showHideForumlist(); return false;" id="forum-widget-collapse" class="fakelink tool">{{$showmore}}</li>
</ul>
<div id="forum-widget-showmore" class="forum-widget-entry" role="menuitem">
<a onclick="showHideForumlist(); return false;" id="forum-widget-collapse" class="forum-widget-link">{{$showmore}}</a>
</div>
{{/if}}
</div>

View File

@ -401,7 +401,7 @@ code {
}
.sidebar-group-li:hover, #sidebar-new-group:hover, #hide-forum-list:hover,
#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forum-list div:hover, #forum-list-right div:hover,
#sidebar-ungrouped:hover, .side-link:hover, .nets-ul li:hover, #forumlist-sidebar div:hover, #forum-list-right div:hover,
.nets-all:hover, .saved-search-li:hover, li.tool:hover, .admin.link:hover, aside h4 a:hover, right_aside h4 a:hover, #message-new:hover {
/* background-color: #ddd; */
/* background-color: #e5e5e5; */
@ -420,7 +420,7 @@ code {
font-weight: bold;
}
#sidebar-new-group, #hide-forum-list, #forum-list, #forum-list-right, #sidebar-ungrouped,
#forum-widget-showmore, #sidebar-new-group, #hide-forum-list, #forum-list-right, #sidebar-ungrouped,
.side-link, #peoplefind-desc, #connect-desc, .nets-all, .admin.link, #message-new {
padding-left: 10px;
padding-top: 3px;
@ -429,6 +429,17 @@ code {
display: block;
}
#forumlist-sidebar {
padding-top: 3px;
padding-bottom: 3px;
display: block;
}
.forum-widget-entry {
padding-left: 10px;
padding-right: 5px;
}
a.nets-link, .side-link a, #sidebar-new-group a, a.savedsearchterm, a.fileas-link, aside h4 a, right_aside h4 a {
display: block;
color: #737373;
@ -456,11 +467,11 @@ a.sidebar-group-element {
color: black;
}
#forum-list a, #forum-list-right a, .tool a, .admin.link a {
#forumlist-sidebar a, #forum-list-right a, .tool a, .admin.link a {
color: #737373;
}
#forum-list, #forum-list-right {
#forumlist-sidebar, #forum-list-right {
margin-top: 2px;
}