mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-22 19:13:44 +03:00

This adds the ability to deactivate/reactivate pledges from the wp-admin list table. Once deactivated, the pledge is removed from the "published" list, as if it were trashed. It is not rendered in the frontend pledge list either. You can still access the edit screen, but no edits can be made (saving the pledge is disabled by JS, as otherwise it would reactivate itself). This way we can remove a pledge, but still see the activity log. Fixes #112
78 lines
1.4 KiB
CSS
Executable file
78 lines
1.4 KiB
CSS
Executable file
.pledge-form .form-field {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.pledge-form .form-field label {
|
|
margin-bottom: 8px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.pledge-form .form-field input[type="text"],
|
|
.pledge-form .form-field input[type="url"],
|
|
.pledge-form .form-field input[type="number"],
|
|
.pledge-form .form-field input[type="email"],
|
|
.pledge-form .form-field textarea {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 8px;
|
|
}
|
|
|
|
.pledge-form .form-field input[type="number"] {
|
|
max-width: 10em;
|
|
height: auto;
|
|
}
|
|
|
|
.pledge-form .form-field > p {
|
|
margin-top: 8px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.pledge-form .form-field__logo input {
|
|
padding: 8px 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.pledge-form .form-field .email-status {
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.pledge-form .email-status.is-confirmed {
|
|
color: #297531;
|
|
}
|
|
|
|
.pledge-form .email-status.is-unconfirmed {
|
|
color: #c92c2c;
|
|
}
|
|
|
|
.pledge-form .contributor-list-heading {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.pledge-form .contributor-list {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.pledge-contributors.pledge-status__5ftf-deactivated .resend-confirm,
|
|
.pledge-contributors.pledge-status__draft .resend-confirm {
|
|
display: none;
|
|
}
|
|
|
|
.contributor-list th,
|
|
.contributor-list td,
|
|
.contributor-list th *,
|
|
.contributor-list td * {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.contributor-list .avatar {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.contributor-list .button-link-delete {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.contributor-list .button-link-delete .dashicons {
|
|
margin-top: -2px;
|
|
}
|