Commit b1184e6a authored by Tino Goratsch's avatar Tino Goratsch

minor styling improvements

parent f7e348b2
......@@ -7,22 +7,24 @@
<div class="navbar-header">
<h2 class="navbar-brand">{$file.title}</h2>
</div>
<time class="navbar-text small pull-right" datetime="{date_format date=$file.start format="c"}">{date_format date=$file.start format=$dateformat}</time>
<time class="navbar-text small pull-right" datetime="{date_format date=$file.start format="c"}">
{date_format date=$file.start format=$dateformat}
</time>
</header>
<div class="content">
{$file.text}
{$file.text|rewrite_uri}
<footer class="well well-sm hyperlink">
<a href="{uri args="files/index/download/id_`$file.id`"}" class="download-file">
<i class="glyphicon glyphicon-download-alt"></i>
{lang t="files|download_file"}
{if !empty($file.size)}
({$file.size})
{else}
({lang t="files|unknown_filesize"})
{/if}
</a>
</footer>
</div>
<footer class="hyperlink">
<a href="{uri args="files/index/download/id_`$file.id`"}" class="download-file">
<i class="glyphicon glyphicon-download-alt"></i>
{lang t="files|download_file"}
{if !empty($file.size)}
({$file.size})
{else}
({lang t="files|unknown_filesize"})
{/if}
</a>
</footer>
</section>
{if $comments_allowed === true}
<section id="comments">
......
......@@ -13,20 +13,18 @@
</header>
<div class="content">
{$news.text|rewrite_uri}
</div>
{if $news.uri != '' && $news.link_title != ''}
<footer>
<div class="hyperlink">
{if $news.uri != '' && $news.link_title != ''}
<footer class="well well-sm hyperlink">
<strong>{lang t="news|hyperlink"}:</strong>
<a href="{$news.uri|prefix_uri}"{$news.target}>{$news.link_title}</a>
</div>
</footer>
{/if}
</footer>
{/if}
</div>
{event name="news.event.news_details_after" id=$news.id title=$news.title}
</section>
{if $comments_allowed === true}
<section id="comments">
{load_module module="frontend/comments/" args=['module' => 'news', 'entryId' => $news.id]}
{load_module module="frontend/comments" args=['module' => 'news', 'entryId' => $news.id]}
{load_module module="frontend/comments/index/create" args=['module' => 'news', 'entryId' => $news.id]}
</section>
{/if}
......
......@@ -72,25 +72,17 @@
.dataset-box .content {
margin: -8px 20px 10px;
}
.dataset-box .hyperlink {
margin: 8px 0 0;
padding: 4px;
background-color: #eee;
background-image: -moz-linear-gradient(top, #eee, #fff);
background-image: -ms-linear-gradient(top, #eee, #fff);
background-image: -webkit-linear-gradient(top, #eee, #fff);
background-image: -o-linear-gradient(top, #eee, #fff);
background-image: linear-gradient(top, #eee, #fff);
background-repeat: repeat-x;
border-top: 1px dotted #ccc;
line-height: 20px;
}
.dataset-box .hyperlink a.download-file {
padding: 0 8px;
font-weight: bold;
line-height: 26px;
display: block;
}
.dataset-box .hyperlink a.download-file:hover,
.dataset-box .hyperlink a.download-file:focus {
text-decoration: none;
}
.dataset-box .hyperlink .glyphicon-download-alt {
color: #333;
}
/* Table of contents */
#toc {
width: 20%;
......
......@@ -24,23 +24,18 @@
}
.hyperlink {
margin: 8px 0 0;
padding: 4px;
background-color: #eee;
background-image: -moz-linear-gradient(top, #eee, #fff);
background-image: -ms-linear-gradient(top, #eee, #fff);
background-image: -webkit-linear-gradient(top, #eee, #fff);
background-image: -o-linear-gradient(top, #eee, #fff);
background-image: linear-gradient(top, #eee, #fff);
background-repeat: repeat-x;
border-top: 1px dotted #ccc;
line-height: 20px;
a.download-file {
padding: 0 8px;
font-weight: bold;
line-height: 26px;
display: block;
&:hover,
&:focus {
text-decoration: none;
}
}
.glyphicon-download-alt {
color: #333;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment