1
0
Fork 0

Redo borders around FAQ

master
Emil Miler 2 years ago
parent d96d185f1a
commit 36a98f9bb2

@ -755,24 +755,18 @@ body.noscroll {
transition: all .5s ease; transition: all .5s ease;
// Hide bottom border. // Hide bottom border.
// It is -2px to avoid float rounding errors margin-bottom: -1px;
// which cause the border to appear in some widths.
margin-bottom: -2px;
&:before,
&:last-child:after {
content: "";
position: absolute;
left: 10%;
width: 80%;
border-width: 1px 0 0 0; border-width: 1px 0 0 0;
border-style: solid; border-style: solid;
border-color: $col-secondary; border-color: rgba(200,200,200,0.1);
&:last-child {
border-width: 1px 0;
} }
&:before { top: 0 }
&:last-child:after { bottom: 0 }
&.active { &.active {
border-width: 0;
background-color: $col-accent; background-color: $col-accent;
z-index: 1; z-index: 1;
@ -968,14 +962,6 @@ footer {
} }
} }
.faq-list .faq {
&:before,
&:last-child:after {
width: 100%;
left: 0;
}
}
.checklist { .checklist {
justify-content: center; justify-content: center;
} }

Loading…
Cancel
Save