Refactor financial chart implementation

This commit is contained in:
R524809
2026-08-28 16:32:10 +08:00
parent 5ecc554aaa
commit 7aab3d7134
73 changed files with 2340 additions and 594 deletions
+15 -21
View File
@@ -24,25 +24,9 @@ button {
cursor: pointer;
}
.app-header {
min-height: 76px;
padding: 16px 28px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
background: var(--surface);
border-bottom: 1px solid var(--line);
}
.app-brand h1,
.app-brand p,
.card-title,
.sidebar-title { margin: 0; }
.app-brand h1 { font-size: 21px; font-weight: 600; }
.app-brand p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.reload-button,
.export-button {
padding: 7px 13px;
@@ -53,12 +37,24 @@ button {
}
.reload-button {
position: fixed;
top: 16px;
right: 18px;
z-index: 10;
width: 36px;
height: 36px;
padding: 0;
display: grid;
place-items: center;
color: #fff;
background: var(--accent);
border-color: var(--accent);
border-radius: 50%;
font-size: 22px;
line-height: 1;
}
.reload-button:hover { opacity: .88; }
.reload-button:hover { opacity: .88; transform: rotate(-45deg); }
.export-button:hover { color: var(--accent); border-color: var(--accent); }
.app-layout {
@@ -67,7 +63,7 @@ button {
gap: 24px;
max-width: 1600px;
margin: 0 auto;
padding: 28px 24px 64px;
padding: 20px 24px 64px;
}
.sidebar {
@@ -201,9 +197,7 @@ button {
.chart-sidebar { display: none; }
}
@media (max-width: 720px) {
.app-header { padding: 14px 16px; }
.app-brand p { display: none; }
@media (max-width: 880px) {
.app-layout { display: block; padding: 16px 12px 40px; }
.sidebar { position: static; margin-bottom: 12px; }
.company-sidebar { padding: 7px; }