Files
notifications-admin/app/assets/stylesheets/views/template.scss
T

68 lines
1.3 KiB
SCSS
Raw Normal View History

.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);
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;
}
}
.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
}
.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
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
left: -5px;
}
.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-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;
padding: 0 0 govuk-spacing(6) 0;
2021-01-06 17:38:44 +00:00
& .govuk-error-message {
margin: 0;
2021-01-06 17:38:44 +00:00
}
}