diff --git a/plugins/wporg-5ftf/views/form-pledge-manage.php b/plugins/wporg-5ftf/views/form-pledge-manage.php index b014cc6..a97c2d7 100644 --- a/plugins/wporg-5ftf/views/form-pledge-manage.php +++ b/plugins/wporg-5ftf/views/form-pledge-manage.php @@ -7,15 +7,19 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path; /** @var bool $updated */ ?> -
+
- +
diff --git a/plugins/wporg-5ftf/views/form-pledge-new.php b/plugins/wporg-5ftf/views/form-pledge-new.php index 5e26434..732ab9c 100755 --- a/plugins/wporg-5ftf/views/form-pledge-new.php +++ b/plugins/wporg-5ftf/views/form-pledge-new.php @@ -15,7 +15,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
- +
@@ -24,22 +24,26 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
- +
-
+
- +
diff --git a/plugins/wporg-5ftf/views/inputs-pledge-contributors.php b/plugins/wporg-5ftf/views/inputs-pledge-contributors.php index bb40982..bc3fee3 100644 --- a/plugins/wporg-5ftf/views/inputs-pledge-contributors.php +++ b/plugins/wporg-5ftf/views/inputs-pledge-contributors.php @@ -14,14 +14,14 @@ namespace WordPressDotOrg\FiveForTheFuture\View; -

- +

+

diff --git a/plugins/wporg-5ftf/views/inputs-pledge-new-misc.php b/plugins/wporg-5ftf/views/inputs-pledge-new-misc.php index 96b0158..2954f53 100644 --- a/plugins/wporg-5ftf/views/inputs-pledge-new-misc.php +++ b/plugins/wporg-5ftf/views/inputs-pledge-new-misc.php @@ -5,7 +5,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View; /** @var bool $readonly */ ?> -
+

diff --git a/plugins/wporg-5ftf/views/inputs-pledge-org-email.php b/plugins/wporg-5ftf/views/inputs-pledge-org-email.php index 1c323c6..8838e56 100644 --- a/plugins/wporg-5ftf/views/inputs-pledge-org-email.php +++ b/plugins/wporg-5ftf/views/inputs-pledge-org-email.php @@ -7,17 +7,20 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
/> +

+ +

diff --git a/plugins/wporg-5ftf/views/inputs-pledge-org-info.php b/plugins/wporg-5ftf/views/inputs-pledge-org-info.php index 1864449..c2e6064 100644 --- a/plugins/wporg-5ftf/views/inputs-pledge-org-info.php +++ b/plugins/wporg-5ftf/views/inputs-pledge-org-info.php @@ -11,7 +11,6 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
+ +
+ > +
+ +
+ + + />
diff --git a/plugins/wporg-5ftf/views/inputs-pledge-org-logo.php b/plugins/wporg-5ftf/views/inputs-pledge-org-logo.php deleted file mode 100644 index fba40fc..0000000 --- a/plugins/wporg-5ftf/views/inputs-pledge-org-logo.php +++ /dev/null @@ -1,17 +0,0 @@ - - -
- - -
diff --git a/themes/wporg-5ftf/css/objects/_objects.scss b/themes/wporg-5ftf/css/objects/_objects.scss index 6623b9b..c9da9b7 100644 --- a/themes/wporg-5ftf/css/objects/_objects.scss +++ b/themes/wporg-5ftf/css/objects/_objects.scss @@ -8,5 +8,6 @@ @import "../../../pub/wporg/css/objects/notices"; @import "buttons"; @import "image"; +@import "pledge-form"; @import "pullquote"; @import "site-header"; diff --git a/themes/wporg-5ftf/css/objects/_pledge-form.scss b/themes/wporg-5ftf/css/objects/_pledge-form.scss new file mode 100644 index 0000000..b37e86e --- /dev/null +++ b/themes/wporg-5ftf/css/objects/_pledge-form.scss @@ -0,0 +1,59 @@ +.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; + } + + > p { + margin-top: ms(-5); + font-size: ms(-2); + } + } + + .form-field__logo { + + input { + padding: ms(-6) 0; + line-height: 1; + } + } + + .form-field__agree { + + label { + margin-bottom: 0; + } + } + + input[type="submit"] { + display: inline-block; + height: auto; + padding: ms(-3) ms(0); + font-weight: 600; + } +} diff --git a/themes/wporg-5ftf/css/settings/_colors.scss b/themes/wporg-5ftf/css/settings/_colors.scss index 5b67e89..07487cf 100644 --- a/themes/wporg-5ftf/css/settings/_colors.scss +++ b/themes/wporg-5ftf/css/settings/_colors.scss @@ -4,6 +4,7 @@ $color__background-hr: #eee; $color__background-button: #eee; $color__background-pre: #eee; $color__background-ins: #fff9c0; +$color__background-input: #f9f9f9; $color__text-screen: #21759b; $color__text-input: #32373c;