320 lines
7.5 KiB
CSS
320 lines
7.5 KiB
CSS
/* Timeline View - Ultra Minimalistic Design */
|
|
/* :root variables moved to common.css or are view-specific if necessary */
|
|
|
|
.timeline-view-container {
|
|
/* Extends .view-container from common.css but with flex-direction: row */
|
|
flex-direction: row; /* Specific direction for this view */
|
|
height: calc(100vh - 120px); /* Specific height */
|
|
margin: 60px 40px 60px 40px; /* Specific margins */
|
|
gap: var(--spacing-lg); /* Was 24px */
|
|
/* font-family will be inherited from common.css body */
|
|
/* Other .view-container properties are inherited or set by common.css */
|
|
}
|
|
|
|
.timeline-sidebar {
|
|
width: 280px;
|
|
background: var(--surface-dark); /* Common.css variable */
|
|
border: 1px solid var(--border-color); /* Common.css variable */
|
|
border-radius: var(--border-radius-large); /* Common.css variable */
|
|
padding: var(--spacing-lg); /* Was 24px */
|
|
overflow-y: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.timeline-sidebar h4 {
|
|
margin: 0 0 16px 0;
|
|
font-size: 14px;
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.sidebar-section {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.sidebar-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.filter-options,
|
|
.time-range-options {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-btn {
|
|
background: transparent;
|
|
color: var(--text-secondary); /* Common.css variable */
|
|
border: 1px solid var(--border-color); /* Common.css variable */
|
|
padding: 12px 16px;
|
|
border-radius: var(--border-radius-medium); /* Common.css variable */
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
text-align: left;
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
background: var(--surface-medium); /* Common.css variable for hover */
|
|
color: var(--text-primary); /* Common.css variable */
|
|
border-color: var(--primary-accent); /* Common interaction color */
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background: var(--primary-accent); /* Common.css variable */
|
|
color: var(--bg-dark); /* Text color on primary accent */
|
|
border-color: var(--primary-accent); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-content {
|
|
flex: 1;
|
|
background: var(--surface-dark); /* Common.css variable */
|
|
border: 1px solid var(--border-color); /* Common.css variable */
|
|
border-radius: var(--border-radius-large); /* Common.css variable */
|
|
overflow-y: auto;
|
|
padding: var(--spacing-lg); /* Was 24px */
|
|
}
|
|
|
|
.timeline-feed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 32px;
|
|
}
|
|
|
|
.timeline-day-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.timeline-date-header {
|
|
margin-bottom: 20px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--border-color); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-date-header h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.timeline-day-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.timeline-day-actions::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 32px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background: var(--border-color); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-action {
|
|
display: flex;
|
|
gap: 16px;
|
|
position: relative;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.timeline-action-avatar {
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.timeline-action-avatar img {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--border-color); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-action-icon {
|
|
position: absolute;
|
|
bottom: -4px;
|
|
right: -4px;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px solid var(--surface-dark); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-action-icon i {
|
|
font-size: 10px;
|
|
color: white;
|
|
}
|
|
|
|
.timeline-action-content {
|
|
flex: 1;
|
|
background: var(--surface-medium); /* Common.css variable */
|
|
border: 1px solid var(--border-color); /* Common.css variable */
|
|
border-radius: var(--border-radius-large); /* Common.css variable */
|
|
padding: var(--spacing-md); /* Was 16px */
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.timeline-action-content:hover {
|
|
border-color: var(--primary-accent); /* Common interaction color */
|
|
}
|
|
|
|
.timeline-action-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.timeline-actor-name {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.timeline-action-title {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.timeline-circle-name {
|
|
color: var(--text-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.timeline-action-description {
|
|
margin: 12px 0;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.timeline-action-target {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--spacing-sm); /* Was 8px */
|
|
margin: 12px 0;
|
|
padding: 8px 12px;
|
|
background: var(--surface-dark); /* Common.css variable */
|
|
border: 1px solid var(--border-color); /* Common.css variable */
|
|
border-radius: var(--border-radius-medium); /* Common.css variable */
|
|
font-size: 13px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.timeline-action-target i {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.timeline-action-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid var(--border-color); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-timestamp {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.timeline-metadata {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.metadata-tag {
|
|
background: var(--surface-dark); /* Common.css variable */
|
|
color: var(--text-muted); /* Common.css variable */
|
|
padding: 4px 8px;
|
|
border-radius: var(--border-radius-small); /* Common.css variable */
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
border: 1px solid var(--border-color); /* Common.css variable */
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
color: var(--text-secondary);
|
|
font-size: 14px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
/* Action type color variations */
|
|
.timeline-action-icon.primary {
|
|
background-color: var(--primary-accent); /* Common.css variable */
|
|
}
|
|
|
|
.timeline-action-icon.secondary {
|
|
background-color: #6b7280; /* Literal secondary color */
|
|
}
|
|
|
|
.timeline-action-icon.success {
|
|
background-color: #10b981; /* Literal success color */
|
|
}
|
|
|
|
.timeline-action-icon.warning {
|
|
background-color: #f59e0b; /* Literal warning color */
|
|
}
|
|
.timeline-action-icon.warning i { color: var(--bg-dark); } /* Adjust icon color for contrast */
|
|
|
|
.timeline-action-icon.info {
|
|
background-color: #06b6d4; /* Literal info color */
|
|
}
|
|
.timeline-action-icon.info i { color: var(--bg-dark); } /* Adjust icon color for contrast */
|
|
|
|
.timeline-action-icon.accent {
|
|
background-color: #8b5cf6; /* Literal accent color */
|
|
}
|
|
|
|
/* Scrollbar styling is now handled globally by common.css */
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 768px) {
|
|
.timeline-view-container {
|
|
flex-direction: column;
|
|
margin: 20px;
|
|
height: calc(100vh - 80px);
|
|
}
|
|
|
|
.timeline-sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
max-height: 200px;
|
|
}
|
|
|
|
.timeline-day-actions::before {
|
|
left: 24px;
|
|
}
|
|
|
|
.timeline-action-avatar img {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.timeline-action-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.timeline-action-icon i {
|
|
font-size: 8px;
|
|
}
|
|
} |