r
This commit is contained in:
147
public/style.css
147
public/style.css
@@ -13,13 +13,12 @@ body {
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 99%;
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
header {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
@@ -72,7 +71,6 @@ header h1 {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
nav {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
@@ -99,7 +97,6 @@ nav button:hover {
|
||||
box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
|
||||
}
|
||||
|
||||
/* Section Styles */
|
||||
.section {
|
||||
display: none;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
@@ -121,7 +118,6 @@ nav button:hover {
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
/* Form Styles */
|
||||
.form-group {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@@ -165,7 +161,6 @@ textarea {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
/* Button Styles */
|
||||
button {
|
||||
background: linear-gradient(135deg, #27ae60, #219a52);
|
||||
color: white;
|
||||
@@ -231,7 +226,6 @@ button.edit-date-btn:hover {
|
||||
box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
|
||||
}
|
||||
|
||||
/* Tasks Controls */
|
||||
#tasks-controls {
|
||||
margin-bottom: 20px;
|
||||
padding: 15px 20px;
|
||||
@@ -256,11 +250,10 @@ button.edit-date-btn:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Task Cards */
|
||||
.task-card {
|
||||
border: none;
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
padding: 0;
|
||||
margin-bottom: 20px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
position: relative;
|
||||
@@ -284,16 +277,26 @@ button.edit-date-btn:hover {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 0;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.task-title {
|
||||
font-size: 1.4rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
color: #2c3e50;
|
||||
flex: 1;
|
||||
line-height: 1.4;
|
||||
cursor: pointer;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.task-title:hover {
|
||||
background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.1));
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.task-status {
|
||||
@@ -305,7 +308,6 @@ button.edit-date-btn:hover {
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Status Colors */
|
||||
.status-purple {
|
||||
background: linear-gradient(135deg, #9b59b6, #8e44ad);
|
||||
color: white;
|
||||
@@ -331,7 +333,6 @@ button.edit-date-btn:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Badges */
|
||||
.deleted-badge {
|
||||
background: #e74c3c;
|
||||
color: white;
|
||||
@@ -374,7 +375,6 @@ button.edit-date-btn:hover {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Task Content */
|
||||
.task-original {
|
||||
margin: 10px 0;
|
||||
padding: 10px 15px;
|
||||
@@ -398,25 +398,42 @@ button.edit-date-btn:hover {
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.task-dates {
|
||||
.task-dates-files {
|
||||
margin: 15px 0;
|
||||
padding: 15px;
|
||||
background: linear-gradient(135deg, #fff3cd, #ffeaa7);
|
||||
border-radius: 10px;
|
||||
border-left: 4px solid #f39c12;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.task-dates div {
|
||||
margin: 8px 0;
|
||||
.task-dates-files .task-dates {
|
||||
flex: 1;
|
||||
min-width: 250px;
|
||||
font-size: 0.95rem;
|
||||
color: #856404;
|
||||
}
|
||||
|
||||
.task-dates strong {
|
||||
.task-dates-files .file-list {
|
||||
flex: 1;
|
||||
min-width: 250px;
|
||||
font-size: 0.95rem;
|
||||
color: #856404;
|
||||
}
|
||||
|
||||
.task-dates-files .files-placeholder {
|
||||
color: #6c757d;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.task-dates-files strong {
|
||||
color: #e67e22;
|
||||
}
|
||||
|
||||
/* Assignments */
|
||||
.task-assignments {
|
||||
margin: 20px 0;
|
||||
}
|
||||
@@ -496,7 +513,6 @@ button.edit-date-btn:hover {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* Task Actions - ПРАВЫЙ НИЖНИЙ УГОЛ */
|
||||
.task-actions {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
@@ -512,7 +528,6 @@ button.edit-date-btn:hover {
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
/* File List */
|
||||
.file-list {
|
||||
margin-top: 15px;
|
||||
padding: 15px;
|
||||
@@ -555,7 +570,6 @@ button.edit-date-btn:hover {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
/* Task Meta */
|
||||
.task-meta {
|
||||
margin-top: 15px;
|
||||
padding-top: 15px;
|
||||
@@ -567,7 +581,6 @@ button.edit-date-btn:hover {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Logs */
|
||||
.log-entry {
|
||||
padding: 15px;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
@@ -586,7 +599,6 @@ button.edit-date-btn:hover {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
/* Modal Styles */
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -638,7 +650,6 @@ button.edit-date-btn:hover {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/* Checkbox Groups */
|
||||
.checkbox-group {
|
||||
max-height: 250px;
|
||||
overflow-y: auto;
|
||||
@@ -676,7 +687,6 @@ button.edit-date-btn:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Login Modal */
|
||||
#login-modal .modal-content {
|
||||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
|
||||
text-align: center;
|
||||
@@ -742,7 +752,6 @@ button.edit-date-btn:hover {
|
||||
color: #2c3e50;
|
||||
}
|
||||
|
||||
/* Loading States */
|
||||
.loading {
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
@@ -760,7 +769,6 @@ button.edit-date-btn:hover {
|
||||
border-left: 5px solid #e74c3c;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
padding: 10px;
|
||||
@@ -849,7 +857,6 @@ button.edit-date-btn:hover {
|
||||
}
|
||||
}
|
||||
|
||||
/* Scrollbar Styling */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
@@ -868,7 +875,6 @@ button.edit-date-btn:hover {
|
||||
background: linear-gradient(135deg, #2980b9, #1f618d);
|
||||
}
|
||||
|
||||
/* Focus States */
|
||||
button:focus,
|
||||
input:focus,
|
||||
textarea:focus,
|
||||
@@ -877,7 +883,6 @@ select:focus {
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* Print Styles */
|
||||
@media print {
|
||||
.task-actions,
|
||||
nav,
|
||||
@@ -891,9 +896,7 @@ select:focus {
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
}
|
||||
/* Добавляем в существующие стили */
|
||||
|
||||
/* Фильтры */
|
||||
.filters {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
@@ -933,13 +936,11 @@ select:focus {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* Новые статусы */
|
||||
.status-yellow {
|
||||
background: linear-gradient(135deg, #ffc107, #e0a800);
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Закрытые задачи */
|
||||
.task-card.closed {
|
||||
background: linear-gradient(135deg, #e9ecef, #dee2e6);
|
||||
border-left-color: #6c757d;
|
||||
@@ -956,7 +957,6 @@ select:focus {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Комментарии к доработке */
|
||||
.rework-comment {
|
||||
margin: 10px 0;
|
||||
padding: 12px 15px;
|
||||
@@ -979,7 +979,6 @@ select:focus {
|
||||
border: 1px solid #ffc107;
|
||||
}
|
||||
|
||||
/* Новые кнопки */
|
||||
button.rework-btn {
|
||||
background: linear-gradient(135deg, #ffc107, #e0a800);
|
||||
box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
|
||||
@@ -1019,10 +1018,11 @@ button.reopen-btn:hover {
|
||||
.show-deleted-label input {
|
||||
margin: 0;
|
||||
}
|
||||
/* В существующие стили добавляем */
|
||||
|
||||
.show-deleted-label[style*="display: none"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.deadline-badge {
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
@@ -1072,7 +1072,7 @@ button.reopen-btn:hover {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
/* Админ-стили */
|
||||
|
||||
.admin-container {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
@@ -1259,11 +1259,11 @@ button.reopen-btn:hover {
|
||||
border-left-color: #f39c12;
|
||||
}
|
||||
|
||||
/* Анимация появления */
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.error {
|
||||
background: linear-gradient(135deg, #f8d7da, #f5c6cb);
|
||||
color: #721c24;
|
||||
@@ -1274,6 +1274,7 @@ button.reopen-btn:hover {
|
||||
border-left: 5px solid #e74c3c;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.task-number {
|
||||
background: #3498db;
|
||||
color: white;
|
||||
@@ -1284,32 +1285,6 @@ button.reopen-btn:hover {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.task-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 0;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.task-header .task-title {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 700;
|
||||
color: #2c3e50;
|
||||
flex: 1;
|
||||
line-height: 1.4;
|
||||
cursor: pointer;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.task-header .task-title:hover {
|
||||
background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.1));
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.task-header .task-title .expand-icon {
|
||||
font-size: 0.8rem;
|
||||
color: #6c757d;
|
||||
@@ -1322,9 +1297,49 @@ button.reopen-btn:hover {
|
||||
border-top: 1px solid #e9ecef;
|
||||
margin-top: 10px;
|
||||
animation: fadeIn 0.3s ease;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.3s ease;
|
||||
max-height: 0;
|
||||
}
|
||||
|
||||
.task-content.expanded {
|
||||
max-height: 2000px;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(-10px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.tasks-no-date-btn {
|
||||
background: linear-gradient(135deg, #17a2b8, #138496);
|
||||
box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
|
||||
}
|
||||
|
||||
.tasks-no-date-btn.active {
|
||||
background: linear-gradient(135deg, #138496, #117a8b);
|
||||
box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
|
||||
}
|
||||
|
||||
.no-date-badge {
|
||||
background: linear-gradient(135deg, #6c757d, #5a6268);
|
||||
color: white;
|
||||
padding: 3px 8px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.75rem;
|
||||
margin-left: 10px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.task-dates-files {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.task-dates-files .task-dates,
|
||||
.task-dates-files .file-list {
|
||||
min-width: 100%;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user