From 1ff534b363802c4f07b15a5d1840cbac167c07ce Mon Sep 17 00:00:00 2001 From: Bob Matyas <45246438+bobmatyas@users.noreply.github.com> Date: Wed, 14 Sep 2022 03:37:03 -0400 Subject: [PATCH] #6832: Zoologist: Fix link underline on buttons (#6445) * #6832: Zoologist: Fix link underline on buttons * #6382: Zoologist: Fix link underline on buttons --- geologist-blue/assets/theme.css | 6 +++--- geologist-cream/assets/theme.css | 6 +++--- geologist-slate/assets/theme.css | 6 +++--- geologist-yellow/assets/theme.css | 6 +++--- geologist/assets/theme.css | 6 +++--- geologist/sass/elements/_links.scss | 3 +-- quadrat-black/assets/theme.css | 6 +++--- quadrat-green/assets/theme.css | 6 +++--- quadrat-red/assets/theme.css | 6 +++--- quadrat-white/assets/theme.css | 6 +++--- quadrat-yellow/assets/theme.css | 6 +++--- quadrat/assets/theme.css | 6 +++--- quadrat/sass/elements/_links.scss | 2 +- zoologist/assets/theme.css | 4 ++-- zoologist/sass/elements/_links.scss | 2 +- 15 files changed, 38 insertions(+), 39 deletions(-) diff --git a/geologist-blue/assets/theme.css b/geologist-blue/assets/theme.css index 38005f06b..445e1ca8a 100644 --- a/geologist-blue/assets/theme.css +++ b/geologist-blue/assets/theme.css @@ -158,16 +158,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/geologist-cream/assets/theme.css b/geologist-cream/assets/theme.css index 38005f06b..445e1ca8a 100644 --- a/geologist-cream/assets/theme.css +++ b/geologist-cream/assets/theme.css @@ -158,16 +158,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/geologist-slate/assets/theme.css b/geologist-slate/assets/theme.css index 38005f06b..445e1ca8a 100644 --- a/geologist-slate/assets/theme.css +++ b/geologist-slate/assets/theme.css @@ -158,16 +158,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/geologist-yellow/assets/theme.css b/geologist-yellow/assets/theme.css index 38005f06b..445e1ca8a 100644 --- a/geologist-yellow/assets/theme.css +++ b/geologist-yellow/assets/theme.css @@ -158,16 +158,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/geologist/assets/theme.css b/geologist/assets/theme.css index 38005f06b..445e1ca8a 100644 --- a/geologist/assets/theme.css +++ b/geologist/assets/theme.css @@ -158,16 +158,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/geologist/sass/elements/_links.scss b/geologist/sass/elements/_links.scss index e20ce4778..1d6ee67bc 100644 --- a/geologist/sass/elements/_links.scss +++ b/geologist/sass/elements/_links.scss @@ -1,4 +1,4 @@ -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { text-decoration-line: underline; &:hover { @@ -6,7 +6,6 @@ } } - // Select the focus states of all non-wpadmin and screen reader links a:not(.ab-item):not(.screen-reader-shortcut) { diff --git a/quadrat-black/assets/theme.css b/quadrat-black/assets/theme.css index cdc7853d9..21e08e5f2 100644 --- a/quadrat-black/assets/theme.css +++ b/quadrat-black/assets/theme.css @@ -322,16 +322,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/quadrat-green/assets/theme.css b/quadrat-green/assets/theme.css index cdc7853d9..21e08e5f2 100644 --- a/quadrat-green/assets/theme.css +++ b/quadrat-green/assets/theme.css @@ -322,16 +322,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/quadrat-red/assets/theme.css b/quadrat-red/assets/theme.css index cdc7853d9..21e08e5f2 100644 --- a/quadrat-red/assets/theme.css +++ b/quadrat-red/assets/theme.css @@ -322,16 +322,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/quadrat-white/assets/theme.css b/quadrat-white/assets/theme.css index cdc7853d9..21e08e5f2 100644 --- a/quadrat-white/assets/theme.css +++ b/quadrat-white/assets/theme.css @@ -322,16 +322,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/quadrat-yellow/assets/theme.css b/quadrat-yellow/assets/theme.css index cdc7853d9..21e08e5f2 100644 --- a/quadrat-yellow/assets/theme.css +++ b/quadrat-yellow/assets/theme.css @@ -322,16 +322,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/quadrat/assets/theme.css b/quadrat/assets/theme.css index cdc7853d9..21e08e5f2 100644 --- a/quadrat/assets/theme.css +++ b/quadrat/assets/theme.css @@ -322,16 +322,16 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus { - outline: 1px dotted currentColor; + outline: 1px dotted currentcolor; text-decoration: none; } diff --git a/quadrat/sass/elements/_links.scss b/quadrat/sass/elements/_links.scss index e20ce4778..ddabcfae7 100644 --- a/quadrat/sass/elements/_links.scss +++ b/quadrat/sass/elements/_links.scss @@ -1,4 +1,4 @@ -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { text-decoration-line: underline; &:hover { diff --git a/zoologist/assets/theme.css b/zoologist/assets/theme.css index 102b159c3..445e1ca8a 100644 --- a/zoologist/assets/theme.css +++ b/zoologist/assets/theme.css @@ -158,11 +158,11 @@ ul ul { color: var(--wp--preset--color--background); } -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { -webkit-text-decoration-line: underline; text-decoration-line: underline; } -.wp-block-post-content a:hover { +.wp-block-post-content a:not(.wp-block-button__link):hover { text-decoration: none; } diff --git a/zoologist/sass/elements/_links.scss b/zoologist/sass/elements/_links.scss index e20ce4778..ddabcfae7 100644 --- a/zoologist/sass/elements/_links.scss +++ b/zoologist/sass/elements/_links.scss @@ -1,4 +1,4 @@ -.wp-block-post-content a { +.wp-block-post-content a:not(.wp-block-button__link) { text-decoration-line: underline; &:hover {