From a1256f9aeb55703fa76901251da4df3a3d6dbd65 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 19 Jan 2020 15:57:01 +0100 Subject: [PATCH] Remove old green box styling from shopfront messages --- app/assets/stylesheets/darkswarm/shop.css.scss | 7 +------ app/views/shop/_messages.html.haml | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/shop.css.scss b/app/assets/stylesheets/darkswarm/shop.css.scss index eb738fd6ba..71fe929f89 100644 --- a/app/assets/stylesheets/darkswarm/shop.css.scss +++ b/app/assets/stylesheets/darkswarm/shop.css.scss @@ -114,12 +114,7 @@ margin-bottom: 0px; } - .alert-box.shopfront-message { - border: 2px solid $clr-turquoise; - border-radius: 5px; - background-color: $clr-turquoise-light; - color: $clr-turquoise; - + .shopfront-message { a { color: #0096ad; diff --git a/app/views/shop/_messages.html.haml b/app/views/shop/_messages.html.haml index 1bc1bdac8f..21639313ac 100644 --- a/app/views/shop/_messages.html.haml +++ b/app/views/shop/_messages.html.haml @@ -17,6 +17,5 @@ - elsif current_distributor.preferred_shopfront_message.present? .row .small-12.columns - .alert-box.shopfront-message{ "ofn-inline-alert" => true, ng: { show: "visible" } } + .shopfront-message = current_distributor.preferred_shopfront_message.html_safe - %a.close{ ng: { click: "close()" } } ×