Forráskód Böngészése

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

Allan Cole 5 éve
szülő
commit
67636090f8
1 módosított fájl, 28 hozzáadás és 22 törlés
  1. 28 22
      balasana/style.css

+ 28 - 22
balasana/style.css

@@ -1519,12 +1519,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;
 }
 
@@ -2406,35 +2412,35 @@ table th,
 	background-attachment: fixed;
 }
 
-.has-primary-color[class] {
+.has-primary-color {
 	color: #19744C;
 }
 
-.has-secondary-color[class] {
+.has-secondary-color {
 	color: #BC2213;
 }
 
-.has-foreground-color[class] {
+.has-foreground-color {
 	color: #303030;
 }
 
-.has-foreground-light-color[class] {
+.has-foreground-light-color {
 	color: #505050;
 }
 
-.has-foreground-dark-color[class] {
+.has-foreground-dark-color {
 	color: #101010;
 }
 
-.has-background-light-color[class] {
+.has-background-light-color {
 	color: #F0F0F0;
 }
 
-.has-background-dark-color[class] {
+.has-background-dark-color {
 	color: #D0D0D0;
 }
 
-.has-background-color[class] {
+.has-background-color {
 	color: white;
 }
 
@@ -2443,42 +2449,42 @@ table th,
 	color: currentColor;
 }
 
-.has-primary-background-color[class] {
+.has-primary-background-color {
 	background-color: #19744C;
 	color: white;
 }
 
-.has-secondary-background-color[class] {
+.has-secondary-background-color {
 	background-color: #BC2213;
 	color: white;
 }
 
-.has-foreground-background-color[class] {
+.has-foreground-background-color {
 	background-color: #303030;
 	color: white;
 }
 
-.has-foreground-light-background-color[class] {
+.has-foreground-light-background-color {
 	background-color: #505050;
 	color: white;
 }
 
-.has-foreground-dark-background-color[class] {
+.has-foreground-dark-background-color {
 	background-color: #101010;
 	color: white;
 }
 
-.has-background-light-background-color[class] {
+.has-background-light-background-color {
 	background-color: #F0F0F0;
 	color: #303030;
 }
 
-.has-background-dark-background-color[class] {
+.has-background-dark-background-color {
 	background-color: #D0D0D0;
 	color: #303030;
 }
 
-.has-background-background-color[class] {
+.has-background-background-color {
 	background-color: white;
 	color: #303030;
 }