Bläddra i källkod

Merge pull request #121 from Automattic/58-shoreditch-select-fix

Shoreditch: Add colour to select dropdowns in widget area
Laurel 7 år sedan
förälder
incheckning
d80d555634
2 ändrade filer med 8 tillägg och 0 borttagningar
  1. 4 0
      shoreditch/inc/wpcom-colors.php
  2. 4 0
      shoreditch/style.css

+ 4 - 0
shoreditch/inc/wpcom-colors.php

@@ -187,6 +187,10 @@ add_color_rule( 'bg', '#ffffff', array(
 		#comments #respond .comment-form-fields div.comment-form-input', 'color', 'bg', '1.1'
 	),
 
+	array(
+		'.widget-footer-top-area select option', 'color', 'fg2'
+	),
+
 ), __( 'Background' ) );
 
 add_color_rule( 'txt', '#7a7c84', array(

+ 4 - 0
shoreditch/style.css

@@ -313,6 +313,10 @@ textarea {
 	color: #fff;
 }
 
+.widget-footer-top-area select option {
+	color: #333;
+}
+
 .entry-footer,
 .entry-meta,
 .site-info {