Ticket #26192: 26192.3.diff
| File 26192.3.diff, 3.3 KB (added by , 13 years ago) |
|---|
-
src/wp-admin/css/wp-admin.css
6767 6767 .theme-overlay .theme-wrap { 6768 6768 clear: both; 6769 6769 position: fixed; 6770 top: 120px;6770 top: 9%; 6771 6771 left: 190px; 6772 right: 40px;6773 bottom: 80px;6772 right: 3%; 6773 bottom: 5%; 6774 6774 overflow: auto; 6775 6775 background: #fff; 6776 padding: 88px 40px 110px 40px;6777 -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1) , 0 0 0 1px rgba(0,0,0,0.1);6778 box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1) , 0 0 0 1px rgba(0,0,0,0.1);6776 padding: 88px 40px 40px 40px; 6777 -webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); 6778 box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1); 6779 6779 z-index: 20; 6780 margin-bottom: 69px; 6781 box-sizing: border-box; 6780 6782 } 6781 6783 6782 6784 .theme-overlay .theme-wrap:after { … … 6790 6792 .theme-overlay .theme-actions { 6791 6793 position: fixed; 6792 6794 text-align: center; 6793 bottom: 80px;6795 bottom: 5%; 6794 6796 left: 190px; 6795 right: 40px;6797 right: 3%; 6796 6798 padding: 20px 25px; 6797 background: rgba(243, 243, 243 ,0.9); 6798 border-top: 1px solid rgba(0,0,0,0.1); 6799 background: #f3f3f3; 6799 6800 z-index: 30; 6801 box-sizing: border-box; 6802 border: 1px solid #cacaca; 6800 6803 } 6801 6804 6805 body.folded .theme-overlay .theme-wrap, 6806 body.folded .theme-overlay .theme-actions { 6807 left: 70px; 6808 } 6809 6802 6810 .theme-overlay .theme-actions a { 6803 6811 margin-right: 5px; 6804 6812 margin-bottom: 0; 6805 font-size: 16px;6806 line-height: 37px;6807 height: 37px;6808 padding: 0 20px 1px 20px;6809 6813 } 6810 6814 6811 6815 .theme-overlay .theme-actions .delete-theme { 6812 border-radius: 2px;6813 6816 color: #a00; 6814 font-size: 14px;6815 padding: 0 10px;6816 6817 position: absolute; 6817 6818 right: 10px; 6818 6819 bottom: 20px; 6819 6820 text-decoration: none; 6821 border-color: transparent; 6822 box-shadow: none; 6823 background: transparent; 6820 6824 } 6821 6825 6822 6826 .theme-overlay .theme-actions .delete-theme:hover { 6823 6827 background: #d54e21; 6824 6828 color: #fff; 6829 border-color: #d54e21; 6825 6830 } 6826 6831 6827 6832 .theme-overlay .theme-actions .active-theme, … … 7043 7048 margin-right: 0; 7044 7049 } 7045 7050 7051 body.folded .theme-overlay .theme-wrap, 7052 body.folded .theme-overlay .theme-actions, 7046 7053 .theme-overlay .theme-wrap, 7047 7054 .theme-overlay .theme-actions { 7048 7055 right: 15%; … … 7079 7086 margin-right: -3px 7080 7087 } 7081 7088 7089 body.folded .theme-overlay .theme-wrap, 7082 7090 .theme-overlay .theme-wrap { 7083 7091 top: 45px; 7084 7092 right: 0; 7085 7093 bottom: 0; 7086 7094 left: 0; 7087 padding: 70px 20px 100px; 7095 padding: 70px 20px 20px; 7096 margin-bottom: 75px; 7097 border: none; 7088 7098 } 7089 7099 7100 body.folded .theme-overlay .theme-actions, 7090 7101 .theme-overlay .theme-actions { 7091 7102 right: 0; 7092 7103 bottom: 0; 7093 7104 left: 0; 7094 padding: 10px; 7105 border-left: none; 7106 border-right: none; 7107 border-bottom: none; 7095 7108 } 7096 7109 7097 7110 .theme-overlay .theme-screenshots { … … 7101 7114 .theme-overlay .theme-info { 7102 7115 width: 50%; 7103 7116 } 7104 7105 .theme-overlay .theme-actions .delete-theme {7106 bottom: 10px;7107 }7108 7117 } 7109 7118 7110 7119 @media only screen and (max-width: 650px) { -
src/wp-admin/themes.php
310 310 </div> 311 311 312 312 <# if ( ! data.active && data.actions.delete ) { #> 313 <a href="{{{ data.actions.delete }}}" class=" delete-theme"><?php _e( 'Delete' ); ?></a>313 <a href="{{{ data.actions.delete }}}" class="button button-secondary delete-theme"><?php _e( 'Delete' ); ?></a> 314 314 <# } #> 315 315 </div> 316 316 </script>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)