Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PRC-724] Change Application Title #269

Merged
merged 1 commit into from
Oct 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<header class="app-header app-header--solid" id="header">
<nav class="navbar navbar-expand-md justify-content-between">
<a class="navbar-brand" title="Public Review and Comment - Beta" routerLink="/home">
<span class="navbar-brand__title">Public Review &amp; Comment <span class="version">BETA</span></span>
<a class="navbar-brand" title="Applications, Comments & Reasons for Decision - Beta" routerLink="/home">
<span class="navbar-brand__title">Applications, Comments <span class="wb"><span class="amp">&</span> Reasons for Decision <span class="navbar-brand__version">BETA</span></span></span>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNav" aria-controls="navbarText" aria-expanded="false"
aria-label="Toggle navigation">
Expand Down
51 changes: 28 additions & 23 deletions src/app/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,46 +224,51 @@

// Navbar Brand
.navbar-brand {
margin: 0;
height: 3.4375rem;
background-image: url("~assets/images/bcgov-header-horiz-SM.png");
background-position: 10px center;
background-image: url("~assets/images/bcgov-header-vert-SM.png");
background-position: 8px center;
background-repeat: no-repeat;
white-space: normal;
}

.navbar-brand__title {
margin-top: 0.8rem;
margin-left: 115px;
margin-top: 0.35rem;
margin-left: 75px;
display: inline-block;
color: #fff;
line-height: 1.1rem;
font-size: 0.875rem;

.version {
margin-top: 0.2rem;
display: inline-block;
color: $gold;
font-size: 0.5rem;
font-weight: 700;
vertical-align: top;
.wb {
display: block;
}
}

@media (min-width: 768px) {
.navbar-brand__version {
margin-top: -0.1rem;
display: inline-block;
color: $gold;
font-size: 0.5rem;
font-weight: 700;
vertical-align: top;
}

@media (min-width: 1200px) {
.navbar-brand {
height: 4.2rem;
background-image: url("~assets/images/bcgov-header-horiz-LG.png");
background-position: 15px center;
background-image: url("~assets/images/bcgov-header-vert-md.png");
background-position: 10px center;
}

.navbar-brand__title {
margin-left: 160px;
margin-top: 0.8rem;
font-size: 1.25rem;
margin-left: 88px;
margin-top: 0.65rem;
line-height: 1.2rem;
font-size: 1rem;
font-weight: 400;

.version {
margin-top: 0.2rem;
font-size: 0.7375rem;
}
}

.navbar-brand__version {
font-size: 0.6rem;
}
}
2 changes: 1 addition & 1 deletion src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<div class="home-title-container">
<h1 id="pgTitle">
<span>Public Review &amp; Comment</span>
<span>Applications, Comments & Reasons for Decision</span>
<span class="badge" id="alpha">ALPHA</span>
</h1>
<h2>Skeena Region Pilot - Authenticated Access</h2>
Expand Down
Binary file added src/assets/images/bcgov-header-vert-MD.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/bcgov-header-vert-SM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/styles/base/helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@

.bg-dark-link {
color: $bg-dark-link-color;
}

.amp {
font-size: 72%;
font-weight: 400;
}
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>Authenticated access to Applications, Comments and Reasons for Decision</title>
<title>Authenticated access to Applications, Comments & Reasons for Decision</title>
<base href="./">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down