Merge branch 'develop' into feature/CSR-270-refactor

This commit is contained in:
Max 2022-02-24 09:44:28 -05:00
commit b88c9184a0
3 changed files with 29 additions and 2 deletions

View file

@ -164,6 +164,9 @@ export default {
+ p { + p {
display: none; display: none;
} }
span {
font-size: .875rem;
}
} }
&:first-of-type { &:first-of-type {
label { label {

View file

@ -126,7 +126,7 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.list-group { .list-group {
&.list-button { &.list-button {
input[type="radio"], input[type="radio"],
@ -147,9 +147,14 @@ export default {
background: $blue-100; background: $blue-100;
box-shadow: 0 0 0 1px $blue; box-shadow: 0 0 0 1px $blue;
} }
&:checked + label p:first-child { &:checked + label p,
&:checked + label span {
font-weight: 500; font-weight: 500;
} }
&:checked + label span:nth-child(2) {
font-weight: 400;
color: $gray-600;
}
} }
} }
label { label {
@ -161,6 +166,13 @@ export default {
border: 1px solid $gray-500; border: 1px solid $gray-500;
width: 100%; width: 100%;
span {
&.small {
font-size: .75rem;
color: $gray-550;
}
}
&:hover { &:hover {
@include media-breakpoint-up(sm) { @include media-breakpoint-up(sm) {
box-shadow: 0 0 0 4px $blue-300; box-shadow: 0 0 0 4px $blue-300;

View file

@ -177,6 +177,7 @@ export default {
} }
.sub-copy { .sub-copy {
color: $gray-600; color: $gray-600;
font-weight: 400;
} }
} }
+ label::before { + label::before {
@ -247,6 +248,16 @@ export default {
margin: -0.25rem 0 0 0; margin: -0.25rem 0 0 0;
left: 0.875rem; left: 0.875rem;
} }
&:checked + label {
p {
color: $black;
font-weight: 500;
}
.sub-copy {
color: $gray-600;
font-weight: 400;
}
}
+ label { + label {
min-height: 48px; min-height: 48px;
color: $gray-600; color: $gray-600;
@ -254,6 +265,7 @@ export default {
margin-bottom: 0; margin-bottom: 0;
} }
p { p {
color: $gray-600;
text-align: left; text-align: left;
&.sub-copy { &.sub-copy {
color: $gray-550; color: $gray-550;