变更集56639
时间戳: 2023年9月20日下午09:01:02 ( 9个月 (之前) 位置: 主干/src 文件夹: -
5已编辑
-
wp-admin/css/customize-controls.css (已修改) ( 2个差异 ) -
wp-admin/css/themes.css (已修改) ( 3个差异 ) -
wp-admin/includes/theme.php (已修改) ( 2个差异 ) -
wp-admin/themes.php(wp-admin/主题.php) (已修改) ( 2个差异 ) -
wp-includes/css/buttons.css (已修改) ( 1个差异 )
图例:
未修改 补充 远离的
-
trunk/src/wp-admin/css/customize-controls.css 55150兰特 56639兰特 2318 2318 .wp-customizer.theme-overlay.theme-actions{ 2319 2319 text-align:右;/* 因为只有一个或两个动作,所以要匹配媒体模型的UI模式并右对齐动作*/ 2320 填充:10px 25px ; 2320 填充:10px 25px 5像素 ; 2321 2321 背景:#f0f0f1; 2322 2322 border-top:1px固体#dcdcde; … … 2325 2325 .wp-customizer.theme-overlay.theme-actions.theme-install.preview文件{ 2326 2326 左边边距:8px; 2327 } 2328 2329 .control-panel-themes.theme-actions.delete-theme{ 2330 左:15px;/* 这些覆盖了手机上的主题.css*/ 2331 右:自动; 2332 底部:自动; 2333 位置:绝对; 2334 2327 } 2335 2328 -
trunk/src/wp-admin/css/themes.css 56279兰特 56639兰特 507 507 盒大小:border-box; 508 508 border-top:1px实心#f0f0f1; 509 } 510 511 .theme覆盖.theme操作{ 512 边距-右:5px; 509 显示:flex; 510 justify-content:中心; 511 间距:5px; 512 } 513 514 .theme-overlay.theme-actions.按钮{ 513 515 边距-底部:5px; 514 516 } … … 522 524 .中断主题a.删除主题, 523 525 .theme-overlay.theme-actions.delete-theme{ 524 颜色:# d63638电话 ; 526 颜色:# b32d2e型 ; 525 527 text-decoration:无; 526 528 边框颜色:透明; … … 529 531 } 530 532 531 .theme-overlay.theme-actions.delete-theme{ 532 位置:绝对; 533 右:10px; 534 底部:5px; 535 } 536 537 533 .broken-themes a.delete-themes:悬停, 538 534 .破碎的主题.删除-主题:聚焦, 539 535 .theme-overlay.theme-actions.delete-theme:悬停, 540 536 .theme-overlay.theme-actions.delete-theme:焦点{ 541 背景:# d63638电话 ; 537 背景:# b32d2e型 ; 542 538 颜色:#fff; 543 边框颜色:#d63638; 539 border-color:#b32d2e; 540 方框阴影:0 0 0 1px#b32d2e; 544 541 } 545 542 -
trunk/src/wp-admin/includes/theme.php 56635兰特 56639兰特 1059 1059 <button type=“button”class=“button button-primary customize-theme”><? php_e(“自定义”);?></ 按钮> 1060 1060 <#}else if(“已安装”===数据类型){#> 1061 <? php if(current_user_can('delete_themes')){?> 1062 <#if(data.actions&&data.actions[‘删除’]){#> 1063 <a href=“{{data.actions['delete']}}}”data-slug=“{{data.id}}“class=”button-secondary-delete-theme“><? php_e(“删除”);?></ a> 1064 <# } #> 1065 <? php}?> 1066 1061 <div class=“theme-inactive-actions”> 1067 1062 <#if(data.blockTheme){#> 1068 1063 <? php(电话) … … 1080 1075 <# } #> 1081 1076 <# } #> 1077 </div> 1078 <? php if(current_user_can('delete_themes')){?> 1079 <#if(data.actions&&data.actions[‘删除’]){#> 1080 <a href=“{{data.actions['delete']}}}”data-slug=“{{data.id}}“class=”button-secondary-delete-theme“><? php_e(“删除”);?></ a> 1081 <#}#> 1082 <? php}?> 1082 1083 <#}其他{#> 1083 1084 <#if(data.compatibleWP&&data.competiblePHP){#> -
trunk/src/wp-admin/themes.php 56600兰特 56639兰特 1222 1222 $aria_label=sprintf(_x(“激活%s”,“主题”),“{{data.name}}”); 1223 1223 ?> 1224 <#if(!data.blockTheme){#> 1225 <a href=“{{data.actions.customize}}”class=“button button-primary load-customize hide-if-no-customise”><? php _e(“实时预览”);?></ a> 1226 <# } #> 1224 1227 <#if(data.actions.activate){#> 1225 1228 <a href=“{{data.actions.activate}}}”class=“button activate”aria-label=“<?php echo esc_attr($aria_label);?>”><? php_e(“激活”);?></ a> 1226 1229 <# } #> 1227 <#if(!data.blockTheme){#> 1228 <a href=“{{data.actions.customize}}”class=“button button-primary load-customize hide-if-no-customise”><? php _e(“实时预览”);?></ a> 1229 <# } #> 1230 1230 <#}其他{#> 1231 1231 <? php(电话) … … 1233 1233 $aria_label=sprintf(_x(“无法激活%s”,“主题”),“{{data.name}}”); 1234 1234 ?> 1235 <#if(!data.blockTheme){#> 1236 <a class=“button button-primary hide-if-no-customize disabled”><? php_e(“实时预览”);?></ a> 1237 <# } #> 1235 1238 <#if(data.actions.activate){#> 1236 1239 <a class=“button disabled”aria-label=“<?php echo esc_attr($aria_label);?>”><? php_ex(“无法激活”,“主题”);?></ a> 1237 <# } #> 1238 <#if(!data.blockTheme){#> 1239 <a class=“button button-primary hide-if-no-customize disabled”><? php_e(“实时预览”);?></ a> 1240 1240 <# } #> 1241 1241 <# } #> -
trunk/src/wp-includes/css/buttons.css r52171号 56639兰特 386 386 } 387 387 388 .wp-customizer.theme-overlay.theme-actions.button按钮{ 389 边距-底部:5px; 390 } 391 388 392 .media-modal-content.media-toolbar-primary.media按钮{ 389 393 页边空白:10px;