five-for-the-future/themes/wporg-5ftf/css/objects/_pledge-form.scss
Kelly Dwan 80b88399ae
Manage Pledge: Allow pledge admins to change email (#113)
* Add the admin email field to the manage form
* Fix admin email processing: When the email is changed, the pledge needs to be set back to pending, until the email is re-confirmed
* Send confirmation emails for existing pledges to the "Manage Pledge" page
* Process the email confirmation & resending emails actions on both shortcodes
* Add a message for unconfirmed pledges
2019-11-26 15:37:19 -05:00

122 lines
1.7 KiB
SCSS

.pledge-form {
.form-field {
margin-bottom: ms(4);
label {
margin-bottom: ms(-5);
display: inline-block;
font-weight: 600;
font-size: 16px;
color: $color__text-input;
}
input[type="text"],
input[type="url"],
input[type="number"],
input[type="email"],
textarea {
display: block;
width: 100%;
padding: ms(-5) ms(-2);
background: $color__background-input;
border: 1px solid $color__border-input;
box-shadow: none;
}
input[type="number"] {
max-width: 10em;
height: auto;
}
[id*="help"] p {
margin-top: ms(-5);
font-size: ms(-2);
}
}
.form-field__logo {
input {
padding: ms(-6) 0;
line-height: 1;
}
}
.form-field__agree {
input {
margin-top: 0;
}
label {
display: inline;
margin-bottom: 0;
}
}
input[type="submit"],
.button-primary {
display: inline-block;
height: auto;
padding: ms(-3) ms(0);
font-weight: 600;
}
.contributor-list-heading {
margin: 1rem 0;
}
.contributor-list {
margin-bottom: 1.5rem;
th,
td,
th *,
td * {
vertical-align: middle;
}
thead {
background-color: #fff;
color: inherit;
th {
border-bottom-color: $color-gray-light-700;
}
}
tr > * {
border-top-color: $color-gray-light-700;
&:first-child {
border-left-color: $color-gray-light-700;
}
&:last-child {
border-right-color: $color-gray-light-700;
}
}
tr:last-child > * {
border-bottom-color: $color-gray-light-700;
}
.avatar {
margin-right: 8px;
}
.button-link-delete {
text-decoration: none;
.dashicons {
margin-top: -2px;
}
}
}
.pledge-contributors.pledge-status__draft .resend-confirm {
display: none;
}
}