Tune idle timeout, heartbeat redirect, and update project context

This commit is contained in:
2026-04-21 13:31:47 +00:00
parent 9c9b97374c
commit c97cf5308d
11 changed files with 400 additions and 56 deletions
+11
View File
@@ -0,0 +1,11 @@
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'>
<defs>
<linearGradient id='g' x1='0' y1='0' x2='1' y2='1'>
<stop offset='0%' stop-color='#1e6aa8'/>
<stop offset='100%' stop-color='#2f8ec8'/>
</linearGradient>
</defs>
<rect width='64' height='64' rx='14' fill='#eaf3fb'/>
<rect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)' fill='url(#g)'/>
<rect x='34' y='9' width='14' height='14' transform='rotate(45 41 16)' fill='#b7c0c9'/>
</svg>

After

Width:  |  Height:  |  Size: 498 B

+128 -1
View File
@@ -14,7 +14,7 @@ body {
.center-box {
min-height: 100vh;
display: grid;
place-content: center;
place-items: center;
gap: 1rem;
padding: 1.2rem;
}
@@ -404,6 +404,17 @@ button {
font-weight: 600;
}
.session-notice {
background: #e8f4ff;
border: 1px solid #b8d8f2;
color: #1f4868;
border-radius: 10px;
padding: 0.7rem 0.8rem;
max-width: min(520px, 92vw);
margin: 0 auto 0.6rem;
font-weight: 600;
}
.dashboard-page {
background: transparent;
@@ -564,3 +575,119 @@ button {
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
border-color: transparent !important;
}
/* 4-up desktop grid with adaptive breakpoints */
.service-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1400px) {
.service-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 1050px) {
.service-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 700px) {
.service-grid {
grid-template-columns: 1fr;
}
}
/* Stylish login page */
.login-page {
position: relative;
background:
radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 34%),
radial-gradient(circle at 88% 82%, rgba(255, 255, 255, 0.45) 0, rgba(255, 255, 255, 0) 32%),
linear-gradient(145deg, #0f4c7c 0%, #1a77b8 48%, #5db2de 100%);
}
.login-shell {
width: min(560px, 94vw);
margin: 0 auto;
display: grid;
justify-items: center;
border-radius: 18px;
padding: clamp(1.1rem, 2.4vw, 2rem);
background: rgba(255, 255, 255, 0.86);
border: 1px solid rgba(255, 255, 255, 0.7);
box-shadow: 0 18px 46px rgba(9, 44, 72, 0.28);
backdrop-filter: blur(6px);
}
.login-title {
color: #0f3553;
font-weight: 700;
letter-spacing: 0.01em;
}
.login-subtitle {
margin: -0.35rem 0 0.85rem;
text-align: center;
color: #355a77;
font-size: 0.96rem;
}
.login-panel {
width: 100% !important;
justify-self: center;
min-width: 0;
background: #ffffff;
border: 1px solid #d3e4f2;
box-shadow: 0 10px 26px rgba(20, 66, 101, 0.12);
}
.login-panel label {
font-size: 0.88rem;
color: #234a68;
font-weight: 600;
}
.login-panel input {
background: #f8fbfe;
border: 1px solid #bfd5e8;
}
.login-panel input:focus {
outline: none;
border-color: #2a82c0;
box-shadow: 0 0 0 3px rgba(42, 130, 192, 0.16);
}
.login-panel button {
margin-top: 0.3rem;
font-weight: 700;
background: linear-gradient(180deg, #1675b4 0%, #0f5b94 100%);
}
.login-page .auth-error {
margin-bottom: 0.8rem;
}
@media (max-width: 700px) {
.login-shell {
border-radius: 14px;
padding: 1rem;
backdrop-filter: none;
}
.login-subtitle {
font-size: 0.9rem;
}
}
.login-corner-brand {
position: fixed;
top: 14px;
left: 16px;
z-index: 20;
color: #e8f4ff;
font-weight: 700;
letter-spacing: 0.01em;
text-shadow: 0 2px 8px rgba(9, 44, 72, 0.35);
}
.login-made-by-wrap {
position: fixed;
left: 0;
right: 0;
bottom: 10px;
z-index: 20;
display: flex;
justify-content: center;
}
.login-made-by {
color: rgba(240, 248, 255, 0.95);
text-shadow: 0 2px 10px rgba(9, 44, 72, 0.45);
}