Projektvorschläge toggelbar

This commit is contained in:
2026-03-15 23:43:51 +01:00
parent 2d0bcbbd2f
commit dbeda9c2ae
6 changed files with 231 additions and 3 deletions

View File

@@ -343,6 +343,25 @@ body {
font-weight: 600;
}
/* Sidebar Panels Container */
.sidebar-panels {
display: flex;
flex-direction: column;
gap: 20px;
width: 280px;
flex-shrink: 0;
}
/* User Options Panel */
.user-options-panel {
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
width: 100%;
box-sizing: border-box;
}
.stat-card {
background: #f8f9fa;
padding: 15px;
@@ -415,6 +434,63 @@ body {
color: #999;
}
/* Apple-Style Toggle Switch */
.apple-toggle-switch {
position: relative;
display: inline-block;
width: 51px;
height: 31px;
flex-shrink: 0;
}
.apple-toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.apple-toggle-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: 0.3s;
border-radius: 31px;
}
.apple-toggle-slider:before {
position: absolute;
content: "";
height: 27px;
width: 27px;
left: 2px;
bottom: 2px;
background-color: white;
transition: 0.3s;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.apple-toggle-switch input:checked + .apple-toggle-slider {
background-color: #34c759;
}
.apple-toggle-switch input:checked + .apple-toggle-slider:before {
transform: translateX(20px);
}
.apple-toggle-switch input:focus + .apple-toggle-slider {
box-shadow: 0 0 1px #34c759;
}
.apple-toggle-switch input:disabled + .apple-toggle-slider {
opacity: 0.5;
cursor: not-allowed;
}
.week-selector {
display: flex;
flex-wrap: wrap;