style: widen TaurusX page and unify typography
This commit is contained in:
+34
-31
@@ -18,6 +18,9 @@
|
||||
--green-soft: #e7f5ef;
|
||||
--blue: #3569a8;
|
||||
--amber: #a9660a;
|
||||
--font-small: 12px;
|
||||
--font-body: 14px;
|
||||
--font-section: 18px;
|
||||
--shadow: 0 8px 24px rgba(28, 53, 43, .055);
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
@@ -26,7 +29,7 @@
|
||||
margin: 0;
|
||||
color: var(--ink);
|
||||
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
||||
font-size: 14px;
|
||||
font-size: var(--font-body);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
button, input, select { font: inherit; }
|
||||
@@ -35,14 +38,14 @@
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 188px;
|
||||
padding: 25px max(24px, calc((100vw - 1320px) / 2));
|
||||
padding: 25px max(32px, calc((100vw - 1680px) / 2));
|
||||
color: #f7fffb;
|
||||
background: linear-gradient(118deg, #153d32 0%, #0b6048 62%, #16795d 100%);
|
||||
}
|
||||
.hero::after {
|
||||
content: "TX";
|
||||
position: absolute;
|
||||
right: max(24px, calc((100vw - 1320px) / 2));
|
||||
right: max(32px, calc((100vw - 1680px) / 2));
|
||||
bottom: -45px;
|
||||
font: 800 168px/1 Inter, sans-serif;
|
||||
letter-spacing: -16px;
|
||||
@@ -51,20 +54,20 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
.hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
|
||||
.brand { color: #a8dbc8; font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
|
||||
.brand { color: #a8dbc8; font-size: var(--font-small); font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
|
||||
.nav-link {
|
||||
display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
|
||||
border: 1px solid rgba(255,255,255,.25); border-radius: 9px;
|
||||
color: #effbf6; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 700; text-decoration: none;
|
||||
color: #effbf6; background: rgba(255,255,255,.07); font-size: var(--font-small); font-weight: 700; text-decoration: none;
|
||||
}
|
||||
.nav-link:hover { background: rgba(255,255,255,.14); }
|
||||
.hero-body { position: relative; z-index: 1; margin-top: 22px; }
|
||||
h1 { margin: 0; font-size: clamp(29px, 3.5vw, 43px); letter-spacing: -.04em; line-height: 1.08; }
|
||||
.hero p { max-width: 680px; margin: 10px 0 0; color: #d2e8e0; line-height: 1.6; }
|
||||
.hero-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
|
||||
.meta-chip { padding: 5px 9px; border-radius: 7px; color: #cbe5dc; background: rgba(255,255,255,.08); font-size: 11px; }
|
||||
.page { max-width: 1320px; margin: 0 auto; padding: 20px 24px 28px; }
|
||||
.primary-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
|
||||
.meta-chip { padding: 5px 9px; border-radius: 7px; color: #cbe5dc; background: rgba(255,255,255,.08); font-size: var(--font-small); }
|
||||
.page { max-width: 1680px; margin: 0 auto; padding: 24px 32px 32px; }
|
||||
.primary-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
||||
.stat-card {
|
||||
position: relative;
|
||||
min-height: 116px;
|
||||
@@ -77,12 +80,12 @@
|
||||
.stat-card::before { content: ""; position: absolute; top: 18px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: #83baa5; }
|
||||
.stat-card.blue::before { background: #7fa6d5; }
|
||||
.stat-card.amber::before { background: #d5a45f; }
|
||||
.stat-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
|
||||
.stat-label { color: var(--muted); font-size: var(--font-small); font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
|
||||
.stat-value { margin-top: 9px; font-size: clamp(25px, 2.5vw, 32px); font-weight: 760; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
|
||||
.stat-sub { margin-top: 7px; color: var(--muted); font-size: 11px; }
|
||||
.stat-sub { margin-top: 7px; color: var(--muted); font-size: var(--font-small); }
|
||||
.efficiency {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(210px, .8fr) repeat(3, minmax(0, 1fr));
|
||||
grid-template-columns: minmax(260px, .8fr) repeat(3, minmax(0, 1fr));
|
||||
align-items: stretch;
|
||||
margin-top: 12px;
|
||||
border: 1px solid var(--line);
|
||||
@@ -92,50 +95,50 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
.efficiency-intro { padding: 16px 18px; background: linear-gradient(135deg, #eef7f3, #f8fbfa); }
|
||||
.efficiency-title { font-size: 13px; font-weight: 760; }
|
||||
.efficiency-note { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.45; }
|
||||
.efficiency-title { font-size: var(--font-body); font-weight: 760; }
|
||||
.efficiency-note { margin-top: 5px; color: var(--muted); font-size: var(--font-small); line-height: 1.45; }
|
||||
.eff-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-left: 1px solid var(--line); }
|
||||
.eff-label { color: var(--muted); font-size: 11px; font-weight: 700; }
|
||||
.eff-formula { margin-top: 4px; color: #9aa39f; font-size: 9px; white-space: nowrap; }
|
||||
.eff-label { color: var(--muted); font-size: var(--font-small); font-weight: 700; }
|
||||
.eff-formula { margin-top: 4px; color: #9aa39f; font-size: var(--font-small); white-space: nowrap; }
|
||||
.eff-value { color: var(--green-dark); font-size: 22px; font-weight: 760; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
|
||||
.panel { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
|
||||
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px 18px 0; }
|
||||
.panel h2 { margin: 0; font-size: 16px; letter-spacing: -.018em; }
|
||||
.panel-desc { margin-top: 4px; color: var(--muted); font-size: 11px; }
|
||||
.panel h2 { margin: 0; font-size: var(--font-section); letter-spacing: -.018em; }
|
||||
.panel-desc { margin-top: 4px; color: var(--muted); font-size: var(--font-small); }
|
||||
.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 18px 16px; }
|
||||
.search { flex: 1 1 280px; min-width: 220px; }
|
||||
.control { height: 38px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: #fff; color: var(--ink); font-size: 12px; }
|
||||
.search { flex: 1 1 360px; min-width: 280px; }
|
||||
.control { height: 38px; border: 1px solid var(--line-strong); border-radius: 9px; outline: none; background: #fff; color: var(--ink); font-size: var(--font-small); }
|
||||
input.control { width: 100%; padding: 0 12px; }
|
||||
select.control { min-width: 134px; padding: 0 30px 0 10px; }
|
||||
select.control { min-width: 148px; padding: 0 30px 0 12px; }
|
||||
.control:focus { border-color: #70a792; box-shadow: 0 0 0 3px rgba(12,116,84,.09); }
|
||||
.button { height: 38px; padding: 0 14px; border: 1px solid var(--green); border-radius: 9px; background: var(--green); color: #fff; font-size: 12px; font-weight: 720; }
|
||||
.button { height: 38px; padding: 0 14px; border: 1px solid var(--green); border-radius: 9px; background: var(--green); color: #fff; font-size: var(--font-small); font-weight: 720; }
|
||||
.button:hover { background: #0a6348; }
|
||||
.result-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); background: #fafcfb; font-size: 11px; }
|
||||
.result-meta { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); background: #fafcfb; font-size: var(--font-small); }
|
||||
.table-wrap { width: 100%; overflow: auto; border-top: 1px solid var(--line); }
|
||||
table { width: 100%; min-width: 1080px; border-collapse: collapse; }
|
||||
th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: #f5f8f6; color: #65716c; font-size: 10px; font-weight: 760; text-align: left; white-space: nowrap; letter-spacing: .02em; }
|
||||
table { width: 100%; min-width: 1280px; border-collapse: collapse; }
|
||||
th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; background: #f5f8f6; color: #65716c; font-size: var(--font-small); font-weight: 760; text-align: left; white-space: nowrap; letter-spacing: .02em; }
|
||||
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
|
||||
td { padding: 12px; border-top: 1px solid #edf1ef; vertical-align: middle; }
|
||||
tbody tr:nth-child(even) td { background: #fcfdfc; }
|
||||
tbody tr:hover td { background: #f5faf7; }
|
||||
.date-cell { color: #57645f; font-size: 11px; white-space: nowrap; }
|
||||
.campaign-cell { min-width: 310px; max-width: 390px; }
|
||||
.campaign-name { overflow: hidden; color: #25322d; font-size: 12px; font-weight: 670; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.campaign-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; color: #89938f; font-size: 9px; }
|
||||
.date-cell { color: #57645f; font-size: var(--font-small); white-space: nowrap; }
|
||||
.campaign-cell { min-width: 390px; max-width: 500px; }
|
||||
.campaign-name { overflow: hidden; color: #25322d; font-size: var(--font-small); font-weight: 670; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.campaign-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; color: #89938f; font-size: var(--font-small); }
|
||||
.campaign-id, .pkg { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
|
||||
.pkg { overflow-wrap: anywhere; }
|
||||
.country-pill { display: inline-block; min-width: 34px; padding: 4px 7px; border-radius: 7px; background: #edf2f7; color: #3c5265; font-size: 10px; font-weight: 760; text-align: center; }
|
||||
.country-pill { display: inline-block; min-width: 34px; padding: 4px 7px; border-radius: 7px; background: #edf2f7; color: #3c5265; font-size: var(--font-small); font-weight: 760; text-align: center; }
|
||||
.unit-col { color: var(--green-dark); font-weight: 650; }
|
||||
.zero { color: #b0b7b4; }
|
||||
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 18px 15px; border-top: 1px solid var(--line); }
|
||||
.page-button { min-width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); }
|
||||
.page-button:hover:not(:disabled) { border-color: #8eaaa0; background: #f5faf7; }
|
||||
.page-button:disabled { cursor: default; opacity: .4; }
|
||||
.page-label { color: var(--muted); font-size: 11px; }
|
||||
.page-label { color: var(--muted); font-size: var(--font-small); }
|
||||
.empty { padding: 48px 20px !important; color: var(--muted); text-align: center !important; }
|
||||
.loading { padding: 90px 24px; color: var(--muted); text-align: center; }
|
||||
.error { max-width: 700px; margin: 70px auto; padding: 22px; border: 1px solid #e4aaa6; border-radius: 13px; background: #fff4f2; color: #8c2c28; }
|
||||
footer { padding: 20px 0 5px; color: #929b97; font-size: 10px; text-align: center; }
|
||||
footer { padding: 20px 0 5px; color: #929b97; font-size: var(--font-small); text-align: center; }
|
||||
@media (max-width: 980px) {
|
||||
.primary-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.efficiency { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
|
||||
Reference in New Issue
Block a user