| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478 |
- * {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
- background: #f3f6fb;
- color: #1f2937;
- }
- .app {
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- }
- .header {
- padding: 20px 28px;
- background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16px;
- }
- .header-brand {
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
- .header-title {
- font-size: 22px;
- font-weight: 600;
- }
- .header-subtitle {
- font-size: 13px;
- opacity: 0.8;
- }
- .header-meta {
- display: flex;
- gap: 12px;
- }
- .meta-card {
- background: rgba(255, 255, 255, 0.16);
- border: 1px solid rgba(255, 255, 255, 0.22);
- padding: 10px 14px;
- border-radius: 10px;
- min-width: 120px;
- }
- .meta-label {
- font-size: 12px;
- opacity: 0.7;
- }
- .meta-value {
- font-size: 14px;
- font-weight: 600;
- margin-top: 4px;
- }
- .nav {
- display: flex;
- gap: 12px;
- padding: 14px 28px;
- background: #ffffff;
- border-bottom: 1px solid #e5e7eb;
- }
- .nav-item {
- border: none;
- background: #f1f5f9;
- padding: 8px 18px;
- border-radius: 999px;
- cursor: pointer;
- font-weight: 500;
- transition: all 0.2s ease;
- }
- .nav-item.active {
- background: #2563eb;
- color: #fff;
- box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
- }
- .main {
- padding: 28px;
- }
- .tab {
- display: none;
- }
- .tab.active {
- display: block;
- }
- .section {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .section-title {
- font-size: 18px;
- font-weight: 600;
- }
- .grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
- gap: 16px;
- }
- .card {
- background: #ffffff;
- border-radius: 16px;
- padding: 18px;
- box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
- display: flex;
- flex-direction: column;
- gap: 12px;
- border: 1px solid #eef2f7;
- }
- .card-title {
- font-weight: 600;
- }
- .form {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .input,
- .textarea,
- select {
- width: 100%;
- padding: 10px 12px;
- border: 1px solid #e5e7eb;
- border-radius: 10px;
- font-size: 14px;
- background: #fff;
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
- }
- .input:focus,
- .textarea:focus,
- select:focus {
- outline: none;
- border-color: #93c5fd;
- box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.4);
- }
- .textarea {
- min-height: 120px;
- resize: vertical;
- }
- .form-actions {
- display: flex;
- gap: 12px;
- }
- .button {
- border: none;
- background: #2563eb;
- color: #fff;
- padding: 10px 18px;
- border-radius: 999px;
- cursor: pointer;
- font-weight: 500;
- transition: transform 0.2s ease, box-shadow 0.2s ease;
- }
- .button:hover {
- transform: translateY(-1px);
- box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
- }
- .button.loading {
- opacity: 0.7;
- pointer-events: none;
- }
- .button.loading::after {
- content: "";
- display: inline-block;
- width: 12px;
- height: 12px;
- margin-left: 8px;
- border-radius: 50%;
- border: 2px solid rgba(255, 255, 255, 0.6);
- border-top-color: #ffffff;
- animation: spin 0.8s linear infinite;
- }
- .button.secondary {
- background: #e5e7eb;
- color: #1f2937;
- }
- .button.ghost {
- background: transparent;
- color: #2563eb;
- border: 1px dashed #93c5fd;
- }
- .table-wrap {
- overflow-x: auto;
- }
- .table {
- width: 100%;
- border-collapse: collapse;
- font-size: 13px;
- }
- .table th,
- .table td {
- padding: 10px;
- border-bottom: 1px solid #e5e7eb;
- text-align: left;
- }
- .timeline {
- display: grid;
- gap: 8px;
- }
- .timeline-item {
- padding: 10px 12px;
- background: #f8fafc;
- border-radius: 10px;
- border: 1px solid #e2e8f0;
- }
- .upload-group {
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
- .upload-label {
- font-size: 13px;
- color: #6b7280;
- }
- .result-block {
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
- .result-title {
- font-weight: 500;
- }
- .status {
- font-size: 13px;
- color: #2563eb;
- background: #eff6ff;
- padding: 8px 12px;
- border-radius: 8px;
- border: 1px solid #bfdbfe;
- }
- .file-compare {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .file-list {
- display: flex;
- flex-direction: column;
- gap: 8px;
- max-height: 160px;
- overflow-y: auto;
- padding: 8px;
- border-radius: 12px;
- border: 1px dashed #e2e8f0;
- background: #f8fafc;
- }
- .file-group {
- display: flex;
- flex-direction: column;
- gap: 6px;
- padding: 6px;
- border-radius: 10px;
- background: #f8fafc;
- border: 1px dashed #e2e8f0;
- }
- .file-group-title {
- font-size: 12px;
- font-weight: 600;
- color: #1e3a8a;
- }
- .file-group-list {
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
- .file-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 8px 10px;
- border-radius: 10px;
- border: 1px solid #e2e8f0;
- background: #ffffff;
- font-size: 12px;
- }
- .file-item button,
- .file-item a {
- border: none;
- background: transparent;
- color: #2563eb;
- cursor: pointer;
- font-size: 12px;
- text-decoration: none;
- }
- .modal {
- position: fixed;
- inset: 0;
- display: none;
- z-index: 1000;
- }
- .modal.open {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .modal-backdrop {
- position: absolute;
- inset: 0;
- background: rgba(15, 23, 42, 0.55);
- }
- .modal-content {
- position: relative;
- width: min(1200px, 92vw);
- max-height: 90vh;
- background: #ffffff;
- border-radius: 16px;
- padding: 20px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
- z-index: 1;
- }
- .modal-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- }
- .modal-title {
- font-size: 18px;
- font-weight: 600;
- }
- .modal-body {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 16px;
- align-items: stretch;
- }
- .modal-preview {
- width: 100%;
- min-height: 60vh;
- border: 1px solid #e2e8f0;
- border-radius: 12px;
- background: #f8fafc;
- }
- .modal-result {
- display: flex;
- flex-direction: column;
- gap: 8px;
- height: 100%;
- }
- .modal-subtitle {
- font-size: 13px;
- font-weight: 600;
- color: #475569;
- }
- .modal-result .textarea {
- height: 100%;
- }
- .toast {
- position: fixed;
- bottom: 24px;
- right: 24px;
- background: #1f2937;
- color: #ffffff;
- padding: 10px 16px;
- border-radius: 12px;
- box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.2s ease;
- z-index: 1100;
- }
- .toast.show {
- opacity: 1;
- }
- @keyframes spin {
- to {
- transform: rotate(360deg);
- }
- }
- @media (max-width: 900px) {
- .modal-content {
- width: 96vw;
- padding: 16px;
- }
- .modal-body {
- grid-template-columns: 1fr;
- }
- .modal-preview {
- min-height: 45vh;
- }
- }
- .stepper {
- display: flex;
- gap: 8px;
- padding: 6px 0 12px;
- }
- .step {
- flex: 1;
- text-align: center;
- padding: 6px 8px;
- border-radius: 999px;
- background: #f1f5f9;
- font-size: 12px;
- color: #64748b;
- }
- .step.active {
- background: #dbeafe;
- color: #1d4ed8;
- font-weight: 600;
- }
- .step.done {
- background: #dcfce7;
- color: #166534;
- font-weight: 600;
- }
|