/** * TigerStyle Whiskers Admin Styles * * Beautiful admin interfaces with feline elegance and TigerStyle flair! */ /* Global Admin Styles */ .whiskers-admin { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } .whiskers-admin * { box-sizing: border-box; } /* Header Styles */ .whiskers-header { background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%); color: white; padding: 30px; border-radius: 15px; margin-bottom: 30px; box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3); position: relative; overflow: hidden; } .whiskers-header::before { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 50%; transform: rotate(45deg); } .whiskers-title { font-size: 32px; margin: 0; display: flex; align-items: center; gap: 15px; position: relative; z-index: 2; } .whiskers-icon { font-size: 40px; animation: whiskerTwitch 3s ease-in-out infinite; } @keyframes whiskerTwitch { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } } .whiskers-subtitle { font-size: 18px; opacity: 0.9; font-weight: normal; } .whiskers-description { margin: 15px 0 0 0; font-size: 16px; opacity: 0.9; position: relative; z-index: 2; } /* Card Components */ .whiskers-card { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border: 1px solid #f0f0f0; } .whiskers-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); } .whiskers-card.gradient-border { border: 2px solid transparent; background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #6c5ce7, #a29bfe) border-box; } /* Button Styles */ .whiskers-btn { background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%); color: white; border: none; padding: 12px 24px; border-radius: 25px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } .whiskers-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3); color: white; text-decoration: none; } .whiskers-btn:active { transform: translateY(0); } .whiskers-btn.secondary { background: white; color: #6c5ce7; border: 2px solid #6c5ce7; } .whiskers-btn.secondary:hover { background: #6c5ce7; color: white; } /* Status Indicators */ .status-indicator { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; } .status-indicator.active { background: #e8f5e8; color: #2e7d32; } .status-indicator.inactive { background: #fff3e0; color: #ef6c00; } .status-indicator.pending { background: #fff3e0; color: #ef6c00; } .status-indicator.error { background: #ffebee; color: #c62828; } /* Grid Layouts */ .whiskers-grid { display: grid; gap: 20px; } .whiskers-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .whiskers-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .whiskers-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } /* Typography */ .whiskers-admin h1, .whiskers-admin h2, .whiskers-admin h3, .whiskers-admin h4 { color: #333; font-weight: 600; } .whiskers-admin p { color: #666; line-height: 1.6; } /* Loading States */ .whiskers-loading { display: flex; align-items: center; justify-content: center; padding: 40px; color: #666; } .whiskers-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #f3f3f3; border-top: 2px solid #6c5ce7; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 10px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Form Elements */ .whiskers-form-group { margin-bottom: 20px; } .whiskers-label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; } .whiskers-input { width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; transition: border-color 0.3s ease; } .whiskers-input:focus { outline: none; border-color: #6c5ce7; box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1); } .whiskers-select { width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; background: white; cursor: pointer; } .whiskers-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; } .whiskers-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: #6c5ce7; } /* Tables */ .whiskers-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .whiskers-table th { background: #6c5ce7; color: white; padding: 16px 12px; text-align: left; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; } .whiskers-table td { padding: 16px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; } .whiskers-table tr:hover { background: #f8f9ff; } .whiskers-table tr:last-child td { border-bottom: none; } /* Alerts and Messages */ .whiskers-alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-weight: 500; } .whiskers-alert.success { background: #e8f5e8; color: #2e7d32; border-left: 4px solid #4CAF50; } .whiskers-alert.warning { background: #fff3e0; color: #ef6c00; border-left: 4px solid #ff9800; } .whiskers-alert.error { background: #ffebee; color: #c62828; border-left: 4px solid #f44336; } .whiskers-alert.info { background: #e3f2fd; color: #1565c0; border-left: 4px solid #2196F3; } /* Progress Bars */ .whiskers-progress { width: 100%; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; } .whiskers-progress-bar { height: 100%; background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%); transition: width 0.3s ease; border-radius: 4px; } /* Badges */ .whiskers-badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .whiskers-badge.primary { background: #6c5ce7; color: white; } .whiskers-badge.success { background: #4CAF50; color: white; } .whiskers-badge.warning { background: #ff9800; color: white; } .whiskers-badge.error { background: #f44336; color: white; } /* Tooltips */ .whiskers-tooltip { position: relative; cursor: help; } .whiskers-tooltip::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 8px 12px; border-radius: 6px; font-size: 12px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1000; } .whiskers-tooltip:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(-5px); } /* Responsive Design */ @media (max-width: 768px) { .whiskers-header { padding: 20px; text-align: center; } .whiskers-title { font-size: 24px; flex-direction: column; gap: 10px; } .whiskers-grid.cols-2, .whiskers-grid.cols-3, .whiskers-grid.cols-4 { grid-template-columns: 1fr; } .whiskers-table { font-size: 12px; } .whiskers-table th, .whiskers-table td { padding: 8px 6px; } } /* Dark Mode Support */ @media (prefers-color-scheme: dark) { .whiskers-admin { color: #e0e0e0; } .whiskers-card { background: #2d2d2d; border-color: #404040; } .whiskers-admin h1, .whiskers-admin h2, .whiskers-admin h3, .whiskers-admin h4 { color: #ffffff; } .whiskers-admin p { color: #b0b0b0; } .whiskers-input, .whiskers-select { background: #3d3d3d; border-color: #505050; color: #e0e0e0; } .whiskers-table { background: #2d2d2d; } .whiskers-table td { border-color: #404040; } .whiskers-table tr:hover { background: #3d3d3d; } } /* Animation Classes */ .whiskers-fade-in { animation: fadeIn 0.5s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .whiskers-slide-in { animation: slideIn 0.5s ease-out; } @keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } } /* Custom Scrollbar */ .whiskers-admin ::-webkit-scrollbar { width: 8px; } .whiskers-admin ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } .whiskers-admin ::-webkit-scrollbar-thumb { background: #6c5ce7; border-radius: 4px; } .whiskers-admin ::-webkit-scrollbar-thumb:hover { background: #5a4fcf; } /* Accessibility */ .whiskers-admin *:focus { outline: 2px solid #6c5ce7; outline-offset: 2px; } .whiskers-admin button:focus, .whiskers-admin a:focus { outline: 2px solid #6c5ce7; outline-offset: 2px; } /* Print Styles */ @media print { .whiskers-header { background: none !important; color: black !important; box-shadow: none !important; } .whiskers-card { box-shadow: none !important; border: 1px solid #ccc !important; } .whiskers-btn { display: none !important; } }