Merge pull request #277 from Safelite/BRM-fix-horiz-list-button

Fix list-button-horizontal
This commit is contained in:
bmauger 2023-04-28 09:07:31 -04:00 committed by GitHub
commit fa18b3865f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,65 +158,67 @@ export default {
} }
} }
.col, .windshield-chip-count-question {
.list-group { .col,
border-radius: 0; .list-group {
border-radius: 0;
&:first-of-type { &:first-of-type {
.list-button-horizontal { .list-button-horizontal {
border-bottom-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem;
border-top-left-radius: 0.5rem; border-top-left-radius: 0.5rem;
.list-button-horizontal-content { .list-button-horizontal-content {
border-bottom-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem;
border-top-left-radius: 0.5rem; border-top-left-radius: 0.5rem;
} }
} }
} }
&:last-of-type { &:last-of-type {
.list-button-horizontal { .list-button-horizontal {
border-bottom-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem;
border-top-right-radius: 0.5rem; border-top-right-radius: 0.5rem;
.list-button-horizontal-content { .list-button-horizontal-content {
border-bottom-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem;
border-top-right-radius: 0.5rem; border-top-right-radius: 0.5rem;
} }
} }
} }
//Cash/insurance styling //Cash/insurance styling
&:first-of-type { &:first-of-type {
.list-button-horizontal.strong { .list-button-horizontal.strong {
input[type="radio"] { input[type="radio"] {
&:checked + .list-button-horizontal-content { &:checked + .list-button-horizontal-content {
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
} }
&:checked:focus + .list-button-horizontal-content { &:checked:focus + .list-button-horizontal-content {
border-bottom-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem;
border-top-right-radius: 0.5rem; border-top-right-radius: 0.5rem;
} }
} }
} }
} }
&:last-of-type { &:last-of-type {
.list-button-horizontal.strong { .list-button-horizontal.strong {
input[type="radio"] { input[type="radio"] {
&:checked + .list-button-horizontal-content { &:checked + .list-button-horizontal-content {
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
border-top-left-radius: 0; border-top-left-radius: 0;
} }
&:checked:focus + .list-button-horizontal-content { &:checked:focus + .list-button-horizontal-content {
border-bottom-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem;
border-top-left-radius: 0.5rem; border-top-left-radius: 0.5rem;
} }
} }
} }
} }
}
} }
</style> </style>