|
|
@ -1,28 +1,19 @@ |
|
|
|
|
|
|
|
|
|
|
|
// Task list pattern |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.app-task-list { |
|
|
|
.app-task-list { |
|
|
|
list-style-type: none; |
|
|
|
list-style-type: none; |
|
|
|
padding-left: 0; |
|
|
|
padding-left: 0; |
|
|
|
margin-top: 0; |
|
|
|
margin-top: 0; |
|
|
|
margin-bottom: 0; |
|
|
|
margin-bottom: 0; |
|
|
|
|
|
|
|
|
|
|
|
@include govuk-media-query($from: tablet) { |
|
|
|
@include govuk-media-query($from: tablet) { |
|
|
|
min-width: 550px; |
|
|
|
min-width: 400px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.app-task-list__section { |
|
|
|
.app-task-list__section-heading { |
|
|
|
display: table; |
|
|
|
|
|
|
|
@include govuk-font($size:24, $weight: bold); |
|
|
|
@include govuk-font($size:24, $weight: bold); |
|
|
|
} |
|
|
|
display: table; |
|
|
|
|
|
|
|
margin-top: govuk-spacing(0); |
|
|
|
.app-task-list__section-number { |
|
|
|
margin-bottom: govuk-spacing(4); |
|
|
|
display: table-cell; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@include govuk-media-query($from: tablet) { |
|
|
|
|
|
|
|
min-width: govuk-spacing(6); |
|
|
|
|
|
|
|
padding-right: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.app-task-list__items { |
|
|
|
.app-task-list__items { |
|
|
@ -30,17 +21,13 @@ |
|
|
|
@include govuk-responsive-margin(9, "bottom"); |
|
|
|
@include govuk-responsive-margin(9, "bottom"); |
|
|
|
list-style: none; |
|
|
|
list-style: none; |
|
|
|
padding-left: 0; |
|
|
|
padding-left: 0; |
|
|
|
@include govuk-media-query($from: tablet) { |
|
|
|
|
|
|
|
padding-left: govuk-spacing(6); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.app-task-list__item { |
|
|
|
.app-task-list__item { |
|
|
|
|
|
|
|
@include govuk-clearfix; |
|
|
|
border-bottom: 1px solid $govuk-border-colour; |
|
|
|
border-bottom: 1px solid $govuk-border-colour; |
|
|
|
margin-bottom: 0 !important; |
|
|
|
|
|
|
|
padding-top: govuk-spacing(2); |
|
|
|
padding-top: govuk-spacing(2); |
|
|
|
padding-bottom: govuk-spacing(2); |
|
|
|
padding-bottom: govuk-spacing(2); |
|
|
|
@include govuk-clearfix; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.app-task-list__item:first-child { |
|
|
|
.app-task-list__item:first-child { |
|
|
@ -49,16 +36,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
.app-task-list__task-name { |
|
|
|
.app-task-list__task-name { |
|
|
|
display: block; |
|
|
|
display: block; |
|
|
|
|
|
|
|
|
|
|
|
@include govuk-media-query($from: 450px) { |
|
|
|
@include govuk-media-query($from: 450px) { |
|
|
|
float: left; |
|
|
|
float: left; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// The `app-task-list__task-completed` class was previously used on the task |
|
|
|
.app-task-list__tag { |
|
|
|
// list for the completed tag (changed in 86c90ec) – it's still included here to |
|
|
|
|
|
|
|
// avoid breaking task lists in existing prototypes. |
|
|
|
|
|
|
|
.app-task-list__tag, |
|
|
|
|
|
|
|
.app-task-list__task-completed { |
|
|
|
|
|
|
|
margin-top: govuk-spacing(2); |
|
|
|
margin-top: govuk-spacing(2); |
|
|
|
margin-bottom: govuk-spacing(1); |
|
|
|
margin-bottom: govuk-spacing(1); |
|
|
|
|
|
|
|
|
|
|
@ -68,21 +52,3 @@ |
|
|
|
margin-bottom: 0; |
|
|
|
margin-bottom: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//custom |
|
|
|
|
|
|
|
.app-task-list { |
|
|
|
|
|
|
|
&__item:target { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&--no-numbers &__items { |
|
|
|
|
|
|
|
@include govuk-media-query($from: tablet) { |
|
|
|
|
|
|
|
padding-left: 0; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.app-task-list__item:target, |
|
|
|
|
|
|
|
.tasklist_item_highlight{ |
|
|
|
|
|
|
|
background-color: $govuk-focus-colour; |
|
|
|
|
|
|
|
box-shadow: 0 -2px $govuk-focus-colour, 0 4px $govuk-focus-text-colour; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|