Ticket #17324: 17324.header.diff
| File 17324.header.diff, 14.1 KB (added by , 15 years ago) |
|---|
-
users.php
360 360 <?php 361 361 echo esc_html( $title ); 362 362 if ( current_user_can( 'create_users' ) ) { ?> 363 <a href="user-new.php" class=" buttonadd-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>363 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 364 364 <?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?> 365 <a href="user-new.php" class=" buttonadd-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>365 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a> 366 366 <?php } 367 367 368 368 if ( $usersearch ) -
upload.php
160 160 161 161 <div class="wrap"> 162 162 <?php screen_icon(); ?> 163 <h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class=" buttonadd-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php163 <h2><?php echo esc_html( $title ); ?> <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a> <?php 164 164 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 165 165 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); ?> 166 166 </h2> -
network/users.php
74 74 <?php screen_icon(); ?> 75 75 <h2><?php esc_html_e( 'Users' ); 76 76 if ( current_user_can( 'create_users') ) : ?> 77 <a href="<?php echo network_admin_url('user-new.php'); ?>" class=" buttonadd-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php77 <a href="<?php echo network_admin_url('user-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a><?php 78 78 endif; 79 79 80 80 if ( !empty( $usersearch ) ) -
network/themes.php
199 199 200 200 <div class="wrap"> 201 201 <?php screen_icon('themes'); ?> 202 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class=" buttonadd-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php }202 <h2><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php } 203 203 if ( $s ) 204 204 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> 205 205 </h2> -
network/sites.php
102 102 <h2><?php _e('Sites') ?> 103 103 <?php echo $msg; ?> 104 104 <?php if ( current_user_can( 'create_sites') ) : ?> 105 <a href="<?php echo network_admin_url('site-new.php'); ?>" class=" buttonadd-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a>105 <a href="<?php echo network_admin_url('site-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a> 106 106 <?php endif; ?> 107 107 108 108 <?php if ( isset( $_REQUEST['s'] ) && $_REQUEST['s'] ) { -
plugins.php
387 387 <?php screen_icon(); ?> 388 388 <h2><?php echo esc_html( $title ); 389 389 if ( ( ! is_multisite() || is_network_admin() ) && current_user_can('install_plugins') ) { ?> 390 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class=" buttonadd-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a>390 <a href="<?php echo self_admin_url( 'plugin-install.php' ); ?>" class="add-new-h2"><?php echo esc_html_x('Add New', 'plugin'); ?></a> 391 391 <?php } 392 392 if ( $s ) 393 393 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $s ) ); ?> -
edit.php
190 190 ?> 191 191 <div class="wrap"> 192 192 <?php screen_icon(); ?> 193 <h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class=" buttonadd-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php193 <h2><?php echo esc_html( $post_type_object->labels->name ); ?> <a href="<?php echo $post_new_file ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a> <?php 194 194 if ( isset($_REQUEST['s']) && $_REQUEST['s'] ) 195 195 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() ); ?> 196 196 </h2> -
css/global.dev.css
525 525 text-shadow: rgba(255,255,255,1) 0 1px 0; 526 526 } 527 527 .wrap h2 { 528 font-size: 2 0px;529 padding: 7px 15px 3px 0;530 line-height: 2 8px;528 font-size: 23px; 529 padding: 9px 15px 4px 0; 530 line-height: 29px; 531 531 } 532 532 .subtitle { 533 533 font-size: 14px; 534 534 } 535 535 .wrap .add-new-h2 { 536 font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 537 margin-left: 4px; 538 padding: 3px 8px; 536 539 position: relative; 537 top: -2px; 538 margin-left: 2px; 539 font-family: Arial, "Bitstream Vera Sans", Helvetica, Verdana, sans-serif; 540 top: -3px; 541 -moz-border-radius: 3px; 542 -khtml-border-radius: 3px; 543 -webkit-border-radius: 3px; 544 border-radius: 3px; 545 text-decoration: none; 546 font-size: 12px; 540 547 } 541 548 542 549 .wrap h2.long-header { -
css/colors-fresh.dev.css
178 178 .wrap h2 { 179 179 color: #464646; 180 180 } 181 182 .wrap .add-new-h2 { 183 background: #f1f1f1; 184 } 185 181 186 .subtitle { 182 187 color: #999; 183 188 } … … 1289 1294 } 1290 1295 1291 1296 /* menu and screen icons */ 1292 #icon-index,1293 1297 #adminmenu .menu-icon-dashboard div.wp-menu-image { 1294 1298 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -33px; 1295 1299 } … … 1300 1304 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -61px -1px; 1301 1305 } 1302 1306 1303 #icon-edit,1304 #icon-post,1305 1307 #adminmenu .menu-icon-post div.wp-menu-image { 1306 1308 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -33px; 1307 1309 } … … 1311 1313 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -272px -1px; 1312 1314 } 1313 1315 1314 #icon-upload,1315 1316 #adminmenu .menu-icon-media div.wp-menu-image { 1316 1317 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -33px; 1317 1318 } … … 1321 1322 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -121px -1px; 1322 1323 } 1323 1324 1324 #icon-link,1325 #icon-link-manager,1326 #icon-link-category,1327 1325 #adminmenu .menu-icon-links div.wp-menu-image { 1328 1326 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -33px; 1329 1327 } … … 1333 1331 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -91px -1px; 1334 1332 } 1335 1333 1336 #icon-page,1337 #icon-edit-pages,1338 1334 #adminmenu .menu-icon-page div.wp-menu-image { 1339 1335 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -33px; 1340 1336 } … … 1344 1340 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -151px -1px; 1345 1341 } 1346 1342 1347 #icon-edit-comments,1348 1343 #adminmenu .menu-icon-comments div.wp-menu-image { 1349 1344 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -33px; 1350 1345 } … … 1355 1350 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -31px -1px; 1356 1351 } 1357 1352 1358 #icon-themes,1359 1353 #adminmenu .menu-icon-appearance div.wp-menu-image { 1360 1354 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -33px; 1361 1355 } … … 1365 1359 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -1px -1px; 1366 1360 } 1367 1361 1368 #icon-plugins,1369 1362 #adminmenu .menu-icon-plugins div.wp-menu-image { 1370 1363 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -33px; 1371 1364 } … … 1375 1368 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -181px -1px; 1376 1369 } 1377 1370 1378 #icon-users,1379 #icon-profile,1380 #icon-user-edit,1381 1371 #adminmenu .menu-icon-users div.wp-menu-image { 1382 1372 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -33px; 1383 1373 } … … 1387 1377 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -301px -1px; 1388 1378 } 1389 1379 1390 #icon-tools,1391 #icon-admin,1392 1380 #adminmenu .menu-icon-tools div.wp-menu-image { 1393 1381 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -211px -33px; 1394 1382 } … … 1408 1396 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -241px -1px; 1409 1397 } 1410 1398 1411 #icon-ms-admin,1412 1399 #adminmenu .menu-icon-site div.wp-menu-image { 1413 1400 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -33px; 1414 1401 } … … 1417 1404 #adminmenu .menu-icon-site.wp-has-current-submenu div.wp-menu-image { 1418 1405 background: transparent url('../images/menu.png?ver=20100531') no-repeat scroll -361px -1px; 1419 1406 } 1420 1421 1407 /* end menu and screen icons */ 1422 1408 1409 /* Screen Icons */ 1410 #icon-edit, 1411 #icon-post { 1412 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -552px -5px; 1413 } 1423 1414 1415 #icon-index { 1416 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -137px -5px; 1417 } 1418 1419 #icon-upload { 1420 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -251px -5px; 1421 } 1422 1423 #icon-link-manager, 1424 #icon-link, 1425 #icon-link-category { 1426 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -190px -5px; 1427 } 1428 1429 #icon-edit-pages, 1430 #icon-page { 1431 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -312px -5px; 1432 } 1433 1434 #icon-edit-comments { 1435 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -72px -5px; 1436 } 1437 1438 #icon-themes { 1439 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -11px -5px; 1440 } 1441 1442 #icon-plugins { 1443 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -370px -5px; 1444 } 1445 1446 #icon-users, 1447 #icon-profile, 1448 #icon-user-edit { 1449 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -600px -5px; 1450 } 1451 1452 #icon-tools, 1453 #icon-admin { 1454 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -432px -5px; 1455 } 1456 1457 #icon-options-general { 1458 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -492px -5px; 1459 } 1460 1461 #icon-ms-admin { 1462 background: transparent url(../images/icons32.png?ver=20100531) no-repeat -659px -5px; 1463 } 1464 /* end screen icons */ 1465 1466 1424 1467 /* Diff */ 1425 1468 table.diff .diff-deletedline { 1426 1469 background-color: #fdd; -
css/wp-admin.dev.css
81 81 82 82 .icon32 { 83 83 float: left; 84 height: 28px;85 margin: 6px 1px 0 -5px;86 width: 28px;84 height: 34px; 85 margin: 7px 8px 0 0; 86 width: 36px; 87 87 } 88 88 89 89 .key-labels label { … … 834 834 #user_info { 835 835 float: right; 836 836 font-size: 12px; 837 line-height: 36px;838 height: 36px;837 line-height: 26px; 838 height: 25px; 839 839 position: relative; 840 840 z-index: 49; 841 841 border-style: solid; 842 842 border-width: 0; 843 margin-top: 3px; 843 844 padding: 0 2px 0 6px; 844 845 } 845 846 846 847 #user_info.active { 847 border-width: 01px;848 border-width: 1px; 848 849 margin-right: -1px; 850 margin-top: 2px; 851 -moz-border-radius: 3px 3px 0 0; 852 -webkit-border-top-right-radius: 3px; 853 -webkit-border-top-left-radius: 3px; 854 -khtml-border-top-right-radius: 3px; 855 -khtml-border-top-left-radius: 3px; 856 border-top-right-radius: 3px; 857 border-top-left-radius: 3px; 849 858 } 850 859 851 860 #user_info p { 852 861 margin: 0; 853 862 padding: 0; 854 line-height: 36px;863 line-height: 25px; 855 864 cursor: pointer; 856 865 } 857 866 … … 867 876 } 868 877 869 878 #user_info_arrow { 870 height: 34px;871 width: 2 4px;879 height: 22px; 880 width: 22px; 872 881 position: absolute; 873 right: 1px;874 top: 4px;882 right: 3px; 883 top: 0; 875 884 cursor: pointer; 876 885 } 877 886 … … 879 888 min-width: 100px; 880 889 width: 100%; 881 890 position: absolute; 882 top: 36px;891 top: 25px; 883 892 right: 0; 884 893 padding: 0; 885 894 text-shadow: rgba(255,255,255,0.7) 0 1px 0; … … 933 942 } 934 943 935 944 #wphead { 936 height: 3 6px;945 height: 32px; 937 946 margin-right: 15px; 947 margin-left: 2px; 938 948 } 939 949 940 950 #wphead a, … … 948 958 949 959 #header-logo { 950 960 float: left; 951 margin: 9px 0;961 margin: 7px 0; 952 962 -webkit-user-select: none; 953 963 -moz-user-select: none; 954 964 -khtml-user-select: none; … … 956 966 } 957 967 958 968 #wphead h1 { 959 font: normal 1 8px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;960 padding: 7px 8px 5px;969 font: normal 16px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; 970 padding: 6px 8px 5px; 961 971 margin: 0; 962 972 float: left; 963 973 } … … 1057 1067 } 1058 1068 1059 1069 #screen-meta-links { 1060 margin: 0 1 5px 0 0;1070 margin: 0 19px 0 0; 1061 1071 } 1062 1072 1063 1073 #screen-meta .screen-reader-text { … … 4065 4075 } 4066 4076 4067 4077 h2 .nav-tab { 4068 padding: 2px 10px 3px;4078 padding: 4px 10px 6px; 4069 4079 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif; 4070 4080 font-weight: 200; 4071 4081 font-size: 20px; -
link-manager.php
59 59 60 60 <div class="wrap nosubsub"> 61 61 <?php screen_icon(); ?> 62 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class=" buttonadd-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php62 <h2><?php echo esc_html( $title ); ?> <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a> <?php 63 63 if ( !empty($_REQUEST['s']) ) 64 64 printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( stripslashes($_REQUEST['s']) ) ); ?> 65 65 </h2>