Dieser Commit ist enthalten in:
Claude Project Manager
2025-12-28 21:36:45 +00:00
Commit ab1e5be9a9
146 geänderte Dateien mit 65525 neuen und 0 gelöschten Zeilen

540
frontend/css/admin.css Normale Datei
Datei anzeigen

@ -0,0 +1,540 @@
/**
* TASKMATE - Admin Styles
* ========================
* Styles fuer die Admin-Oberflaeche
*/
/* Admin Screen */
.admin-screen {
display: none;
flex-direction: column;
min-height: 100vh;
background: var(--bg-main);
}
.admin-screen.active {
display: flex;
}
/* Admin Header */
.admin-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 2rem;
background: var(--bg-card);
border-bottom: 1px solid var(--border-default);
box-shadow: var(--shadow-sm);
}
.admin-header h1 {
font-size: 1.5rem;
color: var(--text-primary);
margin: 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
.admin-header h1 svg {
width: 24px;
height: 24px;
stroke: var(--primary);
}
/* Admin Content */
.admin-content {
flex: 1;
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
width: 100%;
}
/* Users Section */
.admin-users-section {
background: var(--bg-card);
border-radius: var(--radius-xl);
border: 1px solid var(--border-default);
box-shadow: var(--shadow-sm);
}
.admin-users-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border-light);
}
.admin-users-header h2 {
font-size: 1.1rem;
color: var(--text-primary);
margin: 0;
}
/* User List */
.admin-users-list {
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.admin-user-card {
display: flex;
align-items: center;
padding: 1rem;
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
border: 1px solid var(--border-light);
gap: 1rem;
transition: all var(--transition-fast);
}
.admin-user-card:hover {
border-color: var(--primary);
box-shadow: var(--shadow-sm);
}
.admin-user-avatar {
width: 40px;
height: 40px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
color: var(--text-inverse);
font-weight: 600;
font-size: 1rem;
flex-shrink: 0;
}
.admin-user-info {
flex: 1;
min-width: 0;
}
.admin-user-name {
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: 0.25rem;
}
.admin-user-username {
font-size: var(--text-sm);
color: var(--text-tertiary);
}
.admin-user-badges {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.admin-badge {
padding: 4px 10px;
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: var(--font-medium);
}
.admin-badge.role-admin {
background: var(--error-bg);
color: var(--error-text);
}
.admin-badge.role-user {
background: var(--primary-light);
color: var(--primary);
}
.admin-badge.permission {
background: var(--success-bg);
color: var(--success-text);
}
.admin-user-actions {
display: flex;
gap: 0.5rem;
}
.admin-user-actions button {
padding: 0.5rem;
background: transparent;
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-tertiary);
cursor: pointer;
transition: all var(--transition-fast);
}
.admin-user-actions button:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.admin-user-actions button.danger:hover {
background: var(--error);
border-color: var(--error);
color: var(--text-inverse);
}
/* User Modal - Verwendet Standard-Formularstyles aus components.css */
.user-modal-form {
display: flex;
flex-direction: column;
gap: var(--spacing-5);
}
.user-modal-form .form-group {
display: flex;
flex-direction: column;
gap: var(--spacing-2);
margin-bottom: 0;
}
.user-modal-form label {
font-size: var(--text-sm);
color: var(--text-primary);
font-weight: var(--font-medium);
}
.user-modal-form label span {
font-weight: normal;
color: var(--text-tertiary);
}
.user-modal-form .form-hint {
margin-top: 4px;
}
/* Input-Felder im User Modal - nutzen Standard-Styles, aber mit sichtbarem Hintergrund */
.user-modal-form input[type="text"],
.user-modal-form input[type="password"],
.user-modal-form select {
width: 100%;
padding: 10px 14px;
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-primary);
transition: all var(--transition-fast);
}
.user-modal-form input[type="text"]:hover,
.user-modal-form input[type="password"]:hover,
.user-modal-form select:hover {
border-color: var(--border-dark);
}
.user-modal-form input[type="text"]:focus,
.user-modal-form input[type="password"]:focus,
.user-modal-form select:focus {
border-color: var(--primary);
box-shadow: var(--shadow-focus);
outline: none;
}
.user-modal-form input[type="color"] {
width: 100%;
height: 40px;
padding: 4px;
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
cursor: pointer;
}
.user-modal-form select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 18px;
padding-right: 40px;
}
.permissions-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: var(--spacing-3);
background: var(--bg-tertiary);
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
}
.permission-item {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-2);
}
.permission-item input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: var(--primary);
cursor: pointer;
}
.permission-item label {
font-size: var(--text-sm);
color: var(--text-primary);
cursor: pointer;
font-weight: var(--font-medium);
}
.permission-item .permission-desc {
font-size: var(--text-xs);
color: var(--text-tertiary);
margin-left: auto;
}
/* User Status */
.admin-user-status {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8rem;
}
.status-locked {
color: var(--color-priority-high);
}
.status-active {
color: var(--color-priority-low);
}
/* Empty State */
.admin-empty-state {
padding: 3rem;
text-align: center;
color: var(--text-muted);
}
.admin-empty-state svg {
width: 48px;
height: 48px;
fill: var(--text-muted);
margin-bottom: 1rem;
}
/* Input with Prefix */
.input-with-prefix {
display: flex;
align-items: stretch;
}
.input-prefix {
display: flex;
align-items: center;
justify-content: center;
padding: 0 12px;
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-right: none;
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
color: var(--text-secondary);
font-weight: 600;
font-size: var(--text-sm);
}
.input-with-prefix input {
border-radius: 0 var(--radius-lg) var(--radius-lg) 0 !important;
flex: 1;
}
/* Form Hint */
.form-hint {
font-weight: normal;
font-size: var(--text-xs);
color: var(--text-muted);
}
/* =========================
Upload Settings Section
========================= */
.admin-upload-section {
background: var(--bg-card);
border-radius: var(--radius-xl);
border: 1px solid var(--border-default);
box-shadow: var(--shadow-sm);
margin-top: 1.5rem;
padding: 1.5rem;
}
.admin-section-header {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-light);
}
.admin-section-header h2 {
font-size: 1.1rem;
color: var(--text-primary);
margin: 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
.admin-section-header h2 svg {
stroke: var(--primary);
}
/* Upload Size Input */
.admin-upload-size {
margin-bottom: 1.5rem;
}
.admin-upload-size label {
display: block;
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.upload-size-input {
display: flex;
align-items: center;
gap: 0.5rem;
max-width: 150px;
}
.upload-size-input input {
width: 80px;
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-primary);
}
.upload-size-input input:focus {
border-color: var(--primary);
outline: none;
box-shadow: var(--shadow-focus);
}
.upload-size-unit {
font-size: var(--text-sm);
color: var(--text-secondary);
font-weight: var(--font-medium);
}
/* Upload Types */
.admin-upload-types {
margin-bottom: 1.5rem;
}
.admin-upload-types h3 {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin: 0 0 1rem 0;
}
/* Upload Category */
.upload-category {
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);
}
.upload-category:hover {
border-color: var(--border-default);
}
.upload-category.disabled {
opacity: 0.5;
}
.upload-category.disabled .upload-category-types {
display: none;
}
.upload-category-header {
padding: 0.75rem 1rem;
background: var(--bg-card);
}
.upload-category-toggle {
display: flex;
align-items: center;
gap: 0.75rem;
cursor: pointer;
user-select: none;
}
.upload-category-toggle input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: var(--primary);
cursor: pointer;
}
.upload-category-title {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
}
.upload-category-types {
padding: 0.75rem 1rem;
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.upload-type-tag {
display: inline-block;
padding: 4px 10px;
background: var(--primary-light);
color: var(--primary);
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: var(--font-medium);
}
/* Upload Actions */
.admin-upload-actions {
padding-top: 1rem;
border-top: 1px solid var(--border-light);
}
/* Responsive */
@media (max-width: 768px) {
.admin-header {
padding: 1rem;
}
.admin-content {
padding: 1rem;
}
.admin-user-card {
flex-wrap: wrap;
}
.admin-user-badges {
width: 100%;
order: 3;
margin-top: 0.5rem;
}
.user-modal-form .form-row {
grid-template-columns: 1fr;
}
}

311
frontend/css/base.css Normale Datei
Datei anzeigen

@ -0,0 +1,311 @@
/**
* TASKMATE - Base Styles
* ======================
* Reset und grundlegende Styles - Modernes Light Theme
*/
/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Reset */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
body {
font-family: var(--font-primary);
font-size: var(--text-base);
line-height: var(--leading-normal);
color: var(--text-primary);
background-color: var(--bg-main);
min-height: 100vh;
overflow-x: hidden;
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--scrollbar-bg);
border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar-thumb);
border-radius: var(--radius-full);
border: 2px solid var(--scrollbar-bg);
}
::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-thumb-hover);
}
/* Firefox Scrollbar */
* {
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}
/* Selection */
::selection {
background: var(--primary);
color: var(--text-inverse);
}
/* Links */
a {
color: var(--primary);
text-decoration: none;
transition: color var(--transition-fast);
}
a:hover {
color: var(--primary-hover);
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-primary);
font-weight: var(--font-semibold);
line-height: var(--leading-tight);
color: var(--text-primary);
letter-spacing: -0.025em;
}
h1 { font-size: var(--text-3xl); font-weight: var(--font-bold); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
/* Paragraphs */
p {
margin-bottom: var(--spacing-4);
color: var(--text-secondary);
}
p:last-child {
margin-bottom: 0;
}
/* Lists */
ul, ol {
list-style: none;
}
/* Images */
img {
max-width: 100%;
height: auto;
display: block;
}
/* Focus States */
:focus {
outline: none;
}
:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
border-radius: var(--radius-sm);
}
/* Hidden */
.hidden {
display: none !important;
}
/* Screen reader only */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Text utilities */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger, .text-error { color: var(--error); }
/* Font weights */
.font-normal { font-weight: var(--font-normal); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }
/* Icons */
.icon {
width: 20px;
height: 20px;
flex-shrink: 0;
color: currentColor;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }
/* Spinner */
.spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid var(--border-default);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.spinner-sm { width: 16px; height: 16px; border-width: 2px; }
.spinner-lg { width: 32px; height: 32px; border-width: 3px; }
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Skeleton Loading */
.skeleton {
background: linear-gradient(
90deg,
var(--bg-tertiary) 0%,
var(--bg-hover) 50%,
var(--bg-tertiary) 100%
);
background-size: 200% 100%;
animation: shimmer 1.5s ease-in-out infinite;
border-radius: var(--radius-md);
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* Empty State */
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: var(--spacing-8);
color: var(--text-tertiary);
}
.empty-state .icon {
width: 48px;
height: 48px;
margin-bottom: var(--spacing-4);
color: var(--text-muted);
}
.empty-state h3 {
font-size: var(--text-lg);
font-weight: var(--font-medium);
color: var(--text-secondary);
margin-bottom: var(--spacing-2);
}
.empty-state p {
font-size: var(--text-sm);
color: var(--text-tertiary);
max-width: 300px;
}
/* Divider */
.divider {
height: 1px;
background: var(--border-default);
margin: var(--spacing-4) 0;
}
/* Keyboard shortcuts */
kbd {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 24px;
height: 24px;
padding: 0 var(--spacing-2);
font-family: var(--font-mono);
font-size: var(--text-xs);
font-weight: var(--font-medium);
color: var(--text-secondary);
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
box-shadow: 0 1px 0 var(--border-dark);
}
/* Truncate */
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Line clamp */
.line-clamp-1 {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--spacing-1); }
.gap-2 { gap: var(--spacing-2); }
.gap-3 { gap: var(--spacing-3); }
.gap-4 { gap: var(--spacing-4); }
/* Cursor utilities */
.cursor-pointer { cursor: pointer; }
.cursor-grab { cursor: grab; }
.cursor-grabbing { cursor: grabbing; }
/* Transition utility */
.transition {
transition: all var(--transition-default);
}

1096
frontend/css/board.css Normale Datei

Datei-Diff unterdrückt, da er zu groß ist Diff laden

763
frontend/css/calendar.css Normale Datei
Datei anzeigen

