Skip to content

Commit 43f00ef

Browse files
authored
Merge pull request #787 from CityOfBoston/DIG-4807
DIG-4807 Adding underllinee to linnks in CK editor
2 parents bd0111b + 92fc0e2 commit 43f00ef

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

stylesheets/components/form/_button.styl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,5 @@
155155
padding: $sizing-400 $sizing-900
156156

157157
#content a.btn:link, #content a.button:link, .main a.button:link, #content .button a:link
158-
text-decoration: none
158+
text-decoration: none
159+
background-image: none

stylesheets/patterns-cob-theme.styl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ svg:not(:root) {
9696
#content a:link, .main a:link {
9797
text-decoration: underline
9898
}
99+
#content p a[target=_blank], .main p a[target=_blank], #content span a[target=_blank], .main span a[target=_blank] {
100+
background-image: url(../images/global/icons/external-link.svg);
101+
background-repeat: no-repeat;
102+
background-position: calc(100% - 0px) 50%;
103+
background-size: 16px;
104+
padding-right: 20px;
105+
display: inline-block;
106+
}
99107
.inverted,
100108
.inverted:link {
101109
color: $freedom-red-dark
@@ -106,7 +114,7 @@ svg:not(:root) {
106114
.inverted:visited {
107115
color: $freedom-red-dark
108116
}
109-
#content a:visited, .main a:visited {
117+
#content p a:visited, .main p a:visited {
110118
color: #393FAC
111119
}
112120
a:hover,

0 commit comments

Comments
 (0)