Customize: Add default control template for standard input types.

Re-use default template instead of introducing custom one for the Discard Changes button.

See #30738.


git-svn-id: https://develop.svn.wordpress.org/trunk@41771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter
2017-10-05 02:55:11 +00:00
parent eb4f4bc87e
commit f23be16bd2
5 changed files with 178 additions and 12 deletions

View File

@@ -152,12 +152,12 @@ body.trashing #publish-settings {
#customize-control-trash_changeset {
margin-top: 20px;
}
#customize-control-trash_changeset button {
#customize-control-trash_changeset .button-link {
position: relative;
padding-left: 24px;
display: inline-block;
}
#customize-control-trash_changeset button:before {
#customize-control-trash_changeset .button-link:before {
content: "\f182";
font: normal 22px dashicons;
text-decoration: none;