Skip to content

Commit

Permalink
[PRC-724] Change Application Title
Browse files Browse the repository at this point in the history
  • Loading branch information
jeznorth committed Oct 4, 2018
1 parent 75e1da2 commit 00ad15e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 26 deletions.
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;
}

0 comments on commit 00ad15e

Please sign in to comment.