-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Adjust line height for body text (1.5)
- Adjust line height for most headings (1.2) - Add additional padding around 'pills' - Use small content headings for secondary information items
- Loading branch information
Showing
65 changed files
with
85 additions
and
73 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless assessment.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="assessment">Assessment</h3> | ||
<div class="content-heading-small" id="assessment">Assessment</div> | ||
<%= assessment[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless attachments.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="attachment">Attachment</h3> | ||
<div class="content-heading-small" id="attachment">Attachment</div> | ||
<%= attachments.pluck(:value).join('; ') %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless cleared.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="cleared">Cleared</h3> | ||
<div class="content-heading-small" id="cleared">Cleared</div> | ||
<%= boolean_yes_no(cleared) %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless commission_number.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="commission_number">Commission number</h3> | ||
<div class="content-heading-small" id="commission_number">Commission number</div> | ||
<%= commission_number[:value] %> | ||
</div> | ||
<% end %> |
4 changes: 2 additions & 2 deletions
4
app/views/search/fragments/_considered_by_eu_si_committee.html.erb
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<% if considered %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="considered-by-european-statutory-instrument-committee">Considered by the European | ||
Statutory Instrument Committee</h3> | ||
<div class="content-heading-small" id="considered-by-european-statutory-instrument-committee">Considered by the European | ||
Statutory Instrument Committee</div> | ||
<%= format_date(considered) %> | ||
</div> | ||
<% end %> |
4 changes: 2 additions & 2 deletions
4
app/views/search/fragments/_considered_by_secondary_legislation_committee.html.erb
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<% if considered %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="considered-by-secondary-legislation-scrutiny-committee">Considered by the Secondary | ||
Legislation Scrutiny Committee</h3> | ||
<div class="content-heading-small" id="considered-by-secondary-legislation-scrutiny-committee">Considered by the Secondary | ||
Legislation Scrutiny Committee</div> | ||
<%= format_date(considered) %> | ||
</div> | ||
<% end %> |
2 changes: 1 addition & 1 deletion
2
app/views/search/fragments/_contains_explanatory_memorandum.html.erb
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if contains_em && contains_em[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="contains-explanatory-memorandum">Contains explanatory memorandum</h3> | ||
<div class="content-heading-small" id="contains-explanatory-memorandum">Contains explanatory memorandum</div> | ||
<%= boolean_yes_no(contains_em) %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if contains_note && contains_note[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="contains-explanatory-note">Contains explanatory note</h3> | ||
<div class="content-heading-small" id="contains-explanatory-note">Contains explanatory note</div> | ||
<%= boolean_yes_no(contains_note) %> | ||
</div> | ||
<% end %> |
2 changes: 1 addition & 1 deletion
2
app/views/search/fragments/_contains_impact_assessment.html.erb
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if contains_ia && contains_ia[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="contains-impact-assessment">Contains impact assessment</h3> | ||
<div class="content-heading-small" id="contains-impact-assessment">Contains impact assessment</div> | ||
<%= boolean_yes_no(contains_ia) %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if contains_statistics && contains_statistics[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="contains-statistics">Contains statistics</h3> | ||
<div class="content-heading-small" id="contains-statistics">Contains statistics</div> | ||
<%= boolean_yes_no(contains_statistics) %> | ||
</div> | ||
<% end %> |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless council_number.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="council_number">Council number</h3> | ||
<div class="content-heading-small" id="council_number">Council number</div> | ||
<%= council_number[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless decision.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="decision">Decision</h3> | ||
<div class="content-heading-small" id="decision">Decision</div> | ||
<%= decision[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless ec_documents.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="ec-documents">EC documents</h3> | ||
<div class="content-heading-small" id="ec-documents">EC documents</div> | ||
<%= ec_documents[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless elc_number.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="elc_number">ELC number</h3> | ||
<div class="content-heading-small" id="elc_number">ELC number</div> | ||
<%= elc_number[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless eu_parliament_committee.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="european-parliament-committee">European Parliament committee</h3> | ||
<div class="content-heading-small" id="european-parliament-committee">European Parliament committee</div> | ||
<%= eu_parliament_committee[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if failed_oral && failed_oral[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="failed-oral">Question not reached</h3> | ||
<div class="content-heading-small" id="failed-oral">Question not reached</div> | ||
<%= boolean_yes_no(failed_oral) %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if grouped && grouped[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="grouped-for-answer">Grouped for answer</h3> | ||
<div class="content-heading-small" id="grouped-for-answer">Grouped for answer</div> | ||
<%= boolean_yes_no(grouped) %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless isbn.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="isbn">ISBN</h3> | ||
<div class="content-heading-small" id="isbn">ISBN</div> | ||
<%= isbn[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if laid_in_draft && laid_in_draft[:value] %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="laid-in-draft">Laid in draft</h3> | ||
<div class="content-heading-small" id="laid-in-draft">Laid in draft</div> | ||
<%= boolean_yes_no(laid_in_draft) %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless laying_authority.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="laying-authority">Laying authority</h3> | ||
<div class="content-heading-small" id="laying-authority">Laying authority</div> | ||
<%= laying_authority[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless legislative_stage.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="legislative-stage">Legislative stage</h3> | ||
<div class="content-heading-small" id="legislative-stage">Legislative stage</div> | ||
<%= render 'search/fragments/list', items: legislative_stage, terminator: "", singular: false %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% if object.has_link? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="link">Link</h3> | ||
<div class="content-heading-small" id="link">Link</div> | ||
<%= link_to "View this #{object_display_name(object.type)} on #{ URI.parse(object.display_link[:value]).host}", object.display_link[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless contribution_type.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="oral_question_type">Oral question type</h3> | ||
<div class="content-heading-small" id="oral_question_type">Oral question type</div> | ||
<%= contribution_type[:value] %> | ||
</div> | ||
<% end %> |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<% unless other_number.blank? %> | ||
<div class="about-item"> | ||
<h3 class="content-heading" id="other_number">Other number</h3> | ||
<div class="content-heading-small" id="other_number">Other number</div> | ||
<%= other_number[:value] %> | ||
</div> | ||
<% end %> |
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
Oops, something went wrong.