Kontakt-Modul
Dieser Commit ist enthalten in:
committet von
Server Deploy
Ursprung
623bbdf5dd
Commit
7d67557be4
@ -604,13 +604,13 @@
|
||||
.column-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: var(--spacing-3);
|
||||
border-bottom: none;
|
||||
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
|
||||
cursor: grab;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.column-header:active {
|
||||
@ -631,6 +631,8 @@
|
||||
color: inherit;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
flex: 1;
|
||||
padding-right: var(--spacing-8);
|
||||
}
|
||||
|
||||
.column-count {
|
||||
@ -652,6 +654,9 @@
|
||||
gap: var(--spacing-1);
|
||||
opacity: 0;
|
||||
transition: opacity var(--transition-fast);
|
||||
position: absolute;
|
||||
top: var(--spacing-3);
|
||||
right: var(--spacing-3);
|
||||
}
|
||||
|
||||
.column-actions .btn-icon {
|
||||
|
||||
@ -586,34 +586,46 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Week view multi-day task range styles */
|
||||
/* Week view multi-day task range styles - continuous bars like month view */
|
||||
.calendar-week-task.has-range {
|
||||
border-radius: 0;
|
||||
/* Extend beyond cell boundaries for seamless connection */
|
||||
margin-left: calc(-1 * var(--spacing-3));
|
||||
margin-right: calc(-1 * var(--spacing-3));
|
||||
padding: 4px var(--spacing-3);
|
||||
/* Fixed height for consistent bar thickness */
|
||||
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;
|
||||
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-start {
|
||||
border-radius: var(--radius-sm) 0 0 var(--radius-sm);
|
||||
/* Start doesn't extend left into previous cell */
|
||||
margin-left: 0;
|
||||
/* Compensate for width difference */
|
||||
padding-left: calc(var(--spacing-3) + 3px);
|
||||
/* Border color set via inline style */
|
||||
}
|
||||
|
||||
.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-end {
|
||||
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
||||
/* End doesn't extend right into next cell */
|
||||
margin-right: 0;
|
||||
padding-right: calc(var(--spacing-3) + 3px);
|
||||
}
|
||||
|
||||
.calendar-week-task.has-range.range-middle {
|
||||
opacity: 0.7;
|
||||
background: var(--bg-hover);
|
||||
.calendar-week-task.has-range.range-middle:empty {
|
||||
/* Hide empty middle segments that have no content */
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.calendar-week-task.has-range.range-middle:not(:empty) {
|
||||
/* Show middle segments that have content (first day of week) */
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Week Add Task Button */
|
||||
@ -635,6 +647,42 @@
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
REMINDER ITEMS
|
||||
======================================== */
|
||||
|
||||
.calendar-reminder-item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.calendar-reminder-bell {
|
||||
position: absolute;
|
||||
right: 2px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Week view reminder styling */
|
||||
.calendar-week-task.calendar-reminder-item {
|
||||
padding-right: 20px; /* Space for bell icon */
|
||||
}
|
||||
|
||||
.calendar-week-task.calendar-reminder-item .calendar-reminder-bell {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Month view reminder styling */
|
||||
.calendar-task.calendar-reminder-item {
|
||||
padding-right: 16px; /* Space for bell icon */
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
DAY DETAIL POPUP
|
||||
======================================== */
|
||||
|
||||
283
frontend/css/contacts.css
Normale Datei
283
frontend/css/contacts.css
Normale Datei
@ -0,0 +1,283 @@
|
||||
/**
|
||||
* TASKMATE - Contacts Styles
|
||||
* ==========================
|
||||
* Kartenansicht für Kontakte
|
||||
*/
|
||||
|
||||
/* =============================================================================
|
||||
HEADER & CONTROLS
|
||||
============================================================================= */
|
||||
|
||||
.contacts-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: var(--space-md);
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.contacts-controls {
|
||||
display: flex;
|
||||
gap: var(--space-sm);
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.contacts-filters {
|
||||
display: flex;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
GRID LAYOUT
|
||||
============================================================================= */
|
||||
|
||||
.contacts-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
gap: var(--space-md);
|
||||
margin-top: var(--space-md);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
CONTACT CARD
|
||||
============================================================================= */
|
||||
|
||||
.contact-card {
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--border-color);
|
||||
border-radius: var(--radius);
|
||||
padding: var(--space-md);
|
||||
transition: all 0.2s;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.contact-card:hover {
|
||||
border-color: var(--primary);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.contact-card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: var(--space-sm);
|
||||
}
|
||||
|
||||
.contact-avatar {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
background: var(--primary);
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.contact-actions {
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.contact-card:hover .contact-actions {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.contact-actions .btn-icon {
|
||||
background: var(--bg-tertiary);
|
||||
border: 1px solid var(--border-color);
|
||||
color: var(--text-secondary);
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.contact-actions .btn-icon:hover {
|
||||
background: var(--primary);
|
||||
color: white;
|
||||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
CONTACT INFO
|
||||
============================================================================= */
|
||||
|
||||
.contact-card-body {
|
||||
margin-bottom: var(--space-sm);
|
||||
}
|
||||
|
||||
.contact-name {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 var(--space-xs);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.contact-company {
|
||||
font-size: 14px;
|
||||
color: var(--primary);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.contact-position {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: var(--space-sm);
|
||||
}
|
||||
|
||||
.contact-email,
|
||||
.contact-phone,
|
||||
.contact-mobile {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.contact-email i,
|
||||
.contact-phone i,
|
||||
.contact-mobile i {
|
||||
width: 14px;
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.contact-email:hover,
|
||||
.contact-phone:hover,
|
||||
.contact-mobile:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
TAGS
|
||||
============================================================================= */
|
||||
|
||||
.contact-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
margin-top: var(--space-sm);
|
||||
}
|
||||
|
||||
.contact-tag {
|
||||
background: var(--bg-tertiary);
|
||||
color: var(--text-secondary);
|
||||
font-size: 11px;
|
||||
padding: 2px 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
EMPTY STATE
|
||||
============================================================================= */
|
||||
|
||||
.contacts-empty {
|
||||
text-align: center;
|
||||
padding: var(--space-xl) var(--space-md);
|
||||
background: var(--bg-secondary);
|
||||
border-radius: var(--radius);
|
||||
border: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.contacts-empty i {
|
||||
font-size: 48px;
|
||||
color: var(--text-tertiary);
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
.contacts-empty h3 {
|
||||
font-size: 20px;
|
||||
margin-bottom: var(--space-xs);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.contacts-empty p {
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
CONTACT MODAL
|
||||
============================================================================= */
|
||||
|
||||
#contact-form {
|
||||
display: grid;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
#contact-form .form-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
#contact-form .form-group.full-width {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
#contact-form .tags-input-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#contact-form .tags-input-wrapper input {
|
||||
padding-right: 32px;
|
||||
}
|
||||
|
||||
#contact-form .tags-help {
|
||||
font-size: 11px;
|
||||
color: var(--text-tertiary);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
RESPONSIVE
|
||||
============================================================================= */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.contacts-header {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.contacts-controls {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contacts-search {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.contacts-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.modal-actions {
|
||||
flex-direction: column-reverse;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.modal-actions-left {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
@ -21,11 +21,12 @@
|
||||
|
||||
.knowledge-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 280px 1fr;
|
||||
grid-template-columns: 450px 1fr;
|
||||
gap: var(--spacing-lg);
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* ============================================
|
||||
@ -39,6 +40,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.knowledge-sidebar-header {
|
||||
@ -667,7 +669,7 @@
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.knowledge-layout {
|
||||
grid-template-columns: 220px 1fr;
|
||||
grid-template-columns: 450px 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -851,3 +853,46 @@
|
||||
.icon-grid::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--text-secondary);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
SIDEBAR RESIZE HANDLE
|
||||
========================================== */
|
||||
|
||||
.knowledge-resize-handle {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -4px;
|
||||
bottom: 0;
|
||||
width: 8px;
|
||||
cursor: col-resize;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.knowledge-resize-handle::before {
|
||||
content: '';
|
||||
width: 1px;
|
||||
height: 30px;
|
||||
background: transparent;
|
||||
border-radius: 1px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.knowledge-resize-handle:hover::before {
|
||||
background: var(--border-color);
|
||||
width: 2px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.knowledge-resize-handle.dragging::before {
|
||||
background: var(--primary);
|
||||
width: 3px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.knowledge-layout.resizing {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
654
frontend/css/reminders.css
Normale Datei
654
frontend/css/reminders.css
Normale Datei
@ -0,0 +1,654 @@
|
||||
/**
|
||||
* TASKMATE - Reminders CSS
|
||||
* =========================
|
||||
* Styling für Erinnerungen
|
||||
*/
|
||||
|
||||
/* =====================
|
||||
REMINDER MODAL
|
||||
===================== */
|
||||
|
||||
#reminder-modal .modal-content {
|
||||
max-width: 500px;
|
||||
width: 90vw;
|
||||
}
|
||||
|
||||
/* Form Actions with Delete Button */
|
||||
.form-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
.form-actions-left {
|
||||
display: flex;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
.btn-delete-reminder {
|
||||
/* Lösch-Button rechts */
|
||||
}
|
||||
|
||||
/* Kompakte Color Picker */
|
||||
.color-picker-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.color-picker-trigger {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
border: 2px solid var(--border-default);
|
||||
transition: all var(--transition-fast);
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.color-picker-trigger:hover {
|
||||
border-color: var(--primary);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.color-picker-icon {
|
||||
color: white;
|
||||
filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
|
||||
}
|
||||
|
||||
.color-picker-dropdown {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-lg);
|
||||
z-index: 1000;
|
||||
padding: 8px;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 6px;
|
||||
margin-top: 4px;
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.color-picker-dropdown.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.color-picker-dropdown .color-option {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
border: 2px solid transparent;
|
||||
transition: all var(--transition-fast);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.color-picker-dropdown .color-option:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
||||
border-color: var(--border-default);
|
||||
}
|
||||
|
||||
.color-picker-dropdown .color-option.selected {
|
||||
border-color: var(--text-primary);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.color-picker-dropdown .color-option.selected::after {
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
color: white;
|
||||
font-size: 12px;
|
||||
text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
/* Advance Options */
|
||||
.advance-options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
padding-left: 28px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.checkbox-label input[type="checkbox"] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkbox-label .checkmark {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
background-color: #f8f9fa;
|
||||
border: 2px solid #d1d5db;
|
||||
border-radius: 4px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.checkbox-label:hover .checkmark {
|
||||
border-color: #3b82f6;
|
||||
}
|
||||
|
||||
.checkbox-label input:checked ~ .checkmark {
|
||||
background-color: #3b82f6;
|
||||
border-color: #3b82f6;
|
||||
}
|
||||
|
||||
.checkbox-label .checkmark::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: none;
|
||||
left: 5px;
|
||||
top: 2px;
|
||||
width: 4px;
|
||||
height: 8px;
|
||||
border: solid white;
|
||||
border-width: 0 2px 2px 0;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.checkbox-label input:checked ~ .checkmark::after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* =====================
|
||||
CUSTOM SELECT (USER DROPDOWN)
|
||||
===================== */
|
||||
|
||||
.custom-select {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.custom-select-trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 12px;
|
||||
background: var(--bg-primary);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.custom-select-trigger:hover {
|
||||
border-color: var(--border-hover);
|
||||
}
|
||||
|
||||
.custom-select-trigger.active {
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
|
||||
}
|
||||
|
||||
.custom-select-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.custom-select-arrow {
|
||||
color: var(--text-secondary);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.custom-select.open .custom-select-arrow {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.custom-select-options {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: 6px;
|
||||
box-shadow: var(--shadow-lg);
|
||||
z-index: 1000;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: translateY(-10px);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.custom-select.open .custom-select-options {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.custom-select-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease;
|
||||
border-bottom: 1px solid var(--border-light);
|
||||
}
|
||||
|
||||
.custom-select-option:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.custom-select-option:hover {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
|
||||
.custom-select-option.selected {
|
||||
background: var(--primary-light);
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.option-text {
|
||||
font-size: 14px;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.selected-user-avatar {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 9px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* =====================
|
||||
MODAL HEADER FIX
|
||||
===================== */
|
||||
|
||||
#reminder-modal .modal-header h3 {
|
||||
color: #000000 !important;
|
||||
background: transparent !important;
|
||||
font-size: var(--text-lg);
|
||||
font-weight: var(--font-semibold);
|
||||
}
|
||||
|
||||
#reminder-modal .modal-header h3:hover {
|
||||
color: #000000 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
#reminder-modal .modal-header {
|
||||
background: var(--bg-card);
|
||||
}
|
||||
|
||||
/* Verhindere Orange-Hover-Effekte auf Modal-Inhalten */
|
||||
#reminder-modal * {
|
||||
transition: background-color 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
#reminder-modal *:not(.btn):not(.custom-select-option):hover {
|
||||
background: transparent !important;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
/* Stelle sicher, dass Text im Modal immer lesbar bleibt */
|
||||
#reminder-modal .modal-content {
|
||||
background: var(--bg-card) !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
#reminder-modal label,
|
||||
#reminder-modal .form-control,
|
||||
#reminder-modal input,
|
||||
#reminder-modal textarea,
|
||||
#reminder-modal p,
|
||||
#reminder-modal span:not(.btn):not(.option-avatar):not(.selected-user-avatar) {
|
||||
color: #000000 !important;
|
||||
background: var(--bg-primary) !important;
|
||||
}
|
||||
|
||||
#reminder-modal .form-group label {
|
||||
color: #000000 !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
#reminder-modal .checkbox-label {
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
/* =====================
|
||||
MODAL BUTTONS
|
||||
===================== */
|
||||
|
||||
#reminder-modal .btn-primary {
|
||||
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
|
||||
color: white !important;
|
||||
border: 1px solid #3b82f6;
|
||||
padding: 10px 20px;
|
||||
font-weight: 600;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
#reminder-modal .btn-primary:hover,
|
||||
#reminder-modal .btn-primary:focus {
|
||||
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
||||
border-color: #1d4ed8;
|
||||
color: white !important;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 3px 8px rgba(59, 130, 246, 0.4);
|
||||
}
|
||||
|
||||
#reminder-modal .btn-secondary {
|
||||
background: #6b7280;
|
||||
color: white;
|
||||
border: 1px solid #6b7280;
|
||||
}
|
||||
|
||||
#reminder-modal .btn-secondary:hover {
|
||||
background: #4b5563;
|
||||
border-color: #4b5563;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* =====================
|
||||
CALENDAR INTEGRATION
|
||||
===================== */
|
||||
|
||||
/* Reminder Button in Calendar Toolbar */
|
||||
.btn-reminder {
|
||||
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
|
||||
color: white !important;
|
||||
border: 2px solid #ea580c;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-weight: 600;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
padding: 8px 16px;
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-reminder:hover,
|
||||
.btn-reminder:focus {
|
||||
background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
|
||||
color: white !important;
|
||||
border-color: #c2410c;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-reminder:active {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
|
||||
}
|
||||
|
||||
.btn-reminder .icon {
|
||||
animation: reminderBell 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes reminderBell {
|
||||
0%, 50%, 100% { transform: rotate(0deg); }
|
||||
10%, 30% { transform: rotate(-10deg); }
|
||||
20%, 40% { transform: rotate(10deg); }
|
||||
}
|
||||
|
||||
/* Reminder Icons in Calendar - DEPRECATED (reminders now shown as tasks) */
|
||||
/*
|
||||
.calendar-reminder {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: var(--reminder-color, #F59E0B);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
color: white;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.calendar-reminder::before {
|
||||
content: '🔔';
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.calendar-reminder:hover {
|
||||
transform: scale(1.2);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
*/
|
||||
|
||||
/* Day Detail Popup - Reminder Button */
|
||||
.calendar-day-detail .btn:not(.btn-primary) {
|
||||
background: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
|
||||
color: white;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Reminder Detail Popup */
|
||||
.calendar-reminder-detail {
|
||||
min-width: 300px;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
.calendar-detail-reminders {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin: var(--spacing-md) 0;
|
||||
}
|
||||
|
||||
.calendar-detail-reminder {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
background: var(--bg-secondary);
|
||||
border-radius: 6px;
|
||||
border-left: 3px solid var(--reminder-color, #F59E0B);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.reminder-content {
|
||||
flex: 1;
|
||||
cursor: pointer;
|
||||
min-width: 0; /* Allows text truncation */
|
||||
}
|
||||
|
||||
.calendar-detail-reminder:hover {
|
||||
background: var(--bg-tertiary);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Reminder Delete Button */
|
||||
.reminder-delete-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: 6px;
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.reminder-delete-btn:hover {
|
||||
background: var(--error-bg);
|
||||
border-color: var(--error);
|
||||
color: var(--error);
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.reminder-delete-btn:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.calendar-detail-reminder .reminder-time {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--reminder-color, #F59E0B);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.calendar-detail-reminder .reminder-title {
|
||||
font-weight: 500;
|
||||
margin-bottom: 2px;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.calendar-detail-reminder .reminder-description {
|
||||
font-size: 13px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* Mobile Responsive */
|
||||
@media (max-width: 768px) {
|
||||
#reminder-modal .modal-content {
|
||||
max-width: none;
|
||||
width: 95vw;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
.color-picker {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.advance-options {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.checkbox-label {
|
||||
font-size: 16px;
|
||||
padding-left: 32px;
|
||||
}
|
||||
|
||||
.checkbox-label .checkmark {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
/* =====================
|
||||
EINHEITLICHE CHECKBOX STYLES
|
||||
===================== */
|
||||
|
||||
/* ALTERNATIVER ANSATZ: Direktes Checkbox-Styling */
|
||||
.advance-options .checklist-item {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
padding: 8px 0 !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.advance-options input[type="checkbox"] {
|
||||
width: 20px !important;
|
||||
height: 20px !important;
|
||||
margin: 0 !important;
|
||||
appearance: none !important;
|
||||
-webkit-appearance: none !important;
|
||||
-moz-appearance: none !important;
|
||||
border: 2px solid #d1d5db !important;
|
||||
border-radius: 4px !important;
|
||||
background-color: white !important;
|
||||
cursor: pointer !important;
|
||||
position: relative !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
.advance-options input[type="checkbox"]:checked {
|
||||
background-color: #3B82F6 !important;
|
||||
border-color: #3B82F6 !important;
|
||||
}
|
||||
|
||||
.advance-options input[type="checkbox"]:checked::after {
|
||||
content: '✓' !important;
|
||||
position: absolute !important;
|
||||
top: -3px !important;
|
||||
left: 2px !important;
|
||||
color: white !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: bold !important;
|
||||
line-height: 20px !important;
|
||||
}
|
||||
|
||||
.advance-options .checklist-text {
|
||||
font-size: 14px !important;
|
||||
color: #374151 !important;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
/* Verstecke die fake checkbox spans */
|
||||
.advance-options .checklist-checkbox {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Dark Mode Support */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.checkbox-label .checkmark {
|
||||
background-color: var(--bg-tertiary);
|
||||
border-color: var(--border-secondary);
|
||||
}
|
||||
|
||||
.calendar-reminder {
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
}
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren