style.css aktualisiert

This commit is contained in:
2025-12-06 15:13:59 +00:00
parent 43699a210f
commit c194a99886

145
style.css
View File

@@ -53,11 +53,11 @@ body {
background: var(--bg-color); background: var(--bg-color);
border-radius: 20px; border-radius: 20px;
overflow: hidden; overflow: hidden;
box-shadow: 0 20px 50px rgba(0,0,0,0.25); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(20px); backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
position: relative; position: relative;
outline: 2px solid rgba(255,255,255,0.28); outline: 2px solid rgba(255, 255, 255, 0.28);
outline-offset: -2px; outline-offset: -2px;
} }
@@ -67,7 +67,7 @@ body {
inset: 0; inset: 0;
border-radius: 20px; border-radius: 20px;
padding: 1px; padding: 1px;
background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.15) 40%, transparent); background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15) 40%, transparent);
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: destination-out; -webkit-mask-composite: destination-out;
mask-composite: exclude; mask-composite: exclude;
@@ -79,14 +79,14 @@ body {
flex-shrink: 0; /* Verhindert, dass der Header schrumpft */ flex-shrink: 0; /* Verhindert, dass der Header schrumpft */
padding: 20px 24px 16px; padding: 20px 24px 16px;
text-align: center; text-align: center;
background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7)); background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
border-bottom: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
z-index: 2; z-index: 2;
position: relative; position: relative;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
.header { background: linear-gradient(135deg, rgba(36,37,38,0.95), rgba(30,31,32,0.85)); } .header { background: linear-gradient(135deg, rgba(36, 37, 38, 0.95), rgba(30, 31, 32, 0.85)); }
} }
.header h1 { .header h1 {
@@ -137,7 +137,7 @@ body {
} }
.icon-btn#settings-btn:hover { .icon-btn#settings-btn:hover {
background: rgba(24,119,242,0.08); background: rgba(24, 119, 242, 0.08);
color: var(--accent-color); color: var(--accent-color);
border-radius: 6px; border-radius: 6px;
} }
@@ -151,17 +151,17 @@ body {
margin-right: 8px; margin-right: 8px;
} }
.status-dot.small.online { background: var(--online-color); box-shadow: 0 0 6px rgba(49,162,76,0.25); } .status-dot.small.online { background: var(--online-color); box-shadow: 0 0 6px rgba(49, 162, 76, 0.25); }
.status-dot.small.offline { background: var(--offline-color); box-shadow: 0 0 6px rgba(228,96,109,0.25); } .status-dot.small.offline { background: var(--offline-color); box-shadow: 0 0 6px rgba(228, 96, 109, 0.25); }
.status-dot.small.unknown { background: var(--unknown-color); box-shadow: none; opacity:0.8; } .status-dot.small.unknown { background: var(--unknown-color); box-shadow: none; opacity: 0.8; }
.status-dot.green.pulse { background: #31a24c; animation: pulse-green 2s infinite; } .status-dot.green.pulse { background: #31a24c; animation: pulse-green 2s infinite; }
.status-dot.orange { background: #ff9f0a; animation: pulse-orange 2.5s infinite; } .status-dot.orange { background: #ff9f0a; animation: pulse-orange 2.5s infinite; }
.status-dot.red { background: #e4606d; animation: pulse-red 2s infinite; } .status-dot.red { background: #e4606d; animation: pulse-red 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(49,162,76,0.7); } 70% { box-shadow: 0 0 0 12px rgba(49,162,76,0); } 100% { box-shadow: 0 0 0 0 rgba(49,162,76,0); } } @keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(49, 162, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0); } }
@keyframes pulse-orange { 0% { box-shadow: 0 0 0 0 rgba(255,159,10,0.7); } 70% { box-shadow: 0 0 0 12px rgba(255,159,10,0); } 100% { box-shadow: 0 0 0 0 rgba(255,159,10,0); } } @keyframes pulse-orange { 0% { box-shadow: 0 0 0 0 rgba(255, 159, 10, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(255, 159, 10, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 159, 10, 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(228,96,109,0.7); } 70% { box-shadow: 0 0 0 12px rgba(228,96,109,0); } 100% { box-shadow: 0 0 0 0 rgba(228,96,109,0); } } @keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(228, 96, 109, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(228, 96, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(228, 96, 109, 0); } }
/* ==================== POPUP-SERVICE-LISTE GRID ==================== */ /* ==================== POPUP-SERVICE-LISTE GRID ==================== */
.services { .services {
@@ -192,7 +192,7 @@ body {
.service-card:hover { .service-card:hover {
transform: translateY(-3px); transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
border-color: transparent; border-color: transparent;
} }
@@ -210,9 +210,9 @@ body {
align-self: flex-start; align-self: flex-start;
} }
.status-badge.online { background: rgba(49,162,76,0.15); color: #31a24c; } .status-badge.online { background: rgba(49, 162, 76, 0.15); color: #31a24c; }
.status-badge.offline { background: rgba(228,96,109,0.15); color: #e4606d; } .status-badge.offline { background: rgba(228, 96, 109, 0.15); color: #e4606d; }
.status-badge.unknown { background: rgba(142,142,147,0.15); color: #8e8e93; } .status-badge.unknown { background: rgba(142, 142, 147, 0.15); color: #8e8e93; }
/* Mini Response-Time */ /* Mini Response-Time */
.service-card .response-time { font-size: 11px; opacity: 0.65; } .service-card .response-time { font-size: 11px; opacity: 0.65; }
@@ -243,7 +243,8 @@ body {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 10px; gap: 10px;
margin-top: 15px; margin-top: 15px;
max-height: 300px; /* ANGEPASST: Feste Höhe für eigenen Scrollbalk */
height: 300px;
overflow-y: auto; overflow-y: auto;
padding-right: 5px; padding-right: 5px;
} }
@@ -259,7 +260,7 @@ body {
} }
.popup-server-item:hover { .popup-server-item:hover {
background: rgba(24,119,242,0.05); background: rgba(24, 119, 242, 0.05);
border-color: var(--accent-color); border-color: var(--accent-color);
} }
@@ -294,7 +295,7 @@ body {
.selection-info { .selection-info {
padding: 8px 12px; padding: 8px 12px;
background: rgba(24,119,242,0.1); background: rgba(24, 119, 242, 0.1);
border-radius: 8px; border-radius: 8px;
margin-bottom: 10px; margin-bottom: 10px;
font-weight: 500; font-weight: 500;
@@ -317,7 +318,7 @@ body {
border-radius: 12px; border-radius: 12px;
} }
.footer a:hover { background: rgba(24,119,242,0.1); } .footer a:hover { background: rgba(24, 119, 242, 0.1); }
/* ==================== OPTIONS PAGE ==================== */ /* ==================== OPTIONS PAGE ==================== */
.options-page { background: var(--bg-color); color: var(--text-color); padding: 20px; min-height: 100vh; } .options-page { background: var(--bg-color); color: var(--text-color); padding: 20px; min-height: 100vh; }
@@ -347,17 +348,42 @@ body {
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
} }
.tab-btn { flex: 1; padding: 12px 20px; background: none; color: var(--text-secondary); border: none; border-radius: 8px; cursor: pointer;} .tab-btn { flex: 1; padding: 12px 20px; background: none; color: var(--text-secondary); border: none; border-radius: 8px; cursor: pointer; }
.tab-btn.active { background: var(--accent-color); color: white; } .tab-btn.active { background: var(--accent-color); color: white; }
.tab-panel { display: none; } .tab-panel { display: none; }
.tab-panel.active { display: block; } .tab-panel.active { display: block; }
#manage-panel .manage-grid { display: grid; grid-template-columns: 1fr 3.8fr 1fr; gap: 28px; }
#manage-panel .manage-grid { display: grid; grid-template-columns: 1fr 3.5fr 1.2fr; gap: 28px; }
@media (max-width: 1100px) { #manage-panel .manage-grid { grid-template-columns: 1fr; } } @media (max-width: 1100px) { #manage-panel .manage-grid { grid-template-columns: 1fr; } }
.stats-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: 28px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } } .stats-grid {
display: grid;
grid-template-columns: 1fr 800px;
gap: 28px;
}
@media (max-width: 800px) {
.stats-grid {
grid-template-columns: 1fr;
}
}
/* ANGEPASST: Feste Größe für Chart-Karte */
.stats-chart-card {
display: flex;
flex-direction: column;
padding: 16px;
border-radius: 10px;
background: var(--card-bg);
width: 800px;
height: 500px;
overflow-y: auto;
}
#uptimeChart { width: 100% !important; height: 100% !important; display: block; }
.form-section { display: flex; flex-direction: column; gap: 20px; } .form-section { display: flex; flex-direction: column; gap: 20px; }
.form-group { margin-bottom: 16px; } .form-group { margin-bottom: 16px; }
@@ -368,7 +394,7 @@ input, select { width: 100%; padding: 12px 16px; border: 1px solid var(--border-
.input-group { display: flex; gap: 8px; } .input-group { display: flex; gap: 8px; }
#service-protocol { width: 130px; } #service-protocol { width: 130px; }
.btn { padding: 12px 20px; border-radius: 8px; font-size: 15px; cursor: pointer; border: none;} .btn { padding: 12px 20px; border-radius: 8px; font-size: 15px; cursor: pointer; border: none; }
.btn-primary { background: var(--accent-color); color: white; } .btn-primary { background: var(--accent-color); color: white; }
.btn-primary:hover { background: #166fe5; } .btn-primary:hover { background: #166fe5; }
.btn-secondary { background: #eee; color: #333; } .btn-secondary { background: #eee; color: #333; }
@@ -399,8 +425,8 @@ input, select { width: 100%; padding: 12px 16px; border: 1px solid var(--border-
transition: box-shadow .12s, transform .12s; transition: box-shadow .12s, transform .12s;
} }
.service-stat-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.06); } .service-stat-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06); }
.service-stat-item.selected { outline: 2px solid rgba(24,119,242,0.12); box-shadow: 0 8px 22px rgba(24,119,242,0.06); } .service-stat-item.selected { outline: 2px solid rgba(24, 119, 242, 0.12); box-shadow: 0 8px 22px rgba(24, 119, 242, 0.06); }
.service-left { display: flex; flex-direction: column; min-width: 0; gap: 4px; } .service-left { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.service-name { font-weight: 600; font-size: 14px; color: var(--text-color); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .service-name { font-weight: 600; font-size: 14px; color: var(--text-color); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@@ -408,22 +434,61 @@ input, select { width: 100%; padding: 12px 16px; border: 1px solid var(--border-
.service-right { display: flex; align-items: center; gap: 12px; } .service-right { display: flex; align-items: center; gap: 12px; }
.service-meta { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-secondary); } .service-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-secondary); }
/* icon buttons */ /* icon buttons */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; padding:6px; border-radius:8px; border: none; background: transparent; cursor: pointer; transition: background .12s, color .12s; color: var(--text-secondary); } .icon-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 8px; border: none; background: transparent; cursor: pointer; transition: background .12s, color .12s; color: var(--text-secondary); }
.icon-btn:hover { background: rgba(24,119,242,0.06); color: var(--accent-color); } .icon-btn:hover { background: rgba(24, 119, 242, 0.06); color: var(--accent-color); }
.icon-btn.delete:hover { background: rgba(228,96,109,0.06); color: var(--offline-color); } .icon-btn.delete:hover { background: rgba(228, 96, 109, 0.06); color: var(--offline-color); }
/* edit inline */ /* edit inline */
.service-stat-item.editing { padding: 8px; } .service-stat-item.editing { padding: 8px; }
.edit-left { display:flex; flex-direction:column; gap:8px; width:100%; } .edit-left { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.edit-left input { padding:8px 10px; border-radius:8px; border:1px solid var(--border-color); background:var(--card-bg); } .edit-left input { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--card-bg); }
.edit-actions { display:flex; gap:8px; align-items:center; } .edit-actions { display: flex; gap: 8px; align-items: center; }
.btn-save, .btn-cancel { padding:6px 10px; border-radius:8px; border:none; cursor:pointer; font-weight:600; } .btn-save, .btn-cancel { padding: 6px 10px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; }
.btn-save { background:var(--accent-color); color:white; } .btn-save { background: var(--accent-color); color: white; }
.btn-cancel { background:#eee; color:#333; } .btn-cancel { background: #eee; color: #333; }
/* Stats-Tab: Chart größer */
.stats-chart-card { display: flex; flex-direction: column; padding: 16px; border-radius: 12px; background: var(--card-bg); flex: 2; min-height: 500px; }
#uptimeChart { width: 100% !important; height: 100% !important; display: block; } /* ============================================= */
/* ABSTAND FÜR WIDGETS IN DER SEITENLEISTE */
/* ============================================= */
/* Fügt einen Abstand zwischen den Widgets in der rechten Seitenleiste hinzu */
.widget-area-right .widget-card + .widget-card {
margin-top: 20px;
}
/* ============================================= */
/* GITEA REPOSITORY WIDGET LINKS */
/* ============================================= */
#gitea-repos-list a {
color: white;
}
/* ============================================= */
/* DISCORD SUPPORT WIDGET BUTTON */
/* ============================================= */
.discord-link {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 12px 16px;
margin-top: 16px;
background-color: #5865F2;
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: background-color 0.2s ease;
}
.discord-link:hover {
background-color: #4752C4;
}