Pārlūkot izejas kodu

Modern Business: Fix button hover color issue

Takashi Irie 6 gadi atpakaļ
vecāks
revīzija
d08ac2b929

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

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

+ 12 - 12
modern-business/style-rtl.css

@@ -886,7 +886,7 @@ button:hover,
 input[type="button"]:hover,
 input[type="button"]:hover,
 input[type="reset"]:hover,
 input[type="reset"]:hover,
 input[type="submit"]:hover {
 input[type="submit"]:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
@@ -904,7 +904,7 @@ button:focus,
 input[type="button"]:focus,
 input[type="button"]:focus,
 input[type="reset"]:focus,
 input[type="reset"]:focus,
 input[type="submit"]:focus {
 input[type="submit"]:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }
@@ -2568,7 +2568,7 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content a.button:hover {
 .entry .entry-content a.button:hover {
-  background: #111;
+  background: #9e3067;
   color: #fff;
   color: #fff;
   cursor: pointer;
   cursor: pointer;
 }
 }
@@ -3697,13 +3697,13 @@ body.page .main-navigation {
 
 
 .entry .entry-content .wp-block-button .wp-block-button__link:hover {
 .entry .entry-content .wp-block-button .wp-block-button__link:hover {
   color: white;
   color: white;
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
 .entry .entry-content .wp-block-button .wp-block-button__link:focus {
 .entry .entry-content .wp-block-button .wp-block-button__link:focus {
   color: white;
   color: white;
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }
@@ -3735,11 +3735,11 @@ body.page .main-navigation {
 
 
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
   color: white;
   color: white;
-  border-color: #111;
+  border-color: #9e3067;
 }
 }
 
 
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-background) {
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-background) {
-  color: #111;
+  color: #9e3067;
 }
 }
 
 
 .entry .entry-content .wp-block-archives,
 .entry .entry-content .wp-block-archives,
@@ -4312,12 +4312,12 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content .wp-block-file .wp-block-file__button:hover {
 .entry .entry-content .wp-block-file .wp-block-file__button:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
 .entry .entry-content .wp-block-file .wp-block-file__button:focus {
 .entry .entry-content .wp-block-file .wp-block-file__button:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }
@@ -4578,7 +4578,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 {
 .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;
   cursor: pointer;
 }
 }
 
 
@@ -4622,7 +4622,7 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content .a8c-posts-list__view-all:hover {
 .entry .entry-content .a8c-posts-list__view-all:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
@@ -4632,7 +4632,7 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content .a8c-posts-list__view-all:focus {
 .entry .entry-content .a8c-posts-list__view-all:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }

+ 12 - 12
modern-business/style.css

@@ -886,7 +886,7 @@ button:hover,
 input[type="button"]:hover,
 input[type="button"]:hover,
 input[type="reset"]:hover,
 input[type="reset"]:hover,
 input[type="submit"]:hover {
 input[type="submit"]:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
@@ -904,7 +904,7 @@ button:focus,
 input[type="button"]:focus,
 input[type="button"]:focus,
 input[type="reset"]:focus,
 input[type="reset"]:focus,
 input[type="submit"]:focus {
 input[type="submit"]:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }
@@ -2574,7 +2574,7 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content a.button:hover {
 .entry .entry-content a.button:hover {
-  background: #111;
+  background: #9e3067;
   color: #fff;
   color: #fff;
   cursor: pointer;
   cursor: pointer;
 }
 }
@@ -3709,13 +3709,13 @@ body.page .main-navigation {
 
 
 .entry .entry-content .wp-block-button .wp-block-button__link:hover {
 .entry .entry-content .wp-block-button .wp-block-button__link:hover {
   color: white;
   color: white;
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
 .entry .entry-content .wp-block-button .wp-block-button__link:focus {
 .entry .entry-content .wp-block-button .wp-block-button__link:focus {
   color: white;
   color: white;
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }
@@ -3747,11 +3747,11 @@ body.page .main-navigation {
 
 
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
   color: white;
   color: white;
-  border-color: #111;
+  border-color: #9e3067;
 }
 }
 
 
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-background) {
 .entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-background) {
-  color: #111;
+  color: #9e3067;
 }
 }
 
 
 .entry .entry-content .wp-block-archives,
 .entry .entry-content .wp-block-archives,
@@ -4324,12 +4324,12 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content .wp-block-file .wp-block-file__button:hover {
 .entry .entry-content .wp-block-file .wp-block-file__button:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
 .entry .entry-content .wp-block-file .wp-block-file__button:focus {
 .entry .entry-content .wp-block-file .wp-block-file__button:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }
@@ -4590,7 +4590,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 {
 .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;
   cursor: pointer;
 }
 }
 
 
@@ -4634,7 +4634,7 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content .a8c-posts-list__view-all:hover {
 .entry .entry-content .a8c-posts-list__view-all:hover {
-  background: #111;
+  background: #9e3067;
   cursor: pointer;
   cursor: pointer;
 }
 }
 
 
@@ -4644,7 +4644,7 @@ body.page .main-navigation {
 }
 }
 
 
 .entry .entry-content .a8c-posts-list__view-all:focus {
 .entry .entry-content .a8c-posts-list__view-all:focus {
-  background: #111;
+  background: #9e3067;
   outline: thin dotted;
   outline: thin dotted;
   outline-offset: -4px;
   outline-offset: -4px;
 }
 }