Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_wcms_gesso
Commits
741813ac
Commit
741813ac
authored
Feb 03, 2022
by
Kevin Paxman
Browse files
ISTWCMS-5385: make colours for banner text get defined outside of links as well
parent
8b6581bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/_patterns/04-components/card/card--banner/_card--banner.scss
View file @
741813ac
...
...
@@ -5,6 +5,12 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
// If the UW branding group
@if
$faculty
==
org-default
{
.card__banner
{
.card__banner--title
{
color
:
$uw-gold
;
}
.card__banner--sub-title
{
color
:
$uw-white
!
important
;
}
a
{
.card__banner--title
{
color
:
$uw-gold
;
...
...
@@ -33,6 +39,13 @@ $faculties: 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env', 'org-mat'
}
@else
{
.card__banner
{
.card__banner--title
{
color
:gesso-brand
(
$
faculty
,
'lvl1'
)
;
}
.card__banner--sub-title
{
color
:gesso-brand
(
$
faculty
,
'lvl1'
)
;
}
a
{
.card__banner--title
{
color
:gesso-brand
(
$
faculty
,
'lvl1'
)
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment