Browse Source

Elegant Business: Fix button hover color issue

Takashi Irie 6 years ago
parent
commit
539f2eb493

+ 1 - 1
elegant-business/sass/variables-site/_colors.scss

@@ -5,7 +5,7 @@ $color__background-input: #fff;
 $color__background-screen: #f7f7f7;
 $color__background-hr: #ccc;
 $color__background-button: #c43d80;
-$color__background-button-hover: #111;
+$color__background-button-hover: darken( $color__background-button, 10% );
 $color__background-pre: #eee;
 $color__background-ins: #fff9c0;
 $color__background_selection: mix( $color__background-body, $color__background-button, 75% ); // lighten( salmon, 22.5% ); // lighten( #0999d4, 48% );

+ 11 - 11
elegant-business/style-rtl.css

@@ -925,7 +925,7 @@ button:hover,
 input[type="button"]:hover,
 input[type="reset"]:hover,
 input[type="submit"]:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
 }
 
@@ -943,7 +943,7 @@ button:focus,
 input[type="button"]:focus,
 input[type="reset"]:focus,
 input[type="submit"]:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }
@@ -2563,7 +2563,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content a.button:hover {
-  background: #111;
+  background: #9e3067;
   color: #fff;
   cursor: pointer;
 }
@@ -3561,13 +3561,13 @@ body.page .main-navigation {
 
 .entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background):hover, .entry .entry-content .wp-block-button .wp-block-button__link:hover {
   color: white;
-  background-color: #111;
+  background-color: #9e3067;
   cursor: pointer;
 }
 
 .entry .entry-content .wp-block-button .wp-block-button__link:focus {
   color: white;
-  background-color: #111;
+  background-color: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }
@@ -3599,7 +3599,7 @@ body.page .main-navigation {
 
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
   color: white;
-  border-color: #111;
+  border-color: #9e3067;
 }
 
 .entry .entry-content .wp-block-archives,
@@ -4158,12 +4158,12 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .wp-block-file .wp-block-file__button:hover {
-  background-color: #111;
+  background-color: #9e3067;
   cursor: pointer;
 }
 
 .entry .entry-content .wp-block-file .wp-block-file__button:focus {
-  background-color: #111;
+  background-color: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }
@@ -4486,7 +4486,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .a8c-posts-list-item__edit-link:hover, .entry .entry-content .a8c-posts-list-item__edit-link:focus {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
 }
 
@@ -4530,7 +4530,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .a8c-posts-list__view-all:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
 }
 
@@ -4540,7 +4540,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .a8c-posts-list__view-all:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }

+ 11 - 11
elegant-business/style.css

@@ -925,7 +925,7 @@ button:hover,
 input[type="button"]:hover,
 input[type="reset"]:hover,
 input[type="submit"]:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
 }
 
@@ -943,7 +943,7 @@ button:focus,
 input[type="button"]:focus,
 input[type="reset"]:focus,
 input[type="submit"]:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }
@@ -2569,7 +2569,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content a.button:hover {
-  background: #111;
+  background: #9e3067;
   color: #fff;
   cursor: pointer;
 }
@@ -3573,13 +3573,13 @@ body.page .main-navigation {
 
 .entry .entry-content .wp-block-button .wp-block-button__link:not(.has-background):hover, .entry .entry-content .wp-block-button .wp-block-button__link:hover {
   color: white;
-  background-color: #111;
+  background-color: #9e3067;
   cursor: pointer;
 }
 
 .entry .entry-content .wp-block-button .wp-block-button__link:focus {
   color: white;
-  background-color: #111;
+  background-color: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }
@@ -3611,7 +3611,7 @@ body.page .main-navigation {
 
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
   color: white;
-  border-color: #111;
+  border-color: #9e3067;
 }
 
 .entry .entry-content .wp-block-archives,
@@ -4170,12 +4170,12 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .wp-block-file .wp-block-file__button:hover {
-  background-color: #111;
+  background-color: #9e3067;
   cursor: pointer;
 }
 
 .entry .entry-content .wp-block-file .wp-block-file__button:focus {
-  background-color: #111;
+  background-color: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }
@@ -4498,7 +4498,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .a8c-posts-list-item__edit-link:hover, .entry .entry-content .a8c-posts-list-item__edit-link:focus {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
 }
 
@@ -4542,7 +4542,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .a8c-posts-list__view-all:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
 }
 
@@ -4552,7 +4552,7 @@ body.page .main-navigation {
 }
 
 .entry .entry-content .a8c-posts-list__view-all:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline-offset: -4px;
 }