mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Themes: Remove an unused Delete Theme link on the multiple view. See #25948
Built from https://develop.svn.wordpress.org/trunk@26459 git-svn-id: http://core.svn.wordpress.org/trunk@26357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bdb9112f28
commit
72166b14ad
@ -94,33 +94,6 @@
|
|||||||
float: none;
|
float: none;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
/* Delete theme crosses */
|
|
||||||
.theme .delete-theme {
|
|
||||||
display: none;
|
|
||||||
margin-right: -18px;
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
left: 0px;
|
|
||||||
z-index: 5;
|
|
||||||
}
|
|
||||||
.theme .delete-theme:before {
|
|
||||||
background: #222;
|
|
||||||
border: 1px solid #dedede;
|
|
||||||
border-width: 0 1px 1px 0;
|
|
||||||
color: #fff;
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
padding: 4px;
|
|
||||||
content: '\f158';
|
|
||||||
display: inline-block;
|
|
||||||
font: normal 36px/1 'dashicons';
|
|
||||||
opacity: 1;
|
|
||||||
speak: none;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
.theme .delete-theme:hover:before {
|
|
||||||
background: #d54e21;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Theme Screenshot
|
* Theme Screenshot
|
||||||
|
2
wp-admin/css/theme-rtl.min.css
vendored
2
wp-admin/css/theme-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -94,33 +94,6 @@
|
|||||||
float: none;
|
float: none;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
/* Delete theme crosses */
|
|
||||||
.theme .delete-theme {
|
|
||||||
display: none;
|
|
||||||
margin-left: -18px;
|
|
||||||
position: absolute;
|
|
||||||
top: 0px;
|
|
||||||
right: 0px;
|
|
||||||
z-index: 5;
|
|
||||||
}
|
|
||||||
.theme .delete-theme:before {
|
|
||||||
background: #222;
|
|
||||||
border: 1px solid #dedede;
|
|
||||||
border-width: 0 0 1px 1px;
|
|
||||||
color: #fff;
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
padding: 4px;
|
|
||||||
content: '\f158';
|
|
||||||
display: inline-block;
|
|
||||||
font: normal 36px/1 'dashicons';
|
|
||||||
opacity: 1;
|
|
||||||
speak: none;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
.theme .delete-theme:hover:before {
|
|
||||||
background: #d54e21;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Theme Screenshot
|
* Theme Screenshot
|
||||||
|
@ -234,10 +234,6 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
|
|||||||
<# if ( data.hasUpdate ) { #>
|
<# if ( data.hasUpdate ) { #>
|
||||||
<a class="theme-update"><?php _e( 'Update Available' ); ?></a>
|
<a class="theme-update"><?php _e( 'Update Available' ); ?></a>
|
||||||
<# } #>
|
<# } #>
|
||||||
|
|
||||||
<# if ( ! data.active ) { #>
|
|
||||||
<a href="{{{ data.actions.delete }}}" class="delete-theme"><?php _e( 'Delete' ); ?></a>
|
|
||||||
<# } #>
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="tmpl-theme-single" type="text/template">
|
<script id="tmpl-theme-single" type="text/template">
|
||||||
|
Loading…
Reference in New Issue
Block a user