Просмотр исходного кода

Radcliffe 2: Remove colour annotations for inputs and text areas; they're always against a white background, so don't need to change. Fixes #124.

Laurel Fulford 7 лет назад
Родитель
Сommit
9bfa24ccd9
1 измененных файлов с 1 добавлено и 20 удалено
  1. 1 20
      radcliffe-2/inc/wpcom-colors.php

+ 1 - 20
radcliffe-2/inc/wpcom-colors.php

@@ -166,23 +166,7 @@ add_color_rule( 'extra', '#ffffff', array(
 			.post-navigation a span,
 			.posts-navigation a,
 			.comment-header cite,
-			.comment-header span a,
-			input[type="color"],
-			input[type="date"],
-			input[type="datetime"],
-			input[type="datetime-local"],
-			input[type="email"],
-			input[type="month"],
-			input[type="number"],
-			input[type="password"],
-			input[type="range"],
-			input[type="search"],
-			input[type="tel"],
-			input[type="text"],
-			input[type="time"],
-			input[type="url"],
-			input[type="week"],
-			textarea', 'color', 'bg', 3 ),
+			.comment-header span a', 'color', 'bg', 3 ),
 
 	array( '.blog .entry-title a,
 			.blog .entry-title a:visited,
@@ -273,9 +257,6 @@ add_color_rule( 'extra', '#222222', array(
 			.contact-info-area a,
 			body,
 			button,
-			input,
-			select,
-			textarea,
 			th', 'color', 'bg' ),
 
 	array( '.button,