Skip to content

Commit

Permalink
PRC-1035: Add scss to highlight application retire date.
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Feb 25, 2019
1 parent 0d9dbfb commit 377f5dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2 class="title">Crown Land File: &nbsp; #{{(application && application['clFile
<strong>{{application.appStatus}}</strong>
</div>
</div>
<div class="status-msg" *ngIf="application['retireDate']">
<div class="status-msg status-highlight" *ngIf="application['retireDate']">
This application will be available on this site until {{application['retireDate'] | date:'longDate'}}. <br> It will continue to be available on <a href="http://a100.gov.bc.ca/pub/pls/gator/gator$queryforms.search_ip_by_file_number" title="To find information about this application after the specified date, visit GATOR" target="_blank">GATOR</a>.
</div>
</section>
Expand Down Expand Up @@ -144,4 +144,4 @@ <h5>Legal Description</h5>

</div>
</div>
</div>
</div>
15 changes: 13 additions & 2 deletions src/app/applications/details-panel/details-panel.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ section {
background: #fff;
}

.applicant-name,
.applicant-name,
.application-purpose {
letter-spacing: -0.02rem;
line-height: 1.5rem;
Expand Down Expand Up @@ -79,6 +79,17 @@ section {

.status-msg {
margin-top: 0.6rem;

&.status-highlight {
position: relative;
padding: 0 0.25rem;
margin-bottom: 0;
border: 1px solid transparent;
border-radius: .25rem;
color: #004085;
background-color: #cce5ff;
border-color: #b8daff;
}
}

.commenting-open {
Expand Down Expand Up @@ -173,4 +184,4 @@ section {

.shapefile-list__id {
margin-bottom: 0.5rem;
}
}

0 comments on commit 377f5dc

Please sign in to comment.