Skip to content

Commit

Permalink
8.1.11
Browse files Browse the repository at this point in the history
- D8CORE-3247: Publications styles  (#66) (a487064)
- Update composer.json for stanford_basic (#65) (586fabc)
- D8CORE-3528: updating class name to match reality (#64) (a49c69d)
- D8CORE-3499: fixing the link icons (#61) (a3a1119)
- D8CORE-3246 D8CORE-3487: fixing the external link icons (#63) (414b076)
- D8CORE-3248: publication set up for SOE (#59) (af11eda)
  • Loading branch information
pookmish authored Apr 9, 2021
2 parents 0a67324 + 1ef1800 commit ae07b11
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 51 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# SOE Basic Sub-Theme

8.x-1.10
--------------------------------------------------------------------------------
_Release Date: 2021-03-16_

- Hotfix for D8CORE-3499, style fixes for soe arrow and external links

8.x-1.9
8.x-1.11
--------------------------------------------------------------------------------
_Release Date: 2021-03-05_

Expand All @@ -17,6 +11,12 @@ _Release Date: 2021-03-05_
- D8CORE-3246 D8CORE-3487: fixing the external link icons (#63) (414b076)
- D8CORE-3248: publication set up for SOE (#59) (af11eda)

8.x-1.10
--------------------------------------------------------------------------------
_Release Date: 2021-03-16_

- Hotfix for D8CORE-3499, style fixes for soe arrow and external links

8.x-1.8
--------------------------------------------------------------------------------
_Release Date: 2021-02-08_
Expand Down
2 changes: 1 addition & 1 deletion dist/css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion soe_basic.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: SOE Basic
type: theme
description: 'SOE Branding Subtheme.'
package: Stanford
version: 8.x-1.10
version: 8.x-1.11
core_version_requirement: ^8 || ^9

# Defines the base theme
Expand Down
3 changes: 2 additions & 1 deletion src/scss/theme/_news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
}

.stanford-news--cards,
.stanford-news-vertical-teaser-term {
.stanford-news-vertical-teaser-term,
.ds-entity--stanford-news {
.su-news-vertical-teaser {
.su-news-vertical-teaser__link {
text-decoration: none;
Expand Down
78 changes: 37 additions & 41 deletions src/scss/theme/_publications.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@charset 'UTF-8';


.publication {
.main-region {

Expand All @@ -27,23 +26,48 @@
}

// More publications cards on the publication node page.
.su-card {
.su-card__contents {
h2 {
> a:not(.su-link--external) {
@include soe--link;
@include soe-link-icon(soe_arrow, 1.8rem, 0);
.su-card__contents {
h2 {
> a:not(.su-link--external) {
@include soe--link;
@include soe-link-icon(soe_arrow, 1.8rem, 0);

display: inline;
font-weight: $su-font-bold;
margin: 0;
animation: none;

&::after {
background-color: $su-color-black;
color: $su-color-black;
transform: none;
}

display: inline;
font-weight: $su-font-bold;
margin: 0;
animation: none;
&:hover,
&:focus {
@include soe--link-hover;

color: $su-color-black;
text-decoration: none;

&::after {
background-color: $su-color-black;
color: $su-color-black;
transform: none;
}
}

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

> a {
&.su-link--external {
@include soe--link;
@include link-icon(arrow-up-right, 1.3rem, topright);

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

&:hover,
&:focus {
Expand All @@ -56,33 +80,6 @@
transform: none;
}
}

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

> a {
&.su-link--external {
@include soe--link;
@include link-icon(arrow-up-right, 1.3rem, topright);

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

&:hover,
&:focus {
@include soe--link-hover;

color: $su-color-black;
text-decoration: none;

&::after {
transform: none;
}
}
}
}
}
}
Expand Down Expand Up @@ -162,4 +159,3 @@
}

}

29 changes: 29 additions & 0 deletions src/scss/theme/_teasers.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@charset 'UTF-8';

.ptype-stanford-entity {
.su-entity-item {
a {

&:hover {
text-decoration: none;
}
}
}

.ds-entity--stanford-person {
a {
@include soe--link;
@include soe-link-icon(soe_arrow, 1.8rem, 0);

color: $su-color-black;

&:hover {
@include soe--link-hover;
}

&::after {
background-color: $su-color-black;
}
}
}
}
1 change: 1 addition & 0 deletions src/scss/theme/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
@import 'people';
@import 'publications';
@import 'super-footer';
@import 'teasers';

0 comments on commit ae07b11

Please sign in to comment.