Improved UI

This commit is contained in:
2025-08-08 15:28:37 +02:00
parent 7cef5208ec
commit d12551cbf3
4 changed files with 234 additions and 106 deletions

View File

@@ -654,3 +654,60 @@ pre code {
width: 0%;
}
/* Tabs layout styles */
.tab-layout {
display: block;
padding: 20px;
max-width: 1100px;
margin: 0 auto;
}
.tab-nav {
display: flex;
gap: 8px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 8px;
margin: 10px 0 20px 0;
position: sticky;
top: 0;
z-index: 5;
backdrop-filter: blur(8px);
}
.tab-btn {
appearance: none;
background: #f1f5f9;
border: 1px solid #e2e8f0;
color: #0f172a;
padding: 10px 14px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
font-size: 14px;
transition: all 0.15s ease;
}
.tab-btn:hover {
background: #e2e8f0;
}
.tab-btn.active {
background: #3b82f6;
border-color: #3b82f6;
color: #ffffff;
box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}
.tab-panels { margin-top: 10px; }
.tab-panel { display: block; }
.tab-panel[hidden] { display: none; }
@media (max-width: 640px) {
.tab-layout { padding: 12px; }
.tab-nav { position: static; }
}