2019-11-04 13:09:44 +00:00
|
|
|
.expand {
|
|
|
|
position: relative;
|
2020-01-08 17:58:15 +00:00
|
|
|
margin: 1.5rem 0;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
@include box-shadow(1px, 1px, 3px, 0, rgba(0, 0, 0, 0.125));
|
2020-01-07 07:30:51 +00:00
|
|
|
|
|
|
|
&__content {
|
|
|
|
padding: 0 18px;
|
|
|
|
overflow: hidden;
|
|
|
|
max-height: 0;
|
2020-01-08 17:58:15 +00:00
|
|
|
border-bottom-left-radius: 0.25rem;
|
|
|
|
border-bottom-right-radius: 0.25rem;
|
2020-01-07 07:30:51 +00:00
|
|
|
|
|
|
|
@include transition(all, 0.2s, ease);
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed('toc-body-background-color');
|
|
|
|
}
|
2020-01-11 16:40:02 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
font-family: $title-font;
|
|
|
|
font-size: 15.2px;
|
|
|
|
margin: 0 0 0.525rem 2rem !important;
|
|
|
|
list-style-type: '📂 ';
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-size: 14.4px;
|
|
|
|
list-style-type: '📄 ';
|
|
|
|
margin: 0 0 0.25rem 1.25rem !important;
|
|
|
|
}
|
|
|
|
}
|
2020-01-07 07:30:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
2019-11-04 13:09:44 +00:00
|
|
|
cursor: pointer;
|
2020-01-07 07:30:51 +00:00
|
|
|
width: 100%;
|
|
|
|
margin: auto 0;
|
|
|
|
text-align: left;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0.125rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-family: $title-font;
|
2020-01-08 17:58:15 +00:00
|
|
|
border-top-left-radius: 0.25rem;
|
|
|
|
border-top-right-radius: 0.25rem;
|
2020-01-07 07:30:51 +00:00
|
|
|
|
2019-11-04 13:09:44 +00:00
|
|
|
@include flexbox();
|
|
|
|
@include align-items(center);
|
2020-01-07 07:30:51 +00:00
|
|
|
@include themify($themes) {
|
|
|
|
color: inherit;
|
|
|
|
background-color: themed('toc-header-background-color');
|
|
|
|
@include on-event {
|
|
|
|
background-color: themed('toc-header-background-color-hover');
|
|
|
|
}
|
|
|
|
}
|
2019-11-04 13:09:44 +00:00
|
|
|
}
|
|
|
|
|
2020-01-07 07:30:51 +00:00
|
|
|
&-label {
|
|
|
|
cursor: pointer;
|
|
|
|
@include flexbox();
|
|
|
|
@include align-items(center);
|
2019-11-04 13:09:44 +00:00
|
|
|
}
|
|
|
|
|
2020-01-07 07:30:51 +00:00
|
|
|
&-icon {
|
|
|
|
padding-top: 0.125rem;
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
|
|
|
|
&__down {
|
2019-11-04 13:09:44 +00:00
|
|
|
@include rotate(90);
|
2020-01-07 07:30:51 +00:00
|
|
|
@include transition(all, 0.15s, ease);
|
2019-11-04 13:09:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__right {
|
|
|
|
@include rotate(0);
|
2020-01-07 07:30:51 +00:00
|
|
|
@include transition(all, 0.15s, ease);
|
2019-11-04 13:09:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|