From 1ab2508b2b5745e0dc90c4bc3548964b3a2c2bd4 Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 9 Dec 2024 09:00:07 -0500 Subject: [PATCH 01/14] DIG-4807 Content text underline for accessibility --- stylesheets/base/global/_universal.styl | 4 ++++ stylesheets/patterns-cob-theme.styl | 3 +++ 2 files changed, 7 insertions(+) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index 0aea51d8..dbbffd6b 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,6 +4,10 @@ img border: 0 +.content a + color: $optimistic-blue-dark + text-decoration: underline + a color: $optimistic-blue-dark text-decoration: none diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 4bea7906..55e78213 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -122,6 +122,9 @@ a:active, a:hover { outline: 0 } +.content a:link { + text-decoration: underline +} @media print { :link, :visited { From cd710c4764e1f75d57331db189f8a7a3740e5062 Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 9 Dec 2024 09:12:05 -0500 Subject: [PATCH 02/14] DIG-4807 Content text underline for accessibility --- stylesheets/base/global/_universal.styl | 2 +- stylesheets/patterns-cob-theme.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index dbbffd6b..0a8b6465 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,7 +4,7 @@ img border: 0 -.content a +#content a color: $optimistic-blue-dark text-decoration: underline diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 55e78213..146b9329 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -122,7 +122,7 @@ a:active, a:hover { outline: 0 } -.content a:link { +#content a:link { text-decoration: underline } @media print { From be28c3c0825fd446ce2fc99bba67cc0135dee0c4 Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 9 Dec 2024 09:28:50 -0500 Subject: [PATCH 03/14] DIG-4807 Content text underline for accessibility --- stylesheets/base/global/_universal.styl | 2 +- stylesheets/patterns-cob-theme.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index 0a8b6465..b44e1b35 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,7 +4,7 @@ img border: 0 -#content a +#content a:hover color: $optimistic-blue-dark text-decoration: underline diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 146b9329..54e80ffd 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -122,7 +122,7 @@ a:active, a:hover { outline: 0 } -#content a:link { +#content a:hover { text-decoration: underline } @media print { From 9df331599a8d7fa517ec65bee1c18e8e069a7694 Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 9 Dec 2024 09:43:21 -0500 Subject: [PATCH 04/14] DIG-4807 Content text underline for accessibility --- stylesheets/base/global/_universal.styl | 3 +-- stylesheets/patterns-cob-theme.styl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index b44e1b35..92413fdc 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,8 +4,7 @@ img border: 0 -#content a:hover - color: $optimistic-blue-dark +#content a:hover:not(p) text-decoration: underline a diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 54e80ffd..3ea57c35 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -122,7 +122,7 @@ a:active, a:hover { outline: 0 } -#content a:hover { +#content a:hover:not(p) { text-decoration: underline } @media print { From f94ae023d9c737fa37726d63aa3b5f2ae3e3a61b Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 9 Dec 2024 10:05:57 -0500 Subject: [PATCH 05/14] DIG-4807 Content text underline for accessibility --- stylesheets/base/global/_universal.styl | 2 +- stylesheets/patterns-cob-theme.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index 92413fdc..6b9d8724 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,7 +4,7 @@ img border: 0 -#content a:hover:not(p) +#content a:hover text-decoration: underline a diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 3ea57c35..54e80ffd 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -122,7 +122,7 @@ a:active, a:hover { outline: 0 } -#content a:hover:not(p) { +#content a:hover { text-decoration: underline } @media print { From a73de508f371e35570d4364079456dcbcf7d8ebd Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 9 Dec 2024 11:56:00 -0500 Subject: [PATCH 06/14] DIG-4807 Content text underline for accessibility --- stylesheets/base/global/_universal.styl | 2 +- stylesheets/patterns-cob-theme.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index 6b9d8724..902bd671 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,7 +4,7 @@ img border: 0 -#content a:hover +#content a:hover:not(p), #content a:hover:not(div) text-decoration: underline a diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 54e80ffd..f212ac77 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -122,7 +122,7 @@ a:active, a:hover { outline: 0 } -#content a:hover { +#content a:hover:not(div), #content a:hover:not(p) { text-decoration: underline } @media print { From 539814477e2e870144503409bfdf6930438105ef Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Thu, 12 Dec 2024 16:11:23 -0500 Subject: [PATCH 07/14] DIG-4807 CKEditor text links underline --- stylesheets/base/global/_universal.styl | 2 +- stylesheets/patterns-cob-theme.styl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stylesheets/base/global/_universal.styl b/stylesheets/base/global/_universal.styl index 902bd671..d2487133 100644 --- a/stylesheets/base/global/_universal.styl +++ b/stylesheets/base/global/_universal.styl @@ -4,7 +4,7 @@ img border: 0 -#content a:hover:not(p), #content a:hover:not(div) +#content a:hover:not(p), #content a:hover:not(div), #content a text-decoration: underline a diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index f212ac77..d517edd0 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -91,7 +91,7 @@ svg:not(:root) { } :link { color: $optimistic-blue-dark; - text-decoration: none + text-decoration: underline } .inverted, .inverted:link { From 842f8e17e244e99fb4e867c8cf9512517049689d Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Thu, 12 Dec 2024 17:03:22 -0500 Subject: [PATCH 08/14] DIG-4807 CKEditor links --- stylesheets/patterns-cob-theme.styl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index d517edd0..cec6a4f5 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -91,6 +91,9 @@ svg:not(:root) { } :link { color: $optimistic-blue-dark; + text-decoration: none +} +#content :link { text-decoration: underline } .inverted, From a400d45116488a711df3effea28fe618364d57bd Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Thu, 12 Dec 2024 17:25:47 -0500 Subject: [PATCH 09/14] DIG-4807 --- stylesheets/patterns-cob-theme.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index cec6a4f5..e5d1a7ed 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -93,7 +93,7 @@ svg:not(:root) { color: $optimistic-blue-dark; text-decoration: none } -#content :link { +#content a:link { text-decoration: underline } .inverted, From b47c1b321413873ff54c239f7b9d7b88d00fec70 Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Fri, 13 Dec 2024 16:16:49 -0500 Subject: [PATCH 10/14] DIG-4807 Adding underline to CKEditor --- stylesheets/components/card/_card.styl | 3 +++ stylesheets/components/card/_featured-guide.styl | 3 +++ stylesheets/components/card/_person.styl | 5 ++++- stylesheets/components/card/_status.styl | 7 ++++++- stylesheets/components/event-card/_event.styl | 5 ++++- stylesheets/components/form/_button.styl | 3 +++ stylesheets/components/link-with-icon/_link.styl | 3 +++ stylesheets/components/news/_news.styl | 2 ++ stylesheets/patterns-cob-theme.styl | 2 +- 9 files changed, 29 insertions(+), 4 deletions(-) diff --git a/stylesheets/components/card/_card.styl b/stylesheets/components/card/_card.styl index 7404ed0c..b8e66fb1 100644 --- a/stylesheets/components/card/_card.styl +++ b/stylesheets/components/card/_card.styl @@ -217,3 +217,6 @@ .cd.g--4 @media $media-large-max lost-column: 12/12 + +#content a.cd:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/card/_featured-guide.styl b/stylesheets/components/card/_featured-guide.styl index 8b9a955d..d1285d3f 100644 --- a/stylesheets/components/card/_featured-guide.styl +++ b/stylesheets/components/card/_featured-guide.styl @@ -190,3 +190,6 @@ .cdfg.focus-active:hover:before background-color: $optimistic-blue + +#content a.cdfg:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/card/_person.styl b/stylesheets/components/card/_person.styl index 89e22226..b37d15b7 100644 --- a/stylesheets/components/card/_person.styl +++ b/stylesheets/components/card/_person.styl @@ -126,4 +126,7 @@ color: $white .cdp-l.focus-active:hover:focus .cdp-st - color: $white \ No newline at end of file + color: $white + +#content a.cdp-l:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/card/_status.styl b/stylesheets/components/card/_status.styl index 29cea3d3..95630b7b 100644 --- a/stylesheets/components/card/_status.styl +++ b/stylesheets/components/card/_status.styl @@ -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 @@ -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 @@ -115,3 +117,6 @@ .cds-l.focus-active:focus .svg-fill-hover fill: $optimistic-blue-light + +#content a.cds-l:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/event-card/_event.styl b/stylesheets/components/event-card/_event.styl index f8d1135e..200648a4 100644 --- a/stylesheets/components/event-card/_event.styl +++ b/stylesheets/components/event-card/_event.styl @@ -162,4 +162,7 @@ pointer-events: none .evt.focus-active:hover .evt-t - color: $optimistic-blue-light \ No newline at end of file + color: $optimistic-blue-light + +#content a.evt:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/form/_button.styl b/stylesheets/components/form/_button.styl index 2542b652..b09878ad 100644 --- a/stylesheets/components/form/_button.styl +++ b/stylesheets/components/form/_button.styl @@ -153,3 +153,6 @@ &--700 padding: $sizing-400 $sizing-900 + +#content a.btn:link, #content a.button:link, .main a.button:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/link-with-icon/_link.styl b/stylesheets/components/link-with-icon/_link.styl index 245263f0..1b06b54a 100644 --- a/stylesheets/components/link-with-icon/_link.styl +++ b/stylesheets/components/link-with-icon/_link.styl @@ -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 \ No newline at end of file diff --git a/stylesheets/components/news/_news.styl b/stylesheets/components/news/_news.styl index baf27a72..917f2b44 100644 --- a/stylesheets/components/news/_news.styl +++ b/stylesheets/components/news/_news.styl @@ -132,3 +132,5 @@ .news-item-news:last-child margin-bottom: 50px +#content a.n--a:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index e5d1a7ed..1e6267ec 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -93,7 +93,7 @@ svg:not(:root) { color: $optimistic-blue-dark; text-decoration: none } -#content a:link { +#content a:link, .main a:link { text-decoration: underline } .inverted, From e3b3b0ac62ffde2dedbd6f1eab315b889d36678a Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Tue, 31 Dec 2024 16:42:07 -0500 Subject: [PATCH 11/14] DIG-4807 Add underline to links CK Editor --- stylesheets/components/card/_card.styl | 2 +- stylesheets/components/card/_guide-card.styl | 3 +++ stylesheets/components/card/_link-card-list.styl | 4 +++- stylesheets/components/card/_link-card-mini.styl | 5 ++++- stylesheets/components/card/_link-card.styl | 5 ++++- stylesheets/components/form/_button.styl | 2 +- stylesheets/components/sticky-submenu/_sticky-submenu.styl | 2 ++ 7 files changed, 18 insertions(+), 5 deletions(-) diff --git a/stylesheets/components/card/_card.styl b/stylesheets/components/card/_card.styl index b8e66fb1..861f2095 100644 --- a/stylesheets/components/card/_card.styl +++ b/stylesheets/components/card/_card.styl @@ -218,5 +218,5 @@ @media $media-large-max lost-column: 12/12 -#content a.cd:link +#content a.cd:link, #content .cd a:link, .main .cd a:link text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/card/_guide-card.styl b/stylesheets/components/card/_guide-card.styl index d69c6d6d..b0c8934d 100644 --- a/stylesheets/components/card/_guide-card.styl +++ b/stylesheets/components/card/_guide-card.styl @@ -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 diff --git a/stylesheets/components/card/_link-card-list.styl b/stylesheets/components/card/_link-card-list.styl index d3e14978..49f0a51b 100644 --- a/stylesheets/components/card/_link-card-list.styl +++ b/stylesheets/components/card/_link-card-list.styl @@ -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 diff --git a/stylesheets/components/card/_link-card-mini.styl b/stylesheets/components/card/_link-card-mini.styl index 968d02db..6b023968 100644 --- a/stylesheets/components/card/_link-card-mini.styl +++ b/stylesheets/components/card/_link-card-mini.styl @@ -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) \ No newline at end of file + 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 \ No newline at end of file diff --git a/stylesheets/components/card/_link-card.styl b/stylesheets/components/card/_link-card.styl index 6620c754..638b878b 100644 --- a/stylesheets/components/card/_link-card.styl +++ b/stylesheets/components/card/_link-card.styl @@ -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) \ No newline at end of file + background-image: url(/images/global/icons/external-link.svg) + +#content a.lcd:link, .main a.lcd:link + text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/form/_button.styl b/stylesheets/components/form/_button.styl index b09878ad..ea8d655b 100644 --- a/stylesheets/components/form/_button.styl +++ b/stylesheets/components/form/_button.styl @@ -154,5 +154,5 @@ &--700 padding: $sizing-400 $sizing-900 -#content a.btn:link, #content a.button:link, .main a.button:link +#content a.btn:link, #content a.button:link, .main a.button:link, #content .button a:link text-decoration: none \ No newline at end of file diff --git a/stylesheets/components/sticky-submenu/_sticky-submenu.styl b/stylesheets/components/sticky-submenu/_sticky-submenu.styl index ac39ce6e..e5baa194 100644 --- a/stylesheets/components/sticky-submenu/_sticky-submenu.styl +++ b/stylesheets/components/sticky-submenu/_sticky-submenu.styl @@ -258,3 +258,5 @@ color: $white background-color: $freedom-red-dark +#content .ssm a:link, .main .ssm a:link, .ssm a + text-decoration: none From 10e1a33adf8a0e04b60632ca38a973b5bb771fb1 Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Tue, 31 Dec 2024 18:37:16 -0500 Subject: [PATCH 12/14] DIG-4807 Add underline to links in CK Editor --- stylesheets/patterns-cob-theme.styl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 1e6267ec..d2c66ed5 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -106,6 +106,9 @@ svg:not(:root) { .inverted:visited { color: $freedom-red-dark } +#content a:visited, .main a:visited { + color: #393FAC +} a:hover, a:focus { color: $freedom-red-dark From 92fc0e261009f73ba25721e64eb1286b5bcb094f Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Mon, 6 Jan 2025 10:08:13 -0500 Subject: [PATCH 13/14] DIG-4807 Adding underllinee to linnks in CK editor --- stylesheets/components/form/_button.styl | 3 ++- stylesheets/patterns-cob-theme.styl | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/stylesheets/components/form/_button.styl b/stylesheets/components/form/_button.styl index ea8d655b..c33898f4 100644 --- a/stylesheets/components/form/_button.styl +++ b/stylesheets/components/form/_button.styl @@ -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 \ No newline at end of file + text-decoration: none + background-image: none \ No newline at end of file diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index d2c66ed5..6cc19616 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -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 @@ -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, From d563a6f1efd8e99e304100478e6385c0720d324c Mon Sep 17 00:00:00 2001 From: "stella.ubaha@boston.gov" Date: Wed, 8 Jan 2025 15:25:19 -0500 Subject: [PATCH 14/14] Node article header text bug --- stylesheets/patterns-cob-theme.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/patterns-cob-theme.styl b/stylesheets/patterns-cob-theme.styl index 6cc19616..81aeb0e4 100644 --- a/stylesheets/patterns-cob-theme.styl +++ b/stylesheets/patterns-cob-theme.styl @@ -1818,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 }