%
This commit is contained in:
389
public/style.css
389
public/style.css
@@ -1822,4 +1822,393 @@ button.reopen-btn:hover {
|
||||
|
||||
.assignment:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
/* Добавить в стили */
|
||||
.kanban-section {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.kanban-board {
|
||||
background: #f5f5f5;
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
min-height: 70vh;
|
||||
}
|
||||
|
||||
.kanban-controls {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
padding: 15px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.kanban-period {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.kanban-period label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.kanban-period select {
|
||||
padding: 8px 15px;
|
||||
border: 2px solid #3498db;
|
||||
border-radius: 5px;
|
||||
background: white;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.kanban-stats {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.kanban-stats span {
|
||||
font-weight: bold;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.refresh-btn {
|
||||
padding: 8px 15px;
|
||||
background: #3498db;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.refresh-btn:hover {
|
||||
background: #2980b9;
|
||||
}
|
||||
|
||||
.kanban-columns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.kanban-column {
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
.kanban-column-header {
|
||||
padding: 15px;
|
||||
color: white;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.kanban-column-header h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.kanban-count {
|
||||
background: rgba(255,255,255,0.3);
|
||||
padding: 3px 10px;
|
||||
border-radius: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.kanban-column-body {
|
||||
padding: 15px;
|
||||
min-height: 450px;
|
||||
max-height: 600px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.kanban-empty {
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
color: #95a5a6;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.kanban-card {
|
||||
background: white;
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 6px;
|
||||
padding: 15px;
|
||||
margin-bottom: 15px;
|
||||
cursor: move;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
.kanban-card:hover {
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||||
transform: translateY(-2px);
|
||||
border-color: #3498db;
|
||||
}
|
||||
|
||||
.kanban-card.dragging {
|
||||
opacity: 0.5;
|
||||
transform: rotate(5deg);
|
||||
}
|
||||
|
||||
.kanban-card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.kanban-task-id {
|
||||
font-size: 12px;
|
||||
color: #7f8c8d;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.kanban-task-actions {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.kanban-task-actions button {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.kanban-task-actions button:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.kanban-task-title {
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
cursor: pointer;
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
.kanban-task-title:hover {
|
||||
color: #3498db;
|
||||
}
|
||||
|
||||
.kanban-task-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.kanban-deadline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.kanban-date {
|
||||
color: #e74c3c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.kanban-no-date {
|
||||
color: #95a5a6;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.kanban-assignees {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.kanban-assignee {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50%;
|
||||
background: #3498db;
|
||||
color: white;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.kanban-no-assignee {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.kanban-more-assignees {
|
||||
font-size: 10px;
|
||||
color: #7f8c8d;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.kanban-task-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 11px;
|
||||
color: #7f8c8d;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
padding-top: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.kanban-creator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.kanban-files {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
/* Адаптивность */
|
||||
@media (max-width: 1200px) {
|
||||
.kanban-columns {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.kanban-columns {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.kanban-controls {
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
.error-message {
|
||||
background: #ffebee;
|
||||
border: 1px solid #f44336;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
color: #c62828;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.retry-btn {
|
||||
background: #4CAF50;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
margin-top: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.retry-btn:hover {
|
||||
background: #45a049;
|
||||
}
|
||||
.kanban-filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
padding: 15px;
|
||||
background: #f8f9fa;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #e9ecef;
|
||||
}
|
||||
|
||||
.kanban-period, .kanban-filter-type {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.kanban-period label, .kanban-filter-type label {
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.kanban-period select, .kanban-filter-type select {
|
||||
padding: 8px 12px;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 4px;
|
||||
background: white;
|
||||
font-size: 14px;
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.kanban-stats {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.filter-title {
|
||||
font-weight: 600;
|
||||
color: #495057;
|
||||
background: #e9ecef;
|
||||
padding: 6px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.task-count {
|
||||
color: #6c757d;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.refresh-btn {
|
||||
background: #6c757d;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.refresh-btn:hover {
|
||||
background: #5a6268;
|
||||
}
|
||||
|
||||
.kanban-task-role {
|
||||
font-size: 16px;
|
||||
cursor: help;
|
||||
margin: 0 5px;
|
||||
}
|
||||
.kanban-column[data-status="overdue"] .kanban-column-body,
|
||||
.kanban-column[data-status="assigned"] .kanban-column-body {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
.kanban-column[data-status="overdue"] .kanban-card,
|
||||
.kanban-column[data-status="assigned"] .kanban-card {
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
.kanban-column[data-status="overdue"] .kanban-card:hover,
|
||||
.kanban-column[data-status="assigned"] .kanban-card:hover {
|
||||
transform: none !important;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
|
||||
}
|
||||
Reference in New Issue
Block a user