From b9cd669439950af2065e81041d85c43f9b0b1d50 Mon Sep 17 00:00:00 2001
From: Chris Hill-Scott
Date: Sat, 2 Apr 2016 21:18:28 +0100
Subject: [PATCH] =?UTF-8?q?Remove=20some=20banners=20which=20aren=E2=80=99?=
=?UTF-8?q?t=20used/wanted?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/assets/stylesheets/components/banner.scss | 51 -------------------
app/templates/views/api-keys.html | 7 ---
app/templates/views/styleguide.html | 7 ---
3 files changed, 65 deletions(-)
diff --git a/app/assets/stylesheets/components/banner.scss b/app/assets/stylesheets/components/banner.scss
index 068c7f7c5..822392b34 100644
--- a/app/assets/stylesheets/components/banner.scss
+++ b/app/assets/stylesheets/components/banner.scss
@@ -58,57 +58,6 @@
}
-%banner-tip,
-.banner-tip {
-
- @extend %banner;
- @include bold-19;
- background-color: $yellow;
- color: $text-colour;
- text-align: left;
- margin-top: 0;
-
- a {
- &:link,
- &:visited {
- padding: $gutter-half;
- text-decoration: underline;
- }
- }
-
- ol {
- list-style-type: decimal;
- }
-
- p {
- @include core-19;
- margin: 0 0 10px 0;
- }
-
-}
-
-.banner-tip-with-tick {
- @extend %banner-with-tick;
- @extend %banner-tip;
- background-image: file-url('tick-black.png');
-}
-
-.banner-info,
-.banner-important {
- @extend %banner;
- background: $white;
- color: $text-colour;
- background-image: file-url('icon-important-2x.png');
- background-size: 34px 34px;
- background-position: 0 0;
- background-repeat: no-repeat;
- padding: 7px 0 5px 50px;
-}
-
-.banner-info {
- background-image: file-url('icon-information-2x.png');
-}
-
.banner-mode {
@extend %banner;
diff --git a/app/templates/views/api-keys.html b/app/templates/views/api-keys.html
index b7434514c..b9b5fda72 100644
--- a/app/templates/views/api-keys.html
+++ b/app/templates/views/api-keys.html
@@ -22,13 +22,6 @@
developer documentation.
- {{ banner(
- 'You can only send messages to yourself until you request to go live'.format(
- url_for('.service_request_to_go_live', service_id=service_id)
- )|safe,
- type='important'
- ) }}
-
Service ID
diff --git a/app/templates/views/styleguide.html b/app/templates/views/styleguide.html
index 04178f090..2a767e3a9 100644
--- a/app/templates/views/styleguide.html
+++ b/app/templates/views/styleguide.html
@@ -36,13 +36,6 @@
{{ banner('Are you sure you want to delete?', 'dangerous', delete_button="Yes, delete this thing")}}
- {{ banner(
- 'Send your first message'|safe,
- subhead='Get started',
- type='tip'
- )}}
-
- {{ banner('You could go to jail', 'important')}}