@ -0,0 +1,763 @@
/**
* TASKMATE - Calendar Styles
* ==========================
* Kalender-Ansicht - Modernes Light Theme
*/
/* ========================================
CALENDAR VIEW
======================================== */
.view-calendar {
display: flex;
flex-direction: column;
padding: var(--spacing-6);
gap: var(--spacing-4);
background: var(--bg-main);
height: 100%;
}
/* Calendar Header */
.calendar-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--spacing-4);
padding: var(--spacing-4) var(--spacing-5);
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-sm);
flex-shrink: 0;
}
.calendar-nav {
display: flex;
align-items: center;
gap: var(--spacing-3);
}
.calendar-nav h2 {
min-width: 200px;
text-align: center;
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
margin: 0;
}
.calendar-actions {
display: flex;
align-items: center;
gap: var(--spacing-3);
}
/* View Toggle Buttons */
.calendar-view-toggle {
display: flex;
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
padding: 3px;
}
.btn-toggle {
padding: var(--spacing-2) var(--spacing-4);
font-size: var(--text-sm);
font-weight: var(--font-medium);
background: transparent;
border: none;
border-radius: var(--radius-md);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
}
.btn-toggle:hover {
color: var(--text-primary);
}
.btn-toggle.active {
background: var(--bg-card);
color: var(--primary);
box-shadow: var(--shadow-sm);
}
/* Calendar Filter Checkbox */
.calendar-filter-checkbox {
display: flex;
align-items: center;
gap: var(--spacing-2);
font-size: var(--text-sm);
color: var(--text-secondary);
cursor: pointer;
user-select: none;
padding: var(--spacing-2) var(--spacing-3);
border-radius: var(--radius-md);
transition: all var(--transition-fast);
}
.calendar-filter-checkbox:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.calendar-filter-checkbox input[type="checkbox"] {
width: 16px;
height: 16px;
accent-color: var(--primary);
cursor: pointer;
}
/* Calendar Filter Dropdown */
.calendar-filter-dropdown {
position: relative;
}
.calendar-filter-btn {
display: flex;
align-items: center;
gap: var(--spacing-2);
}
.calendar-filter-btn .icon {
width: 16px;
height: 16px;
}
.calendar-filter-menu {
position: absolute;
top: 100%;
right: 0;
margin-top: var(--spacing-2);
min-width: 200px;
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
z-index: 100;
padding: var(--spacing-2);
}
.calendar-filter-menu.hidden {
display: none;
}
.calendar-filter-item {
display: flex;
align-items: center;
gap: var(--spacing-2);
padding: var(--spacing-2) var(--spacing-3);
font-size: var(--text-sm);
color: var(--text-secondary);
cursor: pointer;
border-radius: var(--radius-md);
transition: all var(--transition-fast);
}
.calendar-filter-item:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.calendar-filter-item input[type="checkbox"] {
width: 16px;
height: 16px;
accent-color: var(--primary);
cursor: pointer;
}
.calendar-filter-item.checked {
color: var(--text-primary);
}
/* Weekday Headers */
.calendar-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
background: var(--bg-card);
border: 1px solid var(--border-light);
border-bottom: none;
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
overflow: hidden;
}
.calendar-weekday {
padding: var(--spacing-3) var(--spacing-2);
text-align: center;
font-size: var(--text-sm);
font-weight: var(--font-semibold);
color: var(--text-secondary);
background: var(--bg-tertiary);
border-right: 1px solid var(--border-light);
}
.calendar-weekday:last-child {
border-right: none;
}
/* Weekend headers */
.calendar-weekday:nth-child(6),
.calendar-weekday:nth-child(7) {
background: rgba(0, 0, 0, 0.04);
}
/* Calendar Grid Container */
.calendar-grid {
flex: 1;
display: grid;
background: var(--bg-card);
border: 1px solid var(--border-light);
border-top: none;
border-radius: 0 0 var(--radius-xl) var(--radius-xl);
box-shadow: var(--shadow-sm);
overflow: hidden;
min-height: 400px;
}
/* Month View Grid */
.calendar-grid.calendar-month-view {
grid-template-columns: repeat(7, 1fr);
grid-auto-rows: minmax(100px, 1fr);
}
/* Week View Grid */
.calendar-grid.calendar-week-view {
grid-template-columns: repeat(7, 1fr);
grid-template-rows: 1fr;
}
/* ========================================
MONTH VIEW - CALENDAR DAY
======================================== */
.calendar-day {
padding: var(--spacing-2);
border-right: 1px solid var(--border-light);
border-bottom: 1px solid var(--border-light);
cursor: pointer;
transition: background var(--transition-fast);
background: var(--bg-card);
min-height: 100px;
overflow: visible;
position: relative;
}
.calendar-day:nth-child(7n) {
border-right: none;
}
.calendar-day:hover {
background: var(--bg-tertiary);
}
.calendar-day.other-month {
opacity: 0.4;
background: var(--bg-tertiary);
}
.calendar-day.today {
background: var(--primary-light);
}
.calendar-day-number {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
min-width: 28px;
min-height: 28px;
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: var(--spacing-1);
box-sizing: border-box;
flex-shrink: 0;
/* Reserve same space with transparent border for consistent sizing */
border: 2px solid transparent;
border-radius: var(--radius-full);
}
.calendar-day.today .calendar-day-number {
background: var(--primary);
color: var(--text-inverse);
/* Border is already set, no size change occurs */
}
/* Calendar Tasks in Month View */
.calendar-day-tasks {
display: flex;
flex-direction: column;
gap: 2px;
position: relative;
margin-left: calc(-1 * var(--spacing-2));
margin-right: calc(-1 * var(--spacing-2));
padding-left: var(--spacing-2);
padding-right: var(--spacing-2);
}
.calendar-task {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
padding: 4px 8px;
font-size: 12px;
font-weight: var(--font-medium);
background: var(--bg-tertiary);
border-radius: var(--radius-sm);
border-left: 3px solid #6B7280;
cursor: pointer;
transition: all var(--transition-fast);
color: var(--text-primary);
}
.calendar-task:hover {
filter: brightness(0.92);
}
.calendar-task-title {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* User badges container - for multiple assignees */
.calendar-task-badges {
display: flex;
gap: 2px;
flex-shrink: 0;
}
/* User badge - shows initials with user color */
.calendar-task-user-badge {
flex-shrink: 0;
padding: 2px 5px;
font-size: 10px;
font-weight: var(--font-bold);
color: white;
background: #6B7280;
border-radius: var(--radius-sm);
text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}
.calendar-task.overdue {
position: relative;
}
.calendar-task.overdue::after {
content: '!';
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
width: 14px;
height: 14px;
font-size: 10px;
font-weight: bold;
line-height: 14px;
text-align: center;
color: white;
background: var(--error);
border-radius: 50%;
}
/* Multi-day task range styles */
.calendar-task.has-range {
border-radius: 0;
/* Extend beyond cell boundaries including 1px cell border for seamless connection */
margin-left: calc(-1 * var(--spacing-2) - 1px);
margin-right: calc(-1 * var(--spacing-2));
padding: 4px var(--spacing-2);
/* Fixed height for consistent bar thickness across all days */
height: 24px;
box-sizing: border-box;
line-height: 16px;
/* Transparent border for middle/end - color set via inline style on start */
border-left: 3px solid transparent;
}
.calendar-task.has-range.range-start {
border-radius: var(--radius-sm) 0 0 var(--radius-sm);
/* Start doesn't extend left into previous cell */
margin-left: 0;
/* Compensate for the 1px difference to maintain same width */
padding-left: calc(var(--spacing-2) + 1px);
/* Border color set via inline style */
}
.calendar-task.has-range.range-end {
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
/* End doesn't extend right into next cell */
margin-right: 0;
}
.calendar-task.has-range.range-middle {
color: transparent;
}
/* Search highlight - highlighted task in calendar search */
.calendar-task.search-highlight,
.calendar-week-task.search-highlight {
border: 3px solid var(--primary);
box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
z-index: 10;
position: relative;
animation: pulse-highlight 2s ease-in-out infinite;
}
/* Continuous border for multi-day tasks */
.calendar-task.search-highlight.has-range.range-start {
border-right: none;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.calendar-task.search-highlight.has-range.range-middle {
border-left: none;
border-right: none;
border-radius: 0;
}
.calendar-task.search-highlight.has-range.range-end {
border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
@keyframes pulse-highlight {
0%, 100% {
box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}
50% {
box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}
}
/* Hide user badge on middle/end parts of range */
.calendar-task.has-range.range-middle .calendar-task-user-badge,
.calendar-task.has-range.range-end .calendar-task-user-badge {
display: none;
}
.calendar-more {
padding: 2px 6px;
font-size: 10px;
color: var(--text-tertiary);
cursor: pointer;
}
.calendar-more:hover {
color: var(--primary);
}
/* Weekends styling */
.calendar-day:nth-child(7n-1),
.calendar-day:nth-child(7n) {
background: rgba(0, 0, 0, 0.02);
}
/* Has tasks indicator */
.calendar-day.has-tasks {
background: var(--bg-card);
}
/* ========================================
WEEK VIEW
======================================== */
.calendar-week-day {
display: flex;
flex-direction: column;
border-right: 1px solid var(--border-light);
background: var(--bg-card);
min-height: 400px;
}
.calendar-week-day:last-child {
border-right: none;
}
.calendar-week-day.today {
background: var(--primary-light);
}
/* Week Day Header */
.calendar-week-day-header {
display: flex;
flex-direction: column;
align-items: center;
padding: var(--spacing-3);
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border-light);
}
.calendar-week-day-name {
font-size: var(--text-xs);
font-weight: var(--font-medium);
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.calendar-week-day-number {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
border-radius: var(--radius-full);
margin-top: var(--spacing-1);
}
.calendar-week-day-number.today {
background: var(--primary);
color: var(--text-inverse);
}
/* Week Day Tasks */
.calendar-week-day-tasks {
flex: 1;
display: flex;
flex-direction: column;
gap: var(--spacing-2);
padding: var(--spacing-3);
overflow-y: auto;
}
.calendar-week-empty {
text-align: center;
padding: var(--spacing-4);
color: var(--text-tertiary);
font-size: var(--text-sm);
}
.calendar-week-task {
display: flex;
align-items: center;
gap: var(--spacing-2);
padding: var(--spacing-2) var(--spacing-3);
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
border-left: 3px solid #6B7280;
cursor: pointer;
transition: all var(--transition-fast);
}
.calendar-week-task:hover {
background: var(--bg-hover);
transform: translateX(2px);
}
.calendar-week-task.overdue {
position: relative;
}
.calendar-week-task.overdue::after {
content: '!';
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
width: 16px;
height: 16px;
font-size: 11px;
font-weight: bold;
line-height: 16px;
text-align: center;
color: white;
background: var(--error);
border-radius: 50%;
}
.calendar-week-task-title {
flex: 1;
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Week view multi-day task range styles */
.calendar-week-task.has-range {
position: relative;
}
.calendar-week-task.has-range.range-start::after {
content: '▶';
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
font-size: 8px;
color: var(--text-tertiary);
}
.calendar-week-task.has-range.range-end::after {
content: '◀';
position: absolute;
left: 28px;
top: 50%;
transform: translateY(-50%);
font-size: 8px;
color: var(--text-tertiary);
}
.calendar-week-task.has-range.range-middle {
opacity: 0.7;
background: var(--bg-hover);
}
/* Week Add Task Button */
.calendar-week-add-task {
margin: var(--spacing-2) var(--spacing-3) var(--spacing-3);
padding: var(--spacing-2);
background: transparent;
border: 1px dashed var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-tertiary);
font-size: var(--text-sm);
cursor: pointer;
transition: all var(--transition-fast);
}
.calendar-week-add-task:hover {
background: var(--bg-tertiary);
border-color: var(--primary);
color: var(--primary);
}
/* ========================================
DAY DETAIL POPUP
======================================== */
.calendar-day-detail {
position: fixed;
min-width: 280px;
max-width: 350px;
padding: var(--spacing-4);
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-xl);
z-index: var(--z-dropdown);
}
.calendar-day-detail-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--spacing-4);
padding-bottom: var(--spacing-3);
border-bottom: 1px solid var(--border-light);
}
.calendar-day-detail-date {
font-weight: var(--font-semibold);
color: var(--text-primary);
}
.calendar-day-detail-tasks {
display: flex;
flex-direction: column;
gap: var(--spacing-2);
max-height: 300px;
overflow-y: auto;
}
.calendar-detail-task {
display: flex;
align-items: center;
gap: var(--spacing-2);
padding: var(--spacing-2) var(--spacing-3);
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.calendar-detail-task:hover {
background: var(--bg-hover);
transform: translateX(4px);
}
/* Priority Stars - siehe components.css */
.calendar-detail-title {
flex: 1;
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
}
/* ========================================
RESPONSIVE
======================================== */
@media (max-width: 768px) {
.view-calendar {
padding: var(--spacing-3);
}
.calendar-header {
flex-direction: column;
gap: var(--spacing-3);
padding: var(--spacing-3);
}
.calendar-nav {
width: 100%;
justify-content: space-between;
}
.calendar-nav h2 {
min-width: auto;
font-size: var(--text-base);
}
.calendar-actions {
width: 100%;
justify-content: space-between;
}
.calendar-weekday {
font-size: var(--text-xs);
padding: var(--spacing-2);
}
.calendar-day {
min-height: 60px;
padding: var(--spacing-1);
}
.calendar-day-number {
width: 24px;
height: 24px;
min-width: 24px;
min-height: 24px;
font-size: var(--text-xs);
}
.calendar-task {
font-size: 9px;
padding: 1px 4px;
}
/* Week view on mobile - scroll horizontally */
.calendar-grid.calendar-week-view {
overflow-x: auto;
}
.calendar-week-day {
min-width: 140px;
min-height: 300px;
}
}

790
frontend/css/components.css Normale Datei
Datei anzeigen

@ -0,0 +1,790 @@
/**
* TASKMATE - Components
* =====================
* Buttons, Inputs, Cards, etc. - Modernes Light Theme
*/
/* ========================================
BUTTONS
======================================== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--spacing-2);
padding: 0 var(--spacing-4);
height: 40px;
font-family: var(--font-primary);
font-size: var(--text-sm);
font-weight: var(--font-medium);
border: none;
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-default);
white-space: nowrap;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Primary Button */
.btn-primary {
background: var(--primary);
color: var(--text-inverse);
box-shadow: var(--shadow-sm);
}
.btn-primary:hover:not(:disabled) {
background: var(--primary-hover);
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
transform: translateY(0);
box-shadow: var(--shadow-xs);
}
/* Secondary Button */
.btn-secondary {
background: var(--bg-secondary);
color: var(--text-primary);
border: 1px solid var(--border-default);
}
.btn-secondary:hover:not(:disabled) {
background: var(--bg-tertiary);
border-color: var(--border-dark);
}
/* Ghost Button */
.btn-ghost {
background: transparent;
color: var(--text-secondary);
}
.btn-ghost:hover:not(:disabled) {
background: var(--bg-tertiary);
color: var(--text-primary);
}
/* Danger Button */
.btn-danger {
background: var(--error);
color: var(--text-inverse);
}
.btn-danger:hover:not(:disabled) {
background: #DC2626;
box-shadow: var(--shadow-md);
}
/* Text Button */
.btn-text {
background: transparent;
color: var(--primary);
padding: 0 var(--spacing-2);
height: auto;
font-weight: var(--font-medium);
}
.btn-text:hover:not(:disabled) {
color: var(--primary-hover);
background: var(--primary-light);
}
/* Icon Button */
.btn-icon {
width: 36px;
height: 36px;
padding: 0;
background: transparent;
color: var(--text-tertiary);
border-radius: var(--radius-lg);
}
.btn-icon:hover:not(:disabled) {
background: var(--bg-tertiary);
color: var(--text-primary);
}
/* Block Button */
.btn-block {
width: 100%;
}
/* Small Button */
.btn-sm {
height: 32px;
padding: 0 var(--spacing-3);
font-size: var(--text-xs);
border-radius: var(--radius-md);
}
/* Large Button */
.btn-lg {
height: 48px;
padding: 0 var(--spacing-6);
font-size: var(--text-base);
}
/* ========================================
FORM ELEMENTS
======================================== */
.form-group {
margin-bottom: var(--spacing-4);
}
.form-group label {
display: block;
margin-bottom: var(--spacing-2);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
}
.form-row {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--spacing-4);
}
.form-group-large {
grid-column: 1 / -1;
}
/* Input */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="date"],
input[type="search"],
textarea,
select {
width: 100%;
padding: 10px 14px;
font-family: var(--font-primary);
font-size: var(--text-sm);
color: var(--text-primary);
background: var(--bg-input);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
transition: all var(--transition-fast);
}
input:hover,
textarea:hover,
select:hover {
border-color: var(--border-dark);
}
input:focus,
textarea:focus,
select:focus {
border-color: var(--primary);
box-shadow: var(--shadow-focus);
outline: none;
}
input::placeholder,
textarea::placeholder {
color: var(--text-placeholder);
}
/* Select */
select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 18px;
padding-right: 40px;
cursor: pointer;
}
/* Multi-Select Dropdown */
.multi-select-dropdown {
position: relative;
width: 100%;
}
.multi-select-trigger {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
min-height: 42px;
padding: 8px 14px;
background: var(--bg-input);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.multi-select-trigger:hover {
border-color: var(--border-dark);
}
.multi-select-dropdown.open .multi-select-trigger {
border-color: var(--primary);
box-shadow: var(--shadow-focus);
}
.multi-select-placeholder {
color: var(--text-placeholder);
font-size: var(--text-sm);
}
.multi-select-selected {
display: flex;
flex-wrap: wrap;
gap: 6px;
flex: 1;
}
.multi-select-tag {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
background: var(--bg-tertiary);
border-radius: var(--radius-full);
font-size: var(--text-xs);
color: var(--text-primary);
}
.multi-select-tag-avatar {
width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 600;
color: white;
}
.multi-select-arrow {
font-size: 10px;
color: var(--text-secondary);
transition: transform var(--transition-fast);
margin-left: 8px;
}
.multi-select-dropdown.open .multi-select-arrow {
transform: rotate(180deg);
}
.multi-select-dropdown.open {
z-index: 1000;
}
.multi-select-options {
position: fixed;
max-height: 240px;
overflow-y: auto;
background: #ffffff;
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
z-index: 10000;
}
.multi-select-option {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
cursor: pointer;
background: #ffffff;
transition: background var(--transition-fast);
white-space: nowrap;
}
.multi-select-option:hover {
background: #f3f4f6;
}
.multi-select-option input[type="checkbox"] {
width: 16px;
height: 16px;
flex-shrink: 0;
}
.multi-select-option-avatar {
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: 600;
color: white;
flex-shrink: 0;
}
.multi-select-option-name {
font-size: var(--text-sm);
color: var(--text-primary);
}
.form-group-wide {
grid-column: 1 / -1;
}
/* Textarea */
textarea {
resize: vertical;
min-height: 100px;
line-height: var(--leading-relaxed);
}
/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
width: 18px;
height: 18px;
margin: 0;
cursor: pointer;
accent-color: var(--primary);
}
/* Color Input */
input[type="color"] {
width: 48px;
height: 40px;
padding: 4px;
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
cursor: pointer;
}
/* Error Message */
.error-message {
padding: var(--spacing-3);
margin-bottom: var(--spacing-4);
font-size: var(--text-sm);
color: var(--error-text);
background: var(--error-bg);
border: 1px solid var(--error);
border-radius: var(--radius-lg);
}
/* Filter Select */
.filter-select {
padding: 6px 32px 6px 10px;
font-size: var(--text-sm);
background-size: 14px;
min-width: 120px;
height: 34px;
}
/* ========================================
CARDS
======================================== */
.card {
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
padding: var(--spacing-5);
box-shadow: var(--shadow-sm);
transition: all var(--transition-default);
}
.card:hover {
border-color: var(--border-default);
box-shadow: var(--shadow-md);
}
/* ========================================
BADGES & TAGS
======================================== */
.badge {
display: inline-flex;
align-items: center;
padding: 4px 10px;
font-size: var(--text-xs);
font-weight: var(--font-medium);
border-radius: var(--radius-full);
white-space: nowrap;
}
.badge-default {
background: var(--bg-tertiary);
color: var(--text-secondary);
}
.badge-primary {
background: var(--primary-light);
color: var(--primary);
}
.badge-success {
background: var(--success-bg);
color: var(--success-text);
}
.badge-warning {
background: var(--warning-bg);
color: var(--warning-text);
}
.badge-error {
background: var(--error-bg);
color: var(--error-text);
}
/* Priority Badges */
.priority-high {
background: var(--priority-high-bg);
color: var(--priority-high);
}
.priority-medium {
background: var(--priority-medium-bg);
color: var(--priority-medium);
}
.priority-low {
background: var(--priority-low-bg);
color: var(--priority-low);
}
/* Label Tag */
.label-tag {
display: inline-flex;
align-items: center;
gap: var(--spacing-1);
padding: 3px 10px;
font-size: var(--text-xs);
font-weight: var(--font-medium);
border-radius: var(--radius-full);
cursor: default;
}
.label-tag .remove {
cursor: pointer;
opacity: 0.7;
margin-left: var(--spacing-1);
}
.label-tag .remove:hover {
opacity: 1;
}
/* ========================================
TOOLTIPS
======================================== */
.tooltip {
position: absolute;
padding: 8px 12px;
font-size: var(--text-sm);
color: var(--text-inverse);
background: var(--text-primary);
border-radius: var(--radius-md);
box-shadow: var(--shadow-lg);
z-index: var(--z-tooltip);
pointer-events: none;
opacity: 0;
transition: opacity var(--transition-fast);
}
.tooltip.visible {
opacity: 1;
}
/* ========================================
TOAST NOTIFICATIONS
======================================== */
.toast-container {
position: fixed;
bottom: var(--spacing-6);
right: var(--spacing-6);
display: flex;
flex-direction: column;
gap: var(--spacing-3);
z-index: var(--z-toast);
}
.toast {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-4);
min-width: 320px;
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-lg);
animation: slideIn 0.3s ease;
}
.toast-icon {
flex-shrink: 0;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.toast-message {
flex: 1;
font-size: var(--text-sm);
color: var(--text-primary);
}
.toast.toast-success .toast-icon { color: var(--success); }
.toast.toast-error .toast-icon { color: var(--error); }
.toast.toast-warning .toast-icon { color: var(--warning); }
.toast.toast-info .toast-icon { color: var(--info); }
.toast-close {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 4px;
border-radius: var(--radius-md);
transition: all var(--transition-fast);
}
.toast-close:hover {
color: var(--text-primary);
background: var(--bg-tertiary);
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* ========================================
DROPDOWN
======================================== */
.dropdown {
position: relative;
}
.dropdown-menu {
position: absolute;
top: calc(100% + 4px);
right: 0;
min-width: 200px;
padding: var(--spacing-2);
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-lg);
z-index: var(--z-dropdown);
}
.dropdown-item {
display: flex;
align-items: center;
gap: var(--spacing-3);
width: 100%;
padding: var(--spacing-2) var(--spacing-3);
font-size: var(--text-sm);
color: var(--text-secondary);
background: none;
border: none;
border-radius: var(--radius-lg);
cursor: pointer;
text-align: left;
transition: all var(--transition-fast);
}
.dropdown-item:hover {
background: var(--bg-tertiary);
color: var(--text-primary);
}
.dropdown-item.text-danger {
color: var(--error);
}
.dropdown-item.text-danger:hover {
background: var(--error-bg);
}
.dropdown-divider {
height: 1px;
background: var(--border-light);
margin: var(--spacing-2) 0;
}
/* ========================================
TABS
======================================== */
.tabs {
display: flex;
gap: var(--spacing-1);
padding: var(--spacing-1);
background: var(--bg-tertiary);
border-radius: var(--radius-xl);
}
.tab {
padding: var(--spacing-2) var(--spacing-4);
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-tertiary);
background: none;
border: none;
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.tab:hover {
color: var(--text-secondary);
}
.tab.active {
color: var(--text-primary);
background: var(--bg-card);
box-shadow: var(--shadow-sm);
}
/* ========================================
PROGRESS BAR
======================================== */
.progress {
height: 8px;
background: var(--bg-tertiary);
border-radius: var(--radius-full);
overflow: hidden;
}
.progress-bar {
height: 100%;
background: var(--primary);
border-radius: var(--radius-full);
transition: width var(--transition-default);
}
.progress-bar.success {
background: var(--success);
}
/* ========================================
AVATAR
======================================== */
.avatar {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
font-size: var(--text-sm);
font-weight: var(--font-semibold);
color: var(--text-inverse);
background: var(--primary);
border-radius: var(--radius-full);
border: 2px solid var(--bg-card);
}
.avatar-sm { width: 28px; height: 28px; font-size: var(--text-xs); }
.avatar-lg { width: 44px; height: 44px; font-size: var(--text-base); }
/* ========================================
TABLE
======================================== */
.task-table {
width: 100%;
border-collapse: collapse;
}
.task-table th,
.task-table td {
padding: var(--spacing-3) var(--spacing-4);
text-align: left;
border-bottom: 1px solid var(--border-light);
}
.task-table th {
font-size: var(--text-xs);
font-weight: var(--font-semibold);
color: var(--text-tertiary);
text-transform: uppercase;
letter-spacing: 0.05em;
background: var(--bg-tertiary);
}
.task-table th.sortable {
cursor: pointer;
user-select: none;
}
.task-table th.sortable:hover {
color: var(--primary);
}
.task-table tbody tr {
transition: background var(--transition-fast);
}
.task-table tbody tr:hover {
background: var(--bg-tertiary);
}
.task-table td {
font-size: var(--text-sm);
color: var(--text-secondary);
}
.col-checkbox { width: 40px; }
.col-priority { width: 100px; }
.col-status { width: 120px; }
.col-due { width: 120px; }
.col-assignee { width: 120px; }
/* ========================================
PRIORITY STARS
======================================== */
.priority-stars {
font-size: 12px;
letter-spacing: -1px;
flex-shrink: 0;
cursor: default;
background: transparent !important;
padding: 0;
}
.priority-stars.priority-high {
color: var(--priority-high);
}
.priority-stars.priority-medium {
color: var(--priority-medium);
}
.priority-stars.priority-low {
color: var(--priority-low);
}

291
frontend/css/dashboard.css Normale Datei
Datei anzeigen

@ -0,0 +1,291 @@
/**
* TASKMATE - Dashboard Styles
* ===========================
* Dashboard, Stats, Charts - Modernes Light Theme
*/
/* ========================================
DASHBOARD VIEW
======================================== */
.view-dashboard {
padding: var(--spacing-6);
gap: var(--spacing-6);
overflow-y: auto;
background: var(--bg-main);
}
/* Stats Grid */
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--spacing-5);
}
.stat-card {
display: flex;
align-items: center;
gap: var(--spacing-4);
padding: var(--spacing-5);
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-sm);
transition: all var(--transition-default);
}
.stat-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
border-color: var(--border-default);
}
.stat-card.stat-danger {
border-left: 4px solid var(--error);
}
.stat-icon {
display: flex;
align-items: center;
justify-content: center;
width: 52px;
height: 52px;
border-radius: var(--radius-xl);
}
.stat-icon svg {
width: 26px;
height: 26px;
}
.stat-icon.stat-open {
background: var(--primary-light);
color: var(--primary);
}
.stat-icon.stat-progress {
background: var(--warning-bg);
color: var(--warning);
}
.stat-icon.stat-done {
background: var(--success-bg);
color: var(--success);
}
.stat-icon.stat-overdue {
background: var(--error-bg);
color: var(--error);
}
.stat-info {
display: flex;
flex-direction: column;
}
.stat-value {
font-family: var(--font-primary);
font-size: var(--text-2xl);
font-weight: var(--font-bold);
color: var(--text-primary);
line-height: 1;
}
.stat-label {
font-size: var(--text-sm);
color: var(--text-tertiary);
margin-top: var(--spacing-1);
}
/* Dashboard Row */
.dashboard-row {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--spacing-5);
}
/* Dashboard Card */
.dashboard-card {
padding: var(--spacing-5);
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-sm);
}
.dashboard-card h3 {
font-size: var(--text-base);
font-weight: var(--font-semibold);
margin-bottom: var(--spacing-4);
color: var(--text-primary);
}
/* Chart Container */
.chart-container {
height: 200px;
position: relative;
}
/* Simple Bar Chart */
.bar-chart {
display: flex;
align-items: flex-end;
justify-content: space-around;
height: 100%;
padding-top: var(--spacing-4);
}
.bar-item {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--spacing-1);
flex: 1;
}
.bar {
width: 36px;
background: var(--primary);
border-radius: var(--radius-md) var(--radius-md) 0 0;
transition: all var(--transition-default);
min-height: 4px;
}
.bar:hover {
background: var(--primary-hover);
transform: scaleY(1.05);
}
.bar-label {
font-size: var(--text-xs);
color: var(--text-muted);
}
.bar-value {
font-size: var(--text-sm);
font-weight: var(--font-semibold);
color: var(--text-primary);
}
/* Horizontal Bar Chart */
.horizontal-bar-chart {
display: flex;
flex-direction: column;
gap: var(--spacing-4);
}
.horizontal-bar-item {
display: flex;
flex-direction: column;
gap: var(--spacing-1);
}
.horizontal-bar-header {
display: flex;
justify-content: space-between;
font-size: var(--text-sm);
}
.horizontal-bar-label {
color: var(--text-primary);
font-weight: var(--font-medium);
}
.horizontal-bar-value {
color: var(--text-muted);
}
.horizontal-bar {
height: 20px;
background: var(--bg-tertiary);
border-radius: var(--radius-full);
overflow: hidden;
}
.horizontal-bar-fill {
height: 100%;
background: var(--primary);
border-radius: var(--radius-full);
transition: width var(--transition-default);
}
/* Due Today List */
.due-today-list {
display: flex;
flex-direction: column;
gap: var(--spacing-3);
}
.due-today-item {
display: flex;
align-items: center;
gap: var(--spacing-4);
padding: var(--spacing-4);
background: var(--bg-tertiary);
border-radius: var(--radius-xl);
cursor: pointer;
transition: all var(--transition-fast);
}
.due-today-item:hover {
background: var(--bg-hover);
transform: translateX(4px);
}
.due-today-priority {
width: 10px;
height: 10px;
border-radius: var(--radius-full);
flex-shrink: 0;
}
.due-today-priority.high { background: var(--priority-high); }
.due-today-priority.medium { background: var(--priority-medium); }
.due-today-priority.low { background: var(--priority-low); }
.due-today-title {
flex: 1;
font-weight: var(--font-medium);
color: var(--text-primary);
}
.due-today-assignee {
display: flex;
align-items: center;
gap: var(--spacing-2);
font-size: var(--text-sm);
color: var(--text-tertiary);
}
/* ========================================
LIST VIEW
======================================== */
.view-list {
padding: var(--spacing-6);
background: var(--bg-main);
}
.list-container {
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
/* Bulk Actions */
.bulk-actions {
display: flex;
align-items: center;
gap: var(--spacing-4);
padding: var(--spacing-4) var(--spacing-5);
background: var(--primary-light);
border-top: 1px solid var(--border-default);
}
.selected-count {
font-size: var(--text-sm);
font-weight: var(--font-semibold);
color: var(--primary);
}

577
frontend/css/gitea.css Normale Datei
Datei anzeigen

@ -0,0 +1,577 @@
/**
* TASKMATE - Gitea Styles
* =======================
* Styles für die Git/Gitea-Integration
*/
/* =============================================================================
GITEA VIEW
============================================================================= */
.view-gitea {
padding: var(--spacing-6);
max-width: 900px;
margin: 0 auto;
}
/* =============================================================================
GITEA SECTIONS
============================================================================= */
.gitea-section {
background: var(--bg-secondary);
border-radius: var(--radius-lg);
padding: var(--spacing-6);
margin-bottom: var(--spacing-4);
}
.gitea-config-header {
margin-bottom: var(--spacing-6);
}
.gitea-config-header h2 {
margin: 0 0 var(--spacing-2) 0;
font-size: var(--text-xl);
color: var(--text-primary);
}
.gitea-config-header p {
margin: 0;
color: var(--text-secondary);
}
/* =============================================================================
CONNECTION STATUS
============================================================================= */
.gitea-connection-status {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-3) var(--spacing-4);
background: var(--bg-tertiary);
border-radius: var(--radius-md);
margin-bottom: var(--spacing-6);
}
.gitea-connection-status .status-indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--warning);
flex-shrink: 0;
}
.gitea-connection-status.connected .status-indicator {
background: var(--success);
}
.gitea-connection-status.disconnected .status-indicator {
background: var(--error);
}
.gitea-connection-status .status-text {
color: var(--text-primary);
font-size: var(--text-sm);
}
/* =============================================================================
CONFIG FORM
============================================================================= */
.gitea-config-form .form-group {
margin-bottom: var(--spacing-4);
}
.gitea-repo-select-group {
display: flex;
gap: var(--spacing-2);
}
.gitea-repo-select-group select {
flex: 1;
}
.gitea-divider {
display: flex;
align-items: center;
margin: var(--spacing-6) 0;
color: var(--text-tertiary);
font-size: var(--text-sm);
}
.gitea-divider::before,
.gitea-divider::after {
content: '';
flex: 1;
height: 1px;
background: var(--border-default);
}
.gitea-divider span {
padding: 0 var(--spacing-4);
}
.gitea-divider:empty::before {
flex: 1;
}
.gitea-divider:empty::after {
display: none;
}
/* =============================================================================
REPOSITORY HEADER
============================================================================= */
.gitea-repo-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: var(--spacing-4);
padding-bottom: var(--spacing-4);
border-bottom: 1px solid var(--border-default);
}
.gitea-repo-header .repo-info h2 {
display: flex;
align-items: center;
gap: var(--spacing-3);
margin: 0 0 var(--spacing-2) 0;
font-size: var(--text-xl);
color: var(--text-primary);
}
.gitea-repo-header .repo-info h2 svg {
color: var(--text-secondary);
}
.gitea-repo-header .repo-url {
display: block;
color: var(--primary);
font-size: var(--text-sm);
text-decoration: none;
word-break: break-all;
}
.gitea-repo-header .repo-url:hover {
text-decoration: underline;
}
.gitea-repo-header .repo-actions {
display: flex;
gap: var(--spacing-2);
}
.btn-danger-hover:hover {
color: var(--error);
border-color: var(--error);
}
/* =============================================================================
LOCAL PATH DISPLAY
============================================================================= */
.gitea-local-path {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-3) var(--spacing-4);
background: var(--bg-tertiary);
border-radius: var(--radius-md);
margin-bottom: var(--spacing-4);
}
.gitea-local-path .path-label {
color: var(--text-secondary);
font-size: var(--text-sm);
flex-shrink: 0;
}
.gitea-local-path code {
font-family: monospace;
font-size: var(--text-sm);
color: var(--text-primary);
word-break: break-all;
}
/* =============================================================================
STATUS PANEL
============================================================================= */
.gitea-status-panel {
background: var(--bg-tertiary);
border-radius: var(--radius-md);
padding: var(--spacing-4);
margin-bottom: var(--spacing-4);
}
.status-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: var(--spacing-4);
}
.status-item {
display: flex;
flex-direction: column;
gap: var(--spacing-1);
}
.status-label {
color: var(--text-tertiary);
font-size: var(--text-xs);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.branch-select {
padding: var(--spacing-2) var(--spacing-3);
border-radius: var(--radius-md);
border: 1px solid var(--border-default);
background: var(--bg-input);
color: var(--text-primary);
font-size: var(--text-sm);
cursor: pointer;
}
.branch-select:focus {
outline: none;
border-color: var(--primary);
}
.status-badge {
display: inline-flex;
align-items: center;
padding: var(--spacing-1) var(--spacing-2);
border-radius: var(--radius-sm);
font-size: var(--text-sm);
font-weight: 500;
}
.status-badge.clean {
background: rgba(16, 185, 129, 0.1);
color: var(--success);
}
.status-badge.dirty {
background: rgba(245, 158, 11, 0.1);
color: var(--warning);
}
.status-badge.ahead {
background: rgba(59, 130, 246, 0.1);
color: var(--info);
}
.status-badge.error {
background: rgba(239, 68, 68, 0.1);
color: var(--error);
}
.changes-count {
font-size: var(--text-lg);
font-weight: 600;
color: var(--text-primary);
}
#git-ahead-behind {
font-size: var(--text-sm);
color: var(--text-primary);
font-family: monospace;
}
/* =============================================================================
OPERATIONS PANEL
============================================================================= */
.gitea-operations-panel {
margin-bottom: var(--spacing-4);
}
.gitea-operations-panel h3 {
margin: 0 0 var(--spacing-4) 0;
font-size: var(--text-base);
color: var(--text-primary);
}
.operations-grid {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-3);
}
.operation-btn {
display: inline-flex;
align-items: center;
gap: var(--spacing-2);
min-width: 100px;
}
.operation-btn svg {
flex-shrink: 0;
}
.operation-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* =============================================================================
CHANGES PANEL
============================================================================= */
.gitea-changes-panel {
margin-bottom: var(--spacing-4);
}
.gitea-changes-panel h3 {
margin: 0 0 var(--spacing-3) 0;
font-size: var(--text-base);
color: var(--text-primary);
}
.changes-list {
max-height: 250px;
overflow-y: auto;
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
background: var(--bg-tertiary);
}
.change-item {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-2) var(--spacing-3);
border-bottom: 1px solid var(--border-default);
font-size: var(--text-sm);
}
.change-item:last-child {
border-bottom: none;
}
.change-status {
width: 20px;
font-weight: 600;
font-family: monospace;
text-align: center;
flex-shrink: 0;
}
.change-status.modified { color: var(--warning); }
.change-status.added { color: var(--success); }
.change-status.deleted { color: var(--error); }
.change-status.untracked { color: var(--text-tertiary); }
.change-status.renamed { color: var(--info); }
.change-file {
flex: 1;
color: var(--text-primary);
word-break: break-all;
font-family: monospace;
}
/* =============================================================================
COMMITS PANEL
============================================================================= */
.gitea-commits-panel h3 {
margin: 0 0 var(--spacing-3) 0;
font-size: var(--text-base);
color: var(--text-primary);
}
.commits-list {
max-height: 400px;
overflow-y: auto;
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
background: var(--bg-tertiary);
}
.commit-item {
display: flex;
gap: var(--spacing-3);
padding: var(--spacing-3) var(--spacing-4);
border-bottom: 1px solid var(--border-default);
}
.commit-item:last-child {
border-bottom: none;
}
.commit-item:hover {
background: var(--bg-hover);
}
.commit-hash {
font-family: monospace;
font-size: var(--text-sm);
color: var(--primary);
background: var(--bg-primary);
padding: var(--spacing-1) var(--spacing-2);
border-radius: var(--radius-sm);
flex-shrink: 0;
}
.commit-info {
flex: 1;
min-width: 0;
}
.commit-message {
font-weight: 500;
color: var(--text-primary);
margin-bottom: var(--spacing-1);
word-break: break-word;
}
.commit-meta {
font-size: var(--text-xs);
color: var(--text-tertiary);
}
.commit-meta .author {
font-weight: 500;
color: var(--text-secondary);
}
/* =============================================================================
EMPTY STATE
============================================================================= */
.gitea-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: var(--spacing-12);
color: var(--text-secondary);
}
.gitea-empty-state svg {
margin-bottom: var(--spacing-4);
color: var(--text-tertiary);
}
.gitea-empty-state h3 {
margin: 0 0 var(--spacing-2) 0;
font-size: var(--text-lg);
color: var(--text-primary);
}
.gitea-empty-state p {
margin: 0;
color: var(--text-secondary);
}
/* =============================================================================
LOADING STATES
============================================================================= */
.gitea-loading {
display: flex;
align-items: center;
justify-content: center;
padding: var(--spacing-8);
}
.gitea-loading .spinner {
width: 24px;
height: 24px;
border: 2px solid var(--border-default);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* =============================================================================
FORM ENHANCEMENTS
============================================================================= */
.form-hint {
display: block;
margin-top: var(--spacing-1);
font-size: var(--text-xs);
color: var(--text-tertiary);
}
.form-hint.success {
color: var(--success);
}
.form-hint.error {
color: var(--error);
}
.checkbox-label {
display: flex;
align-items: center;
gap: var(--spacing-2);
cursor: pointer;
user-select: none;
}
.checkbox-label input[type="checkbox"] {
width: 18px;
height: 18px;
cursor: pointer;
}
/* =============================================================================
RESPONSIVE
============================================================================= */
@media (max-width: 768px) {
.view-gitea {
padding: var(--spacing-4);
}
.gitea-section {
padding: var(--spacing-4);
}
.gitea-repo-header {
flex-direction: column;
gap: var(--spacing-3);
}
.gitea-repo-header .repo-actions {
align-self: flex-end;
}
.status-grid {
grid-template-columns: repeat(2, 1fr);
}
.operations-grid {
justify-content: stretch;
}
.operation-btn {
flex: 1;
justify-content: center;
min-width: 80px;
}
}
@media (max-width: 480px) {
.status-grid {
grid-template-columns: 1fr;
}
.operations-grid {
flex-direction: column;
}
.operation-btn {
width: 100%;
}
}

526
frontend/css/list.css Normale Datei
Datei anzeigen

@ -0,0 +1,526 @@
/**
* TASKMATE - List View Styles
* ===========================
* Styles fuer die Listenansicht
*/
/* List View Container */
.view-list {
display: none;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.view-list.active {
display: flex;
}
/* List Header */
.list-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-3) var(--spacing-4);
background: var(--bg-card);
border-bottom: 1px solid var(--border-light);
flex-shrink: 0;
}
.list-controls {
display: flex;
align-items: center;
gap: var(--spacing-4);
width: 100%;
}
/* View Toggle */
.list-view-toggle {
display: flex;
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
padding: 2px;
}
.list-toggle-btn {
display: flex;
align-items: center;
gap: var(--spacing-1);
padding: var(--spacing-1) var(--spacing-3);
background: transparent;
border: none;
border-radius: var(--radius-md);
color: var(--text-tertiary);
font-size: var(--text-sm);
cursor: pointer;
transition: all var(--transition-fast);
}
.list-toggle-btn svg {
width: 16px;
height: 16px;
}
.list-toggle-btn:hover {
color: var(--text-primary);
}
.list-toggle-btn.active {
background: var(--bg-card);
color: var(--text-primary);
box-shadow: var(--shadow-sm);
}
/* Sort Controls */
.list-sort {
display: flex;
align-items: center;
gap: var(--spacing-2);
margin-left: auto;
}
.list-sort label {
font-size: var(--text-sm);
color: var(--text-secondary);
}
.list-sort select {
padding: var(--spacing-1) var(--spacing-3);
padding-right: 2rem;
background: var(--bg-input);
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: var(--text-sm);
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
}
.list-sort select:focus {
border-color: var(--primary);
outline: none;
}
#list-sort-direction {
padding: var(--spacing-1);
}
#list-sort-direction svg {
width: 18px;
height: 18px;
transition: transform var(--transition-fast);
}
#list-sort-direction.asc svg {
transform: rotate(180deg);
}
/* List Content */
.list-content {
flex: 1;
overflow: auto;
padding: var(--spacing-4);
}
/* List Table */
.list-table {
width: 100%;
border-collapse: collapse;
background: var(--bg-card);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-sm);
}
.list-table-header {
display: grid;
grid-template-columns: 1fr 120px 100px 110px 140px;
gap: var(--spacing-2);
padding: var(--spacing-3) var(--spacing-4);
background: var(--bg-tertiary);
border-bottom: 1px solid var(--border-default);
font-size: var(--text-xs);
font-weight: var(--font-semibold);
color: var(--text-tertiary);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.list-table-header span {
display: flex;
align-items: center;
gap: var(--spacing-1);
cursor: pointer;
user-select: none;
}
.list-table-header span:hover {
color: var(--text-primary);
}
.list-table-header span.sorted {
color: var(--primary);
}
.list-table-header span svg {
width: 14px;
height: 14px;
opacity: 0;
transition: opacity var(--transition-fast);
}
.list-table-header span.sorted svg {
opacity: 1;
}
.list-table-header span.sorted.desc svg {
transform: rotate(180deg);
}
/* List Group */
.list-group {
margin-bottom: var(--spacing-4);
}
.list-group:last-child {
margin-bottom: 0;
}
.list-group-header {
display: flex;
align-items: center;
gap: var(--spacing-2);
padding: var(--spacing-2) var(--spacing-3);
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
cursor: pointer;
user-select: none;
transition: all var(--transition-fast);
margin-bottom: var(--spacing-2);
}
.list-group-header:hover {
background: var(--bg-hover);
}
.list-group-header svg {
width: 16px;
height: 16px;
color: var(--text-tertiary);
transition: transform var(--transition-fast);
}
.list-group-header.collapsed svg {
transform: rotate(-90deg);
}
.list-group-title {
font-size: var(--text-sm);
font-weight: var(--font-semibold);
color: var(--text-primary);
}
.list-group-color {
width: 12px;
height: 12px;
border-radius: var(--radius-sm);
}
.list-group-count {
font-size: var(--text-xs);
color: var(--text-tertiary);
margin-left: auto;
}
.list-group-content {
background: var(--bg-card);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-sm);
}
.list-group-content.collapsed {
display: none;
}
/* List Row */
.list-row {
display: grid;
grid-template-columns: 1fr 120px 100px 110px 140px;
gap: var(--spacing-2);
padding: var(--spacing-3) var(--spacing-4);
border-bottom: 1px solid var(--border-light);
align-items: center;
transition: background var(--transition-fast);
}
.list-row:last-child {
border-bottom: none;
}
.list-row:hover {
background: var(--bg-hover);
}
/* List Cells */
.list-cell {
font-size: var(--text-sm);
color: var(--text-primary);
min-width: 0;
}
.list-cell-title {
display: flex;
align-items: center;
gap: var(--spacing-2);
font-weight: var(--font-medium);
cursor: pointer;
}
.list-cell-title:hover {
color: var(--primary);
}
.list-cell-title span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Editable Cells */
.list-cell-editable {
position: relative;
cursor: pointer;
padding: var(--spacing-1) var(--spacing-2);
border-radius: var(--radius-md);
transition: background var(--transition-fast);
}
.list-cell-editable:hover {
background: var(--bg-tertiary);
}
.list-cell-editable.editing {
background: var(--bg-input);
}
/* Status Cell */
.list-cell-status {
display: flex;
align-items: center;
gap: var(--spacing-1);
}
.list-cell-status .status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
}
.list-cell-status select {
flex: 1;
padding: var(--spacing-1);
background: transparent;
border: none;
color: inherit;
font-size: inherit;
cursor: pointer;
}
.list-cell-status select:focus {
outline: none;
}
/* Priority Cell */
.list-cell-priority {
display: inline-flex;
align-items: center;
padding: 2px 8px;
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: var(--font-medium);
}
.list-cell-priority.high {
background: var(--error-bg);
color: var(--error);
}
.list-cell-priority.medium {
background: var(--warning-bg);
color: var(--warning-text);
}
.list-cell-priority.low {
background: var(--success-bg);
color: var(--success-text);
}
.list-cell-priority select {
background: transparent;
border: none;
color: inherit;
font-size: inherit;
font-weight: inherit;
cursor: pointer;
padding: 0;
appearance: none;
}
.list-cell-priority select:focus {
outline: none;
}
/* Date Cell */
.list-cell-date {
color: var(--text-secondary);
}
.list-cell-date.overdue {
color: var(--error);
font-weight: var(--font-medium);
}
.list-cell-date.today {
color: var(--warning-text);
font-weight: var(--font-medium);
}
.list-cell-date input[type="date"] {
width: 100%;
padding: var(--spacing-1);
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-md);
color: inherit;
font-size: inherit;
cursor: pointer;
}
.list-cell-date input[type="date"]:focus {
border-color: var(--primary);
background: var(--bg-input);
outline: none;
}
/* Assignee Cell */
.list-cell-assignee {
display: flex;
align-items: center;
gap: var(--spacing-2);
}
.list-cell-assignee .avatar {
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
font-weight: var(--font-semibold);
color: white;
flex-shrink: 0;
}
.list-cell-assignee select {
flex: 1;
background: transparent;
border: none;
color: inherit;
font-size: inherit;
cursor: pointer;
min-width: 0;
}
.list-cell-assignee select:focus {
outline: none;
}
/* Empty State */
.list-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: var(--spacing-8);
text-align: center;
color: var(--text-muted);
}
.list-empty svg {
width: 64px;
height: 64px;
margin-bottom: var(--spacing-4);
opacity: 0.5;
}
.list-empty h3 {
font-size: var(--text-lg);
color: var(--text-secondary);
margin-bottom: var(--spacing-2);
}
.list-empty p {
font-size: var(--text-sm);
}
/* Inline Edit Input */
.list-inline-input {
width: 100%;
padding: var(--spacing-1) var(--spacing-2);
background: var(--bg-input);
border: 1px solid var(--primary);
border-radius: var(--radius-md);
color: var(--text-primary);
font-size: var(--text-sm);
}
.list-inline-input:focus {
outline: none;
box-shadow: var(--shadow-focus);
}
/* Responsive */
@media (max-width: 1024px) {
.list-table-header,
.list-row {
grid-template-columns: 1fr 100px 80px 100px 120px;
}
}
@media (max-width: 768px) {
.list-header {
flex-direction: column;
gap: var(--spacing-3);
}
.list-controls {
flex-direction: column;
align-items: stretch;
}
.list-view-toggle {
justify-content: center;
}
.list-sort {
margin-left: 0;
justify-content: center;
}
.list-table-header,
.list-row {
grid-template-columns: 1fr 80px 70px;
}
.list-table-header span:nth-child(4),
.list-table-header span:nth-child(5),
.list-row .list-cell:nth-child(4),
.list-row .list-cell:nth-child(5) {
display: none;
}
}

