From 97304a668186b44f57f3e04bb680ee39bc5c6882 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 15 Feb 2016 11:35:53 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20=E2=80=98info=E2=80=99=20banner=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’re not using this banner type anywhere any more --- app/assets/stylesheets/components/banner.scss | 22 --------------- app/templates/views/styleguide.html | 27 +++++++------------ 2 files changed, 10 insertions(+), 39 deletions(-) diff --git a/app/assets/stylesheets/components/banner.scss b/app/assets/stylesheets/components/banner.scss index 737a13a92..3a8898c83 100644 --- a/app/assets/stylesheets/components/banner.scss +++ b/app/assets/stylesheets/components/banner.scss @@ -31,28 +31,6 @@ } -.banner-info { - - @extend %banner; - background: $govuk-blue; - color: $white; - - a { - - &:link, - &:visited { - color: $white; - text-decoration: underline; - } - - &:hover { - color: $light-blue-25; - } - - } - -} - .banner-dangerous { @extend %banner; diff --git a/app/templates/views/styleguide.html b/app/templates/views/styleguide.html index 941dccf69..9af07faed 100644 --- a/app/templates/views/styleguide.html +++ b/app/templates/views/styleguide.html @@ -29,18 +29,6 @@ {{ banner("You sent 1,234 text messages", with_tick=True) }} -
-
- {{ banner("Delivered 10:20") }} -
-
- - {{ banner( - 'You can only send notifications to yourself', - type='info', - subhead='Restricted mode' - ) }} - {{ banner('You’re not allowed to do this', 'dangerous')}} {{ banner('Are you sure you want to delete?', 'dangerous', delete_button="Yes, delete this thing")}} @@ -134,14 +122,19 @@
- {{ sms_message("Your vehicle tax for LC12 BFL is due on 1 March 2016. Renew online at www.gov.uk/vehicle-tax") }} - {{ sms_message("Your vehicle tax for ((registration number)) is due on ((date)). Renew online at www.gov.uk/vehicle-tax") }} {{ sms_message( - "Your vehicle tax for registration number is due on date. Renew online at www.gov.uk/vehicle-tax", - "+44 7700 900 306" + 'Your vehicle tax for LC12 BFL is due on 1 March 2016. Renew online at www.gov.uk/vehicle-tax', + name='Two week reminder', ) }} {{ sms_message( - "Your vehicle tax for ((registration number)) is due on ((date)). Renew online at www.gov.uk/vehicle-tax", + 'Your vehicle tax for ((registration number)) is due on ((date)). Renew online at www.gov.uk/vehicle-tax' + ) }} + {{ sms_message( + 'Your vehicle tax for registration number is due on date. Renew online at www.gov.uk/vehicle-tax', + '+44 7700 900 306' + ) }} + {{ sms_message( + 'Your vehicle tax for ((registration number)) is due on ((date)). Renew online at www.gov.uk/vehicle-tax', name='Two week reminder', edit_link='#' ) }}