Skip to content
Snippets Groups Projects
Commit 3d96637c authored by Martin Leblanc's avatar Martin Leblanc Committed by Kevin Paxman
Browse files

adding new scss file

parent 07fad267
No related branches found
No related tags found
1 merge request!91ISTWCMS-4848 m26lebla faculty colours
$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;
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment