Ticket #26192: 26192.2.diff
File 26192.2.diff, 3.3 KB (added by , 11 years ago) |
---|
-
src/wp-admin/css/theme.css
434 434 .theme-overlay .theme-wrap { 435 435 clear: both; 436 436 position: fixed; 437 top: 120px;437 top: 9%; 438 438 left: 190px; 439 right: 40px;440 bottom: 80px;439 right: 3%; 440 bottom: 5%; 441 441 overflow: auto; 442 442 background: #fff; 443 padding: 88px 40px 110px 40px; 444 box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1); 443 padding: 88px 40px 40px 40px; 444 box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); 445 border: 1px solid #cacaca; 445 446 z-index: 20; 447 margin-bottom: 69px; 448 box-sizing: border-box; 446 449 } 447 450 .theme-overlay .theme-wrap:after { 448 451 content: "."; … … 455 458 .theme-overlay .theme-actions { 456 459 position: fixed; 457 460 text-align: center; 458 bottom: 80px;461 bottom: 5%; 459 462 left: 190px; 460 right: 40px;463 right: 3%; 461 464 padding: 20px 25px; 462 background: rgba(243, 243, 243 ,0.9); 463 border-top: 1px solid rgba(0,0,0,0.1); 465 background: #f3f3f3; 464 466 z-index: 30; 467 box-sizing: border-box; 468 border: 1px solid #cacaca; 465 469 } 466 .theme-overlay.active .theme-actions {467 470 471 body.folded .theme-overlay .theme-wrap, 472 body.folded .theme-overlay .theme-actions { 473 left: 70px; 468 474 } 475 469 476 .theme-overlay .theme-actions a { 470 477 margin-right: 5px; 471 478 margin-bottom: 0; 472 font-size: 16px;473 line-height: 37px;474 height: 37px;475 padding: 0 20px 1px 20px;476 479 } 477 480 .theme-overlay .theme-actions .delete-theme { 478 border-radius: 2px;479 481 color: #a00; 480 font-size: 14px;481 padding: 0 10px;482 482 position: absolute; 483 483 right: 10px; 484 484 bottom: 20px; 485 485 text-decoration: none; 486 border-color: transparent; 487 box-shadow: none; 488 background: transparent; 486 489 } 487 490 .theme-overlay .theme-actions .delete-theme:hover { 488 491 background: #d54e21; 489 492 color: #fff; 493 border-color: #d54e21; 490 494 } 491 495 492 496 .theme-overlay .theme-actions .active-theme, … … 680 684 .theme:nth-child(4n) { 681 685 margin-right: 0; 682 686 } 687 body.folded .theme-overlay .theme-wrap, 688 body.folded .theme-overlay .theme-actions, 683 689 .theme-overlay .theme-wrap, 684 690 .theme-overlay .theme-actions { 685 691 right: 15%; … … 710 716 margin-top: 6px; 711 717 margin-right: -3px 712 718 } 719 body.folded .theme-overlay .theme-wrap, 713 720 .theme-overlay .theme-wrap { 714 721 top: 45px; 715 722 right: 0px; 716 723 bottom: 0px; 717 724 left: 0px; 718 padding: 70px 20px 100px; 725 padding: 70px 20px 20px; 726 margin-bottom: 75px; 727 border: none; 719 728 } 729 body.folded .theme-overlay .theme-actions, 720 730 .theme-overlay .theme-actions { 721 731 right: 0px; 722 732 bottom: 0px; 723 733 left: 0px; 724 734 text-align: left; 725 padding: 10px; 735 border-left: none; 736 border-right: none; 737 border-bottom: none; 726 738 } 727 739 .theme-overlay .theme-screenshots { 728 740 width: 40%; … … 731 743 width: 50%; 732 744 } 733 745 .theme-overlay .theme-actions .delete-theme { 734 bottom: 10px;746 735 747 } 736 748 } 737 749 @media ( max-width: 650px ) { -
src/wp-admin/themes.php
307 307 </div> 308 308 309 309 <# if ( ! data.active && data.actions.delete ) { #> 310 <a href="{{{ data.actions.delete }}}" class=" delete-theme"><?php _e( 'Delete' ); ?></a>310 <a href="{{{ data.actions.delete }}}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a> 311 311 <# } #> 312 312 </div> 313 313 </script>