浏览代码

Shoreditch: Add color for select dropdown options in the top footer widget area, so they don't appear as white-on-white in certain browsers, like Chrome in Windows. Fixes #58.

Laurel Fulford 7 年之前
父节点
当前提交
2555a673e2
共有 2 个文件被更改,包括 8 次插入0 次删除
  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 {