Move remaining paint jobs to paint stylesheet

This commit is contained in:
benjamin melançon 2019-10-01 13:26:52 -04:00
parent 4855fd770a
commit 23dd2fce26
2 changed files with 36 additions and 36 deletions

View file

@ -68,39 +68,3 @@
.more-link {
float: right;
}
/* @TODO move to _paint.scss */
.block-views-blockhome-page-views-block-articles {
border-top: 2px solid $article;
> h2 {
color: $white;
background-color: $article;
padding: 2px 0.2em 0 0.2em;
}
}
.block-views-blockhome-page-views-block-blogs {
border-top: 2px solid $blog;
> h2 {
color: $white;
background-color: $blog;
padding: 2px 0.2em 0 0.2em;
}
}
.block-views-blockhome-page-views-block-articles .button,
.is-article {
background-color: $article;
color: $white;
a {
color: $white;
}
}
.block-views-blockhome-page-views-block-blogs .button,
.is-blog {
background-color: $blog;
color: $white;
a {
color: $white;
}
}

View file

@ -16,3 +16,39 @@
.page--content-item--collection .background-replacement-for-no-image {
background-color: $collection;
}
/* Front page view titles and more links get un-SMACSS targeting, sorry. */
.block-views-blockhome-page-views-block-articles {
border-top: 2px solid $article;
> h2 {
color: $white;
background-color: $article;
padding: 2px 0.2em 0 0.2em;
}
}
.block-views-blockhome-page-views-block-blogs {
border-top: 2px solid $blog;
> h2 {
color: $white;
background-color: $blog;
padding: 2px 0.2em 0 0.2em;
}
}
.block-views-blockhome-page-views-block-articles .button,
.is-article {
background-color: $article;
color: $white;
a {
color: $white;
}
}
.block-views-blockhome-page-views-block-blogs .button,
.is-blog {
background-color: $blog;
color: $white;
a {
color: $white;
}
}