From 6f38a4b302dfee987b6a0364b31342ecae7c43dc Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 7 Nov 2024 15:30:11 -0500 Subject: [PATCH] Add signup button to feedback panel --- fec/fec/static/js/templates/feedback.hbs | 13 +++++++++++- fec/fec/static/scss/components/_feedback.scss | 21 ++++++++++++++++++- .../templates/purgecss-homepage/full.html | 11 ++++++++++ .../templates/purgecss-homepage/toggled.html | 13 +++++++++++- 4 files changed, 55 insertions(+), 3 deletions(-) diff --git a/fec/fec/static/js/templates/feedback.hbs b/fec/fec/static/js/templates/feedback.hbs index db94649787..925c4d734b 100644 --- a/fec/fec/static/js/templates/feedback.hbs +++ b/fec/fec/static/js/templates/feedback.hbs @@ -11,7 +11,18 @@
-

Post public feedback about the FEC.gov website anonymously

+

Help us improve FEC.gov

+

Test new website features with our design team

+ +
+

Or post public feedback about the FEC.gov website anonymously

How can we improve FEC.gov? Your feedback, browser information and the URL of the page you were viewing at the time of submission will be posted publicly - so don't include sensitive information like your name, contact information or Social Security number.

diff --git a/fec/fec/static/scss/components/_feedback.scss b/fec/fec/static/scss/components/_feedback.scss index 18d0194ca3..33d9e98567 100644 --- a/fec/fec/static/scss/components/_feedback.scss +++ b/fec/fec/static/scss/components/_feedback.scss @@ -35,7 +35,7 @@ } hr { - border-top: 1px dotted $gray-dark; + border-bottom: 1px dotted $gray-dark; margin: u(0 0 1rem 0); } @@ -70,6 +70,25 @@ top: u(1rem); } + .card--feedback { + display: flex; + flex-direction: row; + + .card__left { + padding: 1rem 1rem 1rem 0; + a { + white-space: nowrap; + } + } + .card__right { + padding: 1rem 0 1rem 1rem; + + p { + margin-bottom: 0; + } + } + } + @include media($lg) { @include transition(top .5s); height: 95vh; diff --git a/fec/home/templates/purgecss-homepage/full.html b/fec/home/templates/purgecss-homepage/full.html index 6d228317b9..78c0c3e4d8 100644 --- a/fec/home/templates/purgecss-homepage/full.html +++ b/fec/home/templates/purgecss-homepage/full.html @@ -941,6 +941,17 @@

Glossary

+

Help us improve FEC.gov

+

Test new website features with our design team

+ +

Post public feedback about the FEC.gov website anonymously

How can we improve FEC.gov? Your feedback, browser information and the URL of the page you were viewing at the time of submission will be posted publicly - so don't include sensitive information like your name, contact information or Social Security number.

diff --git a/fec/home/templates/purgecss-homepage/toggled.html b/fec/home/templates/purgecss-homepage/toggled.html index 04c27ef54b..1d163ce52f 100644 --- a/fec/home/templates/purgecss-homepage/toggled.html +++ b/fec/home/templates/purgecss-homepage/toggled.html @@ -67,6 +67,17 @@

Glossary

+

Help us improve FEC.gov

+

Test new website features with our design team

+ +

Post public feedback about the FEC.gov website anonymously

How can we improve FEC.gov? Your feedback, browser information and the URL of the page you were viewing at the time of submission will be posted publicly - so don't include sensitive information like your name, contact information or Social Security number.

@@ -94,4 +105,4 @@

Post public feedback about the FEC.gov website anonymously - \ No newline at end of file +