mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-05 05:50:41 -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`.
33 lines
553 B
SCSS
33 lines
553 B
SCSS
.get-started-list {
|
|
|
|
counter-reset: get-started-counter;
|
|
|
|
&__item {
|
|
|
|
counter-increment: get-started-counter;
|
|
padding: 0 0 0 govuk-spacing(6) + 5px;
|
|
margin: govuk-spacing(8) 0 0 0;
|
|
position: relative;
|
|
|
|
&:before {
|
|
@include bold-24;
|
|
content: counter(get-started-counter) ".";
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 0;
|
|
}
|
|
|
|
summary[aria-expanded=false] {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
}
|
|
|
|
&__heading {
|
|
@include bold-24;
|
|
display: inline-block;
|
|
margin: 5px 0 govuk-spacing(3) 0;
|
|
}
|
|
|
|
}
|