mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 21:44:11 -04:00
Replaced `$gutter` and similar variables such as `$gutter-half` with the `govuk-spacing()` static spacing function. This uses `govuk-spacing()` instead of `$govuk-gutter` because `$govuk-gutter` should only be used for the gaps in between grid columns and we were mostly using `$gutter` to add more space around elements. There are other places in the SCSS files where we had hardcoded a measurement in px which could be replaced with `govuk-spacing`, but this commit only replaces the existing uses of `$gutter`.
67 lines
894 B
SCSS
67 lines
894 B
SCSS
.page-footer {
|
|
|
|
position: relative;
|
|
margin-bottom: 30px;
|
|
|
|
&-delete-link {
|
|
|
|
line-height: 40px;
|
|
padding: 1px 0 0 15px;
|
|
|
|
}
|
|
|
|
&-delete-link-without-button {
|
|
padding: 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
&-secondary-link {
|
|
display: block;
|
|
margin-top: govuk-spacing(6);
|
|
}
|
|
|
|
&-right-aligned-link {
|
|
|
|
position: absolute;
|
|
right: 0;
|
|
top: 9px; // align baseline with buttons
|
|
|
|
&-without-button {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
}
|
|
|
|
&__button {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.js-cancel {
|
|
margin: 0;
|
|
}
|
|
|
|
&__button--centred {
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
}
|
|
|
|
.search-form__button {
|
|
@include media(desktop) {
|
|
position: relative;
|
|
top: 32px;
|
|
left: -30px;
|
|
width: 100%;
|
|
margin-right: -30px;
|
|
padding-top: 7px;
|
|
box-sizing: content-box;
|
|
|
|
&:active {
|
|
top: 32px;
|
|
}
|
|
}
|
|
}
|