all settings sync

This commit is contained in:
2026-06-10 01:17:13 +09:30
parent c9672b4d85
commit 9166bebef7
13 changed files with 1672 additions and 181 deletions
+55 -16
View File
@@ -33,6 +33,7 @@
--bsplus-analytics-shadow-hover: 0 8px 24px 8px rgba(0, 0, 0, 0.16);
/* Set on host via ui.ts from --better-main / user selectedColor */
--bsplus-analytics-accent: var(--better-main, #007bff);
--bsplus-analytics-chart-height: 300px;
width: 100%;
max-width: none;
@@ -342,13 +343,12 @@
backdrop-filter: var(--bsplus-theme-card-blur, none);
overflow: visible;
position: relative;
z-index: 40;
isolation: isolate;
z-index: 3;
}
.bsplus-analytics-toolbar-dropdown-field {
position: relative;
z-index: 2;
z-index: 4;
}
.bsplus-analytics-field {
@@ -541,7 +541,7 @@
position: absolute;
left: 0;
top: calc(100% + 0.35rem);
z-index: 100;
z-index: 5;
min-width: 14rem;
max-height: 12rem;
overflow-y: auto;
@@ -601,11 +601,19 @@
width: 100%;
position: relative;
z-index: 1;
align-items: stretch;
}
/* Fade-in animation must not paint above the filter toolbar / dropdown */
.bsplus-analytics-charts .bsplus-analytics-animate {
.bsplus-analytics-charts > .bsplus-analytics-animate {
z-index: 1;
display: flex;
min-width: 0;
}
.bsplus-analytics-charts > .bsplus-analytics-animate > .bsplus-analytics-card {
flex: 1;
width: 100%;
}
@media (min-width: 960px) {
@@ -613,11 +621,18 @@
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}
.bsplus-analytics-charts .bsplus-analytics-card-header {
min-height: 5.75rem;
box-sizing: border-box;
align-items: flex-end;
}
}
.bsplus-analytics-card {
display: flex;
flex-direction: column;
height: 100%;
border-radius: var(
--bsplus-theme-card-radius,
var(--bsplus-analytics-radius)
@@ -669,6 +684,12 @@
min-width: 9.5rem;
}
.bsplus-analytics-card-control-spacer {
visibility: hidden;
pointer-events: none;
min-height: 2.5rem;
}
.bsplus-analytics-select-compact {
min-width: 9.5rem;
min-height: 2.5rem;
@@ -678,7 +699,7 @@
}
.bsplus-analytics-scale-hint {
margin: 0.65rem 0 0;
margin: 0;
font-size: 0.75rem;
line-height: 1.4;
color: var(--bsplus-analytics-muted);
@@ -705,15 +726,35 @@
.bsplus-analytics-card-body {
padding: 1rem 1.15rem;
flex: 1;
display: flex;
flex-direction: column;
background: var(--bsplus-analytics-surface);
}
.bsplus-analytics-charts .bsplus-analytics-card-body {
justify-content: center;
}
.bsplus-analytics-card-footer {
padding: 0.85rem 1.25rem 1.1rem;
border-top: 1px solid var(--bsplus-analytics-border);
font-size: 0.8125rem;
color: var(--bsplus-analytics-muted);
line-height: 1.5;
margin-top: auto;
}
.bsplus-analytics-charts .bsplus-analytics-card-footer {
min-height: 4.25rem;
box-sizing: border-box;
}
.bsplus-analytics-card-footer p {
margin: 0;
}
.bsplus-analytics-card-footer p + p {
margin-top: 0.35rem;
}
.bsplus-analytics-card-empty {
@@ -721,10 +762,12 @@
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 220px;
min-height: var(--bsplus-analytics-chart-height, 300px);
height: var(--bsplus-analytics-chart-height, 300px);
text-align: center;
gap: 0.35rem;
color: var(--bsplus-analytics-muted);
flex-shrink: 0;
}
.bsplus-analytics-card-empty strong {
@@ -741,16 +784,12 @@
color: var(--bsplus-analytics-muted);
}
.bsplus-analytics-root .bsplus-chart-surface {
height: 280px;
min-height: 280px;
max-height: 280px;
}
.bsplus-analytics-root .bsplus-chart-surface,
.bsplus-analytics-root .bsplus-chart-surface-bar {
height: 320px;
min-height: 320px;
max-height: 320px;
height: var(--bsplus-analytics-chart-height);
min-height: var(--bsplus-analytics-chart-height);
max-height: var(--bsplus-analytics-chart-height);
flex-shrink: 0;
}
/* Bar chart: show axis spines and tick marks (area chart hides these) */