mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Merge pull request #14 from alphagov/phase-banner
Added beta phase banner
This commit is contained in:
@@ -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'
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user