Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #764 from trade-tariff/hott-5136-banners-duty-calc
HOTT-5136: Added top and bottom choice selection banners to Duty calc
- Loading branch information
Showing
6 changed files
with
109 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div class="feedback-useful-banner govuk-width-container"> | ||
<div class="feedback-useful-container"> | ||
<div class="govuk-footer__meta"> | ||
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow"> | ||
<p>is this page useful?</p> | ||
<li class="govuk-footer__inline-list-item"> | ||
<%= link_to('Yes', feedback_url('yes'), class:'govuk-button govuk-button--secondary') %> | ||
</li> | ||
<li class="govuk-footer__inline-list-item"> | ||
<%= link_to('No', feedback_url('no'), class:'govuk-button govuk-button--secondary') %> | ||
</li> | ||
</div> | ||
<div class="govuk-footer__meta-item"> | ||
<li class="govuk-footer__inline-list-item"> | ||
<%= link_to('Report a problem with this page', feedback_url, class:'govuk-button govuk-button--secondary report-problem') %> | ||
</li> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.feedback-useful-banner { | ||
border-top: 1px solid $govuk-border-colour; | ||
|
||
.feedback-useful-container { | ||
position: relative; | ||
padding: 1em; | ||
background-color: govuk-colour("light-grey"); | ||
height: 36px; | ||
padding-top: 17px; | ||
} | ||
|
||
p { | ||
font-weight: bold; | ||
float: left; | ||
padding-top: 7px; | ||
padding-left: 11px; | ||
padding-right: 15px; | ||
} | ||
|
||
.govuk-button { | ||
border: 1px solid govuk-colour("black"); | ||
box-shadow: 0 2px 0 govuk-colour("black"); | ||
min-width: 6em; | ||
} | ||
} | ||
|
||
.govuk-footer { | ||
border-top: 10px solid govuk-colour("blue"); | ||
} | ||
|
||
@media (max-width: 900px) { | ||
.feedback-useful-banner { | ||
.report-problem { | ||
display: none; | ||
} | ||
} | ||
} | ||
|
||
@include govuk-media-query($until: tablet) { | ||
.feedback-useful-banner { | ||
p { | ||
padding-top: 9px; | ||
} | ||
|
||
.govuk-button { | ||
min-width: 3.5em; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters