fixed logo
This commit is contained in:
@@ -131,12 +131,15 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-logo {
|
.login-logo {
|
||||||
width: 80px;
|
width: 120px;
|
||||||
height: 80px;
|
height: 120px;
|
||||||
margin: 0 auto 1rem;
|
max-width: 40vw;
|
||||||
border-radius: 16px;
|
margin: 0 auto 1.5rem;
|
||||||
box-shadow: var(--shadow);
|
border-radius: 20px;
|
||||||
|
box-shadow: var(--shadow-lg);
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
image-rendering: -webkit-optimize-contrast;
|
||||||
|
image-rendering: crisp-edges;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-header h1 {
|
.login-header h1 {
|
||||||
@@ -369,6 +372,8 @@ body {
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
box-shadow: 0 2px 8px rgba(254, 128, 25, 0.3);
|
box-shadow: 0 2px 8px rgba(254, 128, 25, 0.3);
|
||||||
|
image-rendering: -webkit-optimize-contrast;
|
||||||
|
image-rendering: crisp-edges;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar.collapsed .sidebar-logo {
|
.sidebar.collapsed .sidebar-logo {
|
||||||
@@ -376,6 +381,19 @@ body {
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logo-fallback {
|
||||||
|
color: var(--orange);
|
||||||
|
font-size: 1.5rem;
|
||||||
|
min-width: 24px;
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-logo[src=""] + .logo-fallback,
|
||||||
|
.sidebar-logo:not([src]) + .logo-fallback {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Legacy icon fallback removed - logo replaces */
|
/* Legacy icon fallback removed - logo replaces */
|
||||||
|
|
||||||
.sidebar-menu {
|
.sidebar-menu {
|
||||||
|
|||||||
BIN
static/img/logo-full.png
Normal file
BIN
static/img/logo-full.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 235 KiB |
BIN
static/img/logo-icon.png
Normal file
BIN
static/img/logo-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
@@ -6,7 +6,8 @@
|
|||||||
<title>LLM Proxy Gateway - Admin Dashboard</title>
|
<title>LLM Proxy Gateway - Admin Dashboard</title>
|
||||||
<link rel="stylesheet" href="/css/dashboard.css">
|
<link rel="stylesheet" href="/css/dashboard.css">
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||||
<link rel="icon" href="img/LLMProxyLogo.png" type="image/png" sizes="32x32">
|
<link rel="icon" href="img/logo-icon.png" type="image/png" sizes="any">
|
||||||
|
<link rel="apple-touch-icon" href="img/logo-icon.png">
|
||||||
<link rel="apple-touch-icon" href="img/LLMProxyLogo.png">
|
<link rel="apple-touch-icon" href="img/LLMProxyLogo.png">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
<div id="login-screen" class="login-container">
|
<div id="login-screen" class="login-container">
|
||||||
<div class="login-card">
|
<div class="login-card">
|
||||||
<div class="login-header">
|
<div class="login-header">
|
||||||
<img src="img/LLMProxyLogo.png" alt="LLM Proxy Logo" class="login-logo">
|
<img src="img/logo-full.png" alt="LLM Proxy Logo" class="login-logo">
|
||||||
<h1>LLM Proxy Gateway</h1>
|
<h1>LLM Proxy Gateway</h1>
|
||||||
<p class="login-subtitle">Admin Dashboard</p>
|
<p class="login-subtitle">Admin Dashboard</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -56,7 +57,8 @@
|
|||||||
<nav class="sidebar">
|
<nav class="sidebar">
|
||||||
<div class="sidebar-header">
|
<div class="sidebar-header">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="img/LLMProxyLogo.png" alt="LLM Proxy" class="sidebar-logo">
|
<img src="img/logo-icon.png" alt="LLM Proxy" class="sidebar-logo">
|
||||||
|
<i class="fas fa-shield-alt logo-fallback" style="opacity: 0.3;"></i>
|
||||||
<span>Gateway</span>
|
<span>Gateway</span>
|
||||||
</div>
|
</div>
|
||||||
<button class="sidebar-toggle" id="sidebar-toggle">
|
<button class="sidebar-toggle" id="sidebar-toggle">
|
||||||
|
|||||||
Reference in New Issue
Block a user