Skip to content

Commit

Permalink
CHEMH-60: Fixups to all the paragraphs on dark grey
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Apr 26, 2024
1 parent 2e3b7ac commit 545d1ea
Show file tree
Hide file tree
Showing 2 changed files with 165 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

174 changes: 164 additions & 10 deletions src/scss/components/layout/_background-color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@

a,
.su-link--external,
.su-link {
.su-link,
.su-link--action {
color: $su-color-white;

&.su-link--external {
&::after {
background-color: $su-color-white;
}
}

&:hover,
&:focus,
&:active {
Expand All @@ -28,14 +37,6 @@
}
}
}

color: $su-color-white;

&.su-link--external {
&::after {
background-color: $su-color-white;
}
}
}

a {
Expand Down Expand Up @@ -191,7 +192,7 @@
// News list
.su-news-list {
.su-news-list__header {
.su-link,
a,
.su-link--external {
&:hover,
&:focus,
Expand Down Expand Up @@ -226,6 +227,38 @@
color: $su-color-black;
}

.su-card__contents {
a {
color: $su-color-black;

&.su-link--external {
&::after {
background-color: $su-color-black;
}
}

&.su-button {
&:hover,
&:focus,
&:active {
color: $su-color-white;
}
}

&:hover,
&:focus,
&:active {
color: $chemh-color-digital-blue;

&.su-link--external {
&::after {
background-color: $chemh-color-digital-blue;
}
}
}
}
}

.su-link.su-card__link.su-link--action {
color: $su-color-black;

Expand All @@ -237,5 +270,126 @@
}
}
// End cards

// Person Cards
.ds-entity--stanford-person {
.su-card {
background-color: $su-color-white;

.su-card__contents {
h2 {
a {
color: $su-color-black;
}
}
.su-person-short-title {
color: $su-color-black;
}
}
}
}


.taxonomy-term-pages.people-terms,
.stanford-people-grid {
li {
background-color: $su-color-white;

.views-field-su-person-short-title {
color: $su-color-black;
}

.views-field-title {
h2,
h3 {
color: $su-color-black;
}
}
}
}

// End person cards

// Banners
.ptype-stanford-banner {

.chemh-wrapper--banner-fullpill {
.su-hero__card {
color: $su-color-white;

.su-card__contents {
h2 {
color: $su-color-white;
}
}
}
}

.chemh-wrapper--banner-halfpill,
.chemh-wrapper--banner-halfpill-title {
.su-hero__card {
color: $su-color-white;

.su-card__button {
.su-link {
&.su-button {
background-color: $su-color-white;
}
}
}

.su-card__contents {
h2 {
color: $su-color-white;
}
}
}
}

}
// End banners

// Publications list
.stanford-publications {
&.view {
a {
color: $su-color-white;

&:hover,
&:focus,
&:active {
color: $chemh-color-digital-blue;
}
}
}

.views-field-edit-node {
.su-button--secondary {
color: $su-color-black;
}
}
}
// End publications

// Courses
.su-course-vertical-teaser {
.su-course-link {
h2,
h3 {
&:hover,
&:focus,
&:active {
&::after {
color: $chemh-color-digital-blue;
}
}

&::after {
background-color: $su-color-black;
}
}
}
}
// End courses
}

0 comments on commit 545d1ea

Please sign in to comment.