Release v2.17.4: add API region sorting and indexed placeholders
This commit is contained in:
1 parent
bc8075379a
commit
46636939de
18 files changed
+709
-232
No files matched your search
@@ -3716,47 +3716,81 @@ html[data-bs-theme='dark'] .template-field-card .tox .tox-collection {
|
||||
|
||||
.api-region-placeholder-section {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
padding-top: 0.25rem;
|
||||
padding-bottom: 0.5rem;
|
||||
gap: 0.4rem;
|
||||
padding-top: 0.125rem;
|
||||
padding-bottom: 0.25rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.api-region-placeholder-title {
|
||||
color: var(--bs-primary);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bs-secondary-color);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.api-region-placeholder-title-help {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 800;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.api-region-sample-accordion {
|
||||
padding: 0.85rem 1rem 1rem;
|
||||
margin-bottom: 0.75rem;
|
||||
.api-region-placeholder-section .chip {
|
||||
padding: 0.2rem 0.45rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.85rem;
|
||||
background: var(--bs-secondary-bg);
|
||||
border-radius: 0.3rem;
|
||||
background: transparent;
|
||||
color: var(--bs-secondary-color);
|
||||
font-family: var(--bs-font-monospace);
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.api-region-sample-accordion > summary {
|
||||
.api-region-placeholder-section .chip:hover {
|
||||
border-color: var(--bs-secondary-color);
|
||||
background: var(--bs-tertiary-bg);
|
||||
}
|
||||
|
||||
.api-region-placeholder-section .chip:focus-visible {
|
||||
outline: 2px solid var(--bs-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.api-region-sample-accordion {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.api-region-sample-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.api-region-sample-toggle {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
box-sizing: border-box;
|
||||
height: 2.5rem;
|
||||
padding: 0.375rem 0.75rem;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
color: var(--bs-primary);
|
||||
font-size: 0.8rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.api-region-sample-accordion > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
.api-region-sample-toggle:focus-visible {
|
||||
outline: 2px solid var(--bs-primary);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.api-region-sample-chevron {
|
||||
transition: transform 120ms ease;
|
||||
}
|
||||
|
||||
.api-region-sample-accordion.is-open .api-region-sample-chevron {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.api-region-sample-body {
|
||||
@@ -3765,19 +3799,21 @@ html[data-bs-theme='dark'] .template-field-card .tox .tox-collection {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.api-region-sample-body[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.api-region-sample-meta {
|
||||
color: var(--bs-secondary-color);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.api-region-sample-preview {
|
||||
max-height: 12rem;
|
||||
overflow: auto;
|
||||
margin: 0;
|
||||
padding: 0.75rem;
|
||||
border-radius: 0.65rem;
|
||||
background: var(--bs-body-bg);
|
||||
border: 1px solid var(--bs-border-color-translucent);
|
||||
border: 0;
|
||||
border-radius: 0.375rem;
|
||||
background: var(--bs-secondary-bg);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
font-size: 0.78rem;
|
||||
|
||||
Reference in new issue
Block a user