Browse Source

Target links not buttons.

Jeff Ong 4 years ago
parent
commit
0bad4a3571
4 changed files with 3 additions and 3 deletions
  1. 1 1
      spearhead/assets/sass/_text.scss
  2. 1 1
      spearhead/style-rtl.css
  3. 1 1
      spearhead/style.css
  4. 0 0
      spearhead/style.css.map

+ 1 - 1
spearhead/assets/sass/_text.scss

@@ -2,7 +2,7 @@
     border-bottom: 1px solid transparent;
     transition: all 0.1s ease;
 
-    &:hover {
+    &:hover:not(.wp-block-button__link) {
         color: var( --global--color-primary-hover );
         border-bottom: 1px solid var( --global--color-primary-hover );
     }

+ 1 - 1
spearhead/style-rtl.css

@@ -136,7 +136,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	transition: all 0.1s ease;
 }
 
-.has-link-color a:hover, a:hover {
+.has-link-color a:hover:not(.wp-block-button__link), a:hover:not(.wp-block-button__link) {
 	color: var(--global--color-primary-hover);
 	border-bottom: 1px solid var(--global--color-primary-hover);
 }

+ 1 - 1
spearhead/style.css

@@ -136,7 +136,7 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
 	transition: all 0.1s ease;
 }
 
-.has-link-color a:hover, a:hover {
+.has-link-color a:hover:not(.wp-block-button__link), a:hover:not(.wp-block-button__link) {
 	color: var(--global--color-primary-hover);
 	border-bottom: 1px solid var(--global--color-primary-hover);
 }

File diff suppressed because it is too large
+ 0 - 0
spearhead/style.css.map


Some files were not shown because too many files changed in this diff