1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

landingzero styling fixes.

This commit is contained in:
Cameron
2017-01-17 14:27:05 -08:00
parent 323bdcc8aa
commit 830814b5a1
5 changed files with 45 additions and 6 deletions

View File

@@ -258,4 +258,13 @@ a.list-group-item {
.options .e-instant-edit {
right: initial;
margin-right: initial;
}
}
article .panel-footer i {
padding-left: 10px;
}
article .panel-footer i.fa-user {
padding-right: 3px;
}
.news-menu-archive { text-align:right }

View File

@@ -19,10 +19,10 @@ global $sc_style;
$NEWS_MENU_TEMPLATE['category']['start'] = '<ul class="nav nav-list news-menu-category">';
$NEWS_MENU_TEMPLATE['category']['end'] = '</ul>';
$NEWS_MENU_TEMPLATE['category']['item'] = '
<li><a class="e-menu-link newscats{active}" href="{NEWS_CATEGORY_URL}">{NEWS_CATEGORY_TITLE} {NEWS_CATEGORY_NEWS_COUNT}</a></li>
<li><a class="e-menu-link newscats{active}" href="{NEWS_CATEGORY_URL}">{NEWS_CATEGORY_TITLE} <span class="pull-right">{NEWS_CATEGORY_NEWS_COUNT}</span></a></li>
';
$NEWS_MENU_WRAPPER['category']['NEWS_CATEGORY_NEWS_COUNT'] = "({---})"; // Wrap brackets around the news count when value is returned.
//$NEWS_MENU_WRAPPER['category']['NEWS_CATEGORY_NEWS_COUNT'] = "({---})"; // Wrap brackets around the news count when value is returned.
//$NEWS_MENU_TEMPLATE['category']['separator'] = '<br />';
@@ -34,7 +34,7 @@ $NEWS_MENU_WRAPPER['category']['NEWS_CATEGORY_NEWS_COUNT'] = "({---})"; // Wrap
$NEWS_MENU_TEMPLATE['months']['start'] = '<ul class="nav nav-list news-menu-months">';
$NEWS_MENU_TEMPLATE['months']['end'] = '</ul>';
$NEWS_MENU_TEMPLATE['months']['item'] = '
<li><a class="e-menu-link newsmonths{active}" href="{url}">{month} ({count})</a></li>
<li><a class="e-menu-link newsmonths{active}" href="{url}">{month} <span class="badge pull-right">{count}</span></a></li>
';
//$NEWS_MENU_TEMPLATE['months']['separator'] = '<br />';

View File

@@ -108,6 +108,13 @@ function tablestyle($caption, $text, $id='', $info=array())
return;
}
if($style === 'menu' && !empty($info['footer']) && !empty($info['text']))
{
$style = 'menu-footer';
}
if($style == 'menu')
{
@@ -119,7 +126,20 @@ function tablestyle($caption, $text, $id='', $info=array())
</div>';
return;
}
}
if($style == 'menu-footer')
{
echo '<div class="panel panel-default">
<div class="panel-heading">'.$caption.'</div>
<div class="panel-body">
'.$info['text'].'
</div>
<div class="panel-footer text-align:right">'.$info['footer'].'</div>
</div>';
return;
}
if($style == 'portfolio')
{

View File

@@ -6,6 +6,7 @@
<category>generic</category>
<plugins>
<plugin name='gallery' url='core' />
<plugin name='rss_menu' url='core' />
<plugin name='social' url='core' />
</plugins>
<keywords>