Browse Source

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

Allan Cole 5 years ago
parent
commit
245eb667b0
1 changed files with 28 additions and 22 deletions
  1. 28 22
      coutoire/style-rtl.css

+ 28 - 22
coutoire/style-rtl.css

@@ -1517,12 +1517,18 @@ button[data-load-more-btn], .button {
 	margin-bottom: 32px;
 	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;
 	color: currentColor;
 }
 }
 
 
@@ -2399,35 +2405,35 @@ table th,
 	background-attachment: fixed;
 	background-attachment: fixed;
 }
 }
 
 
-.has-primary-color[class] {
+.has-primary-color {
 	color: black;
 	color: black;
 }
 }
 
 
-.has-secondary-color[class] {
+.has-secondary-color {
 	color: #FF7A5C;
 	color: #FF7A5C;
 }
 }
 
 
-.has-foreground-color[class] {
+.has-foreground-color {
 	color: #444444;
 	color: #444444;
 }
 }
 
 
-.has-foreground-light-color[class] {
+.has-foreground-light-color {
 	color: #767676;
 	color: #767676;
 }
 }
 
 
-.has-foreground-dark-color[class] {
+.has-foreground-dark-color {
 	color: #111111;
 	color: #111111;
 }
 }
 
 
-.has-background-light-color[class] {
+.has-background-light-color {
 	color: #FAFAFA;
 	color: #FAFAFA;
 }
 }
 
 
-.has-background-dark-color[class] {
+.has-background-dark-color {
 	color: #DDDDDD;
 	color: #DDDDDD;
 }
 }
 
 
-.has-background-color[class] {
+.has-background-color {
 	color: white;
 	color: white;
 }
 }
 
 
@@ -2436,42 +2442,42 @@ table th,
 	color: currentColor;
 	color: currentColor;
 }
 }
 
 
-.has-primary-background-color[class] {
+.has-primary-background-color {
 	background-color: black;
 	background-color: black;
 	color: white;
 	color: white;
 }
 }
 
 
-.has-secondary-background-color[class] {
+.has-secondary-background-color {
 	background-color: #FF7A5C;
 	background-color: #FF7A5C;
 	color: white;
 	color: white;
 }
 }
 
 
-.has-foreground-background-color[class] {
+.has-foreground-background-color {
 	background-color: #444444;
 	background-color: #444444;
 	color: white;
 	color: white;
 }
 }
 
 
-.has-foreground-light-background-color[class] {
+.has-foreground-light-background-color {
 	background-color: #767676;
 	background-color: #767676;
 	color: white;
 	color: white;
 }
 }
 
 
-.has-foreground-dark-background-color[class] {
+.has-foreground-dark-background-color {
 	background-color: #111111;
 	background-color: #111111;
 	color: white;
 	color: white;
 }
 }
 
 
-.has-background-light-background-color[class] {
+.has-background-light-background-color {
 	background-color: #FAFAFA;
 	background-color: #FAFAFA;
 	color: #444444;
 	color: #444444;
 }
 }
 
 
-.has-background-dark-background-color[class] {
+.has-background-dark-background-color {
 	background-color: #DDDDDD;
 	background-color: #DDDDDD;
 	color: #444444;
 	color: #444444;
 }
 }
 
 
-.has-background-background-color[class] {
+.has-background-background-color {
 	background-color: white;
 	background-color: white;
 	color: #444444;
 	color: #444444;
 }
 }