Skip to content

Commit 10dbb14

Browse files
authored
Merge pull request #792 from CityOfBoston/DIG-4807
DIG-5596 CKEditor Underline links
2 parents 48688d9 + 69b2fa5 commit 10dbb14

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

stylesheets/base/global/_universal.styl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
img
55
border: 0
66

7-
#content a:hover:not(p), #content a:hover:not(div), #content a
8-
text-decoration: underline
9-
107
a
118
color: $optimistic-blue-dark
129
text-decoration: none

stylesheets/components/news/_news_card.styl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
a
5353
display: inline-block
5454
text-transform: none
55-
text-decoration: none
5655

5756
span
5857
display: block

stylesheets/patterns-cob-theme.styl

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,22 @@ svg:not(:root) {
9393
color: $optimistic-blue-dark;
9494
text-decoration: none
9595
}
96-
#content a:link, .main a:link {
96+
.intro-text a,
97+
article .body a,
98+
.field-three-col-description a,
99+
.field-type-text-long a,
100+
.paragraphs-item-text-one-column a,
101+
.lcdl-d a {
97102
text-decoration: underline
98103
}
104+
.intro-text a:visited,
105+
article .body a:visited,
106+
.field-three-col-description a:visited,
107+
.field-type-text-long a:visited,
108+
.paragraphs-item-text-one-column a:visited,
109+
.lcdl-d a {
110+
color: #393FAC
111+
}
99112
#content p a[target=_blank], .main p a[target=_blank], #content span a[target=_blank], .main span a[target=_blank] {
100113
background-image: url(../images/global/icons/external-link.svg);
101114
background-repeat: no-repeat;
@@ -114,9 +127,6 @@ svg:not(:root) {
114127
.inverted:visited {
115128
color: $freedom-red-dark
116129
}
117-
#content p a:visited, .main p a:visited {
118-
color: #393FAC
119-
}
120130
a:hover,
121131
a:focus {
122132
color: $freedom-red-dark
@@ -136,9 +146,7 @@ a:active,
136146
a:hover {
137147
outline: 0
138148
}
139-
#content a:hover:not(div), #content a:hover:not(p) {
140-
text-decoration: underline
141-
}
149+
142150
@media print {
143151
:link,
144152
:visited {

0 commit comments

Comments
 (0)