998
frontend/css/modal.css Normale Datei
Datei anzeigen

@ -0,0 +1,998 @@
/**
* TASKMATE - Modal Styles
* =======================
* Modals, Lightbox, Onboarding - Modernes Light Theme
*/
/* ========================================
MODAL OVERLAY
======================================== */
.modal-overlay {
position: fixed;
inset: 0;
background: var(--overlay-bg);
backdrop-filter: blur(4px);
z-index: var(--z-modal-overlay);
opacity: 0;
transition: opacity var(--transition-default);
}
.modal-overlay.visible {
opacity: 1;
}
/* ========================================
MODAL
======================================== */
.modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
width: calc(100% - 32px);
max-width: 500px;
max-height: calc(100vh - 64px);
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-2xl);
box-shadow: var(--shadow-xl);
z-index: var(--z-modal);
display: flex;
flex-direction: column;
opacity: 0;
transition: all var(--transition-default);
}
.modal.visible {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
.modal-small {
max-width: 400px;
}
.modal-large {
max-width: 800px;
}
/* Modal Header */
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-5) var(--spacing-6);
border-bottom: 1px solid var(--border-light);
}
.modal-header h2 {
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
}
.modal-close {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
font-size: 20px;
color: var(--text-muted);
background: none;
border: none;
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.modal-close:hover {
color: var(--error);
background: var(--error-bg);
}
/* Save Status Indicator (Auto-Save) */
.save-status-indicator {
font-size: var(--text-sm);
color: var(--text-muted);
padding: var(--spacing-1) var(--spacing-3);
border-radius: var(--radius-lg);
margin-left: auto;
margin-right: var(--spacing-3);
opacity: 0;
transition: opacity var(--transition-fast);
}
.save-status-indicator.saving {
opacity: 1;
color: var(--warning);
}
.save-status-indicator.saved {
opacity: 1;
color: var(--success);
animation: fadeOut 2s ease-in-out forwards;
}
.save-status-indicator.error {
opacity: 1;
color: var(--error);
}
@keyframes fadeOut {
0%, 70% { opacity: 1; }
100% { opacity: 0; }
}
/* Modal Body */
.modal-body {
flex: 1;
padding: var(--spacing-6);
overflow-y: auto;
}
/* Modal Footer */
.modal-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-4) var(--spacing-6);
border-top: 1px solid var(--border-light);
gap: var(--spacing-4);
}
.modal-footer-left,
.modal-footer-right {
display: flex;
gap: var(--spacing-2);
}
/* ========================================
TASK MODAL SPECIFIC
======================================== */
/* Time Estimate Inputs */
.time-estimate-inputs {
display: flex;
align-items: center;
gap: var(--spacing-2);
}
.time-estimate-inputs input {
width: 70px;
text-align: center;
}
/* Labels Select */
.labels-select {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-2);
}
.label-checkbox {
display: flex;
align-items: center;
gap: var(--spacing-2);
padding: var(--spacing-2) var(--spacing-3);
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.label-checkbox:hover {
background: var(--bg-tertiary);
}
.label-checkbox input {
display: none;
}
.label-checkbox .checkmark {
width: 18px;
height: 18px;
border: 2px solid var(--border-default);
border-radius: var(--radius-md);
transition: all var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
}
.label-checkbox input:checked + .checkmark {
background: var(--primary);
border-color: var(--primary);
}
.label-checkbox input:checked + .checkmark::after {
content: '';
display: block;
width: 4px;
height: 8px;
border: solid var(--text-inverse);
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.label-color-dot {
width: 12px;
height: 12px;
border-radius: var(--radius-full);
}
.btn-add-label {
display: flex;
align-items: center;
gap: var(--spacing-1);
padding: var(--spacing-2) var(--spacing-3);
color: var(--text-tertiary);
background: none;
border: 1px dashed var(--border-default);
border-radius: var(--radius-lg);
cursor: pointer;
font-size: var(--text-sm);
transition: all var(--transition-fast);
}
.btn-add-label:hover {
color: var(--primary);
border-color: var(--primary);
background: var(--primary-light);
}
/* Subtasks */
.subtask-progress {
display: flex;
align-items: center;
gap: var(--spacing-3);
margin-bottom: var(--spacing-3);
}
.subtask-progress .progress {
flex: 1;
}
.subtask-progress span {
font-size: var(--text-sm);
color: var(--text-muted);
white-space: nowrap;
}
.subtasks-container {
display: flex;
flex-direction: column;
gap: var(--spacing-2);
margin-bottom: var(--spacing-3);
}
.subtask-item {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-3);
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
}
.subtask-item input[type="checkbox"] {
flex-shrink: 0;
}
.subtask-item input[type="text"] {
flex: 1;
padding: var(--spacing-1) var(--spacing-2);
font-size: var(--text-sm);
background: transparent;
border: none;
}
.subtask-item input[type="text"]:focus {
background: var(--bg-card);
border-radius: var(--radius-md);
box-shadow: none;
}
.subtask-item.completed .subtask-title {
text-decoration: line-through;
color: var(--text-muted);
}
.subtask-delete {
padding: 4px;
color: var(--text-muted);
background: none;
border: none;
cursor: pointer;
opacity: 0;
transition: all var(--transition-fast);
border-radius: var(--radius-md);
}
.subtask-item:hover .subtask-delete {
opacity: 1;
}
.subtask-delete:hover {
color: var(--error);
background: var(--error-bg);
}
/* Add Subtask Form */
.add-subtask-form {
display: flex;
gap: var(--spacing-2);
}
.add-subtask-form input {
flex: 1;
}
.subtask-title {
flex: 1;
font-size: var(--text-sm);
color: var(--text-primary);
}
/* Links */
.links-container {
display: flex;
flex-direction: column;
gap: var(--spacing-2);
margin-bottom: var(--spacing-3);
}
.link-item {
display: flex;
align-items: center;
gap: var(--spacing-3);
padding: var(--spacing-3);
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
}
.link-icon {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
}
.link-info {
flex: 1;
overflow: hidden;
}
.link-title {
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: 2px;
}
.link-url {
font-size: var(--text-xs);
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.link-actions {
display: flex;
gap: var(--spacing-1);
}
.add-link-form {
display: flex;
gap: var(--spacing-2);
}
.add-link-form input {
flex: 1;
}
/* Attachments */
.attachments-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: var(--spacing-3);
margin-bottom: var(--spacing-3);
}
.attachment-item {
position: relative;
background: var(--bg-tertiary);
border: 1px solid var(--border-light);
border-radius: var(--radius-xl);
overflow: hidden;
}
.attachment-preview {
height: 100px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-hover);
}
.attachment-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.attachment-preview .icon {
width: 32px;
height: 32px;
color: var(--text-muted);
}
.attachment-info {
padding: var(--spacing-3);
}
.attachment-name {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.attachment-size {
font-size: var(--text-xs);
color: var(--text-muted);
}
.attachment-actions {
position: absolute;
top: var(--spacing-2);
right: var(--spacing-2);
display: flex;
gap: var(--spacing-1);
opacity: 1;
transition: opacity var(--transition-fast);
}
.attachment-actions .btn {
background: rgba(0, 0, 0, 0.6) !important;
border: none !important;
border-radius: var(--radius-md) !important;
padding: 6px 8px !important;
cursor: pointer;
color: white !important;
transition: all var(--transition-fast);
font-size: 14px;
font-weight: bold;
min-width: 28px;
min-height: 28px;
display: flex;
align-items: center;
justify-content: center;
}
.attachment-actions .btn:hover {
background: rgba(0, 0, 0, 0.85) !important;
transform: scale(1.1);
}
.attachment-actions .btn:last-child:hover {
background: var(--error) !important;
}
/* File Upload */
.file-upload-area {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--spacing-2);
padding: var(--spacing-8);
border: 2px dashed var(--border-default);
border-radius: var(--radius-xl);
text-align: center;
color: var(--text-muted);
transition: all var(--transition-fast);
}
.file-upload-area:hover,
.file-upload-area.drag-over {
border-color: var(--primary);
background: var(--primary-light);
}
.file-upload-area .icon {
width: 32px;
height: 32px;
}
.file-input-label {
color: var(--primary);
cursor: pointer;
font-weight: var(--font-medium);
}
.file-input-label:hover {
text-decoration: underline;
}
.file-hint {
font-size: var(--text-xs);
}
/* Comments */
.comments-container {
display: flex;
flex-direction: column;
gap: var(--spacing-4);
max-height: 300px;
overflow-y: auto;
margin-bottom: var(--spacing-4);
}
.comment-item {
display: flex;
gap: var(--spacing-3);
}
.comment-avatar {
flex-shrink: 0;
}
.comment-content {
flex: 1;
background: var(--bg-tertiary);
padding: var(--spacing-3) var(--spacing-4);
border-radius: var(--radius-xl);
}
.comment-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--spacing-1);
}
.comment-author {
font-weight: var(--font-medium);
color: var(--text-primary);
}
.comment-time {
font-size: var(--text-xs);
color: var(--text-muted);
}
.comment-text {
font-size: var(--text-sm);
color: var(--text-secondary);
line-height: var(--leading-relaxed);
}
.comment-text p {
margin-bottom: var(--spacing-1);
}
.comment-text p:last-child {
margin-bottom: 0;
}
.add-comment-form {
display: flex;
gap: var(--spacing-3);
align-items: flex-end;
}
.add-comment-form textarea {
flex: 1;
}
/* History */
.history-container {
max-height: 200px;
overflow-y: auto;
}
.history-item {
display: flex;
align-items: flex-start;
gap: var(--spacing-3);
padding: var(--spacing-3) 0;
font-size: var(--text-sm);
border-bottom: 1px solid var(--border-light);
}
.history-item:last-child {
border-bottom: none;
}
.history-dot {
width: 8px;
height: 8px;
border-radius: var(--radius-full);
margin-top: 6px;
flex-shrink: 0;
background: var(--primary);
}
.history-text {
flex: 1;
color: var(--text-secondary);
}
.history-text strong {
color: var(--text-primary);
}
.history-time {
font-size: var(--text-xs);
color: var(--text-muted);
}
/* Color Presets */
.color-presets {
display: flex;
gap: var(--spacing-2);
margin-bottom: var(--spacing-3);
}
.color-preset {
width: 32px;
height: 32px;
border: 2px solid transparent;
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.color-preset:hover,
.color-preset.selected {
border-color: var(--text-primary);
transform: scale(1.1);
}
/* ========================================
CONFIRM MODAL
======================================== */
#confirm-message {
color: var(--text-secondary);
line-height: var(--leading-relaxed);
}
/* ========================================
SHORTCUTS MODAL
======================================== */
.shortcuts-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--spacing-3);
}
.shortcut {
display: flex;
align-items: center;
gap: var(--spacing-4);
padding: var(--spacing-3);
background: var(--bg-tertiary);
border-radius: var(--radius-lg);
}
.shortcut kbd {
min-width: 28px;
text-align: center;
}
.shortcut span {
font-size: var(--text-sm);
color: var(--text-secondary);
}
/* ========================================
LIGHTBOX
======================================== */
.lightbox {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.95);
z-index: calc(var(--z-modal) + 100);
}
.lightbox-close {
position: absolute;
top: var(--spacing-6);
right: var(--spacing-6);
width: 48px;
height: 48px;
font-size: 32px;
color: white;
background: none;
border: none;
cursor: pointer;
transition: color var(--transition-fast);
}
.lightbox-close:hover {
color: var(--primary);
}
#lightbox-image {
max-width: 90%;
max-height: 90%;
object-fit: contain;
border-radius: var(--radius-lg);
}
/* ========================================
ONBOARDING TOUR
======================================== */
.onboarding-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
z-index: calc(var(--z-modal) + 50);
}
.onboarding-tooltip {
position: absolute;
width: 340px;
background: var(--bg-card);
border: 2px solid var(--primary);
border-radius: var(--radius-2xl);
box-shadow: var(--shadow-xl);
z-index: calc(var(--z-modal) + 51);
}
.onboarding-content {
padding: var(--spacing-6);
}
.onboarding-content h3 {
font-size: var(--text-lg);
font-weight: var(--font-semibold);
color: var(--text-primary);
margin-bottom: var(--spacing-2);
}
.onboarding-content p {
color: var(--text-secondary);
line-height: var(--leading-relaxed);
}
.onboarding-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--spacing-4) var(--spacing-6);
border-top: 1px solid var(--border-light);
}
#onboarding-step {
font-size: var(--text-sm);
color: var(--text-muted);
}
/* ========================================
SETTINGS - COLOR PICKER
======================================== */
.settings-divider {
height: 1px;
background: var(--border-light);
margin: var(--spacing-6) 0;
}
.color-picker-container {
display: flex;
flex-direction: column;
gap: var(--spacing-4);
}
.color-options {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-2);
}
.color-option {
width: 36px;
height: 36px;
border-radius: var(--radius-lg);
border: 3px solid transparent;
cursor: pointer;
transition: all var(--transition-fast);
position: relative;
}
.color-option:hover {
transform: scale(1.1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.color-option.selected {
border-color: var(--text-primary);
box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--text-primary);
}
.color-option.selected::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 16px;
font-weight: bold;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.color-custom-row {
display: flex;
align-items: center;
gap: var(--spacing-3);
}
.color-custom-row input[type="color"] {
width: 40px;
height: 32px;
padding: 0;
border: 2px solid var(--border-default);
border-radius: var(--radius-md);
cursor: pointer;
background: none;
}
.color-custom-row input[type="color"]::-webkit-color-swatch-wrapper {
padding: 2px;
}
.color-custom-row input[type="color"]::-webkit-color-swatch {
border-radius: var(--radius-sm);
border: none;
}
.color-current-display {
width: 24px;
height: 24px;
border-radius: var(--radius-md);
border: 2px solid var(--border-default);
flex-shrink: 0;
}
.color-hex-display {
font-family: var(--font-mono, monospace);
font-size: var(--text-sm);
color: var(--text-secondary);
min-width: 70px;
}
.color-preview-row {
display: flex;
align-items: center;
gap: var(--spacing-3);
}
#user-color-preview {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: var(--font-semibold);
color: white;
font-size: var(--text-base);
}
/* ========================================
ARCHIVE MODAL
======================================== */
.archive-list {
display: flex;
flex-direction: column;
gap: var(--spacing-2);
max-height: 60vh;
overflow-y: auto;
}
.archive-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--spacing-4);
padding: var(--spacing-4);
background: var(--bg-tertiary);
border: 1px solid var(--border-light);
border-radius: var(--radius-lg);
transition: background var(--transition-fast);
}
.archive-item:hover {
background: var(--bg-hover);
}
.archive-item-info {
flex: 1;
min-width: 0;
cursor: pointer;
padding: var(--spacing-2);
margin: calc(-1 * var(--spacing-2));
border-radius: var(--radius-md);
transition: background-color 0.15s ease;
}
.archive-item-info:hover {
background: var(--bg-hover);
}
.archive-item-title {
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: var(--spacing-1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.archive-item-info:hover .archive-item-title {
color: var(--primary);
}
.archive-item-meta {
display: flex;
gap: var(--spacing-3);
font-size: var(--text-sm);
color: var(--text-muted);
}
.archive-item-meta span {
display: flex;
align-items: center;
gap: var(--spacing-1);
}
.archive-item-actions {
display: flex;
gap: var(--spacing-2);
flex-shrink: 0;
}
.archive-empty {
text-align: center;
padding: var(--spacing-8);
color: var(--text-muted);
}
.priority-badge {
display: inline-block;
padding: 2px 8px;
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: var(--font-medium);
}
.priority-badge.high {
background: rgba(239, 68, 68, 0.1);
color: #DC2626;
}
.priority-badge.medium {
background: rgba(245, 158, 11, 0.1);
color: #D97706;
}
.priority-badge.low {
background: rgba(34, 197, 94, 0.1);
color: #16A34A;
}

301
frontend/css/notifications.css Normale Datei
Datei anzeigen

@ -0,0 +1,301 @@
/**
* TASKMATE - Notifications Styles
* ================================
* Styling für das Benachrichtigungssystem
*/
/* =============================================================================
NOTIFICATION BELL
============================================================================= */
.notification-bell {
position: relative;
}
.notification-bell .btn-icon {
position: relative;
color: var(--text-tertiary);
transition: color var(--transition-fast);
}
.notification-bell.has-notifications .btn-icon {
color: var(--primary);
}
.notification-bell .btn-icon:hover {
color: var(--primary);
}
.notification-icon {
width: 22px;
height: 22px;
}
/* Badge */
.notification-badge {
position: absolute;
top: 2px;
right: 2px;
min-width: 18px;
height: 18px;
padding: 0 5px;
font-size: 11px;
font-weight: var(--font-bold);
color: white;
background: var(--error);
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.notification-badge.hidden {
display: none;
}
/* =============================================================================
NOTIFICATION DROPDOWN
============================================================================= */
.notification-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: 380px;
max-height: 520px;
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-xl);
z-index: var(--z-dropdown);
overflow: hidden;
display: flex;
flex-direction: column;
}
.notification-dropdown.hidden {
display: none !important;
}
/* Header */
.notification-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--spacing-4);
border-bottom: 1px solid var(--border-light);
flex-shrink: 0;
}
.notification-header h3 {
font-size: var(--text-base);
font-weight: var(--font-semibold);
color: var(--text-primary);
margin: 0;
}
.notification-header .btn-text {
font-size: var(--text-xs);
color: var(--primary);
padding: var(--spacing-1) var(--spacing-2);
}
.notification-header .btn-text:hover {
background: var(--primary-light);
border-radius: var(--radius-md);
}
/* =============================================================================
NOTIFICATION LIST
============================================================================= */
.notification-list {
flex: 1;
overflow-y: auto;
max-height: 420px;
}
/* Notification Item */
.notification-item {
display: flex;
gap: var(--spacing-3);
padding: var(--spacing-3) var(--spacing-4);
border-bottom: 1px solid var(--border-light);
cursor: pointer;
transition: background var(--transition-fast);
}
.notification-item:last-child {
border-bottom: none;
}
.notification-item:hover {
background: var(--bg-tertiary);
}
.notification-item.unread {
background: var(--primary-light);
}
.notification-item.unread:hover {
background: #E0E7FF;
}
.notification-item.persistent {
border-left: 3px solid var(--warning);
padding-left: calc(var(--spacing-4) - 3px);
}
/* Type Icon */
.notification-type-icon {
width: 36px;
height: 36px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.notification-type-icon svg {
width: 18px;
height: 18px;
}
.notification-type-icon.task {
background: var(--info-bg);
color: var(--info);
}
.notification-type-icon.comment {
background: var(--success-bg);
color: var(--success);
}
.notification-type-icon.approval {
background: var(--warning-bg);
color: var(--warning);
}
.notification-type-icon.mention {
background: var(--primary-light);
color: var(--primary);
}
.notification-type-icon.completed {
background: var(--success-bg);
color: var(--success);
}
.notification-type-icon.priority {
background: var(--error-bg);
color: var(--error);
}
/* Content */
.notification-content {
flex: 1;
min-width: 0;
}
.notification-title {
font-size: var(--text-sm);
font-weight: var(--font-medium);
color: var(--text-primary);
margin-bottom: 2px;
line-height: 1.3;
}
.notification-message {
font-size: var(--text-xs);
color: var(--text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.4;
}
.notification-time {
font-size: var(--text-xs);
color: var(--text-muted);
margin-top: 4px;
}
/* Actions */
.notification-actions {
display: flex;
align-items: center;
gap: var(--spacing-1);
opacity: 0;
transition: opacity var(--transition-fast);
}
.notification-item:hover .notification-actions {
opacity: 1;
}
.notification-delete {
padding: 4px;
color: var(--text-muted);
background: none;
border: none;
border-radius: var(--radius-md);
cursor: pointer;
transition: all var(--transition-fast);
}
.notification-delete:hover {
color: var(--error);
background: var(--error-bg);
}
.notification-delete svg {
width: 16px;
height: 16px;
}
/* =============================================================================
EMPTY STATE
============================================================================= */
.notification-empty {
padding: var(--spacing-8);
text-align: center;
}
.notification-empty-icon {
width: 48px;
height: 48px;
margin: 0 auto var(--spacing-3);
color: var(--text-muted);
opacity: 0.5;
}
.notification-empty p {
color: var(--text-muted);
font-size: var(--text-sm);
margin: 0;
}
/* =============================================================================
RESPONSIVE
============================================================================= */
@media (max-width: 480px) {
.notification-dropdown {
position: fixed;
top: var(--header-height);
left: 0;
right: 0;
width: 100%;
max-height: calc(100vh - var(--header-height));
border-radius: 0;
border-left: none;
border-right: none;
}
.notification-list {
max-height: calc(100vh - var(--header-height) - 60px);
}
}

557
frontend/css/proposals.css Normale Datei
Datei anzeigen

@ -0,0 +1,557 @@
/**
* TASKMATE - Proposals Styles
* ============================
* Styles fuer den Vorschlaege-Bereich
*/
/* Proposals View */
.proposals-view {
display: none;
flex-direction: column;
height: 100%;
padding: 1.5rem;
overflow: auto;
}
.proposals-view.active {
display: flex;
}
/* Proposals Header */
.proposals-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1.5rem;
flex-wrap: wrap;
gap: 1rem;
}
.proposals-header h2 {
font-size: 1.3rem;
color: var(--text-primary);
margin: 0;
}
.proposals-controls {
display: flex;
align-items: center;
gap: 1rem;
}
.proposals-sort {
display: flex;
align-items: center;
gap: 0.5rem;
}
.proposals-sort label {
font-size: 0.85rem;
color: var(--text-secondary);
}
.proposals-sort select {
padding: 0.5rem 2rem 0.5rem 0.75rem;
background: var(--bg-input);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-primary);
font-size: 0.9rem;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
background-size: 16px;
transition: all var(--transition-fast);
}
.proposals-sort select:hover {
border-color: var(--border-dark);
}
.proposals-sort select:focus {
border-color: var(--primary);
box-shadow: var(--shadow-focus);
outline: none;
}
/* Proposals List */
.proposals-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
/* Proposal Card */
.proposal-card {
background: var(--bg-card);
border: 1px solid var(--border-default);
border-radius: var(--radius-xl);
padding: 1.25rem;
transition: all var(--transition-fast);
box-shadow: var(--shadow-sm);
}
.proposal-card:hover {
border-color: var(--primary);
box-shadow: var(--shadow-md);
}
.proposal-card.approved {
border-color: var(--success);
border-width: 2px;
}
.proposal-card.approved::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--success);
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.proposal-card.archived {
opacity: 0.7;
background: var(--bg-tertiary);
}
.proposal-card {
position: relative;
}
/* Proposal Badges Container */
.proposal-badges {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
/* Proposal Header */
.proposal-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.75rem;
}
.proposal-title {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-primary);
margin: 0;
flex: 1;
}
.proposal-approved-badge {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
background: var(--success);
color: var(--text-inverse);
border-radius: var(--radius-md);
font-size: 0.75rem;
font-weight: 500;
}
.proposal-approved-badge svg {
width: 14px;
height: 14px;
fill: currentColor;
}
/* Archived Badge */
.proposal-archived-badge {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
background: var(--bg-tertiary);
color: var(--text-secondary);
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
font-size: 0.75rem;
font-weight: 500;
}
.proposal-archived-badge svg {
width: 14px;
height: 14px;
stroke: currentColor;
fill: none;
}
/* Linked Task */
.proposal-linked-task {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: var(--radius-md);
margin-bottom: 0.75rem;
font-size: 0.85rem;
color: var(--text-secondary);
}
.proposal-linked-task svg {
width: 16px;
height: 16px;
stroke: var(--primary);
fill: none;
flex-shrink: 0;
}
.proposal-linked-task span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Proposal Description */
.proposal-description {
color: var(--text-secondary);
font-size: 0.95rem;
line-height: 1.5;
margin-bottom: 1rem;
}
/* Proposal Meta */
.proposal-meta {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
}
.proposal-author {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
color: var(--text-muted);
}
.proposal-author-avatar {
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
font-size: 0.7rem;
}
.proposal-date {
font-size: 0.8rem;
color: var(--text-muted);
}
/* Proposal Actions */
.proposal-actions {
display: flex;
align-items: center;
gap: 0.75rem;
}
/* Vote Button */
.proposal-vote-btn {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-secondary);
cursor: pointer;
transition: all var(--transition-fast);
font-size: 0.9rem;
}
.proposal-vote-btn:hover {
background: var(--bg-hover);
color: var(--text-primary);
border-color: var(--border-dark);
}
.proposal-vote-btn.voted {
background: var(--primary);
border-color: var(--primary);
color: var(--text-inverse);
}
.proposal-vote-btn svg {
width: 18px;
height: 18px;
stroke: currentColor;
fill: none;
}
.proposal-vote-count {
font-weight: 600;
}
.proposal-vote-btn.own-proposal {
opacity: 0.5;
cursor: not-allowed;
}
/* Approve Checkbox */
.proposal-approve {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
cursor: pointer;
transition: all var(--transition-fast);
}
.proposal-approve:hover {
background: var(--bg-hover);
}
.proposal-approve input[type="checkbox"] {
width: 18px;
height: 18px;
accent-color: var(--success);
cursor: pointer;
}
.proposal-approve span {
font-size: 0.85rem;
color: var(--text-secondary);
cursor: pointer;
}
.proposal-approve.approved {
background: var(--success-bg);
border-color: var(--success);
}
.proposal-approve.approved span {
color: var(--success-text);
font-weight: 500;
}
/* Delete Button */
.proposal-delete-btn {
padding: 0.5rem;
background: transparent;
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-tertiary);
cursor: pointer;
transition: all var(--transition-fast);
}
.proposal-delete-btn:hover {
background: var(--error);
border-color: var(--error);
color: var(--text-inverse);
}
.proposal-delete-btn svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
}
/* Archive Button */
.proposal-archive-btn {
padding: 0.5rem;
background: transparent;
border: 1px solid var(--border-default);
border-radius: var(--radius-lg);
color: var(--text-tertiary);
cursor: pointer;
transition: all var(--transition-fast);
}
.proposal-archive-btn:hover {
background: var(--primary);
border-color: var(--primary);
color: var(--text-inverse);
}
.proposal-archive-btn svg {
width: 16px;
height: 16px;
stroke: currentColor;
fill: none;
}
/* Approved By Info */
.proposal-approved-by {
font-size: 0.8rem;
color: var(--success-text);
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid var(--border-light);
}
/* Proposal Modal */
.proposal-modal-form {
display: flex;
flex-direction: column;
gap: var(--spacing-4);
}
.proposal-modal-form .form-group {
display: flex;
flex-direction: column;
gap: var(--spacing-2);
}
.proposal-modal-form label {
font-size: var(--text-sm);
color: var(--text-primary);
font-weight: var(--font-medium);
}
.proposal-modal-form input,
.proposal-modal-form textarea {
width: 100%;
padding: 10px 14px;
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-primary);
transition: all var(--transition-fast);
}
.proposal-modal-form input:hover,
.proposal-modal-form textarea:hover {
border-color: var(--border-dark);
}
.proposal-modal-form textarea {
min-height: 120px;
resize: vertical;
}
.proposal-modal-form input:focus,
.proposal-modal-form textarea:focus,
.proposal-modal-form select:focus {
border-color: var(--primary);
box-shadow: var(--shadow-focus);
outline: none;
}
.proposal-modal-form select {
width: 100%;
padding: 10px 14px;
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-primary);
cursor: pointer;
transition: all var(--transition-fast);
}
.proposal-modal-form select:hover {
border-color: var(--border-dark);
}
.proposal-modal-form select optgroup {
font-weight: 600;
color: var(--text-primary);
}
.proposal-modal-form select option {
padding: 8px;
}
/* Empty State */
.proposals-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
text-align: center;
color: var(--text-muted);
}
.proposals-empty svg {
width: 64px;
height: 64px;
fill: var(--text-muted);
margin-bottom: 1rem;
opacity: 0.5;
}
.proposals-empty h3 {
font-size: 1.1rem;
color: var(--text-secondary);
margin: 0 0 0.5rem 0;
}
.proposals-empty p {
font-size: 0.9rem;
margin: 0;
}
/* Highlight Animation - for navigation from inbox */
.proposal-card.highlight-pulse {
animation: highlightPulse 2.5s ease-out;
}
@keyframes highlightPulse {
0% {
box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.7);
border-color: #EF4444;
}
30% {
box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.5);
border-color: #EF4444;
}
100% {
box-shadow: var(--shadow-sm);
border-color: var(--border-default);
}
}
/* Responsive */
@media (max-width: 768px) {
.proposals-view {
padding: 1rem;
}
.proposals-header {
flex-direction: column;
align-items: stretch;
}
.proposals-controls {
flex-direction: column;
align-items: stretch;
}
.proposal-meta {
flex-direction: column;
align-items: flex-start;
}
.proposal-actions {
width: 100%;
justify-content: flex-start;
}
}

