Skip to content

Commit

Permalink
fix(shs-5503): fix colorband link color and hover underline in colorful
Browse files Browse the repository at this point in the history
  • Loading branch information
cienvaras committed Mar 20, 2024
1 parent 9a51f26 commit bff01c1
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 14 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docroot/themes/humsci/humsci_airy/css/humsci_airy.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,29 @@
.hb-color-band--link.hs-more-link button {
@include hb-global-color('color', 'black');

@include hb-colorful {
.hc-pairing-ocean & {
@include hb-global-color('color', 'black');
}
}

&:hover,
&:focus {
@include hb-global-color('color', 'black');

@include hb-colorful {
.hc-pairing-ocean & {
@include hb-global-color('color', 'black');
}
}

&::after {
@include hb-icon-link-arrow('black');

background-size: 85%;

*[class*="hc-pairing-"] &,
*[class*="ht-pairing-"] & {
*[class*='hc-pairing-'] &,
*[class*='ht-pairing-'] & {
@include hb-icon-link-arrow('black');

background-size: 85%;
Expand All @@ -100,8 +112,8 @@

background-size: 85%;

*[class*="hc-pairing-"] &,
*[class*="ht-pairing-"] & {
*[class*='hc-pairing-'] &,
*[class*='ht-pairing-'] & {
@include hb-icon-link-arrow('black');

background-size: 85%;
Expand Down Expand Up @@ -142,17 +154,30 @@
display: inline-block;
margin-bottom: hb-calculate-rems(12px);

@include hb-colorful {
.hc-pairing-ocean & {
@include hb-global-color('color', 'white');
}
}

&:hover,
&:focus {
@include hb-global-color('color', 'white');
text-decoration: underline;

@include hb-colorful {
.hc-pairing-ocean & {
@include hb-global-color('color', 'white');
}
}

&::after {
@include hb-icon-link-arrow('white');

background-size: 85%;

[class*="hc-pairing-"] &,
[class*="ht-pairing-"] & {
[class*='hc-pairing-'] &,
[class*='ht-pairing-'] & {
@include hb-icon-link-arrow('white');

background-size: 85%;
Expand All @@ -169,8 +194,8 @@

background-size: 85%;

[class*="hc-pairing-"] &,
[class*="ht-pairing-"] & {
[class*='hc-pairing-'] &,
[class*='ht-pairing-'] & {
@include hb-icon-link-arrow('white');

background-size: 85%;
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit bff01c1

Please sign in to comment.