| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542 |
- :root {
- font-family: "PingFang SC", "Microsoft YaHei", Inter, sans-serif;
- --surface-muted: #f8fafc;
- --text-primary: #0f172a;
- --accent: #2563eb;
- }
- body {
- margin: 0;
- background: #f1f5f9;
- }
- .page {
- position: relative;
- max-width: 1320px;
- margin: 0 auto;
- padding: 28px 22px 40px;
- }
- .page::before,
- .page::after {
- content: "";
- position: absolute;
- border-radius: 999px;
- filter: blur(48px);
- z-index: 0;
- opacity: 0.35;
- pointer-events: none;
- }
- .page::before {
- width: 280px;
- height: 280px;
- right: 4%;
- top: -40px;
- background: #93c5fd;
- }
- .page::after {
- width: 200px;
- height: 200px;
- left: -2%;
- top: 180px;
- background: #7dd3fc;
- }
- .hero,
- .dashboard-shell,
- .panel-sheet {
- position: relative;
- z-index: 1;
- }
- .hero {
- margin-bottom: 8px;
- }
- .hero-title {
- margin-bottom: 6px !important;
- background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #0ea5e9 100%);
- -webkit-background-clip: text;
- background-clip: text;
- color: transparent !important;
- }
- .hero-subtitle {
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
- margin-top: 4px;
- }
- /* 外层白盒:圆角+阴影只在这一层,彻底规避 Ant Tabs 主题自带的边框线 */
- .dashboard-shell {
- margin-top: 10px;
- border-radius: 14px;
- overflow: hidden;
- border: none !important;
- outline: none !important;
- background: #ffffff;
- box-shadow:
- 0 22px 56px rgba(15, 23, 42, 0.048),
- 0 8px 22px rgba(15, 23, 42, 0.036);
- }
- .dashboard-shell .ant-tabs.main-tabs {
- border: none !important;
- outline: none !important;
- }
- .dashboard-shell .main-tabs.demand-nav-tabs.ant-tabs-top {
- border: none !important;
- outline: none !important;
- box-shadow: none !important;
- border-radius: 0 !important;
- background: transparent !important;
- }
- .dashboard-shell .ant-tabs-nav,
- .dashboard-shell .ant-tabs-content-holder,
- .dashboard-shell .ant-tabs-content {
- border: none !important;
- }
- .dashboard-shell .ant-tabs-content-holder {
- border-top: none !important;
- }
- .main-tabs {
- margin-top: 0;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-content-holder {
- padding-top: 0;
- background: #ffffff;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-content {
- padding: 0 !important;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tabpane {
- padding: 0 !important;
- }
- /* 顶部导航:嵌在外壳内的顶栏 + 渐变指示条 */
- .main-tabs.demand-nav-tabs .ant-tabs-nav {
- margin: 0 !important;
- padding: 4px 12px 0;
- width: 100%;
- box-sizing: border-box;
- background: linear-gradient(180deg, #fbfcff 0%, #f4f8fc 88%, #eef3f8 100%);
- border: none !important;
- border-radius: 0 !important;
- box-shadow: none !important;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-nav::before {
- border-bottom: none !important;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-nav-wrap {
- overflow: visible;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-nav-list {
- display: flex !important;
- width: auto;
- gap: 2px;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tab {
- flex: 0 0 auto !important;
- margin: 0 !important;
- padding: 18px 26px 14px !important;
- font-size: 17px !important;
- line-height: 1.3 !important;
- font-weight: 600 !important;
- letter-spacing: 0.02em;
- color: #64748b !important;
- border-radius: 12px 12px 0 0 !important;
- border: none !important;
- background: transparent !important;
- transition:
- color 0.2s ease,
- background 0.2s ease;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tab:hover:not(.ant-tabs-tab-active) {
- color: #2563eb !important;
- background: rgba(37, 99, 235, 0.07) !important;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tab.ant-tabs-tab-active {
- color: #1e3a8a !important;
- background: rgba(255, 255, 255, 0.65) !important;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
- color: inherit !important;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tab-btn {
- outline: none;
- text-shadow: none;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-ink-bar {
- height: 3px !important;
- border-radius: 3px !important;
- background: linear-gradient(90deg, #2563eb 0%, #38bdf8 52%, #0ea5e9 100%) !important;
- box-shadow: 0 -1px 8px rgba(37, 99, 235, 0.22);
- }
- @media (max-width: 600px) {
- .main-tabs.demand-nav-tabs .ant-tabs-nav {
- padding: 4px 8px 0;
- }
- .main-tabs.demand-nav-tabs .ant-tabs-tab {
- padding: 14px 14px 11px !important;
- font-size: 15px !important;
- }
- }
- /* 主内容:单层「纸片」,分区线分隔;放在 Tab 内时与外框连成一体 */
- .panel-sheet {
- margin-top: 2px;
- border-radius: 12px;
- border: none;
- background: #ffffff;
- box-shadow: none;
- overflow: hidden;
- }
- .main-tabs.demand-nav-tabs .panel-sheet {
- margin-top: 0 !important;
- border: none !important;
- border-radius: 0 !important;
- box-shadow: none !important;
- background: transparent !important;
- }
- .panel-section {
- padding: 20px 22px;
- }
- .panel-section--filters {
- background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
- border-bottom: none;
- }
- .panel-section--table {
- padding-bottom: 18px;
- }
- .panel-section-head {
- display: flex;
- align-items: center;
- gap: 10px;
- margin-bottom: 14px;
- }
- .panel-section-accent {
- width: 3px;
- height: 16px;
- border-radius: 2px;
- background: linear-gradient(180deg, #2563eb, #38bdf8);
- flex-shrink: 0;
- }
- .panel-section-title {
- margin: 0 !important;
- font-size: 15px !important;
- font-weight: 600 !important;
- color: var(--text-primary) !important;
- letter-spacing: 0.02em;
- }
- .panel-section-title--inline {
- margin: 0 !important;
- }
- .table-toolbar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-wrap: wrap;
- gap: 12px;
- margin-bottom: 14px;
- }
- .table-toolbar-meta {
- margin-left: auto;
- }
- .meta-chip {
- display: inline-flex;
- align-items: center;
- height: 26px;
- padding: 0 11px;
- border-radius: 6px;
- background: var(--surface-muted);
- color: #475569;
- font-size: 12px;
- font-weight: 500;
- border: none;
- }
- .filter-form {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .filter-row {
- display: flex;
- align-items: flex-end;
- gap: 12px;
- flex-wrap: wrap;
- }
- .filter-row.second-row {
- margin-top: 2px;
- }
- /* 阳历/阴历筛选:加宽数字框,不改 filter-row 的 gap */
- .element-demand-filter-row .ant-input-number {
- width: 220px;
- max-width: 100%;
- }
- .strategy-item {
- flex: 1;
- width: 100%;
- margin-bottom: 0 !important;
- }
- .strategy-select {
- width: 100% !important;
- min-width: 0;
- }
- .table-wrap {
- border: none;
- border-radius: 10px;
- overflow: hidden;
- }
- .panel-section--table .ant-table-wrapper .ant-table {
- border-radius: 0;
- }
- .panel-section--table .ant-table-wrapper .ant-table,
- .panel-section--table .ant-table-wrapper .ant-table-container {
- border: none !important;
- }
- .panel-section--table .ant-table-thead > tr > th {
- background: #f1f5f9 !important;
- color: #334155 !important;
- font-weight: 600 !important;
- border-bottom: none !important;
- }
- .panel-section--table .ant-table-thead > tr > th::before {
- display: none !important;
- }
- .panel-section--table .ant-table-cell {
- border-inline-end: none !important;
- }
- .panel-section--table .ant-table-tbody > tr > td {
- border-bottom: none !important;
- }
- .panel-section--table .ant-table-tbody > tr:last-child > td {
- border-bottom: none !important;
- }
- .panel-section--table .row-even td {
- background: #ffffff !important;
- }
- .panel-section--table .row-odd td {
- background: #fafbfc !important;
- }
- .panel-footer {
- margin-top: 18px;
- padding-top: 4px;
- border-top: none;
- display: flex;
- justify-content: flex-end;
- flex-wrap: wrap;
- gap: 12px;
- }
- .panel-footer .ant-pagination-item-active {
- border-color: var(--accent);
- }
- .panel-footer .ant-pagination-item-active a {
- color: var(--accent);
- }
- .hot-source-page .hot-source-hero {
- margin-bottom: 16px;
- }
- .hot-source-back {
- padding-left: 0;
- margin-bottom: 4px;
- }
- .hot-source-subtitle {
- margin-bottom: 0 !important;
- }
- .hot-source-card-shell,
- .hot-source-title-card {
- position: relative;
- z-index: 1;
- border: 1px solid #dbe3ef;
- border-radius: 22px;
- padding: 20px;
- background: #fff;
- box-shadow: 0 14px 36px rgba(21, 32, 51, 0.07);
- }
- .hot-source-alert {
- position: relative;
- z-index: 1;
- }
- .hot-source-title-header {
- margin-bottom: 14px;
- }
- .hot-source-title-text {
- margin: 0 0 8px !important;
- line-height: 1.35 !important;
- }
- .hot-source-title-meta {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- margin-bottom: 10px;
- }
- .hot-source-title-meta span {
- font-size: 12px;
- color: #667085;
- background: #f3f6fb;
- border-radius: 999px;
- padding: 4px 8px;
- }
- .hot-source-badges {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
- }
- .hot-source-stage {
- border-top: 1px solid #dbe3ef;
- padding-top: 14px;
- margin-top: 14px;
- }
- .hot-source-sync-meta {
- display: flex;
- flex-wrap: wrap;
- gap: 12px;
- font-size: 13px;
- color: #334155;
- margin-bottom: 12px;
- }
- .hot-source-sync-meta b {
- color: #2563eb;
- }
- .hot-source-record-subtitle {
- color: #667085;
- margin-bottom: 8px;
- }
- .hot-source-record-preview {
- padding: 10px 12px;
- border-radius: 12px;
- background: #fbfdff;
- border: 1px solid #dbe3ef;
- color: #334155;
- line-height: 1.6;
- }
- .hot-source-section-label {
- margin: 14px 0 8px !important;
- color: #667085 !important;
- font-size: 13px !important;
- }
- .hot-source-mini-metrics {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- font-size: 13px;
- }
- .hot-source-mini-metrics b {
- color: #2563eb;
- }
- .hot-source-mini-reason {
- margin-top: 8px;
- padding: 8px 10px;
- border-left: 3px solid #2563eb;
- background: #eaf1ff;
- color: #1e3a8a;
- font-size: 13px;
- line-height: 1.6;
- }
- .hot-source-stage-title {
- margin: 0 0 8px !important;
- }
- .hot-source-stage-hint {
- margin: 0 0 10px;
- color: #667085;
- font-size: 13px;
- }
- .hot-source-stage tr.hot-source-export-highlight > td.ant-table-cell {
- background: #fff4d6 !important;
- border-top: 1px solid #fbbf24 !important;
- border-bottom: 1px solid #fbbf24 !important;
- font-weight: 600;
- }
- .hot-source-stage tr.hot-source-export-highlight > td.ant-table-cell:first-child {
- box-shadow: inset 5px 0 0 #ea580c;
- }
- @media (max-width: 900px) {
- .strategy-select {
- width: 100%;
- min-width: 0;
- }
- .table-toolbar {
- flex-direction: column;
- align-items: flex-start;
- }
- .table-toolbar-meta {
- margin-left: 0;
- }
- }
|