Skip to content

Commit

Permalink
Merge pull request #787 from CityOfBoston/DIG-4807
Browse files Browse the repository at this point in the history
DIG-4807 Adding underllinee to linnks in CK editor
  • Loading branch information
subaha-cob authored Jan 6, 2025
2 parents bd0111b + 92fc0e2 commit 43f00ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stylesheets/components/form/_button.styl
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,5 @@
padding: $sizing-400 $sizing-900

#content a.btn:link, #content a.button:link, .main a.button:link, #content .button a:link
text-decoration: none
text-decoration: none
background-image: none
10 changes: 9 additions & 1 deletion stylesheets/patterns-cob-theme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ svg:not(:root) {
#content a:link, .main a:link {
text-decoration: underline
}
#content p a[target=_blank], .main p a[target=_blank], #content span a[target=_blank], .main span a[target=_blank] {
background-image: url(../images/global/icons/external-link.svg);
background-repeat: no-repeat;
background-position: calc(100% - 0px) 50%;
background-size: 16px;
padding-right: 20px;
display: inline-block;
}
.inverted,
.inverted:link {
color: $freedom-red-dark
Expand All @@ -106,7 +114,7 @@ svg:not(:root) {
.inverted:visited {
color: $freedom-red-dark
}
#content a:visited, .main a:visited {
#content p a:visited, .main p a:visited {
color: #393FAC
}
a:hover,
Expand Down

0 comments on commit 43f00ef

Please sign in to comment.