548 lines
11 KiB
CSS
548 lines
11 KiB
CSS
:root {
|
|
/* Modern Color Palette */
|
|
--primary: #6366f1;
|
|
--primary-dark: #4f46e5;
|
|
--primary-light: #818cf8;
|
|
--secondary: #8b5cf6;
|
|
--accent: #ec4899;
|
|
--success: #10b981;
|
|
--error: #ef4444;
|
|
--warning: #f59e0b;
|
|
|
|
/* Background Colors - Darker for glass effect */
|
|
--bg-primary: #0a0e1a;
|
|
--bg-secondary: #0f1419;
|
|
--bg-tertiary: #1a1f2e;
|
|
--bg-glass: rgba(255, 255, 255, 0.03);
|
|
--bg-glass-hover: rgba(255, 255, 255, 0.06);
|
|
--bg-glass-strong: rgba(255, 255, 255, 0.08);
|
|
|
|
/* Text Colors */
|
|
--text-primary: #f1f5f9;
|
|
--text-secondary: #cbd5e1;
|
|
--text-tertiary: #94a3b8;
|
|
--text-muted: #64748b;
|
|
|
|
/* Borders & Shadows - Enhanced for glass */
|
|
--border-color: rgba(255, 255, 255, 0.08);
|
|
--border-color-strong: rgba(255, 255, 255, 0.15);
|
|
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
|
|
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
|
|
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
|
|
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
|
|
--shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4);
|
|
|
|
/* Spacing */
|
|
--spacing-xs: 0.25rem;
|
|
--spacing-sm: 0.5rem;
|
|
--spacing-md: 1rem;
|
|
--spacing-lg: 1.5rem;
|
|
--spacing-xl: 2rem;
|
|
--spacing-2xl: 3rem;
|
|
|
|
/* Border Radius */
|
|
--radius-sm: 0.375rem;
|
|
--radius-md: 0.5rem;
|
|
--radius-lg: 0.75rem;
|
|
--radius-xl: 1rem;
|
|
--radius-2xl: 1.5rem;
|
|
--radius-full: 9999px;
|
|
|
|
/* Transitions */
|
|
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
--transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
--transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%);
|
|
background-attachment: fixed;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Container */
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
min-width: 100vw;
|
|
height: 100vh;
|
|
height: 100dvh;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: var(--spacing-lg);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: var(--spacing-lg) 0;
|
|
flex-shrink: 0;
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
text-align: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.header-actions {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--spacing-xs);
|
|
text-decoration: none;
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 50%;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
|
|
pointer-events: none;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: rgba(99, 102, 241, 0.3);
|
|
border-color: rgba(99, 102, 241, 0.5);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2), 0 2px 4px -1px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background: rgba(99, 102, 241, 0.5);
|
|
border-color: rgba(99, 102, 241, 0.7);
|
|
box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3), 0 4px 6px -2px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Inputs and Selects */
|
|
.input,
|
|
.select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
background: rgba(15, 20, 30, 0.6);
|
|
backdrop-filter: blur(25px) saturate(200%);
|
|
-webkit-backdrop-filter: blur(25px) saturate(200%);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-sm);
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
color: var(--text-primary);
|
|
font-size: 0.9rem;
|
|
transition: all var(--transition-base);
|
|
font-family: inherit;
|
|
box-sizing: border-box;
|
|
box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.input:focus,
|
|
.select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
background: rgba(15, 20, 30, 0.8);
|
|
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.input::placeholder {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
/* Tables */
|
|
.table-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
overflow-x: auto;
|
|
min-height: 0;
|
|
background: var(--bg-glass);
|
|
backdrop-filter: blur(30px) saturate(200%);
|
|
-webkit-backdrop-filter: blur(30px) saturate(200%);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-lg);
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
position: relative;
|
|
}
|
|
|
|
.table-container::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 20%;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
|
|
pointer-events: none;
|
|
border-radius: inherit;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* When there are few records, still allow scrolling */
|
|
.table-container.few-rows {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: auto;
|
|
min-width: 100%;
|
|
display: table;
|
|
}
|
|
|
|
thead {
|
|
background: rgba(15, 20, 30, 0.7);
|
|
backdrop-filter: blur(30px) saturate(200%);
|
|
-webkit-backdrop-filter: blur(30px) saturate(200%);
|
|
border-bottom: 1px solid var(--border-color);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
th {
|
|
padding: var(--spacing-md);
|
|
text-align: left;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
user-select: none;
|
|
transition: background var(--transition-base);
|
|
display: table-cell;
|
|
}
|
|
|
|
tbody tr {
|
|
border-top: 1px solid var(--border-color);
|
|
transition: background var(--transition-base);
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: var(--bg-glass-hover);
|
|
}
|
|
|
|
tbody tr:nth-child(even) {
|
|
background-color: var(--bg-glass);
|
|
}
|
|
|
|
tbody tr:nth-child(even):hover {
|
|
background-color: var(--bg-glass-hover);
|
|
}
|
|
|
|
td {
|
|
padding: var(--spacing-md);
|
|
color: var(--text-primary);
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
display: table-cell;
|
|
}
|
|
|
|
/* Badges */
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-sm);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.badge-internal {
|
|
background: var(--secondary);
|
|
color: white;
|
|
}
|
|
|
|
.badge-local {
|
|
background: var(--success);
|
|
color: white;
|
|
}
|
|
|
|
.badge-remote {
|
|
background: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
/* Links */
|
|
a {
|
|
color: var(--primary-light);
|
|
text-decoration: none;
|
|
transition: color var(--transition-base);
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Pagination */
|
|
.pagination {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--spacing-sm);
|
|
flex-wrap: wrap;
|
|
flex-shrink: 0;
|
|
margin-top: var(--spacing-md);
|
|
width: 100%;
|
|
min-height: 2.5rem;
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Pagination info */
|
|
#paginationInfo {
|
|
display: block;
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.pagination button {
|
|
min-width: 2.5rem;
|
|
padding: var(--spacing-sm) var(--spacing-md);
|
|
border: 1px solid rgba(99, 102, 241, 0.5);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all var(--transition-base);
|
|
background: rgba(99, 102, 241, 0.3);
|
|
backdrop-filter: blur(20px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.pagination button::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 50%;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
|
|
pointer-events: none;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.pagination button:hover:not(:disabled) {
|
|
background: rgba(99, 102, 241, 0.5);
|
|
border-color: rgba(99, 102, 241, 0.7);
|
|
box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.pagination button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.pagination button.active {
|
|
background: var(--primary-dark);
|
|
}
|
|
|
|
.pagination span {
|
|
padding: 0 var(--spacing-sm);
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
/* Text Utilities */
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-sm {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.text-tertiary {
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Flex Utilities */
|
|
.flex {
|
|
display: flex;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.flex-col {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.flex-1 {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.items-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.justify-between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.gap-4 {
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.gap-2 {
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.mb-6 {
|
|
margin-bottom: var(--spacing-lg);
|
|
}
|
|
|
|
.mb-4 {
|
|
margin-bottom: var(--spacing-md);
|
|
}
|
|
|
|
.mt-4 {
|
|
margin-top: var(--spacing-md);
|
|
}
|
|
|
|
.p-3 {
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.p-8 {
|
|
padding: var(--spacing-2xl);
|
|
}
|
|
|
|
.px-4 {
|
|
padding-left: var(--spacing-md);
|
|
padding-right: var(--spacing-md);
|
|
}
|
|
|
|
.py-2 {
|
|
padding-top: var(--spacing-sm);
|
|
padding-bottom: var(--spacing-sm);
|
|
}
|
|
|
|
.space-y-4 > * + * {
|
|
margin-top: var(--spacing-md);
|
|
}
|
|
|
|
/* Scrollbar styling */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--bg-secondary);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--bg-tertiary);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--text-tertiary);
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.header {
|
|
flex-direction: column;
|
|
gap: var(--spacing-md);
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.container {
|
|
padding: var(--spacing-md);
|
|
}
|
|
|
|
table {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
th, td {
|
|
padding: var(--spacing-sm);
|
|
}
|
|
}
|
|
|