mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Replace Quick Edit and Bulk Edit headings with <legend>
elements.
Props afercia. Fixes #34289. Built from https://develop.svn.wordpress.org/trunk@35234 git-svn-id: http://core.svn.wordpress.org/trunk@35200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b778726e74
commit
1157540283
@ -988,11 +988,19 @@ tr.inline-edit-row td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Positioning */
|
/* Positioning */
|
||||||
.inline-edit-row h4 {
|
|
||||||
margin: .2em 0;
|
/* Needs higher specificity for the padding */
|
||||||
padding: 0;
|
#the-list .inline-edit-row .inline-edit-legend {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.2em 0.5em 0;
|
||||||
line-height: 2.5;
|
line-height: 2.5;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
|
||||||
|
padding: 0.2em 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.inline-edit-row fieldset span.title,
|
.inline-edit-row fieldset span.title,
|
||||||
.inline-edit-row fieldset span.checkbox-title {
|
.inline-edit-row fieldset span.checkbox-title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -1082,7 +1090,7 @@ tr.inline-edit-row td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styling */
|
/* Styling */
|
||||||
.inline-edit-row h4 {
|
.inline-edit-row .inline-edit-legend {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -988,11 +988,19 @@ tr.inline-edit-row td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Positioning */
|
/* Positioning */
|
||||||
.inline-edit-row h4 {
|
|
||||||
margin: .2em 0;
|
/* Needs higher specificity for the padding */
|
||||||
padding: 0;
|
#the-list .inline-edit-row .inline-edit-legend {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0.2em 0.5em 0;
|
||||||
line-height: 2.5;
|
line-height: 2.5;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#the-list #bulk-edit.inline-edit-row .inline-edit-legend {
|
||||||
|
padding: 0.2em 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.inline-edit-row fieldset span.title,
|
.inline-edit-row fieldset span.title,
|
||||||
.inline-edit-row fieldset span.checkbox-title {
|
.inline-edit-row fieldset span.checkbox-title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -1082,7 +1090,7 @@ tr.inline-edit-row td,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Styling */
|
/* Styling */
|
||||||
.inline-edit-row h4 {
|
.inline-edit-row .inline-edit-legend {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1315,8 +1315,9 @@ class WP_Posts_List_Table extends WP_List_Table {
|
|||||||
echo $bulk ? " bulk-edit-row bulk-edit-row-$hclass bulk-edit-{$screen->post_type}" : " quick-edit-row quick-edit-row-$hclass inline-edit-{$screen->post_type}";
|
echo $bulk ? " bulk-edit-row bulk-edit-row-$hclass bulk-edit-{$screen->post_type}" : " quick-edit-row quick-edit-row-$hclass inline-edit-{$screen->post_type}";
|
||||||
?>" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
|
?>" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
|
||||||
|
|
||||||
<fieldset class="inline-edit-col-left"><div class="inline-edit-col">
|
<fieldset class="inline-edit-col-left">
|
||||||
<h4><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></h4>
|
<legend class="inline-edit-legend"><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></legend>
|
||||||
|
<div class="inline-edit-col">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ( post_type_supports( $screen->post_type, 'title' ) ) :
|
if ( post_type_supports( $screen->post_type, 'title' ) ) :
|
||||||
|
@ -549,9 +549,9 @@ class WP_Terms_List_Table extends WP_List_Table {
|
|||||||
<form method="get"><table style="display: none"><tbody id="inlineedit">
|
<form method="get"><table style="display: none"><tbody id="inlineedit">
|
||||||
<tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
|
<tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $this->get_column_count(); ?>" class="colspanchange">
|
||||||
|
|
||||||
<fieldset><div class="inline-edit-col">
|
<fieldset>
|
||||||
<h4><?php _e( 'Quick Edit' ); ?></h4>
|
<legend class="inline-edit-legend"><?php _e( 'Quick Edit' ); ?></legend>
|
||||||
|
<div class="inline-edit-col">
|
||||||
<label>
|
<label>
|
||||||
<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
|
<span class="title"><?php _ex( 'Name', 'term name' ); ?></span>
|
||||||
<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
|
<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35233';
|
$wp_version = '4.4-alpha-35234';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user