2020-02-21 13:21:44 +00:00
|
|
|
$item-top-padding: govuk-spacing(3);
|
2019-10-18 16:43:52 +01:00
|
|
|
|
|
|
|
|
.history-list {
|
|
|
|
|
|
|
|
|
|
@include core-19;
|
2020-02-21 13:21:44 +00:00
|
|
|
margin-bottom: govuk-spacing(6);
|
2019-10-18 16:43:52 +01:00
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
|
|
2020-02-21 13:21:44 +00:00
|
|
|
padding: $item-top-padding 0 govuk-spacing(3) 0;
|
2019-10-18 16:43:52 +01:00
|
|
|
border-top: 1px solid $border-colour;
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
border-bottom: 1px solid $border-colour;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-02 18:15:00 +00:00
|
|
|
.page-footer {
|
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-18 16:43:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-user {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-time {
|
|
|
|
|
display: block;
|
|
|
|
|
color: $secondary-text-colour;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-02 14:29:34 +00:00
|
|
|
&-percentage {
|
|
|
|
|
|
|
|
|
|
$axis-thickness: 2px;
|
|
|
|
|
border-bottom: $axis-thickness solid $black;
|
|
|
|
|
position: relative;
|
2019-12-02 18:15:00 +00:00
|
|
|
margin-bottom: 35px;
|
2019-12-02 14:29:34 +00:00
|
|
|
height: 35px;
|
|
|
|
|
|
|
|
|
|
&:before,
|
|
|
|
|
&:after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: -6px;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 10px;
|
|
|
|
|
width: $axis-thickness;
|
|
|
|
|
background: $black;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
|
left: auto;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-02 18:15:00 +00:00
|
|
|
&-without-border {
|
|
|
|
|
position: relative;
|
|
|
|
|
padding-top: 35px;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-02 14:29:34 +00:00
|
|
|
&-marker {
|
|
|
|
|
$size: 20px;
|
|
|
|
|
$border-thickness: 7px;
|
|
|
|
|
$text-width: 100px;
|
|
|
|
|
display: block;
|
|
|
|
|
width: $size;
|
|
|
|
|
height: $size;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 35px - ($size / 2) - ($border-thickness - ($axis-thickness / 2));
|
|
|
|
|
margin-left: 0 - ($size / 2) - $border-thickness;
|
|
|
|
|
background: $black;
|
|
|
|
|
border-radius: $size;
|
|
|
|
|
border: $border-thickness solid $white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-left-label,
|
|
|
|
|
&-right-label {
|
|
|
|
|
width: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-left-label {
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-right-label {
|
|
|
|
|
right: 0;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-18 16:43:52 +01:00
|
|
|
}
|