2017-03-13 10:55:15 +00:00
|
|
|
|
.template-container {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%edit-template-link,
|
|
|
|
|
|
.edit-template-link {
|
|
|
|
|
|
|
|
|
|
|
|
@include core-19;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
background: $link-colour;
|
|
|
|
|
|
color: $white;
|
2020-02-21 13:21:44 +00:00
|
|
|
|
padding: 10px govuk-spacing(3);
|
2017-03-13 10:55:15 +00:00
|
|
|
|
z-index: 10000;
|
|
|
|
|
|
|
|
|
|
|
|
&:link, &:visited {
|
|
|
|
|
|
color: $white;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
color: $light-blue-25;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2020-11-11 14:58:21 +00:00
|
|
|
|
&:focus {
|
|
|
|
|
|
color: $govuk-text-colour;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-13 10:55:15 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.edit-template-link-letter-contact {
|
|
|
|
|
|
@extend %edit-template-link;
|
|
|
|
|
|
right: -25px;
|
2019-02-05 15:31:26 +00:00
|
|
|
|
top: 232px; // align to bottom of contact block
|
2017-03-13 10:55:15 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.edit-template-link-letter-address {
|
|
|
|
|
|
@extend %edit-template-link;
|
2017-04-10 09:28:23 +01:00
|
|
|
|
top: 14.65%; // align bottom edge to bottom of address
|
2017-03-13 10:55:15 +00:00
|
|
|
|
left: -5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.edit-template-link-letter-body {
|
|
|
|
|
|
@extend %edit-template-link;
|
2017-04-25 16:01:14 +01:00
|
|
|
|
top: 400px; // aligns to top of subject
|
2017-03-13 10:55:15 +00:00
|
|
|
|
left: -5px;
|
|
|
|
|
|
}
|
2019-01-29 16:12:54 +00:00
|
|
|
|
|
|
|
|
|
|
.edit-template-link-letter-postage {
|
|
|
|
|
|
@extend %edit-template-link;
|
2019-02-05 15:33:08 +00:00
|
|
|
|
top: 51px; // aligns bottom edge to bottom of postmark
|
|
|
|
|
|
right: 145px; // Aligns right edge to midpoint of postmark and fold
|
2019-01-29 16:12:54 +00:00
|
|
|
|
}
|
2019-01-23 10:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
.edit-template-link-letter-branding {
|
|
|
|
|
|
@extend %edit-template-link;
|
|
|
|
|
|
top: 51px; // aligns with ‘change postage’ link
|
|
|
|
|
|
left: 66px; // Aligns to left of logo area
|
|
|
|
|
|
}
|
2021-01-06 17:38:44 +00:00
|
|
|
|
|
|
|
|
|
|
.template-content-count {
|
|
|
|
|
|
@include core-19($tabular-numbers: true);
|
|
|
|
|
|
color: $secondary-text-colour;
|
2021-01-08 15:23:54 +00:00
|
|
|
|
padding: 0 0 govuk-spacing(6) 0;
|
2021-01-08 13:49:18 +00:00
|
|
|
|
|
2021-01-06 17:38:44 +00:00
|
|
|
|
& .govuk-error-message {
|
2021-01-08 15:23:54 +00:00
|
|
|
|
margin: 0;
|
2021-01-06 17:38:44 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|