diff --git a/src/feature-module/projects/projecttracker.jsx b/src/feature-module/projects/projecttracker.jsx index 1a75e99..009a139 100644 --- a/src/feature-module/projects/projecttracker.jsx +++ b/src/feature-module/projects/projecttracker.jsx @@ -710,7 +710,7 @@ const ProjectTracker = () => { - {/* Custom Pagination */} + {/* Custom Pagination - Compact Size */}
{ border: isDarkMode ? '1px solid rgba(52, 152, 219, 0.3)' : '1px solid rgba(0, 0, 0, 0.1)', - borderRadius: '12px', + borderRadius: '8px', boxShadow: isDarkMode - ? '0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(52, 152, 219, 0.1)' - : '0 2px 12px rgba(0, 0, 0, 0.08)', - backdropFilter: isDarkMode ? 'blur(10px)' : 'none', - transition: 'all 0.3s ease', + ? '0 4px 16px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(52, 152, 219, 0.1)' + : '0 1px 6px rgba(0, 0, 0, 0.06)', + backdropFilter: isDarkMode ? 'blur(8px)' : 'none', + transition: 'all 0.2s ease', position: 'relative', overflow: 'hidden', - padding: '16px 24px', - margin: '16px 0' - }} - onMouseEnter={(e) => { - e.currentTarget.style.transform = 'translateY(-2px)'; - e.currentTarget.style.boxShadow = isDarkMode - ? '0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(52, 152, 219, 0.2)' - : '0 4px 20px rgba(0, 0, 0, 0.12)'; - }} - onMouseLeave={(e) => { - e.currentTarget.style.transform = 'translateY(0)'; - e.currentTarget.style.boxShadow = isDarkMode - ? '0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(52, 152, 219, 0.1)' - : '0 2px 12px rgba(0, 0, 0, 0.08)'; + padding: '8px 16px', + margin: '8px 0', + fontSize: '13px' }} > - {/* Pagination Info */} + {/* Pagination Info - Compact */}
-
- Row Per Page +
+ Row Per Page - Entries + Entries
-
+
📊
- + Showing {startRecord} to {endRecord} of {totalCount} entries
- {/* Pagination Buttons */} + {/* Pagination Buttons - Compact */}
{ display: 'flex', justifyContent: 'center', alignItems: 'center', - gap: '8px' + gap: '4px' }} > {/* Numbered Pagination Buttons */} @@ -844,23 +833,23 @@ const ProjectTracker = () => { ? (isDarkMode ? 'linear-gradient(45deg, #f39c12, #e67e22)' : 'linear-gradient(135deg, #007bff, #0056b3)') : (isDarkMode ? 'linear-gradient(45deg, #34495e, #2c3e50)' : 'linear-gradient(135deg, #ffffff, #f8f9fa)'), border: isActive - ? (isDarkMode ? '2px solid #f39c12' : '2px solid #007bff') + ? (isDarkMode ? '1px solid #f39c12' : '1px solid #007bff') : (isDarkMode ? '1px solid rgba(52, 152, 219, 0.3)' : '1px solid #dee2e6'), borderRadius: '50%', - width: '32px', - height: '32px', + width: '24px', + height: '24px', color: isActive ? '#ffffff' : (isDarkMode ? '#ffffff' : '#495057'), - fontSize: '14px', - fontWeight: '700', + fontSize: '11px', + fontWeight: '600', cursor: loading ? 'not-allowed' : 'pointer', - transition: 'all 0.3s ease', + transition: 'all 0.2s ease', boxShadow: loading ? 'none' : isActive - ? (isDarkMode ? '0 4px 12px rgba(243, 156, 18, 0.4)' : '0 3px 8px rgba(0, 123, 255, 0.3)') - : (isDarkMode ? '0 2px 8px rgba(52, 73, 94, 0.3)' : '0 1px 3px rgba(0, 0, 0, 0.1)'), + ? (isDarkMode ? '0 2px 6px rgba(243, 156, 18, 0.3)' : '0 2px 4px rgba(0, 123, 255, 0.2)') + : (isDarkMode ? '0 1px 4px rgba(52, 73, 94, 0.2)' : '0 1px 2px rgba(0, 0, 0, 0.08)'), display: 'flex', alignItems: 'center', justifyContent: 'center', @@ -871,10 +860,10 @@ const ProjectTracker = () => { e.target.style.background = isDarkMode ? 'linear-gradient(45deg, #3498db, #2980b9)' : 'linear-gradient(135deg, #e9ecef, #f8f9fa)'; - e.target.style.transform = isDarkMode ? 'scale(1.1)' : 'translateY(-1px) scale(1.05)'; + e.target.style.transform = isDarkMode ? 'scale(1.05)' : 'translateY(-1px) scale(1.02)'; e.target.style.boxShadow = isDarkMode - ? '0 4px 12px rgba(52, 152, 219, 0.4)' - : '0 3px 8px rgba(0, 0, 0, 0.15)'; + ? '0 2px 6px rgba(52, 152, 219, 0.3)' + : '0 2px 4px rgba(0, 0, 0, 0.12)'; e.target.style.borderColor = isDarkMode ? '#3498db' : '#adb5bd'; } }} @@ -885,8 +874,8 @@ const ProjectTracker = () => { : 'linear-gradient(135deg, #ffffff, #f8f9fa)'; e.target.style.transform = 'scale(1)'; e.target.style.boxShadow = isDarkMode - ? '0 2px 8px rgba(52, 73, 94, 0.3)' - : '0 1px 3px rgba(0, 0, 0, 0.1)'; + ? '0 1px 4px rgba(52, 73, 94, 0.2)' + : '0 1px 2px rgba(0, 0, 0, 0.08)'; e.target.style.borderColor = isDarkMode ? 'rgba(52, 152, 219, 0.3)' : '#dee2e6'; } }}