增加折叠
This commit is contained in:
@@ -1058,6 +1058,56 @@ pre {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.matrix-panel-head.matrix-panel-fold-toggle:not(.matrix-panel-head-row) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.matrix-panel-fold-toggle {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.matrix-panel-fold-toggle:focus-visible {
|
||||
outline: 1px solid rgba(0, 255, 213, 0.55);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.matrix-fold-head-right {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.matrix-fold-chevron {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
color: #5ee0c5;
|
||||
transition: transform 0.2s ease;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.matrix-panel-fold.is-folded .matrix-fold-chevron {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.matrix-panel-fold.is-folded .matrix-panel-fold-body {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.matrix-panel-fold.is-folded {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.matrix-panel-nested {
|
||||
padding: 12px 14px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.matrix-chip {
|
||||
font-size: 9px;
|
||||
letter-spacing: 0.18em;
|
||||
|
||||
Reference in New Issue
Block a user