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
973b763e
Commit
973b763e
authored
Aug 25, 2021
by
Martin Leblanc
Browse files
adding new scss file
parent
ba9a8327
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/_patterns/01-global/00-colors/_colors.scss
0 → 100644
View file @
973b763e
$faculties
:
'org-default'
,
'org-ahs'
,
'org-art'
,
'org-eng'
,
'org-env'
,
'org-mat'
,
'org-sci'
,
'org-school'
;
@each
$faculty
in
$faculties
{
// Wrapping the element with this class, <body>.
.
#{
$faculty
}
{
// If the UW branding group
@if
$faculty
==
org-default
{
// Headings
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
$uw-black
;
}
// Generic links
a
{
color
:
$uw-black
;
&
:visited
{
color
:
$uw-gold
;
}
&
:hover
,
&
:focus
{
color
:
$uw-grey
;
}
&
:active
{
color
:
$uw-grey
;
}
}
}
// Else run the loop on the faculties.
@else
{
// MAke primary color.
.
uw-blockquote__text
,
.
uw-blockquote__text
:
:
before
,
.
uw-blockquote__text
::
after
{
color
:
gesso-brand
(
$faculty
,
'primary'
);
}
// Generic links.
a
,
.card__title
a
{
color
:
gesso-brand
(
$faculty
,
'primary'
);
&
:visited
{
color
:
gesso-brand
(
$faculty
,
'primary'
);
}
&
:hover
,
&
:focus
{
color
:
gesso-brand
(
$faculty
,
'primary'
);
}
&
:active
{
color
:
gesso-brand
(
$faculty
,
'primary'
);
}
// Links as buttons need white.
&
.button
{
color
:
$uw-white
;
&
:visited
{
color
:
$uw-white
;
}
&
:hover
,
&
:focus
{
color
:
$uw-grey
;
}
&
:active
{
color
:
$uw-grey
;
}
}
&
.pager__link
{
color
:
$uw-black
;
}
}
// Blackout the link
.layout-builder__link
,
.timeline-info__withlink
a
,
.tabs
a
,
.toolbar-tray
a
{
color
:
$uw-black
;
}
}
}
}
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