Skip to content

Commit

Permalink
Merge pull request #300 from qld-gov-au/QOLOE-222-formio-thankyou-page
Browse files Browse the repository at this point in the history
Qoloe 222 formio thankyou page
  • Loading branch information
SenChung authored Jun 24, 2024
2 parents affc431 + dc06122 commit af7b370
Showing 1 changed file with 39 additions and 9 deletions.
48 changes: 39 additions & 9 deletions src/components/bs5/footer/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,31 @@
.btn.qg-feedback-toggle {
font-weight: bold;
}
&:has(#feedbackFormIO .formio-component-html1) {
#btn-footer-feedback {
display: none;
visibility: hidden;
}
#qg-footer-feedback {
padding-block-start: calc(var(--#{$prefix}footer-spacing) - 4px);
border-start-start-radius: var(--#{$prefix}footer-border-radius);
border-start-end-radius: var(--#{$prefix}footer-border-radius);
}
}
}
#qg-footer-feedback {
--qld-footer-bootstrap-default-padding: 1.5rem;

background-color: var(--#{$prefix}formIO-bg-colour);
a {
color: var(--#{$prefix}formIO-link-colour);
text-decoration-color: var(--#{$prefix}formIO-link-colour);
&:hover {
color: var(--#{$prefix}formIO-link-colour-hover);
text-decoration-thickness: var(--#{$prefix}link-underline-thickness-hover) !important;
}
&:hover,
&:visited {
color: var(--#{$prefix}formIO-link-colour);
}
}
border-radius: var(--#{$prefix}footer-border-radius);
Expand Down Expand Up @@ -403,7 +419,7 @@
}
}
}
.formio-component-howSatisfiedAreYouWithYourExperienceToday {
.formio-component-feedback-satisfaction {
flex-direction: column;
padding-inline-start: 0;
margin-block-end: 0;
Expand Down Expand Up @@ -457,19 +473,25 @@
}
.formio-component-html1 {
margin-block-start: calc(var(--#{$prefix}footer-spacing) * -1);
margin-block-end: calc(var(--#{$prefix}footer-spacing) + 4px);

h2 {
margin-block-start: 0;
color: var(--#{$prefix}formIO-thankyou-page-title-colour);
font-size: var(--#{$prefix}footer-spacing);
font-weight: bolder;
font-size: 1rem;
font-weight: 600;
margin-block-end: var(--#{$prefix}footer-spacing);

&:first-of-type {
border-block-end: var(--#{$prefix}footer-border-width) solid var(--#{$prefix}formIO-hr-colour);
padding-block-end: 13px;
}
}
h2:first-child {
font-weight: 700;
color: var(--#{$prefix}formIO-thankyou-page-title-colour);
font-size: 1rem;
margin-block-start: 0;
margin-block-end: var(--#{$prefix}footer-spacing);
border-block-end: var(--#{$prefix}footer-border-width) solid var(--#{$prefix}formIO-hr-colour);
padding-block-end: calc(var(--#{$prefix}footer-spacing) - 3px);
}

p:last-of-type {
display: none;
}
Expand All @@ -491,5 +513,13 @@
content: " *";
color: var(--#{$prefix}formIO-error);
}
p {
margin-block-end: calc(var(--#{$prefix}footer-spacing) * 1.25);
}
@include media-breakpoint-down(md) {
p {
margin-block-end: var(--#{$prefix}footer-spacing);
}
}
}
}

0 comments on commit af7b370

Please sign in to comment.