#6832: Zoologist: Fix link underline on buttons (#6445)

* #6832: Zoologist: Fix link underline on buttons

* #6382: Zoologist: Fix link underline on buttons
This commit is contained in:
Bob Matyas 2022-09-14 03:37:03 -04:00 committed by GitHub
parent 1c197b1575
commit 1ff534b363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 38 additions and 39 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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) {

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -1,4 +1,4 @@
.wp-block-post-content a {
.wp-block-post-content a:not(.wp-block-button__link) {
text-decoration-line: underline;
&:hover {

View file

@ -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;
}

View file

@ -1,4 +1,4 @@
.wp-block-post-content a {
.wp-block-post-content a:not(.wp-block-button__link) {
text-decoration-line: underline;
&:hover {