2018-05-09 01:08:30 +00:00
|
|
|
.accordion {
|
|
|
|
.accordion-head,
|
|
|
|
.accordion-body {
|
|
|
|
border: 1px solid $grey-blue;
|
|
|
|
border-bottom: none;
|
|
|
|
padding: 0.75em 1.5em;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: $radius;
|
|
|
|
border-top-right-radius: $radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 1px solid $grey-blue;
|
|
|
|
border-bottom-left-radius: $radius;
|
|
|
|
border-bottom-right-radius: $radius;
|
|
|
|
}
|
2020-07-28 04:28:37 +00:00
|
|
|
|
|
|
|
&.is-full-bleed {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2018-05-09 01:08:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-head {
|
|
|
|
display: flex;
|
|
|
|
background: $white-ter;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
&.is-light {
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-head-content {
|
|
|
|
width: 100%;
|
2018-07-12 19:06:42 +00:00
|
|
|
margin-right: 1.5em;
|
2018-05-09 01:08:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.accordion-toggle {
|
|
|
|
flex-basis: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|