Updated API Dashboard
This commit is contained in:
@@ -1238,3 +1238,148 @@ input:checked + .slider:before {
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.log-row-hover:hover {
|
||||
background-color: rgba(0, 24, 40, 0.02);
|
||||
}
|
||||
|
||||
/* Mobile responsive navigation & header */
|
||||
.mobile-header {
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.85rem 1.25rem;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 150;
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.mobile-menu-toggle {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--color-text-dark);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.mobile-menu-toggle:hover {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.mobile-brand-title {
|
||||
font-size: 1rem;
|
||||
font-weight: 800;
|
||||
color: var(--color-text-dark);
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
.sidebar-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
z-index: 190;
|
||||
animation: fadeIn 0.2s ease-out forwards;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.mobile-header {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.dashboard-sidebar {
|
||||
transform: translateX(-100%);
|
||||
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
box-shadow: 10px 0 30px rgba(0,0,0,0.15);
|
||||
z-index: 200;
|
||||
}
|
||||
|
||||
.dashboard-sidebar.open {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.dashboard-main-content {
|
||||
margin-left: 0;
|
||||
padding: 1.25rem 1rem;
|
||||
min-height: calc(100vh - 55px);
|
||||
}
|
||||
|
||||
.panel-header h2 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.panel-header p {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.premium-card {
|
||||
padding: 1.25rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
/* Form & Key display adjustments */
|
||||
.key-display-box {
|
||||
flex-wrap: wrap !important;
|
||||
gap: 0.5rem !important;
|
||||
padding: 0.75rem !important;
|
||||
}
|
||||
|
||||
.key-code {
|
||||
font-size: 0.75rem !important;
|
||||
word-break: break-all !important;
|
||||
white-space: normal !important;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.limit-indicator {
|
||||
align-self: stretch;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Stack columns vertically on small screens */
|
||||
.keys-grid,
|
||||
.sandbox-workspace {
|
||||
grid-template-columns: 1fr !important;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
/* Stack logs split pane details below table on small screens */
|
||||
.keys-grid + div,
|
||||
div[style*="display: flex; gap: 1.5rem;"] {
|
||||
flex-direction: column !important;
|
||||
gap: 1rem !important;
|
||||
}
|
||||
|
||||
/* Make sure split pane has full width on mobile */
|
||||
div[style*="width: 400px;"] {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* Login optimizations */
|
||||
.login-screen-wrapper {
|
||||
padding: 1rem !important;
|
||||
}
|
||||
|
||||
.login-card {
|
||||
padding: 1.5rem 1.25rem !important;
|
||||
gap: 1.25rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user