Datenbank bereinigt / Gitea-Integration gefixt

Dieser Commit ist enthalten in:
hendrik_gebhardt@gmx.de
2026-01-04 00:24:11 +00:00
committet von Server Deploy
Ursprung 395598c2b0
Commit c21be47428
37 geänderte Dateien mit 30993 neuen und 809 gelöschten Zeilen

Datei anzeigen

@ -431,81 +431,163 @@
font-weight: var(--font-medium);
}
/* Upload Types */
.admin-upload-types {
/* =========================
Extension Settings (New)
========================= */
.admin-upload-extensions {
margin-bottom: 1.5rem;
}
.admin-upload-types h3 {
.admin-upload-extensions h3 {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin: 0 0 1rem 0;
}
/* Upload Category */
.upload-category {
/* Extension Tags Container */
.extension-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
padding: 1rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
margin-bottom: 0.75rem;
overflow: hidden;
transition: all var(--transition-fast);
min-height: 50px;
margin-bottom: 1rem;
}
.upload-category:hover {
border-color: var(--border-default);
.extension-empty {
color: var(--text-muted);
font-size: var(--text-sm);
font-style: italic;
}
.upload-category.disabled {
opacity: 0.5;
/* Single Extension Tag */
.extension-tag {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 6px 10px;
background: var(--primary);
color: white;
border-radius: var(--radius-full);
font-size: var(--text-sm);
font-weight: var(--font-medium);
font-family: var(--font-mono, monospace);
}
.upload-category.disabled .upload-category-types {
display: none;
}
.upload-category-header {
padding: 0.75rem 1rem;
background: var(--bg-card);
}
.upload-category-toggle {
.extension-tag-remove {
display: flex;
align-items: center;
gap: 0.75rem;
cursor: pointer;
user-select: none;
}
.upload-category-toggle input[type="checkbox"] {
justify-content: center;
width: 18px;
height: 18px;
accent-color: var(--primary);
padding: 0;
background: rgba(255, 255, 255, 0.2);
border: none;
border-radius: 50%;
cursor: pointer;
transition: background var(--transition-fast);
}
.upload-category-title {
.extension-tag-remove:hover {
background: rgba(255, 255, 255, 0.4);
}
.extension-tag-remove svg {
stroke: white;
}
/* Add Extension Group */
.extension-add-group {
margin-bottom: 1rem;
}
.extension-add-group label {
display: block;
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.upload-category-types {
padding: 0.75rem 1rem;
.extension-input-row {
display: flex;
gap: 0.5rem;
max-width: 400px;
}
.extension-input {
flex: 1;
padding: 8px 12px;
background: var(--bg-input);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-primary);
font-size: var(--text-sm);
font-family: var(--font-mono, monospace);
}
.extension-input:focus {
border-color: var(--primary);
outline: none;
box-shadow: var(--shadow-focus);
}
.extension-input::placeholder {
color: var(--text-muted);
font-family: var(--font-primary);
}
/* Suggestions */
.extension-suggestions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
padding: 1rem;
background: var(--bg-secondary);
border-radius: var(--radius-lg);
}
.extension-suggestions-label {
font-size: var(--text-sm);
color: var(--text-secondary);
font-weight: var(--font-medium);
margin-right: 0.5rem;
}
.extension-suggestions-list {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.upload-type-tag {
display: inline-block;
.extension-suggestion {
padding: 4px 10px;
background: var(--primary-light);
color: var(--primary);
background: var(--bg-tertiary);
border: 1px dashed var(--border-default);
border-radius: var(--radius-full);
color: var(--text-secondary);
font-size: var(--text-xs);
font-weight: var(--font-medium);
cursor: pointer;
transition: all var(--transition-fast);
}
.extension-suggestion:hover {
background: var(--primary-light);
border-color: var(--primary);
color: var(--primary);
}
.extension-no-suggestions {
font-size: var(--text-xs);
color: var(--text-muted);
font-style: italic;
}
/* Upload Actions */
@ -515,6 +597,30 @@
}
/* Responsive */
/* Passwort-Input Gruppe */
.password-input-group {
display: flex;
align-items: center;
gap: 0.5rem;
}
.password-input-group input {
flex: 1;
}
.password-input-group .btn {
padding: 0.5rem;
min-width: auto;
display: flex;
align-items: center;
justify-content: center;
}
.password-input-group .btn svg {
width: 16px;
height: 16px;
}
@media (max-width: 768px) {
.admin-header {
padding: 1rem;

555
frontend/css/coding.css Normale Datei
Datei anzeigen

@ -0,0 +1,555 @@
/**
* TASKMATE - Coding Tab Styles
* ============================
* Styling für die Coding-Verzeichnis-Verwaltung
*/
/* View Container */
.view-coding {
padding: 1.5rem;
max-width: 1600px;
margin: 0 auto;
}
/* Header */
.coding-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.coding-header-centered {
justify-content: center;
}
.coding-header h2 {
margin: 0;
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
}
/* Grid Layout */
.coding-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}
/* Kachel */
.coding-tile {
background: var(--bg-secondary);
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
cursor: pointer;
}
.coding-tile:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
/* Farbbalken oben */
.coding-tile-color {
height: 4px;
flex-shrink: 0;
}
/* Tile Header */
.coding-tile-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 1rem 1rem 0.5rem;
}
.coding-tile-icon {
font-size: 2rem;
line-height: 1;
}
.coding-tile-menu {
background: none;
border: none;
padding: 0.25rem;
cursor: pointer;
color: var(--text-muted);
border-radius: 4px;
transition: background 0.2s, color 0.2s;
}
.coding-tile-menu:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
/* Tile Content */
.coding-tile-content {
padding: 0 1rem;
flex-grow: 1;
}
.coding-tile-name {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.25rem;
color: var(--text-primary);
}
.coding-tile-path {
font-size: 0.75rem;
color: var(--text-muted);
font-family: var(--font-mono, monospace);
word-break: break-all;
line-height: 1.4;
}
.coding-tile-description {
font-size: 0.875rem;
color: var(--text-secondary);
margin-top: 0.5rem;
line-height: 1.4;
}
/* CLAUDE.md Badge */
.coding-tile-badge {
display: inline-block;
background: linear-gradient(135deg, #F59E0B, #D97706);
color: white;
font-size: 0.65rem;
padding: 0.2rem 0.5rem;
border-radius: 4px;
margin-top: 0.5rem;
font-weight: 600;
letter-spacing: 0.02em;
}
/* Git Status */
.coding-tile-status {
display: flex;
gap: 0.5rem;
padding: 0.75rem 1rem;
flex-wrap: wrap;
align-items: center;
}
.git-branch-badge {
background: var(--bg-tertiary);
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.75rem;
font-family: var(--font-mono, monospace);
color: var(--text-secondary);
}
.git-status-badge {
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 500;
}
.git-status-badge.loading {
background: var(--bg-tertiary);
color: var(--text-muted);
}
.git-status-badge.clean {
background: rgba(16, 185, 129, 0.15);
color: #10B981;
}
.git-status-badge.dirty {
background: rgba(245, 158, 11, 0.15);
color: #F59E0B;
}
.git-status-badge.error {
background: rgba(239, 68, 68, 0.15);
color: #EF4444;
}
.git-status-badge.ahead {
background: rgba(59, 130, 246, 0.15);
color: #3B82F6;
}
.git-status-badge.behind {
background: rgba(139, 92, 246, 0.15);
color: #8B5CF6;
}
/* Action Buttons */
.coding-tile-actions {
display: flex;
gap: 0.75rem;
padding: 1rem;
}
.btn-claude {
flex: 1;
background: linear-gradient(135deg, #F59E0B, #D97706);
color: white;
border: none;
padding: 0.75rem;
border-radius: 8px;
font-weight: 600;
font-size: 0.875rem;
cursor: pointer;
transition: opacity 0.2s, transform 0.2s;
}
.btn-claude:hover {
opacity: 0.9;
transform: translateY(-1px);
}
.btn-claude:active {
transform: translateY(0);
}
.btn-codex {
flex: 1;
background: linear-gradient(135deg, #10B981, #059669);
color: white;
border: none;
padding: 0.75rem;
border-radius: 8px;
font-weight: 600;
font-size: 0.875rem;
cursor: pointer;
transition: opacity 0.2s, transform 0.2s;
}
.btn-codex:hover {
opacity: 0.9;
transform: translateY(-1px);
}
.btn-codex:active {
transform: translateY(0);
}
/* Git Actions */
.coding-tile-git {
display: flex;
gap: 0.5rem;
padding: 0 1rem 1rem;
border-top: 1px solid var(--border-color);
padding-top: 0.75rem;
}
.coding-tile-git .btn {
flex: 1;
font-size: 0.75rem;
padding: 0.5rem;
}
/* Empty State */
.coding-empty {
text-align: center;
padding: 4rem 2rem;
color: var(--text-muted);
}
.coding-empty .empty-icon {
margin-bottom: 1rem;
color: var(--text-muted);
opacity: 0.5;
}
.coding-empty .empty-icon svg {
width: 64px;
height: 64px;
}
.coding-empty h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text-secondary);
}
.coding-empty p {
font-size: 0.875rem;
max-width: 400px;
margin: 0 auto;
}
/* Command Modal */
.command-box {
background: var(--bg-tertiary);
padding: 1rem;
border-radius: 8px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
margin-top: 0.75rem;
}
.command-box code {
font-family: var(--font-mono, monospace);
font-size: 0.875rem;
word-break: break-all;
flex: 1;
color: var(--text-primary);
}
/* Color Presets */
.color-presets {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
align-items: center;
}
.color-preset {
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid transparent;
cursor: pointer;
transition: transform 0.2s, border-color 0.2s;
}
.color-preset:hover {
transform: scale(1.1);
}
.color-preset.selected {
border-color: var(--text-primary);
box-shadow: 0 0 0 2px var(--bg-secondary);
}
.color-picker-custom {
width: 28px;
height: 28px;
border-radius: 50%;
border: none;
cursor: pointer;
padding: 0;
overflow: hidden;
}
.color-picker-custom::-webkit-color-swatch-wrapper {
padding: 0;
}
.color-picker-custom::-webkit-color-swatch {
border: none;
border-radius: 50%;
}
/* Gitea Section in Modal */
.coding-gitea-section {
margin-top: 1rem;
padding: 1rem;
background: var(--bg-tertiary);
border-radius: 8px;
}
.coding-gitea-section summary {
cursor: pointer;
font-weight: 500;
color: var(--text-secondary);
user-select: none;
}
.coding-gitea-section summary:hover {
color: var(--text-primary);
}
/* Responsive */
@media (max-width: 768px) {
.view-coding {
padding: 1rem;
}
.coding-grid {
grid-template-columns: 1fr;
}
.coding-header {
flex-direction: column;
gap: 1rem;
align-items: stretch;
}
.coding-header h2 {
font-size: 1.25rem;
}
.coding-header .btn {
width: 100%;
justify-content: center;
}
.coding-tile-actions {
flex-direction: column;
}
.coding-tile-git {
flex-wrap: wrap;
}
.coding-tile-git .btn {
flex: 1 1 calc(50% - 0.25rem);
}
.command-box {
flex-direction: column;
align-items: stretch;
}
.command-box code {
text-align: center;
}
}
@media (max-width: 480px) {
.coding-empty {
padding: 2rem 1rem;
}
.coding-tile-git .btn {
flex: 1 1 100%;
}
}
/* CLAUDE.md Textarea im Modal */
#coding-claude-instructions {
font-family: var(--font-mono, 'Consolas', 'Monaco', monospace);
font-size: 0.85rem;
line-height: 1.5;
resize: vertical;
min-height: 200px;
}
/* Hint unter Labels */
.label-hint {
font-weight: normal;
font-size: 0.75rem;
color: var(--text-muted);
margin-left: 0.5rem;
}
.form-hint {
display: block;
margin-top: 0.25rem;
font-size: 0.75rem;
color: var(--text-muted);
}
/* CLAUDE.md Tabs */
.claude-tabs {
display: flex;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.claude-tab {
padding: 0.5rem 1rem;
border: 1px solid var(--border-color);
background: var(--bg-tertiary);
color: var(--text-secondary);
border-radius: 6px 6px 0 0;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.claude-tab:hover {
background: var(--bg-secondary);
color: var(--text-primary);
}
.claude-tab.active {
background: var(--bg-secondary);
color: var(--text-primary);
border-bottom-color: var(--bg-secondary);
}
.claude-content {
display: block;
}
.claude-content.active {
display: block;
}
/* CLAUDE.md Link */
.claude-link-container {
margin-top: 0.5rem;
}
.claude-link {
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 0.75rem 1rem;
width: 100%;
text-align: left;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.9rem;
}
.claude-link:hover:not(:disabled) {
background: var(--bg-secondary);
border-color: var(--primary-color);
}
.claude-link:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.claude-icon {
font-size: 1.1rem;
}
.claude-text {
color: var(--text-primary);
}
.claude-link:disabled .claude-text {
color: var(--text-muted);
font-style: italic;
}
/* CLAUDE.md Modal */
.claude-md-viewer {
width: 100%;
height: 70vh;
border: 1px solid var(--border-color);
border-radius: 8px;
overflow: hidden;
}
.claude-md-display {
width: 100%;
height: 100%;
background: var(--bg-tertiary);
padding: 1.5rem;
font-family: var(--font-mono, 'Consolas', 'Monaco', monospace);
font-size: 0.85rem;
line-height: 1.6;
white-space: pre-wrap;
word-wrap: break-word;
overflow-y: auto;
color: var(--text-primary);
margin: 0;
border: none;
outline: none;
resize: none;
}

Datei anzeigen

@ -413,6 +413,14 @@
gap: var(--spacing-2);
}
/* Avatar Container für mehrere Avatare */
.list-cell-assignee .avatar-container {
display: flex;
align-items: center;
gap: 2px;
flex-shrink: 0;
}
.list-cell-assignee .avatar {
width: 24px;
height: 24px;
@ -424,6 +432,12 @@
font-weight: var(--font-semibold);
color: white;
flex-shrink: 0;
cursor: pointer;
transition: transform 0.2s;
}
.list-cell-assignee .avatar:hover {
transform: scale(1.1);
}
.list-cell-assignee select {
@ -440,6 +454,28 @@
outline: none;
}
/* Hide assignee dropdown - show only avatars */
.list-cell-assignee .assignee-select {
display: none;
}
/* Empty avatar placeholder */
.list-cell-assignee .avatar-empty {
background: var(--border-color) !important;
color: var(--text-muted);
border: 1px solid var(--border-light);
}
/* Show dropdown when editing */
.list-cell-assignee.editing .assignee-select {
display: block;
flex: 1;
}
.list-cell-assignee.editing .avatar-container {
display: none;
}
/* Empty State */
.list-empty {
display: flex;

472
frontend/css/mobile.css Normale Datei
Datei anzeigen

@ -0,0 +1,472 @@
/**
* TASKMATE - Mobile Styles
* ========================
* Touch-optimierte Mobile-Erfahrung
* Nur auf mobilen Breakpoints angewendet
*/
/* ========================================
DESKTOP: Mobile-Elemente verstecken
======================================== */
@media (min-width: 769px) {
.hamburger-btn,
.mobile-menu,
.mobile-menu-overlay,
.swipe-indicator {
display: none !important;
}
}
/* ========================================
MOBILE STYLES (max-width: 768px)
======================================== */
@media (max-width: 768px) {
/* ========================================
HAMBURGER BUTTON
======================================== */
.hamburger-btn {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 44px;
height: 44px;
padding: 10px;
background: transparent;
border: none;
cursor: pointer;
z-index: calc(var(--z-modal) + 10);
position: relative;
flex-shrink: 0;
}
.hamburger-line {
display: block;
width: 24px;
height: 2px;
background: var(--text-primary);
border-radius: 2px;
transition: all 0.3s ease;
}
.hamburger-line + .hamburger-line {
margin-top: 6px;
}
/* Hamburger zu X Animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
/* ========================================
MOBILE SLIDE-IN MENU
======================================== */
.mobile-menu {
position: fixed;
top: 0;
left: 0;
width: 280px;
max-width: 85vw;
height: 100vh;
height: 100dvh;
background: var(--bg-card);
box-shadow: var(--shadow-xl);
z-index: var(--z-modal);
transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow-y: auto;
display: flex;
flex-direction: column;
}
.mobile-menu.open {
transform: translateX(0);
}
/* Overlay */
.mobile-menu-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--overlay-bg);
opacity: 0;
visibility: hidden;
z-index: calc(var(--z-modal) - 1);
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.visible {
opacity: 1;
visibility: visible;
}
/* Menu Header */
.mobile-menu-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-4);
border-bottom: 1px solid var(--border-light);
flex-shrink: 0;
}
.mobile-menu-title {
font-size: var(--text-lg);
font-weight: var(--font-bold);
color: var(--primary);
margin: 0;
}
.mobile-menu-close {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: none;
color: var(--text-secondary);
cursor: pointer;
border-radius: var(--radius-md);
transition: background 0.2s;
font-size: 1.5rem;
}
.mobile-menu-close:hover,
.mobile-menu-close:active {
background: var(--bg-hover);
}
/* Menu Sections */
.mobile-menu-section {
padding: var(--spacing-4);
border-bottom: 1px solid var(--border-light);
}
.mobile-menu-label {
display: block;
font-size: var(--text-xs);
font-weight: var(--font-semibold);
color: var(--text-tertiary);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: var(--spacing-2);
}
/* Project Select */
.mobile-project-select {
width: 100%;
padding: var(--spacing-3);
font-size: var(--text-base);
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
background: var(--bg-input);
color: var(--text-primary);
font-family: var(--font-primary);
}
/* Navigation */
.mobile-menu-nav {
display: flex;
flex-direction: column;
gap: var(--spacing-1);
}
.mobile-nav-item {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-3) var(--spacing-4);
font-size: var(--text-base);
font-weight: var(--font-medium);
color: var(--text-secondary);
background: transparent;
border: none;
border-radius: var(--radius-md);
cursor: pointer;
transition: all 0.2s;
text-align: left;
width: 100%;
}
.mobile-nav-item:hover,
.mobile-nav-item:active {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.mobile-nav-item.active {
background: var(--primary-light);
color: var(--primary);
}
.mobile-nav-item svg {
flex-shrink: 0;
width: 20px;
height: 20px;
}
/* User Section */
.mobile-menu-user {
margin-top: auto;
padding: var(--spacing-4);
border-top: 1px solid var(--border-light);
}
.mobile-user-info {
display: flex;
align-items: center;
gap: var(--spacing-3);
margin-bottom: var(--spacing-4);
}
.mobile-user-avatar {
width: 40px;
height: 40px;
border-radius: var(--radius-full);
background: var(--primary);
color: var(--text-inverse);
display: flex;
align-items: center;
justify-content: center;
font-weight: var(--font-semibold);
flex-shrink: 0;
}
.mobile-user-details {
display: flex;
flex-direction: column;
min-width: 0;
}
.mobile-user-name {
font-weight: var(--font-semibold);
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mobile-user-role {
font-size: var(--text-sm);
color: var(--text-tertiary);
}
.mobile-menu-btn {
width: 100%;
padding: var(--spacing-3);
font-size: var(--text-sm);
font-weight: var(--font-medium);
background: var(--bg-tertiary);
border: none;
border-radius: var(--radius-md);
color: var(--text-secondary);
cursor: pointer;
margin-bottom: var(--spacing-2);
transition: background 0.2s;
}
.mobile-menu-btn:hover,
.mobile-menu-btn:active {
background: var(--bg-hover);
}
.mobile-menu-btn-danger {
color: var(--error);
}
.mobile-menu-btn-danger:hover,
.mobile-menu-btn-danger:active {
background: var(--error-bg);
}
/* ========================================
HEADER ANPASSUNGEN
======================================== */
/* Desktop-Navigation verstecken */
.header-center .view-tabs {
display: none !important;
}
.header-left .project-selector {
display: none !important;
}
/* Header Layout anpassen */
.header-left {
gap: var(--spacing-2);
}
/* ========================================
TOUCH DRAG & DROP FEEDBACK
======================================== */
.task-card.touch-dragging {
transform: scale(1.03);
box-shadow: var(--shadow-xl);
opacity: 0.95;
z-index: 1000;
transition: none;
pointer-events: none;
}
.task-card.touch-drag-placeholder {
opacity: 0.3;
border: 2px dashed var(--border-default);
}
.column-body.touch-drag-over {
background: var(--primary-light);
border: 2px dashed var(--primary);
border-radius: var(--radius-md);
}
/* ========================================
SWIPE INDIKATOREN
======================================== */
.swipe-indicator {
position: fixed;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
background: var(--overlay-bg);
color: var(--text-inverse);
z-index: var(--z-tooltip);
opacity: 0;
transition: opacity 0.15s ease;
pointer-events: none;
}
.swipe-indicator.left {
left: 0;
border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.swipe-indicator.right {
right: 0;
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.swipe-indicator.visible {
opacity: 0.7;
}
.swipe-indicator svg {
width: 24px;
height: 24px;
}
/* ========================================
BOARD VIEW - HORIZONTAL SCROLLING
======================================== */
.view-board .board {
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
}
.view-board .column {
scroll-snap-align: start;
flex-shrink: 0;
}
/* ========================================
PREVENT TEXT SELECTION DURING GESTURES
======================================== */
.is-swiping,
.is-swiping *,
.is-touch-dragging,
.is-touch-dragging * {
user-select: none !important;
-webkit-user-select: none !important;
-webkit-touch-callout: none !important;
}
/* ========================================
BODY SCROLL LOCK
======================================== */
body.mobile-menu-open {
overflow: hidden;
position: fixed;
width: 100%;
height: 100%;
}
/* ========================================
TOUCH-FREUNDLICHE ELEMENTE
======================================== */
/* Groessere Touch-Targets */
.calendar-day {
min-height: 70px;
touch-action: manipulation;
}
/* Task-Karten */
.task-card {
touch-action: pan-y;
}
/* Buttons */
.btn {
min-height: 44px;
min-width: 44px;
}
}
/* ========================================
EXTRA SMALL MOBILE (max 480px)
======================================== */
@media (max-width: 480px) {
.mobile-menu {
width: 100%;
max-width: 100%;
}
.hamburger-btn {
width: 40px;
height: 40px;
padding: 8px;
}
.hamburger-line {
width: 20px;
}
.hamburger-line + .hamburger-line {
margin-top: 5px;
}
.hamburger-btn.active .hamburger-line:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
}