Преглед на файлове

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 години
родител
ревизия
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,
 			.post-navigation a span,
 			.posts-navigation a,
 			.posts-navigation a,
 			.comment-header cite,
 			.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,
 	array( '.blog .entry-title a,
 			.blog .entry-title a:visited,
 			.blog .entry-title a:visited,
@@ -273,9 +257,6 @@ add_color_rule( 'extra', '#222222', array(
 			.contact-info-area a,
 			.contact-info-area a,
 			body,
 			body,
 			button,
 			button,
-			input,
-			select,
-			textarea,
 			th', 'color', 'bg' ),
 			th', 'color', 'bg' ),
 
 
 	array( '.button,
 	array( '.button,