Files
betaxab 39c638e4ed fix: Unify static resource paths to solve reverse proxy issues.
fixes #142

Resource path:

- Admin: /secure
- Payment Cashier: /payment

Eliminate ambiguity:

*/static/ => */assets/
2026-01-25 17:53:31 +08:00

3 lines
8.9 KiB
CSS

*{margin:0;padding:0;box-sizing:border-box;}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;background:linear-gradient(135deg,#a8e6cf 0%,#dcedc1 50%,#ffd3b6 100%);background-attachment:fixed;min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:0 8px 6px 8px!important;}body::before{content:'';position:fixed;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at 20% 30%,rgba(168,230,207,0.3) 0%,transparent 50%),radial-gradient(circle at 80% 70%,rgba(220,237,193,0.3) 0%,transparent 50%);pointer-events:none;z-index:0;}.payment-container{background:rgba(255,255,255,0.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.4);box-shadow:0 4px 20px rgba(31,38,135,0.1);position:relative;z-index:1;max-width:628px!important;padding:14px!important;border-radius:12px!important;width:100%;text-align:center;margin-top:5vh!important;}.crypto-icon{background:linear-gradient(135deg,#26a17b,#38cf91);box-shadow:0 4px 12px rgba(38,161,123,0.2);width:44px!important;height:44px!important;margin:0 auto 7px!important;font-size:11px!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center;color:white;font-weight:bold;}.payment-title{font-size:18px!important;margin-bottom:4px!important;font-weight:600!important;color:#2d3748;}.payment-subtitle{font-size:12px!important;margin-bottom:9px!important;color:#718096;}.network-badge{padding:1px 6px!important;font-size:10px!important;display:inline-block;background:#48bb78;color:white;border-radius:12px;font-weight:600;margin-left:6px;}.status-indicator{width:8px!important;height:8px!important;background:#48bb78;border-radius:50%;display:inline-block;margin-right:6px;animation:pulse 2s infinite;}@keyframes pulse{0%{opacity:1;}50%{opacity:0.5;}100%{opacity:1;}}.amount-value{color:#e63946!important;font-size:17px!important;font-weight:700!important;cursor:pointer;transition:all 0.2s ease;display:inline-block;padding:2px 4px;border-radius:3px;position:relative;}.amount-value:hover{background:rgba(230,57,70,0.08);transform:translateX(1px);}.amount-value:active{transform:scale(0.98);}.order-info{background:rgba(247,250,252,0.6);border-left:2px solid #68a891;padding:7px 9px!important;margin-bottom:9px!important;border-radius:6px!important;}.order-item{font-size:12px;margin-bottom:5px!important;display:flex;justify-content:space-between;align-items:center;}.order-item:last-child{margin-bottom:0;}.order-label{color:#4a5568;font-weight:500;font-size:11px;}.order-value{color:#2d3748;font-weight:600;font-size:12px;}.fiat-amount{color:#a0aec0;font-size:10px;font-weight:400;font-style:italic;opacity:0.7;}.countdown-banner{background:linear-gradient(135deg,#ff6b6b,#ff8e8e);padding:9px!important;margin-bottom:9px!important;border-radius:6px!important;position:relative;overflow:hidden;}.countdown-banner::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);animation:shine 3s infinite;}@keyframes shine{0%{left:-100%;}100%{left:100%;}}.countdown-content{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;position:relative;z-index:1;color:white;}.countdown-info{flex:1!important;text-align:left;}.countdown-title{font-size:12px!important;margin-bottom:2px!important;font-weight:600!important;opacity:0.9;}.countdown-subtitle{font-size:10px!important;line-height:1.3!important;opacity:0.8;}.countdown-timer{gap:4px!important;display:flex;align-items:center;}.time-unit{padding:4px 7px!important;min-width:34px!important;border-radius:4px!important;text-align:center;background:rgba(255,255,255,0.2);backdrop-filter:blur(10px);}.time-number{font-size:14px!important;font-weight:700!important;display:block;line-height:1;}.time-label{font-size:8px!important;margin-top:0!important;opacity:0.8;}.time-separator{font-size:14px!important;font-weight:700;opacity:0.8;animation:blink 1s infinite;}@keyframes blink{0%,50%{opacity:0.8;}51%,100%{opacity:0.3;}}@keyframes urgentBlink{0%,50%{opacity:1;}51%,100%{opacity:0.7;}}.qr-section{background:white!important;padding:9px!important;margin-bottom:9px!important;border-radius:6px!important;box-shadow:0 1px 3px rgba(0,0,0,0.05)!important;}.qr-code{width:125px!important;height:125px!important;margin:0 auto 7px!important;border:1px solid #e2e8f0!important;border-radius:4px!important;overflow:hidden;display:flex;align-items:center;justify-content:center;}.qr-code canvas{max-width:100%;max-height:100%;width:auto!important;height:auto!important;}.address-section{background:#f7fafc!important;padding:7px!important;border-radius:4px!important;margin-top:7px!important;}.address-label{font-size:10px!important;margin-bottom:4px!important;color:#4a5568!important;}.address-text{background:white!important;border:1px solid #e2e8f0!important;padding:5px!important;font-size:9px!important;border-radius:3px!important;font-family:'Monaco','Menlo',monospace;word-break:break-all;}.copy-btn{padding:4px 7px!important;font-size:10px!important;margin-top:4px!important;border-radius:3px!important;background:#667eea;color:white;border:none;cursor:pointer;transition:all 0.3s ease;}.copy-btn:hover{background:#5a67d8;transform:translateY(-1px);}.instructions{background:#fff5cd!important;border:1px solid #f6e05e!important;padding:7px!important;margin-bottom:9px!important;border-radius:4px!important;text-align:left;}.instructions h4{font-size:11px!important;margin-bottom:4px!important;color:#744210!important;}.instructions ol{font-size:10px!important;padding-left:14px!important;margin:0!important;color:#744210!important;}.instructions li{margin-bottom:2px!important;line-height:1.4!important;}.footer-info{margin-top:9px!important;padding-top:7px!important;border-top:1px solid #e2e8f0!important;}.project-info{font-size:10px!important;text-align:center;color:#718096;}.powered-by{margin-right:4px;}.project-link{color:#667eea;text-decoration:none;font-weight:600;transition:color 0.3s ease;}.project-link:hover{color:#5a67d8;text-decoration:underline;}.open-source{margin-left:6px;font-size:11px;opacity:0.8;}.language-switcher{position:absolute;top:12px;right:12px;z-index:10;}.language-switcher select{background:rgba(255,255,255,0.9);border:1px solid rgba(38,161,123,0.3);border-radius:4px;padding:3px 8px;font-size:11px;color:#2d3748;cursor:pointer;outline:none;transition:all 0.2s ease;font-weight:500;}.language-switcher select:hover{border-color:#26a17b;background:rgba(255,255,255,1);box-shadow:0 1px 4px rgba(38,161,123,0.15);}.language-switcher select:focus{border-color:#26a17b;}@media (max-width:768px){body{padding:4px 6px!important;}.payment-container{padding:12px!important;}.amount-value{font-size:16px!important;}.language-switcher{top:10px;right:10px;}.language-switcher select{padding:3px 6px;font-size:10px;}.countdown-content{flex-direction:column;gap:10px;text-align:center;}.countdown-info{text-align:center;}.countdown-timer{gap:6px;}.time-unit{min-width:35px;padding:5px 8px;}.time-number{font-size:14px;}.time-separator{font-size:14px;}.countdown-title{font-size:13px;}.countdown-subtitle{font-size:11px;}.footer-info{margin-top:15px;padding-top:12px;}.project-info{font-size:11px;}.open-source{font-size:10px;}}@media (max-width:480px){.payment-container{padding:11px!important;}.amount-value{font-size:15px!important;}.order-item{flex-direction:column;align-items:flex-start;gap:3px;}.order-label{font-size:10px;}.order-value{font-size:11px;}.fiat-amount{font-size:9px;}.qr-code{width:115px!important;height:115px!important;}.countdown-content{flex-direction:column!important;gap:6px!important;}.countdown-info{text-align:center!important;}.crypto-icon{width:45px;height:45px;font-size:11px;}.payment-title{font-size:18px;}.address-text{font-size:9px;}}@media (max-height:900px){body{padding:4px 6px!important;}.payment-container{padding:12px!important;}.crypto-icon{width:42px!important;height:42px!important;margin-bottom:6px!important;}.qr-code{width:120px!important;height:120px!important;}.order-info,.countdown-banner,.qr-section{margin-bottom:12px;}.instructions{padding:10px;}}@media (max-height:700px){body{padding:3px 5px!important;}.payment-container{padding:11px!important;}.crypto-icon{width:38px!important;height:38px!important;margin-bottom:5px!important;}.payment-title{font-size:17px!important;margin-bottom:3px!important;}.payment-subtitle{font-size:11px!important;margin-bottom:7px!important;}.order-info{padding:6px 8px!important;margin-bottom:7px!important;}.countdown-banner{padding:7px!important;margin-bottom:7px!important;}.qr-section{padding:7px!important;margin-bottom:7px!important;}.qr-code{width:105px!important;height:105px!important;margin-bottom:5px!important;}.instructions{padding:6px!important;margin-bottom:7px!important;}.instructions h4{font-size:10px!important;margin-bottom:3px!important;}.instructions ol{font-size:9px!important;}.instructions li{margin-bottom:1px!important;}.footer-info{margin-top:7px!important;padding-top:6px!important;}}