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.


git-svn-id: https://develop.svn.wordpress.org/trunk@53819 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-08-03 17:10:03 +00:00
parent ad93e6387c
commit 1aa576b2a0
2 changed files with 8 additions and 11 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%;