Merge pull request #14 from alphagov/phase-banner

Added beta phase banner
This commit is contained in:
Rebecca Law
2015-12-03 16:08:18 +00:00
3 changed files with 35 additions and 1 deletions

View File

@@ -96,7 +96,8 @@ def init_asset_environment(app):
assets.Bundle(
'govuk_template/govuk-template.scss',
filters='scss',
output='stylesheets/govuk-template.css'
output='stylesheets/govuk-template.css',
depends='*.scss'
)
)

View File

@@ -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;
}

View File

@@ -7,5 +7,13 @@ GOV.UK notifications admin
{% block cookie_message %}
{% endblock %}
{% block inside_header %}
<div class="phase-banner-beta">
<strong class="phase-tag">BETA</strong>
</div>
{% endblock %}
{% set global_header_text = "GOV.UK Notify" %}