Skip to content

Commit 890fc57

Browse files
severinbeauvaisSeverin Beauvais
andauthored
32251 Updated banner styling (#862)
* - app version = 5.8.9 - updated banner styling * - changed span to div --------- Co-authored-by: Severin Beauvais <severin.beauvais@gov.bc.ca>
1 parent 8f1786b commit 890fc57

2 files changed

Lines changed: 31 additions & 14 deletions

File tree

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "name-request",
3-
"version": "5.8.8",
3+
"version": "5.8.9",
44
"private": true,
55
"appName": "Name Request UI",
66
"sbcName": "SBC Common Components",

app/src/App.vue

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,24 @@
4646
<!-- Alert banner -->
4747
<v-alert
4848
v-if="bannerText"
49+
id="alert-banner"
50+
class="pa-0 ma-0"
4951
tile
50-
dense
51-
type="warning"
52-
class="mb-0 text-center colour-dk-text"
53-
v-html="bannerText"
54-
/>
52+
>
53+
<div class="container d-flex align-center py-3">
54+
<v-icon
55+
class="colour-dk-text"
56+
size="28px"
57+
>
58+
mdi-information
59+
</v-icon>
60+
61+
<div
62+
class="colour-dk-text dark-gray-links font-size-14 pl-2"
63+
v-html="bannerText"
64+
/>
65+
</div>
66+
</v-alert>
5567

5668
<!-- Breadcrumb -->
5769
<Breadcrumb
@@ -391,6 +403,19 @@ export default class App extends Mixins(
391403
}
392404
}
393405
406+
#alert-banner {
407+
background-color: $BCgovGold5;
408+
border-color: $BCgovGold5;
409+
410+
.container {
411+
max-width: 1360px; // should match auth-web, etc
412+
}
413+
414+
.dark-gray-links a {
415+
color: $gray9 !important;
416+
}
417+
}
418+
394419
.namerequest-sbc-breadcrumb {
395420
.v-btn {
396421
width: 28px;
@@ -422,12 +447,4 @@ export default class App extends Mixins(
422447
padding-left: 1rem;
423448
}
424449
}
425-
426-
#main-column .v-alert__wrapper {
427-
color: $dk-text;
428-
i {
429-
color: $dk-text;
430-
}
431-
}
432-
433450
</style>

0 commit comments

Comments
 (0)