This commit is contained in:
杜恒
2021-04-23 16:41:48 +08:00
parent ee09362c4f
commit 61db123164
16 changed files with 183 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1920,6 +1920,53 @@
transform-origin: left;
}
}
.joe_collapse {
&__item {
margin-bottom: 10px;
color: var(--routine);
border: 1px solid var(--classC);
&-head {
display: flex;
align-items: center;
background: var(--classD);
padding: 10px 12px;
padding-right: 8px;
cursor: pointer;
overflow: hidden;
user-select: none;
&--label {
padding-right: 8px;
}
&--icon {
flex-shrink: 0;
margin-left: auto;
fill: var(--minor);
transition: transform 0.3s ease;
}
}
&-wrapper {
max-height: 0;
overflow: hidden;
transition: max-height .3s ease;
&--content {
padding: 12px;
*:last-child {
margin-bottom: 0 !important;
}
}
}
&:last-child {
margin-bottom: 0;
}
&.active {
.joe_collapse__item-head--icon {
transform: rotate(-180deg);
}
}
}
}
.joe_detail {
background: var(--background);