diff --git wp-content/themes/twentyeleven/colors/dark.css wp-content/themes/twentyeleven/colors/dark.css
index b9dacce..7265d7b 100644
|
|
|
abbr, acronym, dfn { |
| 34 | 34 | ins { |
| 35 | 35 | background: #00063f; |
| 36 | 36 | } |
| 37 | | input[type=text], |
| 38 | | .post-password-required input[type=password], |
| | 37 | input[type="text"], |
| | 38 | input[type="password"], |
| | 39 | input[type="date"], |
| | 40 | input[type="datetime"], |
| | 41 | input[type="datetime-local"], |
| | 42 | input[type="email"], |
| | 43 | input[type="month"], |
| | 44 | input[type="number"], |
| | 45 | input[type="search"], |
| | 46 | input[type="tel"], |
| | 47 | input[type="time"], |
| | 48 | input[type="url"], |
| | 49 | input[type="week"], |
| 39 | 50 | textarea { |
| 40 | 51 | border: 1px solid #222; |
| 41 | 52 | } |
| … |
… |
li.bypostauthor a.comment-reply-link:active { |
| 513 | 524 | border-color: #2c2c2c; |
| 514 | 525 | } |
| 515 | 526 | #respond input[type="text"], |
| | 527 | #respond input[type="password"], |
| | 528 | #respond input[type="date"], |
| | 529 | #respond input[type="datetime"], |
| | 530 | #respond input[type="datetime-local"], |
| | 531 | #respond input[type="email"], |
| | 532 | #respond input[type="month"], |
| | 533 | #respond input[type="number"], |
| | 534 | #respond input[type="search"], |
| | 535 | #respond input[type="tel"], |
| | 536 | #respond input[type="time"], |
| | 537 | #respond input[type="url"], |
| | 538 | #respond input[type="week"], |
| 516 | 539 | #respond textarea { |
| 517 | 540 | background: #000; |
| 518 | 541 | border: 4px solid #111; |
diff --git wp-content/themes/twentyeleven/editor-style.css wp-content/themes/twentyeleven/editor-style.css
index 234bb9c..ee86907 100644
|
|
|
sup { |
| 159 | 159 | sub { |
| 160 | 160 | top: .5ex; |
| 161 | 161 | } |
| 162 | | input[type=text], |
| | 162 | input[type="text"], |
| | 163 | input[type="password"], |
| | 164 | input[type="date"], |
| | 165 | input[type="datetime"], |
| | 166 | input[type="datetime-local"], |
| | 167 | input[type="email"], |
| | 168 | input[type="month"], |
| | 169 | input[type="number"], |
| | 170 | input[type="search"], |
| | 171 | input[type="tel"], |
| | 172 | input[type="time"], |
| | 173 | input[type="url"], |
| | 174 | input[type="week"], |
| 163 | 175 | textarea { |
| 164 | 176 | background: #fafafa; |
| 165 | 177 | -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); |
| … |
… |
textarea { |
| 168 | 180 | border: 1px solid #ddd; |
| 169 | 181 | color: #888; |
| 170 | 182 | } |
| 171 | | input[type=text]:focus, |
| | 183 | input[type="text"]:focus, |
| | 184 | input[type="password"]:focus, |
| | 185 | input[type="date"]:focus, |
| | 186 | input[type="datetime"]:focus, |
| | 187 | input[type="datetime-local"]:focus, |
| | 188 | input[type="email"]:focus, |
| | 189 | input[type="month"]:focus, |
| | 190 | input[type="number"]:focus, |
| | 191 | input[type="search"]:focus, |
| | 192 | input[type="tel"]:focus, |
| | 193 | input[type="time"]:focus, |
| | 194 | input[type="url"]:focus, |
| | 195 | input[type="week"]:focus, |
| 172 | 196 | textarea:focus { |
| 173 | 197 | color: #333; |
| 174 | 198 | } |
| … |
… |
textarea { |
| 176 | 200 | padding-left: 3px; |
| 177 | 201 | width: 98%; |
| 178 | 202 | } |
| 179 | | input[type=text] { |
| | 203 | input[type="text"], |
| | 204 | input[type="password"], |
| | 205 | input[type="date"], |
| | 206 | input[type="datetime"], |
| | 207 | input[type="datetime-local"], |
| | 208 | input[type="email"], |
| | 209 | input[type="month"], |
| | 210 | input[type="number"], |
| | 211 | input[type="search"], |
| | 212 | input[type="tel"], |
| | 213 | input[type="time"], |
| | 214 | input[type="url"], |
| | 215 | input[type="week"] { |
| 180 | 216 | padding: 3px; |
| 181 | 217 | } |
| 182 | 218 | |
diff --git wp-content/themes/twentyeleven/functions.php wp-content/themes/twentyeleven/functions.php
index c3dd73d..2828586 100644
|
|
|
function twentyeleven_body_classes( $classes ) { |
| 611 | 611 | } |
| 612 | 612 | add_filter( 'body_class', 'twentyeleven_body_classes' ); |
| 613 | 613 | |
| | 614 | /** |
| | 615 | * Changes the comment form to use HTML5 input fields for email and url. |
| | 616 | * |
| | 617 | * @since Twenty Eleven 1.5 |
| | 618 | */ |
| | 619 | function twentyeleven_html5_comment_fields( $fields ) { |
| | 620 | if( isset( $fields['email'] ) ) |
| | 621 | $fields['email'] = str_replace( 'type="text"', 'type="email"', $fields['email'] ); |
| | 622 | if( isset( $fields['url'] ) ) |
| | 623 | $fields['url'] = str_replace( 'type="text"', 'type="url"', $fields['url'] ); |
| | 624 | return $fields; |
| | 625 | } |
| | 626 | add_filter( 'comment_form_default_fields', 'twentyeleven_html5_comment_fields' ); |
| | 627 | No newline at end of file |
diff --git wp-content/themes/twentyeleven/style.css wp-content/themes/twentyeleven/style.css
index 7559198..78088fb 100644
|
|
|
sub { |
| 433 | 433 | } |
| 434 | 434 | |
| 435 | 435 | /* Forms */ |
| 436 | | input[type=text], |
| 437 | | input[type=password], |
| | 436 | input[type="text"], |
| | 437 | input[type="password"], |
| | 438 | input[type="date"], |
| | 439 | input[type="datetime"], |
| | 440 | input[type="datetime-local"], |
| | 441 | input[type="email"], |
| | 442 | input[type="month"], |
| | 443 | input[type="number"], |
| | 444 | input[type="search"], |
| | 445 | input[type="tel"], |
| | 446 | input[type="time"], |
| | 447 | input[type="url"], |
| | 448 | input[type="week"], |
| 438 | 449 | textarea { |
| 439 | 450 | background: #fafafa; |
| 440 | 451 | -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); |
| … |
… |
textarea { |
| 443 | 454 | border: 1px solid #ddd; |
| 444 | 455 | color: #888; |
| 445 | 456 | } |
| 446 | | input[type=text]:focus, |
| | 457 | input[type="text"]:focus, |
| | 458 | input[type="password"]:focus, |
| | 459 | input[type="date"]:focus, |
| | 460 | input[type="datetime"]:focus, |
| | 461 | input[type="datetime-local"]:focus, |
| | 462 | input[type="email"]:focus, |
| | 463 | input[type="month"]:focus, |
| | 464 | input[type="number"]:focus, |
| | 465 | input[type="search"]:focus, |
| | 466 | input[type="tel"]:focus, |
| | 467 | input[type="time"]:focus, |
| | 468 | input[type="url"]:focus, |
| | 469 | input[type="week"]:focus, |
| 447 | 470 | textarea:focus { |
| 448 | 471 | color: #373737; |
| 449 | 472 | } |
| … |
… |
textarea { |
| 451 | 474 | padding-left: 3px; |
| 452 | 475 | width: 98%; |
| 453 | 476 | } |
| 454 | | input[type=text] { |
| | 477 | input[type="text"], |
| | 478 | input[type="password"], |
| | 479 | input[type="date"], |
| | 480 | input[type="datetime"], |
| | 481 | input[type="datetime-local"], |
| | 482 | input[type="email"], |
| | 483 | input[type="month"], |
| | 484 | input[type="number"], |
| | 485 | input[type="search"], |
| | 486 | input[type="tel"], |
| | 487 | input[type="time"], |
| | 488 | input[type="url"], |
| | 489 | input[type="week"] { |
| 455 | 490 | padding: 3px; |
| 456 | 491 | } |
| | 492 | input[type="search"] { |
| | 493 | -webkit-appearance: textfield; |
| | 494 | } |
| | 495 | input[type="search"]::-webkit-search-decoration { |
| | 496 | display: none; |
| | 497 | } |
| 457 | 498 | input#s { |
| 458 | 499 | background: url(images/search.png) no-repeat 5px 6px; |
| 459 | 500 | -moz-border-radius: 2px; |
| … |
… |
a.comment-reply-link > span { |
| 2071 | 2112 | width: 68.9%; |
| 2072 | 2113 | } |
| 2073 | 2114 | #respond input[type="text"], |
| | 2115 | #respond input[type="password"], |
| | 2116 | #respond input[type="date"], |
| | 2117 | #respond input[type="datetime"], |
| | 2118 | #respond input[type="datetime-local"], |
| | 2119 | #respond input[type="email"], |
| | 2120 | #respond input[type="month"], |
| | 2121 | #respond input[type="number"], |
| | 2122 | #respond input[type="search"], |
| | 2123 | #respond input[type="tel"], |
| | 2124 | #respond input[type="time"], |
| | 2125 | #respond input[type="url"], |
| | 2126 | #respond input[type="week"], |
| 2074 | 2127 | #respond textarea { |
| 2075 | 2128 | background: #fff; |
| 2076 | 2129 | border: 4px solid #eee; |
| … |
… |
a.comment-reply-link > span { |
| 2108 | 2161 | z-index: 1; |
| 2109 | 2162 | } |
| 2110 | 2163 | #respond input[type="text"]:focus, |
| | 2164 | #respond input[type="password"]:focus, |
| | 2165 | #respond input[type="date"]:focus, |
| | 2166 | #respond input[type="datetime"]:focus, |
| | 2167 | #respond input[type="datetime-local"]:focus, |
| | 2168 | #respond input[type="email"]:focus, |
| | 2169 | #respond input[type="month"]:focus, |
| | 2170 | #respond input[type="number"]:focus, |
| | 2171 | #respond input[type="search"]:focus, |
| | 2172 | #respond input[type="tel"]:focus, |
| | 2173 | #respond input[type="time"]:focus, |
| | 2174 | #respond input[type="url"]:focus, |
| | 2175 | #respond input[type="week"]:focus, |
| 2111 | 2176 | #respond textarea:focus { |
| 2112 | 2177 | text-indent: 0; |
| 2113 | 2178 | z-index: 1; |
| … |
… |
a.comment-reply-link > span { |
| 2197 | 2262 | #respond label { |
| 2198 | 2263 | line-height: 2.2em; |
| 2199 | 2264 | } |
| 2200 | | #respond input[type=text] { |
| | 2265 | #respond input[type="text"], |
| | 2266 | #respond input[type="password"], |
| | 2267 | #respond input[type="date"], |
| | 2268 | #respond input[type="datetime"], |
| | 2269 | #respond input[type="datetime-local"], |
| | 2270 | #respond input[type="email"], |
| | 2271 | #respond input[type="month"], |
| | 2272 | #respond input[type="number"], |
| | 2273 | #respond input[type="search"], |
| | 2274 | #respond input[type="tel"], |
| | 2275 | #respond input[type="time"], |
| | 2276 | #respond input[type="url"], |
| | 2277 | #respond input[type="week"] { |
| 2201 | 2278 | display: block; |
| 2202 | 2279 | height: 24px; |
| 2203 | 2280 | width: 75%; |
| … |
… |
p.comment-form-comment { |
| 2462 | 2539 | top: 2.2em; |
| 2463 | 2540 | } |
| 2464 | 2541 | /* Use the available space in the smaller comment form */ |
| 2465 | | #respond input[type="text"] { |
| | 2542 | #respond input[type="text"], |
| | 2543 | #respond input[type="password"], |
| | 2544 | #respond input[type="date"], |
| | 2545 | #respond input[type="datetime"], |
| | 2546 | #respond input[type="datetime-local"], |
| | 2547 | #respond input[type="email"], |
| | 2548 | #respond input[type="month"], |
| | 2549 | #respond input[type="number"], |
| | 2550 | #respond input[type="search"], |
| | 2551 | #respond input[type="tel"], |
| | 2552 | #respond input[type="time"], |
| | 2553 | #respond input[type="url"], |
| | 2554 | #respond input[type="week"] { |
| 2466 | 2555 | width: 95%; |
| 2467 | 2556 | } |
| 2468 | 2557 | #respond .comment-form-author .required, |
diff --git wp-content/themes/twentytwelve/editor-style.css wp-content/themes/twentytwelve/editor-style.css
index 6b3ce02..36eee49 100644
|
|
|
sup { |
| 191 | 191 | sub { |
| 192 | 192 | bottom: -0.25em; |
| 193 | 193 | } |
| 194 | | input[type="text"] { |
| | 194 | input[type="text"], |
| | 195 | input[type="password"], |
| | 196 | input[type="date"], |
| | 197 | input[type="datetime"], |
| | 198 | input[type="datetime-local"], |
| | 199 | input[type="email"], |
| | 200 | input[type="month"], |
| | 201 | input[type="number"], |
| | 202 | input[type="search"], |
| | 203 | input[type="tel"], |
| | 204 | input[type="time"], |
| | 205 | input[type="url"], |
| | 206 | input[type="week"] { |
| 195 | 207 | border: 1px solid #ccc; |
| 196 | 208 | border-radius: 3px; |
| 197 | 209 | font-family: inherit; |
diff --git wp-content/themes/twentytwelve/functions.php wp-content/themes/twentytwelve/functions.php
index c54fe08..6998698 100644
|
|
|
function twentytwelve_customize_preview_js() { |
| 437 | 437 | wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20120827', true ); |
| 438 | 438 | } |
| 439 | 439 | add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' ); |
| | 440 | |
| | 441 | |
| | 442 | /** |
| | 443 | * Changes the comment form to use HTML5 input fields for email and url. |
| | 444 | * |
| | 445 | * @since Twenty Twelve 1.1 |
| | 446 | */ |
| | 447 | function twentytwelve_html5_comment_fields( $fields ) { |
| | 448 | if( isset( $fields['email'] ) ) |
| | 449 | $fields['email'] = str_replace( 'type="text"', 'type="email"', $fields['email'] ); |
| | 450 | if( isset( $fields['url'] ) ) |
| | 451 | $fields['url'] = str_replace( 'type="text"', 'type="url"', $fields['url'] ); |
| | 452 | return $fields; |
| | 453 | } |
| | 454 | add_filter( 'comment_form_default_fields', 'twentytwelve_html5_comment_fields' ); |
| | 455 | No newline at end of file |
diff --git wp-content/themes/twentytwelve/style.css wp-content/themes/twentytwelve/style.css
index deb4837..675ff06 100644
|
|
|
li.bypostauthor cite span { |
| 268 | 268 | /* Form fields */ |
| 269 | 269 | input[type="text"], |
| 270 | 270 | input[type="password"], |
| | 271 | input[type="date"], |
| | 272 | input[type="datetime"], |
| | 273 | input[type="datetime-local"], |
| 271 | 274 | input[type="email"], |
| | 275 | input[type="month"], |
| | 276 | input[type="number"], |
| | 277 | input[type="search"], |
| | 278 | input[type="tel"], |
| | 279 | input[type="time"], |
| 272 | 280 | input[type="url"], |
| | 281 | input[type="week"], |
| 273 | 282 | textarea { |
| 274 | 283 | padding: 6px; |
| 275 | 284 | padding: 0.428571429rem; |
| … |
… |
textarea { |
| 277 | 286 | border: 1px solid #ccc; |
| 278 | 287 | border-radius: 3px; |
| 279 | 288 | } |
| | 289 | input[type="search"] { |
| | 290 | -webkit-appearance: textfield; |
| | 291 | } |
| | 292 | input[type="search"]::-webkit-search-decoration { |
| | 293 | display: none; |
| | 294 | } |
| 280 | 295 | |
| 281 | 296 | /* Responsive images */ |
| 282 | 297 | .entry-content img, |
| … |
… |
a.comment-reply-link:hover { |
| 1217 | 1232 | line-height: 1.714285714; |
| 1218 | 1233 | } |
| 1219 | 1234 | #respond form input[type="text"], |
| | 1235 | #respond form input[type="password"], |
| | 1236 | #respond form input[type="date"], |
| | 1237 | #respond form input[type="datetime"], |
| | 1238 | #respond form input[type="datetime-local"], |
| | 1239 | #respond form input[type="email"], |
| | 1240 | #respond form input[type="month"], |
| | 1241 | #respond form input[type="number"], |
| | 1242 | #respond form input[type="search"], |
| | 1243 | #respond form input[type="tel"], |
| | 1244 | #respond form input[type="time"], |
| | 1245 | #respond form input[type="url"], |
| | 1246 | #respond form input[type="week"], |
| 1220 | 1247 | #respond form textarea { |
| 1221 | 1248 | -moz-box-sizing: border-box; |
| 1222 | 1249 | box-sizing: border-box; |
| … |
… |
img#wpstats { |
| 1461 | 1488 | font-size: 22px; |
| 1462 | 1489 | font-size: 1.571428571rem; |
| 1463 | 1490 | } |
| 1464 | | #respond form input[type="text"] { |
| | 1491 | #respond form input[type="text"], |
| | 1492 | #respond form input[type="password"], |
| | 1493 | #respond form input[type="date"], |
| | 1494 | #respond form input[type="datetime"], |
| | 1495 | #respond form input[type="datetime-local"], |
| | 1496 | #respond form input[type="email"], |
| | 1497 | #respond form input[type="month"], |
| | 1498 | #respond form input[type="number"], |
| | 1499 | #respond form input[type="search"], |
| | 1500 | #respond form input[type="tel"], |
| | 1501 | #respond form input[type="time"], |
| | 1502 | #respond form input[type="url"], |
| | 1503 | #respond form input[type="week"] { |
| 1465 | 1504 | width: 46.333333333%; |
| 1466 | 1505 | } |
| 1467 | 1506 | #respond form textarea.blog-textarea { |