Sfoglia il codice sorgente

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

* #6832: Zoologist: Fix link underline on buttons

* #6382: Zoologist: Fix link underline on buttons
Bob Matyas 2 anni fa
parent
commit
1ff534b363

+ 3 - 3
geologist-blue/assets/theme.css

@@ -158,16 +158,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
geologist-cream/assets/theme.css

@@ -158,16 +158,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
geologist-slate/assets/theme.css

@@ -158,16 +158,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
geologist-yellow/assets/theme.css

@@ -158,16 +158,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
geologist/assets/theme.css

@@ -158,16 +158,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 1 - 2
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;
 	text-decoration-line: underline;
 
 
 	&:hover {
 	&:hover {
@@ -6,7 +6,6 @@
 	}
 	}
 }
 }
 
 
-
 // Select the focus states of all non-wpadmin and screen reader links
 // Select the focus states of all non-wpadmin and screen reader links
 a:not(.ab-item):not(.screen-reader-shortcut) {
 a:not(.ab-item):not(.screen-reader-shortcut) {
 
 

+ 3 - 3
quadrat-black/assets/theme.css

@@ -322,16 +322,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
quadrat-green/assets/theme.css

@@ -322,16 +322,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
quadrat-red/assets/theme.css

@@ -322,16 +322,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
quadrat-white/assets/theme.css

@@ -322,16 +322,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
quadrat-yellow/assets/theme.css

@@ -322,16 +322,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 3 - 3
quadrat/assets/theme.css

@@ -322,16 +322,16 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 
 a:not(.ab-item):not(.screen-reader-shortcut):active, a:not(.ab-item):not(.screen-reader-shortcut):focus {
 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;
   text-decoration: none;
 }
 }
 
 

+ 1 - 1
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;
 	text-decoration-line: underline;
 
 
 	&:hover {
 	&:hover {

+ 2 - 2
zoologist/assets/theme.css

@@ -158,11 +158,11 @@ ul ul {
   color: var(--wp--preset--color--background);
   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;
   -webkit-text-decoration-line: underline;
           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;
   text-decoration: none;
 }
 }
 
 

+ 1 - 1
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;
 	text-decoration-line: underline;
 
 
 	&:hover {
 	&:hover {