mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-14 02:09:44 -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`.
42 lines
704 B
SCSS
42 lines
704 B
SCSS
%show-more,
|
|
.show-more {
|
|
|
|
@include core-16;
|
|
display: block;
|
|
padding: 0 0;
|
|
margin: govuk-spacing(3) 0 govuk-spacing(3) 0;
|
|
text-align: center;
|
|
border-top: 1px solid $border-colour;
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
color: $text-colour;
|
|
box-shadow: 0 -10px 0 0 $yellow;
|
|
border-color: $yellow;
|
|
|
|
span {
|
|
background: $yellow;
|
|
outline: none;
|
|
border-color: $text-colour;
|
|
}
|
|
|
|
}
|
|
|
|
span {
|
|
position: relative;
|
|
top: -11px;
|
|
outline: 10px solid white;
|
|
background: $white;
|
|
display: inline-block;
|
|
border-bottom: 1px solid $light-blue;
|
|
}
|
|
|
|
}
|
|
|
|
.show-more-no-border {
|
|
@extend %show-more;
|
|
border-top: 1px solid transparent;
|
|
margin-top: -5px;
|
|
}
|