From 4b7fa7e990965876a1fb1fec4eb01e91335d04fb Mon Sep 17 00:00:00 2001 From: Mari Nez Date: Wed, 18 Dec 2024 18:52:23 -0600 Subject: [PATCH] fix(shs-5996-shs-5997): wysiwyg more link and external link styles --- .../humsci_basic/src/scss/tools/_mixins.icons.scss | 2 +- .../src/scss/utilities/_wysiwyg-text-area.scss | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.icons.scss b/docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.icons.scss index f0cdc05c9..84f4e8a90 100644 --- a/docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.icons.scss +++ b/docroot/themes/humsci/humsci_basic/src/scss/tools/_mixins.icons.scss @@ -6,7 +6,7 @@ background-image: svg(hc-get-icons($icon, $icon-color)); } @else { - $icon-color: map-get(map-get($hc-colorful-pairings, 'ocean'), $color); + $icon-color: map-get(map-get($hc-colorful-pairings, 'cardinal'), $color); background-image: svg(hc-get-icons($icon, $icon-color)); .hc-pairing-ocean & { diff --git a/docroot/themes/humsci/humsci_basic/src/scss/utilities/_wysiwyg-text-area.scss b/docroot/themes/humsci/humsci_basic/src/scss/utilities/_wysiwyg-text-area.scss index 577294777..acc9c3b1b 100644 --- a/docroot/themes/humsci/humsci_basic/src/scss/utilities/_wysiwyg-text-area.scss +++ b/docroot/themes/humsci/humsci_basic/src/scss/utilities/_wysiwyg-text-area.scss @@ -308,7 +308,8 @@ blockquote:nth-child(n) { } a[href*="//"].hs-external-link, -.hs-external-link a[href*="//"] +.hs-external-link a[href*="//"], +.ck-content a.hs-external-link { @include hb-link--inline; @include hb-external-link-icon; @@ -338,6 +339,16 @@ a[href*="//"].hs-external-link, } } } + + .ck-style-grid__button & { + &::after { + width: 18px; + height: 11px; + margin-bottom: 0; + background-size: 11px; + padding-left: 0; + } + } } a.hs-private-link,