Files
notifications-admin/app/assets/stylesheets/components/conditional-radios.scss
Katie Smith ee9a396de1 Stop using -govuk-spacing(n) in SASS
Using `-govuk-spacing(n)` in the SASS files was not working, so this
replaces it with `-1 * govuk-spacing(n)` instead.
2020-03-06 11:23:24 +00:00

28 lines
504 B
SCSS

$border-thickness: 4px;
$top-spacing: govuk-spacing(5);
.multiple-choice {
z-index: 10;
.block-label {
&:before {
box-shadow: 0 5px 0 0 $white;
}
}
}
.conditional-radios {
&-panel {
border-left: $border-thickness solid $border-colour;
margin: 0 0 (-1 * govuk-spacing(3)) (govuk-spacing(3) + ($border-thickness / 2));
padding: govuk-spacing(3) 0 0 (govuk-spacing(6) - ($border-thickness / 2));
position: relative;
top: -$top-spacing;
z-index: 1;
}
}