Skip to content

Commit

Permalink
Merge pull request #789 from CityOfBoston/develop
Browse files Browse the repository at this point in the history
DIG-4807, DIG-5571
  • Loading branch information
subaha-cob authored Jan 9, 2025
2 parents 4000dd5 + fa45385 commit 64abcfe
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 7 deletions.
3 changes: 3 additions & 0 deletions stylesheets/base/global/_universal.styl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
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: 3 additions & 0 deletions stylesheets/components/card/_card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,6 @@
.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: 3 additions & 0 deletions stylesheets/components/card/_featured-guide.styl
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,6 @@

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

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

#content a.gcd:link, .main a.gcd:link
text-decoration: none
4 changes: 3 additions & 1 deletion stylesheets/components/card/_link-card-list.styl
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@
@media $media-small-max
flex-direction: column


.description
line-height: 2em

#content a.lcdl:link, #content .lcdl a:link, .main .lcdl a:link
text-decoration: none
5 changes: 4 additions & 1 deletion stylesheets/components/card/_link-card-mini.styl
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,7 @@
background-image: url(/images/global/icons/icon-document.svg)

.external .lcd--sm-im
background-image: url(/images/global/icons/external-link.svg)
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
5 changes: 4 additions & 1 deletion stylesheets/components/card/_link-card.styl
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,7 @@
background-image: url(/images/global/icons/icon-document.svg)

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

#content a.lcd:link, .main a.lcd:link
text-decoration: none
5 changes: 4 additions & 1 deletion stylesheets/components/card/_person.styl
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,7 @@
color: $white

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

#content a.cdp-l:link
text-decoration: none
7 changes: 6 additions & 1 deletion stylesheets/components/card/_status.styl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@
&-t
font-size: responsive 14px 16px
line-height: $line-height-100
text-decoration: underline

&-l
background-color: rgb(255,255,255);
display: flex
text-align: left
flex: 1
text-decoration: none

@media $media-large
display: block
Expand Down Expand Up @@ -97,7 +99,7 @@
pointer-events: none

.cds-l.focus-active:hover .cds-t
text-decoration: none
text-decoration: underline

.cds-l.focus-active:hover .svg-fill-hover
fill: #FB4D42
Expand All @@ -115,3 +117,6 @@

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

#content a.cds-l:link
text-decoration: none
5 changes: 4 additions & 1 deletion stylesheets/components/event-card/_event.styl
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,7 @@
pointer-events: none

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

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

&--700
padding: $sizing-400 $sizing-900

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

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

#content a.lwi:link, .main a.lwi:link
text-decoration: none
2 changes: 2 additions & 0 deletions stylesheets/components/news/_news.styl
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,5 @@
.news-item-news:last-child
margin-bottom: 50px

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

#content .ssm a:link, .main .ssm a:link, .ssm a
text-decoration: none
19 changes: 18 additions & 1 deletion stylesheets/patterns-cob-theme.styl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,17 @@ svg:not(:root) {
color: $optimistic-blue-dark;
text-decoration: none
}
#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 @@ -103,6 +114,9 @@ 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 @@ -122,6 +136,9 @@ 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 Expand Up @@ -1801,7 +1818,7 @@ p.big.intro-text {
line-height: 1rem;
font-weight: bold
}
.node-place-profile {
.node-place-profile, .node-article {
position: relative;
z-index: 2
}
Expand Down

0 comments on commit 64abcfe

Please sign in to comment.