Comments: Improve the Author box in the Edit Comment screen.

- Add a border below the heading, to match meta boxes.
- Remove the colons from the input labels.
- Tweak the padding and margins.

Props birgire, abdullahramzan, rhetorical, BODA1982, pento.
Fixes #43586.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast
2019-01-08 06:19:50 +00:00
parent 8d2ee69f9d
commit 952c7253d3
10 changed files with 79 additions and 22 deletions

View File

@@ -2061,13 +2061,19 @@ html.wp-toolbar {
user-select: none;
}
.postbox .inside,
.stuffbox .inside {
.postbox .inside {
padding: 0 12px 12px;
line-height: 1.4em;
font-size: 13px;
}
.stuffbox .inside {
padding: 0;
line-height: 1.4em;
font-size: 13px;
margin-top: 0;
}
.postbox .inside {
margin: 11px 0;
position: relative;
@@ -2363,11 +2369,8 @@ body.iframe {
}
.edit-comment-author {
font-size: 14px;
line-height: 1.4;
font-weight: 600;
color: #222;
margin: 2px 9px 0 0;
border-bottom: 1px solid #eee;
}
#namediv h3 label, /* Back-compat for pre-4.4 */

File diff suppressed because one or more lines are too long

View File

@@ -2061,13 +2061,19 @@ html.wp-toolbar {
user-select: none;
}
.postbox .inside,
.stuffbox .inside {
.postbox .inside {
padding: 0 12px 12px;
line-height: 1.4em;
font-size: 13px;
}
.stuffbox .inside {
padding: 0;
line-height: 1.4em;
font-size: 13px;
margin-top: 0;
}
.postbox .inside {
margin: 11px 0;
position: relative;
@@ -2363,11 +2369,8 @@ body.iframe {
}
.edit-comment-author {
font-size: 14px;
line-height: 1.4;
font-weight: 600;
color: #222;
margin: 2px 0 0 9px;
border-bottom: 1px solid #eee;
}
#namediv h3 label, /* Back-compat for pre-4.4 */

File diff suppressed because one or more lines are too long

View File

@@ -607,10 +607,18 @@ span.wp-media-buttons-icon:before {
line-height: 1.4;
}
#poststuff .stuffbox h2 {
padding: 8px 10px;
}
#poststuff .inside {
margin: 6px 0 0 0;
}
#poststuff .stuffbox .inside {
margin: 0;
}
#poststuff .inside #parent_id,
#poststuff .inside #page_template {
max-width: 100%;
@@ -1246,6 +1254,15 @@ p.popular-tags a {
.stuffbox .editcomment {
clear: none;
margin-top: 0;
}
#namediv.stuffbox .editcomment input {
width: 100%;
}
#namediv.stuffbox .editcomment.form-table td {
padding: 10px;
}
#comment-status-radio p {
@@ -1439,12 +1456,20 @@ table.links-table {
padding: 10px 10px;
}
#poststuff .stuffbox .inside {
padding: 0 0 4px 2px;
}
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
#poststuff h2 {
padding: 12px;
}
#namediv.stuffbox .editcomment.form-table td {
padding: 5px 10px;
}
.post-format-options {
padding-left: 0;
}

File diff suppressed because one or more lines are too long

View File

@@ -607,10 +607,18 @@ span.wp-media-buttons-icon:before {
line-height: 1.4;
}
#poststuff .stuffbox h2 {
padding: 8px 10px;
}
#poststuff .inside {
margin: 6px 0 0 0;
}
#poststuff .stuffbox .inside {
margin: 0;
}
#poststuff .inside #parent_id,
#poststuff .inside #page_template {
max-width: 100%;
@@ -1246,6 +1254,15 @@ p.popular-tags a {
.stuffbox .editcomment {
clear: none;
margin-top: 0;
}
#namediv.stuffbox .editcomment input {
width: 100%;
}
#namediv.stuffbox .editcomment.form-table td {
padding: 10px;
}
#comment-status-radio p {
@@ -1439,12 +1456,20 @@ table.links-table {
padding: 10px 10px;
}
#poststuff .stuffbox .inside {
padding: 0 2px 4px 0;
}
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
#poststuff h2 {
padding: 12px;
}
#namediv.stuffbox .editcomment.form-table td {
padding: 5px 10px;
}
.post-format-options {
padding-right: 0;
}

File diff suppressed because one or more lines are too long