fix: make special requests block togglable

This commit is contained in:
Christel Westerberg
2024-12-12 11:42:06 +01:00
parent 4872847ecb
commit a1a36e80d5
6 changed files with 166 additions and 74 deletions

View File

@@ -72,15 +72,15 @@
background-color: var(--UI-Input-Controls-Fill-Selected);
}
.accordion[data-open="true"] .circle[data-checked="false"] {
.accordion[data-section-open="true"] .circle[data-checked="false"] {
background-color: var(--UI-Text-Placeholder);
}
.accordion[data-open="false"] .circle[data-checked="false"] {
.accordion[data-section-open="false"] .circle[data-checked="false"] {
background-color: var(--Base-Surface-Subtle-Hover);
}
.accordion[data-open="true"] {
.accordion[data-section-open="true"] {
grid-template-rows: var(--header-height) 1fr;
}
@@ -97,11 +97,11 @@
transition: opacity 0.2s linear;
}
.accordion[data-open="true"] .content {
.accordion[data-section-open="true"] .content {
opacity: 1;
}
.content:has([data-open="true"]) {
.content:has([data-section-open="true"]) {
overflow: visible;
}