353
frontend/css/responsive.css Normale Datei
Datei anzeigen

@ -0,0 +1,353 @@
/**
* TASKMATE - Responsive Styles
* ============================
* Mobile und Tablet Anpassungen
*/
/* ========================================
TABLET (max 1024px)
======================================== */
@media (max-width: 1024px) {
:root {
--column-width: 280px;
--column-min-width: 260px;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.dashboard-row {
grid-template-columns: 1fr;
}
.shortcuts-grid {
grid-template-columns: 1fr;
}
.form-row {
grid-template-columns: 1fr;
}
}
/* ========================================
SMALL TABLET (max 768px)
======================================== */
@media (max-width: 768px) {
.header {
flex-wrap: wrap;
height: auto;
padding: var(--spacing-sm) var(--spacing-md);
gap: var(--spacing-sm);
}
.header-left {
flex: 1;
order: 1;
}
.header-center {
order: 3;
width: 100%;
justify-content: center;
padding-top: var(--spacing-sm);
border-top: 1px solid var(--border-default);
}
.header-right {
order: 2;
}
.logo {
font-size: var(--text-base);
}
.project-selector {
display: none;
}
.search-container {
display: none;
}
.view-tabs {
width: 100%;
justify-content: center;
}
.view-tab {
flex: 1;
text-align: center;
}
.filter-bar {
flex-direction: column;
gap: var(--spacing-md);
}
.filter-group {
flex-wrap: wrap;
justify-content: center;
}
.filter-actions {
justify-content: center;
}
.view-board {
padding: var(--spacing-md);
gap: var(--spacing-md);
}
.column {
width: calc(100vw - 32px);
min-width: calc(100vw - 32px);
max-height: none;
}
.btn-add-column {
width: calc(100vw - 32px);
min-width: calc(100vw - 32px);
min-height: 100px;
}
.modal {
width: calc(100% - 16px);
max-height: calc(100vh - 32px);
}
.modal-large {
max-width: none;
}
.add-link-form {
flex-direction: column;
}
.attachments-container {
grid-template-columns: repeat(2, 1fr);
}
.task-table th,
.task-table td {
padding: var(--spacing-sm);
}
.col-labels {
display: none;
}
.bulk-actions {
flex-wrap: wrap;
}
.calendar-day {
min-height: 80px;
}
.calendar-task {
font-size: 10px;
padding: 1px 4px;
}
}
/* ========================================
MOBILE (max 480px)
======================================== */
@media (max-width: 480px) {
.header-right {
gap: var(--spacing-xs);
}
.connection-status .status-text {
display: none;
}
.user-dropdown {
right: -50px;
}
.stats-grid {
grid-template-columns: 1fr;
}
.stat-card {
padding: var(--spacing-md);
}
.stat-icon {
width: 48px;
height: 48px;
}
.stat-icon svg {
width: 24px;
height: 24px;
}
.stat-value {
font-size: var(--text-xl);
}
.view-calendar {
padding: var(--spacing-sm);
}
.calendar-header {
flex-wrap: wrap;
gap: var(--spacing-sm);
}
.calendar-header h2 {
flex: 1;
min-width: auto;
font-size: var(--text-base);
}
.calendar-weekday {
padding: var(--spacing-xs);
font-size: var(--text-xs);
}
.calendar-day {
padding: var(--spacing-xs);
min-height: 60px;
}
.calendar-day-number {
width: 24px;
height: 24px;
font-size: var(--text-xs);
}
.calendar-day-tasks {
display: none;
}
.calendar-day.has-tasks::after {
content: '';
display: block;
width: 6px;
height: 6px;
background: var(--accent);
border-radius: 50%;
margin: var(--spacing-xs) auto 0;
}
.calendar-day.has-overdue::after {
background: var(--error);
}
.modal-footer {
flex-direction: column;
gap: var(--spacing-sm);
}
.modal-footer-left,
.modal-footer-right {
width: 100%;
justify-content: center;
}
.time-estimate-inputs {
flex-wrap: wrap;
}
.attachments-container {
grid-template-columns: 1fr;
}
.toast-container {
left: var(--spacing-md);
right: var(--spacing-md);
bottom: var(--spacing-md);
}
.toast {
width: 100%;
}
}
/* ========================================
REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* ========================================
PRINT STYLES
======================================== */
@media print {
.header,
.filter-bar,
.btn-add-column,
.column-actions,
.btn-add-task,
.modal,
.modal-overlay,
.toast-container,
.onboarding-overlay {
display: none !important;
}
body {
background: white;
color: black;
}
.app {
display: block;
}
.board {
display: block;
}
.column {
display: block;
width: 100%;
max-height: none;
page-break-inside: avoid;
margin-bottom: 20px;
border: 1px solid #ccc;
}
.task-card {
page-break-inside: avoid;
border: 1px solid #ddd;
margin-bottom: 10px;
}
}
/* ========================================
HIGH CONTRAST
======================================== */
@media (prefers-contrast: high) {
:root {
--border-default: rgba(255, 255, 255, 0.3);
}
.light-mode {
--border-default: rgba(0, 0, 0, 0.3);
}
.task-card,
.column,
.modal,
.dropdown-menu {
border-width: 2px;
}
}

167
frontend/css/variables.css Normale Datei
Datei anzeigen

@ -0,0 +1,167 @@
/**
* TASKMATE - CSS Variables
* ========================
* Modernes Light-Theme Design System
*/
:root {
/* ========================================
FARBEN - Modernes Light Theme
======================================== */
/* Primärfarben */
--primary: #4F46E5;
--primary-hover: #4338CA;
--primary-light: #EEF2FF;
--accent: #06B6D4;
--accent-hover: #0891B2;
/* Hintergründe */
--bg-main: #F8FAFC;
--bg-secondary: #FFFFFF;
--bg-tertiary: #F1F5F9;
--bg-hover: #E2E8F0;
--bg-active: #CBD5E1;
--bg-sidebar: #FFFFFF;
--bg-card: #FFFFFF;
--bg-input: #FFFFFF;
/* Textfarben */
--text-primary: #0F172A;
--text-secondary: #475569;
--text-tertiary: #64748B;
--text-muted: #94A3B8;
--text-placeholder: #94A3B8;
--text-inverse: #FFFFFF;
/* Statusfarben */
--success: #10B981;
--success-bg: #D1FAE5;
--success-text: #065F46;
--warning: #F59E0B;
--warning-bg: #FEF3C7;
--warning-text: #92400E;
--error: #EF4444;
--error-bg: #FEE2E2;
--error-text: #991B1B;
--info: #3B82F6;
--info-bg: #DBEAFE;
--info-text: #1E40AF;
/* Prioritätsfarben */
--priority-high: #EF4444;
--priority-high-bg: #FEE2E2;
--priority-medium: #F59E0B;
--priority-medium-bg: #FEF3C7;
--priority-low: #10B981;
--priority-low-bg: #D1FAE5;
/* Rahmen */
--border-light: #F1F5F9;
--border-default: #E2E8F0;
--border-dark: #CBD5E1;
--border-focus: #4F46E5;
/* Schatten */
--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
--shadow-focus: 0 0 0 3px rgba(79, 70, 229, 0.2);
/* Scrollbar */
--scrollbar-bg: #F1F5F9;
--scrollbar-thumb: #CBD5E1;
--scrollbar-thumb-hover: #94A3B8;
/* Overlay */
--overlay-bg: rgba(15, 23, 42, 0.5);
/* ========================================
SCHRIFTARTEN
======================================== */
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
--font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
/* Schriftgrößen */
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.875rem;
/* Zeilenhöhen */
--leading-none: 1;
--leading-tight: 1.25;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
/* Schriftgewichte */
--font-normal: 400;
--font-medium: 500;
--font-semibold: 600;
--font-bold: 700;
/* ========================================
ABSTÄNDE & GRÖSSEN
======================================== */
--spacing-0: 0;
--spacing-1: 0.25rem;
--spacing-2: 0.5rem;
--spacing-3: 0.75rem;
--spacing-4: 1rem;
--spacing-5: 1.25rem;
--spacing-6: 1.5rem;
--spacing-8: 2rem;
--spacing-10: 2.5rem;
--spacing-12: 3rem;
/* Alte Spacing-Namen für Kompatibilität */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-2xl: 2.5rem;
/* Border Radius */
--radius-none: 0;
--radius-sm: 0.25rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
--radius-2xl: 1rem;
--radius-full: 9999px;
/* Komponentengrößen */
--header-height: 64px;
--sidebar-width: 280px;
--column-width: 320px;
--column-min-width: 300px;
--card-min-height: 72px;
/* ========================================
TRANSITIONS
======================================== */
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-default: 200ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
/* ========================================
Z-INDEX
======================================== */
--z-dropdown: 100;
--z-sticky: 200;
--z-modal-overlay: 900;
--z-modal: 1000;
--z-tooltip: 1100;
--z-toast: 1200;
}