2023-08-06 21:29:26 -04:00
|
|
|
.panel {
|
2023-09-06 21:27:30 -04:00
|
|
|
@apply relative z-0;
|
2023-08-31 08:17:26 -04:00
|
|
|
@apply bg-chalkboard-10/70 backdrop-blur-sm;
|
2023-08-06 21:29:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
:global(.dark) .panel {
|
2023-08-31 08:17:26 -04:00
|
|
|
@apply bg-chalkboard-110/50 backdrop-blur-0;
|
2023-08-06 21:29:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
@apply sticky top-0 z-10 cursor-pointer;
|
2023-09-09 01:38:36 -04:00
|
|
|
@apply flex items-center justify-between gap-2 w-full p-2;
|
2023-08-06 21:29:26 -04:00
|
|
|
@apply font-mono text-xs font-bold select-none text-chalkboard-90;
|
|
|
|
@apply bg-chalkboard-20;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header:not(:last-of-type) {
|
|
|
|
@apply border-b;
|
|
|
|
}
|
|
|
|
|
|
|
|
:global(.dark) .header {
|
|
|
|
@apply bg-chalkboard-110 border-b-chalkboard-90 text-chalkboard-30;
|
|
|
|
}
|
|
|
|
|
|
|
|
:global(.dark) .header:not(:last-of-type) {
|
|
|
|
@apply border-b-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel:first-of-type .header {
|
|
|
|
@apply rounded-t;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel:last-of-type .header {
|
|
|
|
@apply rounded-b;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel[open] .header {
|
|
|
|
@apply rounded-t rounded-b-none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel[open] {
|
|
|
|
@apply flex-grow max-h-full h-48 my-1 rounded;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel[open] + .panel[open],
|
|
|
|
.panel[open]:first-of-type {
|
|
|
|
@apply mt-0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel[open]:last-of-type {
|
|
|
|
@apply mb-0;
|
|
|
|
}
|