2023-12-23 22:26:30 -08:00
|
|
|
libraries-collections-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-25 13:51:53 +08:00
|
|
|
|
|
|
|
&[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-12-23 22:26:30 -08:00
|
|
|
|
|
|
|
.body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-01-12 20:31:54 -06:00
|
|
|
margin-inline-start: 12px;
|
2023-12-23 22:26:30 -08:00
|
|
|
|
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 4px;
|
|
|
|
margin-inline-start: calc(16px * var(--level, 0));
|
|
|
|
|
|
|
|
@include comfortable {
|
|
|
|
padding-block: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.context {
|
|
|
|
color: var(--fill-secondary);
|
|
|
|
|
|
|
|
.box .icon {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box {
|
|
|
|
@include clicky-item;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
&.current {
|
2024-01-12 16:45:01 -06:00
|
|
|
font-weight: 600;
|
2023-12-23 22:26:30 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarbutton {
|
|
|
|
margin-inline-start: auto;
|
2023-12-25 13:51:53 +08:00
|
|
|
border-radius: 2px;
|
2024-06-05 23:13:26 -05:00
|
|
|
& > image {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2023-12-23 22:26:30 -08:00
|
|
|
}
|
|
|
|
|
2024-06-05 23:13:26 -05:00
|
|
|
&:is(:hover, :focus-within) toolbarbutton > image {
|
2023-12-23 22:26:30 -08:00
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-25 13:51:53 +08:00
|
|
|
|
2024-02-01 21:08:03 +08:00
|
|
|
&[readonly] {
|
2023-12-25 13:51:53 +08:00
|
|
|
.add {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-12-23 22:26:30 -08:00
|
|
|
}
|