Skip to content

Commit

Permalink
Merge pull request #794 from CityOfBoston/develop
Browse files Browse the repository at this point in the history
DIG-5606, DIG-5596, DIG-5597
  • Loading branch information
subaha-cob authored Jan 16, 2025
2 parents 64abcfe + b90de20 commit 6a1dae4
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 52 deletions.
3 changes: 0 additions & 3 deletions stylesheets/base/global/_universal.styl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
img
border: 0

#content a:hover:not(p), #content a:hover:not(div), #content a
text-decoration: underline

a
color: $optimistic-blue-dark
text-decoration: none
Expand Down
3 changes: 0 additions & 3 deletions stylesheets/components/card/_card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,3 @@
.cd.g--4
@media $media-large-max
lost-column: 12/12

#content a.cd:link, #content .cd a:link, .main .cd a:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/card/_featured-guide.styl
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,3 @@

.cdfg.focus-active:hover:before
background-color: $optimistic-blue

#content a.cdfg:link
text-decoration: none
2 changes: 0 additions & 2 deletions stylesheets/components/card/_guide-card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,3 @@
background-color: $blended-optimistic-blue
background-blend-mode: multiply

#content a.gcd:link, .main a.gcd:link
text-decoration: none
2 changes: 0 additions & 2 deletions stylesheets/components/card/_link-card-list.styl
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,3 @@
.description
line-height: 2em

#content a.lcdl:link, #content .lcdl a:link, .main .lcdl a:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/card/_link-card-mini.styl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,3 @@

.external .lcd--sm-im
background-image: url(/images/global/icons/external-link.svg)

#content a.lcd--sm:link, #content .lcd--sm a:link, .main .lcd--sm a:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/card/_link-card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,3 @@

.external .lcd-im
background-image: url(/images/global/icons/external-link.svg)

#content a.lcd:link, .main a.lcd:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/card/_person.styl
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,3 @@

.cdp-l.focus-active:hover:focus .cdp-st
color: $white

#content a.cdp-l:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/card/_status.styl
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,3 @@

.cds-l.focus-active:focus .svg-fill-hover
fill: $optimistic-blue-light

#content a.cds-l:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/event-card/_event.styl
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,3 @@

.evt.focus-active:hover .evt-t
color: $optimistic-blue-light

#content a.evt:link
text-decoration: none
5 changes: 4 additions & 1 deletion stylesheets/components/form/_button.styl
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,7 @@

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

#content a.btn:visited, #content a.button:visited, .main a.button:visited, #content .button a:visited
color: #fff
3 changes: 0 additions & 3 deletions stylesheets/components/link-with-icon/_link.styl
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,3 @@ a.lwi.focus-active:focus

.lwi.focus-active:focus .lwi-t
color: $white

#content a.lwi:link, .main a.lwi:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/news/_news.styl
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,3 @@

.news-item-news:last-child
margin-bottom: 50px

#content a.n--a:link
text-decoration: none
3 changes: 0 additions & 3 deletions stylesheets/components/sticky-submenu/_sticky-submenu.styl
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,3 @@
text-decoration: none
color: $white
background-color: $freedom-red-dark

#content .ssm a:link, .main .ssm a:link, .ssm a
text-decoration: none
28 changes: 14 additions & 14 deletions stylesheets/patterns-cob-theme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,21 @@ svg:not(:root) {
color: $optimistic-blue-dark;
text-decoration: none
}
#content a:link, .main a:link {
.intro-text a,
article .body a,
.field-three-col-description a,
.field-type-text-long a,
.paragraphs-item-text-one-column a,
.lcdl-d a {
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;
.intro-text a:visited,
article .body a:visited,
.field-three-col-description a:visited,
.field-type-text-long a:visited,
.paragraphs-item-text-one-column a:visited,
.lcdl-d a {
color: #393FAC
}
.inverted,
.inverted:link {
Expand All @@ -114,9 +119,6 @@ svg:not(:root) {
.inverted:visited {
color: $freedom-red-dark
}
#content p a:visited, .main p a:visited {
color: #393FAC
}
a:hover,
a:focus {
color: $freedom-red-dark
Expand All @@ -136,9 +138,7 @@ a:active,
a:hover {
outline: 0
}
#content a:hover:not(div), #content a:hover:not(p) {
text-decoration: underline
}

@media print {
:link,
:visited {
Expand Down

0 comments on commit 6a1dae4

Please sign in to comment.