[responsive/portal] Make recent module responsive

This commit is contained in:
Marc Alexander
2013-11-28 03:22:43 +01:00
parent f00c59b908
commit a9d3d84b36
2 changed files with 6 additions and 5 deletions

View File

@@ -5,16 +5,16 @@
<div class="portal-navigation">
<ul class="topiclist bg1">
<li><dl><dt></dt>
<dd style="border-left:0px; width:100%">
<dd class="portal-responsive-show" style="border-left:0px; width:100%">
<table style="width: 100%;">
<tr class="menutitle">
<!-- IF .latest_announcements --><td><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF -->
<!-- IF .latest_hot_topics --><td><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF -->
<!-- IF .latest_announcements --><td class="portal-responsive-hide"><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF -->
<!-- IF .latest_hot_topics --><td class="portal-responsive-hide"><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF -->
<!-- IF .latest_topics --><td><strong>{L_PORTAL_RECENT_TOPIC}</strong></td><!-- ENDIF -->
</tr>
<tr>
<!-- IF .latest_announcements -->
<td class="row1" style="width: 33%; vertical-align: top;">
<td class="row1 portal-responsive-hide" style="width: 33%; vertical-align: top;">
<span class="gensmall">
<!-- BEGIN latest_announcements -->
<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}">{latest_announcements.TITLE}</a>
@@ -23,7 +23,7 @@
</td>
<!-- ENDIF -->
<!-- IF .latest_hot_topics -->
<td class="row1" style="width: 33%; vertical-align: top;">
<td class="row1 portal-responsive-hide" style="width: 33%; vertical-align: top;">
<span class="gensmall">
<!-- BEGIN latest_hot_topics -->
<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}">{latest_hot_topics.TITLE}</a>

View File

@@ -32,4 +32,5 @@
{
#portal-left ul.topiclist dd { display: block !important; }
.portal-responsive-show { display: block !important; }
.portal-responsive-hide { display: none !important; }
}