BUGFIX: first pass on default banner styling

This commit is contained in:
Régis Hanol 2014-06-19 00:02:57 +02:00
parent 42c7ad4670
commit 62a73f48cc
2 changed files with 7 additions and 2 deletions

View file

@ -4,6 +4,6 @@
<div class="close" {{action dismiss}}><i class="fa fa-times" title="{{i18n banner.close}}"></i></div> <div class="close" {{action dismiss}}><i class="fa fa-times" title="{{i18n banner.close}}"></i></div>
{{{banner.html}}} {{{banner.html}}}
</div> </div>
<a href="{{unbound banner.url}}" class="btn" title="{{i18n banner.read_more.title}}">{{i18n banner.read_more.text}}</a> <a href="{{unbound banner.url}}" title="{{i18n banner.read_more.title}}">{{i18n banner.read_more.text}}</a>
</div> </div>
{{/if}} {{/if}}

View file

@ -4,9 +4,14 @@
#banner { #banner {
margin-bottom: 10px; margin-bottom: 10px;
padding: 10px;
border-radius: 5px;
background: scale-color($tertiary, $lightness: 90%);
@include box-shadow(0 1px 2px scale-color($tertiary, $lightness: 70%));
.close { .close {
font-size: 25px !important; font-size: 25px !important;
margin-top: 0 !important; margin-top: -10px !important;
} }
.meta { .meta {
display: none; display: none;