* #6832: Zoologist: Fix link underline on buttons * #6382: Zoologist: Fix link underline on buttons
This commit is contained in:
parent
1c197b1575
commit
1ff534b363
15 changed files with 38 additions and 39 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.wp-block-post-content a {
|
||||
.wp-block-post-content a:not(.wp-block-button__link) {
|
||||
text-decoration-line: underline;
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.wp-block-post-content a {
|
||||
.wp-block-post-content a:not(.wp-block-button__link) {
|
||||
text-decoration-line: underline;
|
||||
|
||||
&:hover {
|
||||
|
|
Loading…
Reference in a new issue