Twenty Eleven: Use more specific CSS selectors for .required styles.

This changeset adds more specific CSS selectors so third-parties fields are not targeted by the related CSS rules.

Props umesh84, sabernhardt, costdev.
Fixes #56297.

Built from https://develop.svn.wordpress.org/trunk@53819


git-svn-id: http://core.svn.wordpress.org/trunk@53378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-08-03 17:12:13 +00:00
parent df054f2dae
commit f05709ac51
3 changed files with 9 additions and 12 deletions

View File

@ -444,7 +444,10 @@ section.recent-posts .other-recent-posts .comments-link > span {
-moz-box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
box-shadow: -1px 2px 2px rgba(204,204,204,0.8);
}
#respond .comment-form label .required {
#respond .comment-form-author .required,
#respond .comment-form-email .required,
#respond .comment-form-url .required,
#respond .comment-form-comment .required {
float: left;
margin-left: 0;
margin-right: 4px;
@ -545,11 +548,6 @@ section.recent-posts .other-recent-posts .comments-link > span {
right: 2.2em;
}
/* Use the available space in the smaller comment form */
#respond .comment-form-author .required,
#respond .comment-form-email .required {
left: auto;
right: 95%;
}
#content .gallery-columns-3 .gallery-item {
padding-right: 0;
padding-left:2%;

View File

@ -2240,7 +2240,10 @@ a.comment-reply-link > span {
font-size: 22px;
font-weight: bold;
}
#respond .comment-form label .required {
#respond .comment-form-author .required,
#respond .comment-form-email .required,
#respond .comment-form-url .required,
#respond .comment-form-comment .required {
float: right;
margin-left: 4px;
}
@ -2616,10 +2619,6 @@ p.comment-form-comment {
#respond input[type="text"] {
width: 95%;
}
#respond .comment-form-author .required,
#respond .comment-form-email .required {
left: 95%;
}
#content .gallery-columns-3 .gallery-item {
width: 31%;
padding-right: 2%;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53818';
$wp_version = '6.1-alpha-53819';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.