Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update task list focus state #770

Merged
merged 2 commits into from
Jul 23, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/assets/sass/patterns/_task-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
display: block;
@include govuk-media-query($from: 450px) {
float: left;
width: 75%;
}
}

Expand Down
64 changes: 40 additions & 24 deletions docs/views/templates/task-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,19 @@ <h2 class="app-task-list__section">
</h2>
<ul class="app-task-list__items">
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#" aria-describedby="eligibility-completed">
Check eligibility
</a>
<span class="app-task-list__task-name">
<a href="#" aria-describedby="eligibility-completed">
Check eligibility
</a>
</span>
<strong class="govuk-tag app-task-list__task-completed" id="eligibility-completed">Completed</strong>
</li>
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#" aria-describedby="read-declaration-completed">
Read declaration
</a>
<span class="app-task-list__task-name">
<a href="#" aria-describedby="read-declaration-completed">
Read declaration
</a>
</span>
<strong class="govuk-tag app-task-list__task-completed" id="read-declaration-completed">Completed</strong>
</li>
</ul>
Expand All @@ -41,31 +45,41 @@ <h2 class="app-task-list__section">
</h2>
<ul class="app-task-list__items">
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#" aria-describedby="company-information-completed">
Company information
</a>
<span class="app-task-list__task-name">
<a href="#" aria-describedby="company-information-completed">
Company information
</a>
</span>
<strong class="govuk-tag app-task-list__task-completed" id="company-information-completed">Completed</strong>
</li>
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#" aria-describedby="contact-details-completed">
Your contact details
</a>
<span class="app-task-list__task-name">
<a href="#" aria-describedby="contact-details-completed">
Your contact details
</a>
</span>
<strong class="govuk-tag app-task-list__task-completed" id="contact-details-completed">Completed</strong>
</li>
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#">
List convictions
</a>
<span class="app-task-list__task-name">
<a href="#">
List convictions
</a>
</span>
</li>
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#">
Provide financial evidence
</a>
<span class="app-task-list__task-name">
<a href="#">
Provide financial evidence
</a>
</span>
</li>
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#" aria-describedby="medical-information-completed">
Give medical information
</a>
<span class="app-task-list__task-name">
<a href="#" aria-describedby="medical-information-completed">
Give medical information
</a>
</span>
<strong class="govuk-tag app-task-list__task-completed" id="medical-information-completed">Completed</strong>
</li>
</ul>
Expand All @@ -76,9 +90,11 @@ <h2 class="app-task-list__section">
</h2>
<ul class="app-task-list__items">
<li class="app-task-list__item">
<a class="app-task-list__task-name" href="#">
Submit and pay
</a>
<span class="app-task-list__task-name">
<a href="#">
Submit and pay
</a>
</span>
</li>
</ul>
</li>
Expand Down