mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-24 03:43:43 +03:00

* Rename generic "frontend" file to dialog * Add a "remove pledge" action * Process pledge deactivation * Trigger an email on user-initiated pledge deactivation * Show an error when trying to manage a deactivated pledge * Add a label for "deactivated" pledges
122 lines
1.7 KiB
SCSS
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,
|
|
p[id*="help"] {
|
|
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;
|
|
}
|
|
}
|
|
|
|
.button {
|
|
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;
|
|
}
|
|
}
|