From a48ace9b5b0cdbdefc3274a1eda656b68ac42c11 Mon Sep 17 00:00:00 2001 From: JWanderema Date: Fri, 16 Jul 2021 15:17:41 +0100 Subject: [PATCH] add css --- .../login/resources/css/govuk-internal-dq.css | 29 +++++++++++++++++++ govuk-internal-dq/login/theme.properties | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 govuk-internal-dq/login/resources/css/govuk-internal-dq.css diff --git a/govuk-internal-dq/login/resources/css/govuk-internal-dq.css b/govuk-internal-dq/login/resources/css/govuk-internal-dq.css new file mode 100644 index 0000000..c65f5a3 --- /dev/null +++ b/govuk-internal-dq/login/resources/css/govuk-internal-dq.css @@ -0,0 +1,29 @@ +@charset "UTF-8"; +/* GOV.UK customisations to implement beta internal header pattern (see https://home-office-digital-patterns.herokuapp.com/header) */ +@media (min-width: 769px) { + #global-header .header-wrapper .header-global .header-logo { + width: auto; } } + +.lte-ie8 #global-header .header-wrapper .header-global .header-logo { + width: auto; } + +/* Imitate #global-header #logo img (including the space after it!) from GOV.UK template, so that theme users don’t have to include the actual tag in Display Name HTML when customising their header link */ +#logo::before { + content: ''; + display: inline-block; + width: 36px; + height: 32px; + margin: 2px 1px 0 0; + vertical-align: bottom; + background: url("../vendor/govuk_template/images/gov.uk_logotype_crown_invert_trans.png?0.19.2") no-repeat; + visibility: hidden; } + +#logo:before { + content: ''; + display: inline-block; + width: 36px; + height: 32px; + margin: 2px 1px 0 0; + vertical-align: bottom; + background: url("../vendor/govuk_template/images/gov.uk_logotype_crown_invert_trans.png?0.19.2") no-repeat; + visibility: hidden; } diff --git a/govuk-internal-dq/login/theme.properties b/govuk-internal-dq/login/theme.properties index 279f513..8f33bc2 100644 --- a/govuk-internal-dq/login/theme.properties +++ b/govuk-internal-dq/login/theme.properties @@ -1,2 +1,2 @@ parent=govuk -styles=css/govuk-internal.css +styles=css/govuk-internal-dq.css