Bladeren bron

Coutoire: Fix nested button text-color, code tidying.

Allan Cole 5 jaren geleden
bovenliggende
commit
7eccd6879b
1 gewijzigde bestanden met toevoegingen van 28 en 22 verwijderingen
  1. 28 22
      coutoire/style.css

+ 28 - 22
coutoire/style.css

@@ -1517,12 +1517,18 @@ button[data-load-more-btn], .button {
 	margin-bottom: 32px;
 }
 
-.wp-block-cover .wp-block-cover__inner-container a,
-.wp-block-cover .wp-block-cover-image-text a,
-.wp-block-cover .wp-block-cover-text a,
-.wp-block-cover-image .wp-block-cover__inner-container a,
-.wp-block-cover-image .wp-block-cover-image-text a,
-.wp-block-cover-image .wp-block-cover-text a {
+.wp-block-cover .wp-block-cover__inner-container a:not(.wp-block-button__link),
+.wp-block-cover .wp-block-cover__inner-container a.wp-block-button__link:hover,
+.wp-block-cover .wp-block-cover-image-text a:not(.wp-block-button__link),
+.wp-block-cover .wp-block-cover-image-text a.wp-block-button__link:hover,
+.wp-block-cover .wp-block-cover-text a:not(.wp-block-button__link),
+.wp-block-cover .wp-block-cover-text a.wp-block-button__link:hover,
+.wp-block-cover-image .wp-block-cover__inner-container a:not(.wp-block-button__link),
+.wp-block-cover-image .wp-block-cover__inner-container a.wp-block-button__link:hover,
+.wp-block-cover-image .wp-block-cover-image-text a:not(.wp-block-button__link),
+.wp-block-cover-image .wp-block-cover-image-text a.wp-block-button__link:hover,
+.wp-block-cover-image .wp-block-cover-text a:not(.wp-block-button__link),
+.wp-block-cover-image .wp-block-cover-text a.wp-block-button__link:hover {
 	color: currentColor;
 }
 
@@ -2404,35 +2410,35 @@ table th,
 	background-attachment: fixed;
 }
 
-.has-primary-color[class] {
+.has-primary-color {
 	color: black;
 }
 
-.has-secondary-color[class] {
+.has-secondary-color {
 	color: #FF7A5C;
 }
 
-.has-foreground-color[class] {
+.has-foreground-color {
 	color: #444444;
 }
 
-.has-foreground-light-color[class] {
+.has-foreground-light-color {
 	color: #767676;
 }
 
-.has-foreground-dark-color[class] {
+.has-foreground-dark-color {
 	color: #111111;
 }
 
-.has-background-light-color[class] {
+.has-background-light-color {
 	color: #FAFAFA;
 }
 
-.has-background-dark-color[class] {
+.has-background-dark-color {
 	color: #DDDDDD;
 }
 
-.has-background-color[class] {
+.has-background-color {
 	color: white;
 }
 
@@ -2441,42 +2447,42 @@ table th,
 	color: currentColor;
 }
 
-.has-primary-background-color[class] {
+.has-primary-background-color {
 	background-color: black;
 	color: white;
 }
 
-.has-secondary-background-color[class] {
+.has-secondary-background-color {
 	background-color: #FF7A5C;
 	color: white;
 }
 
-.has-foreground-background-color[class] {
+.has-foreground-background-color {
 	background-color: #444444;
 	color: white;
 }
 
-.has-foreground-light-background-color[class] {
+.has-foreground-light-background-color {
 	background-color: #767676;
 	color: white;
 }
 
-.has-foreground-dark-background-color[class] {
+.has-foreground-dark-background-color {
 	background-color: #111111;
 	color: white;
 }
 
-.has-background-light-background-color[class] {
+.has-background-light-background-color {
 	background-color: #FAFAFA;
 	color: #444444;
 }
 
-.has-background-dark-background-color[class] {
+.has-background-dark-background-color {
 	background-color: #DDDDDD;
 	color: #444444;
 }
 
-.has-background-background-color[class] {
+.has-background-background-color {
 	background-color: white;
 	color: #444444;
 }