Plugin install: Improve styling of the no results message.
see #28753. Built from https://develop.svn.wordpress.org/trunk@29359 git-svn-id: http://core.svn.wordpress.org/trunk@29135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
68f16e0ef8
commit
410ca0a29c
|
@ -1028,6 +1028,15 @@ th.action-links {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-filter-no-results {
|
||||||
|
color: #999;
|
||||||
|
font-size: 18px;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 0;
|
||||||
|
padding: 100px 0 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-filter-drawer-toggle {
|
.wp-filter-drawer-toggle {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
|
|
|
@ -1028,6 +1028,15 @@ th.action-links {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-filter-no-results {
|
||||||
|
color: #999;
|
||||||
|
font-size: 18px;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 0;
|
||||||
|
padding: 100px 0 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-filter-drawer-toggle {
|
.wp-filter-drawer-toggle {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -187,7 +187,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function no_items() {
|
public function no_items() {
|
||||||
_e( 'No plugins match your request.' );
|
echo '<div class="wp-filter-no-results">' . __( 'No plugins match your request.' ) . '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function get_views() {
|
protected function get_views() {
|
||||||
|
|
Loading…
Reference in New Issue