JezK
Edit File: admin.css
/* Founder Link Admin Styles - Simple Version */ .founder-link-container { max-width: 800px; margin: 20px 0; } .connection-status { margin-bottom: 20px; } .connection-status .notice { padding: 12px; margin: 0 0 20px 0; border-left: 4px solid #ddd; } .connection-status .notice-success { border-left-color: #46b450; background-color: #f0f8f0; } .connection-status .notice-error { border-left-color: #dc3232; background-color: #fdf0f0; } .connection-status .notice-warning { border-left-color: #ffb900; background-color: #fff8e5; } .form-actions { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ddd; } .form-actions .button { margin-right: 10px; } .founder-link-info { margin-top: 30px; padding: 20px; background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; } .founder-link-info h3 { margin-top: 0; color: #333; } .founder-link-info ul { list-style-type: none; padding: 0; } .founder-link-info li { padding: 8px 0; border-bottom: 1px solid #eee; } .founder-link-info li:last-child { border-bottom: none; } .founder-link-info li:before { content: "✓"; color: #46b450; font-weight: bold; margin-right: 10px; } .regular-text { width: 100%; max-width: 400px; } .form-table th { width: 150px; vertical-align: top; padding-top: 15px; } .form-table td { padding: 10px; } .form-table .description { margin-top: 5px; font-style: italic; color: #666; } /* Order sync section */ .founder-link-order-section { background: #f9f9f9; padding: 15px; margin: 15px 0; border: 1px solid #ddd; border-radius: 4px; } .founder-link-order-section h3 { margin-top: 0; color: #333; } .sync-status.success { color: #46b450; font-weight: bold; } .sync-status.failed { color: #dc3232; font-weight: bold; } .sync-status.pending { color: #ffb900; font-weight: bold; } /* Orders list column */ .column-founder_link_sync { width: 120px; text-align: center; } .repush-order-list { font-size: 11px; padding: 2px 8px; height: auto; line-height: 1.4; } /* Loading state */ .button:disabled { opacity: 0.6; cursor: not-allowed; } /* Mobile responsive */ @media screen and (max-width: 768px) { .founder-link-container { margin: 10px 0; } .regular-text { max-width: 100%; } .form-actions .button { display: block; margin-bottom: 10px; width: 100%; } .column-founder_link_sync { width: auto; } } /* FounderHQ All Orders Page Styles */ .founderhq-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 20px 0; } .stat-card { background: white; border: 1px solid #ddd; border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .stat-card.success { border-left: 4px solid #28a745; } .stat-card.failed { border-left: 4px solid #dc3545; } .stat-card.pending { border-left: 4px solid #ffc107; } .stat-card .stat-number { font-size: 28px; font-weight: bold; color: #333; margin-bottom: 5px; } .stat-card.success .stat-number { color: #28a745; } .stat-card.failed .stat-number { color: #dc3545; } .stat-card.pending .stat-number { color: #e67e22; } .stat-card .stat-label { font-size: 12px; color: #666; text-transform: uppercase; letter-spacing: 1px; } /* Filters */ .founderhq-filters { background: white; border: 1px solid #ddd; border-radius: 8px; padding: 15px; margin: 20px 0; } .founderhq-filters select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } /* Orders Table */ .founderhq-orders-table { background: white; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; margin: 20px 0; } .founderhq-orders-table table { margin: 0; border: none; } .founderhq-orders-table th { background: #f8f9fa; padding: 15px 10px; font-weight: 600; text-align: left; border-bottom: 2px solid #dee2e6; } .founderhq-orders-table td { padding: 12px 10px; border-bottom: 1px solid #eee; } .founderhq-orders-table tr:hover { background-color: #f8f9fa; } /* Column specific styles */ .column-log-id { width: 60px; text-align: center; } .column-wc-order { width: 100px; } .column-hq-order { width: 100px; } .column-wc-status { width: 100px; } .column-status { width: 80px; } .column-actions { width: 100px; } /* WC Order Link */ .wc-order-link { display: inline-block; background: #007cba; color: white !important; padding: 4px 8px; border-radius: 4px; text-decoration: none; font-weight: bold; font-size: 12px; } .wc-order-link:hover { background: #005a87; color: white !important; } /* HQ Order ID */ .hq-order-id { display: inline-block; background: #ff9500; color: white; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-size: 12px; } .no-hq-id { color: #999; font-style: italic; } /* WC Status */ .wc-status { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; text-transform: uppercase; } .status-processing { background: #e1f5fe; color: #0277bd; } .status-completed { background: #e8f5e8; color: #2e7d32; } .status-pending { background: #fff3e0; color: #f57c00; } .status-cancelled { background: #ffebee; color: #c62828; } .status-refunded { background: #f3e5f5; color: #7b1fa2; } .status-failed { background: #ffebee; color: #c62828; } .status-on-hold { background: #fff8e1; color: #f9a825; } /* Sync Status Badge */ .sync-status-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; text-transform: uppercase; } .sync-status-badge.pushed { background: #28a745; color: white; } .sync-status-badge.failed { background: #dc3545; color: white; } .sync-status-badge.pending { background: #ffc107; color: #212529; } /* Description */ .description-text { font-size: 13px; color: #666; } /* Action Buttons */ .repush-order-action { background: #007cba; border-color: #005a87; color: white; font-size: 11px; padding: 4px 8px; border-radius: 4px; } .repush-order-action:hover { background: #005a87; border-color: #004c75; color: white; } .repush-order-action:disabled { background: #ccc; border-color: #ccc; opacity: 0.6; } /* Pagination */ .founderhq-pagination { display: flex; justify-content: space-between; align-items: center; margin: 20px 0; padding: 15px; background: white; border: 1px solid #ddd; border-radius: 8px; } .founderhq-pagination .page-numbers { display: inline-block; padding: 8px 12px; margin: 0 2px; text-decoration: none; border: 1px solid #ddd; border-radius: 4px; color: #007cba; } .founderhq-pagination .page-numbers:hover, .founderhq-pagination .page-numbers.current { background: #007cba; color: white; border-color: #005a87; } .pagination-info { font-size: 14px; color: #666; } /* No orders message */ .no-orders { text-align: center; padding: 40px; color: #999; font-style: italic; } /* Mobile responsive for orders table */ @media screen and (max-width: 768px) { .founderhq-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .founderhq-orders-table { overflow-x: auto; } .founderhq-orders-table table { min-width: 800px; } .founderhq-pagination { flex-direction: column; gap: 10px; } }