From 62a73f48cc2b305189b42e5e8fb43a3281b20ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 19 Jun 2014 00:02:57 +0200 Subject: [PATCH] BUGFIX: first pass on default banner styling --- .../templates/components/discourse-banner.js.handlebars | 2 +- app/assets/stylesheets/common/components/banner.css.scss | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/discourse-banner.js.handlebars b/app/assets/javascripts/discourse/templates/components/discourse-banner.js.handlebars index ea8107c06..68677b538 100644 --- a/app/assets/javascripts/discourse/templates/components/discourse-banner.js.handlebars +++ b/app/assets/javascripts/discourse/templates/components/discourse-banner.js.handlebars @@ -4,6 +4,6 @@
{{{banner.html}}} - {{i18n banner.read_more.text}} + {{i18n banner.read_more.text}} {{/if}} diff --git a/app/assets/stylesheets/common/components/banner.css.scss b/app/assets/stylesheets/common/components/banner.css.scss index d7f50d8ff..37b2ca6fd 100644 --- a/app/assets/stylesheets/common/components/banner.css.scss +++ b/app/assets/stylesheets/common/components/banner.css.scss @@ -4,9 +4,14 @@ #banner { 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 { font-size: 25px !important; - margin-top: 0 !important; + margin-top: -10px !important; } .meta { display: none;