From da80013ec9f116c4559df4e6b36db8569cc6fc89 Mon Sep 17 00:00:00 2001 From: Chris Heathcote Date: Thu, 3 Dec 2015 16:01:00 +0000 Subject: [PATCH] Adding beta phase banner --- app/assets/stylesheets/app.scss | 25 +++++++++++++++++++++++++ app/templates/admin_template.html | 8 ++++++++ 2 files changed, 33 insertions(+) diff --git a/app/assets/stylesheets/app.scss b/app/assets/stylesheets/app.scss index 9ceb5468d..50c9ec702 100644 --- a/app/assets/stylesheets/app.scss +++ b/app/assets/stylesheets/app.scss @@ -19,4 +19,29 @@ font-size: 19px; line-height: 1.31579; } +} + +.phase-tag { + @include phase-tag(beta); +} + +@media (min-width: 641px) { + .phase-tag { + font-size: 16px; + line-height: 1.25; + margin-top: 7px; + + } +} + +@media (max-width: 641px) { + .phase-tag { + margin-top: 11px; + } +} + + + +#global-header #logo { + white-space: nowrap; } \ No newline at end of file diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index 5e24c7294..e31094bed 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -7,5 +7,13 @@ GOV.UK notifications admin {% block cookie_message %} {% endblock %} + {% block inside_header %} +
+ + BETA + +
+ {% endblock %} + {% set global_header_text = "GOV.UK Notify" %}