/
otk11neter
/
TestMESSystem
Обзор
Документация
Войти
/
otk11neter
/
TestMESSystem
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
style.css
737 строк
16 KB
otk11neter
BatareonV2.0
30 янв 2026, 15:07
Верифицирован
30 янв 2026, 15:07
0194816
Код
Авторство
О чём код?
:root { /* Professional Minimalism Style (neter.pro inspired) */ --primary-blue: #003d4c; --light-blue: #E8F1FF; --secondary-blue: #003d4c; --accent-green: #00B050; --accent-orange: #FF8C00; --text-primary: #1A1A1A; --text-secondary: #666666; --border-color: #E0E0E0; --bg-light: #F9F9F9; --white: #FFFFFF; --status-production: hsl(33, 40%, 46%); --status-test: hsl(219, 62%, 34%); --status-progress: #003d4c; --status-done: #00B050; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08); --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.12); --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15); --radius: 6px; } * { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; } body { background: var(--bg-light); color: var(--text-primary); padding: 20px; font-size: 14px; line-height: 1.5; } @keyframes slideIn { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(400px); opacity: 0; } } /* Control Panel */ .control-panel { background: var(--white); color: var(--text-primary); padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-md); margin-bottom: 24px; border: 1px solid var(--border-color); border-radius: var(--radius); } .panel-left h1 { font-size: 22px; margin-bottom: 12px; font-weight: 600; display: flex; align-items: center; gap: 12px; color: var(--text-primary); } .stats { display: flex; gap: 12px; flex-wrap: wrap; } .stat { padding: 8px 16px; background: var(--light-blue); border: 1px solid var(--primary-blue); font-weight: 500; font-size: 13px; border-radius: var(--radius); display: flex; align-items: center; gap: 6px; color: var(--primary-blue); } .stat.todo { background: rgba(0, 176, 80, 0.08); border-color: var(--accent-green); color: var(--accent-green); } .stat.progress { background: var(--light-blue); border-color: var(--primary-blue); color: var(--primary-blue); } .stat.done { background: rgba(0, 176, 80, 0.08); border-color: var(--accent-green); color: var(--accent-green); } .stat.total { background: rgba(255, 140, 0, 0.08); border-color: var(--accent-orange); color: var(--accent-orange); } .panel-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .btn-analytics, .btn-clear { padding: 10px 16px; border: none; border-radius: var(--radius); font-size: 13px; background: var(--primary-blue); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; transition: all 0.2s ease; box-shadow: var(--shadow-sm); } .btn-analytics:hover { background: var(--secondary-blue); box-shadow: var(--shadow-md); } .btn-analytics#btn-archive.active { background: var(--accent-orange); } .btn-analytics#btn-archive:hover { background: #E67E00; } .btn-clear:hover { background: #CC3333; } /* Modal */ .batch-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 10000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.2s; } .batch-modal.active { opacity: 1; visibility: visible; } .modal-content { background: var(--white); width: 98vw; height: 98vh; max-width: 1600px; max-height: 95vh; border: 1px solid var(--border-color); display: flex; flex-direction: column; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(0.95); transition: transform 0.2s; position: relative; overflow: hidden; } .batch-modal.active .modal-content { transform: scale(1); } .modal-header { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); color: var(--white); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); } .modal-title { font-size: 22px; font-weight: 600; margin: 0; } .modal-summary { font-size: 13px; opacity: 0.9; margin-top: 4px; } .modal-close { background: transparent; border: 1px solid rgba(255,255,255,0.3); width: 44px; height: 44px; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; color: var(--white); border-radius: var(--radius); } .modal-close:hover { background: rgba(255,255,255,0.1); border-color: var(--white); } .modal-engineer-btn { background: var(--white); color: var(--primary-blue); border: 2px solid var(--primary-blue); border-radius: var(--radius); padding: 10px 18px; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.15s; margin: 0; } .modal-engineer-btn:hover { background: var(--light-blue); border-color: var(--secondary-blue); } .modal-engineer-btn.active { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); } .modal-buttons { display: flex; gap: 10px; margin-left: 32px; margin-top: 20px; margin-bottom: 0; } .modal-archive-fab { position: absolute; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: var(--accent-orange); border: none; color: var(--white); font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-lg); z-index: 100; } .modal-archive-fab:hover { transform: scale(1.1) rotate(15deg); box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35); } .modal-body { flex: 1; overflow-y: auto; padding: 32px; background: var(--white); } .analytics-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 10001; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.2s; } .analytics-modal.active { opacity: 1; visibility: visible; } .analytics-content { background: var(--white); width: 90vw; max-width: 1200px; max-height: 90vh; border: 1px solid var(--border-color); display: flex; flex-direction: column; transform: scale(0.95); transition: transform 0.2s; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; } .analytics-modal.active .analytics-content { transform: scale(1); } .analytics-header { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); color: var(--white); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); flex-shrink: 0; } .analytics-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 24px 32px; background: #111827; max-height: calc(90vh - 160px); } /* Board */ .board { display: flex; flex-direction: column; gap: 12px; max-width: 1600px; margin: 0 auto; height: calc(100vh - 200px); } .batches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; overflow-y: auto; padding: 16px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow-sm); } .column { flex: none; background: var(--white); border: 1px solid var(--border-color); padding: 20px; min-height: auto; overflow-y: visible; display: none; flex-direction: column; border-radius: var(--radius); box-shadow: var(--shadow-sm); } #archive-column { border-color: var(--accent-orange); background: linear-gradient(135deg, var(--white) 0%, rgba(255, 140, 0, 0.04) 100%); } .column-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-blue); } h2 { color: var(--text-primary); font-size: 16px; font-weight: 600; margin: 0; } .add-btn { width: 32px; height: 32px; border: 2px solid var(--primary-blue); background: var(--white); color: var(--primary-blue); border-radius: var(--radius); font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.15s; display: flex; align-items: center; justify-content: center; } .add-btn:hover { background: var(--light-blue); border-color: var(--secondary-blue); } .tasks { min-height: 500px; display: flex; flex-direction: column; gap: 12px; } .batch { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); cursor: pointer; box-shadow: var(--shadow-sm); transition: all 0.15s; position: relative; min-width: 250px; display: flex; flex-direction: column; overflow: hidden; } .batch[data-status="archive"] { background: #f3f4f6; opacity: 0.8; } .batch:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-md); transform: translateY(-2px); } .batch.dragging { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow-lg); } .status-badge { padding: 4px 10px; border: 1px solid; font-size: 11px; font-weight: 600; text-transform: uppercase; border-radius: 4px; display: inline-block; } .status-badge.status-production { border-color: var(--accent-orange); color: var(--accent-orange); background: rgba(255, 140, 0, 0.08); } .status-badge.status-todo { border-color: var(--accent-green); color: var(--accent-green); background: rgba(0, 176, 80, 0.08); } .status-badge.status-progress { border-color: var(--primary-blue); color: var(--primary-blue); background: var(--light-blue); } .status-badge.status-done { border-color: var(--accent-green); color: var(--accent-green); background: rgba(0, 176, 80, 0.08); } .status-badge.status-archive { border-color: var(--accent-orange); color: var(--accent-orange); background: rgba(255, 140, 0, 0.08); } .batch-summary { padding: 0; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); position: relative; gap: 0; height: 100%; } .batch-title { font-weight: 600; font-size: 14px; color: var(--text-primary); word-break: break-word; overflow: hidden; text-overflow: ellipsis; max-height: 2.8em; line-height: 1.4; } .total-count { font-size: 12px; color: var(--text-secondary); font-weight: 500; margin-top: 4px; } .delete-btn { width: 28px; height: 28px; border: none; border-radius: 50%; background: transparent; color: #999; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: absolute; top: 8px; right: 8px; transition: all 0.15s; z-index: 10; } .delete-btn:hover { background: #fee; color: #ef4444; } .open-btn { width: 32px; height: 32px; border: 1px solid var(--accent-green); border-radius: var(--radius); background: rgba(0, 176, 80, 0.08); color: var(--accent-green); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; } .open-btn:hover { background: var(--accent-green); border-color: var(--accent-green); color: var(--white); } .btn-small { background: var(--primary-blue); color: var(--white); border: 1px solid var(--primary-blue); border-radius: var(--radius); padding: 6px 12px; font-size: 12px; cursor: pointer; transition: all 0.15s; } .btn-small:hover { background: var(--secondary-blue); border-color: var(--secondary-blue); } .modal-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); } .modal-table th { background: var(--light-blue); padding: 12px; text-align: left; font-weight: 600; color: var(--primary-blue); border-bottom: 2px solid var(--border-color); } .modal-table td { padding: 12px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); } .modal-table input { width: 100px; padding: 8px; border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 13px; text-align: center; font-weight: 500; background: var(--white); color: var(--text-primary); } .modal-table input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px var(--light-blue); } .group-total-final { background: var(--light-blue); } @media (max-width: 1200px) { .board { flex-wrap: wrap; height: auto; } .column { flex: 1 1 calc(50% - 6px); min-height: 400px; } } @media (max-width: 768px) { .column { flex: 1 1 100%; min-height: 300px; } .control-panel { flex-direction: column; gap: 12px; align-items: flex-start; } .panel-right { width: 100%; } } /* Улучшения UX */ .batch-title { cursor: pointer; transition: color 0.2s; } .batch:hover .batch-title { color: var(--primary-blue); } /* Горячая клавиша подсказка */ .panel-left > div:last-child { animation: fadeIn 0.3s ease-in; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Улучшения для input полей */ input[type="text"], input[type="number"] { transition: border-color 0.2s, box-shadow 0.2s; } input[type="text"]:focus, input[type="number"]:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 61, 76, 0.1); } /* Стили для табличных input'ов */ .table-input { transition: border-color 0.2s, box-shadow 0.2s !important; } .table-input:focus { border-color: #00B050 !important; box-shadow: 0 0 0 3px rgba(0, 176, 80, 0.2) !important; } .master-input { transition: border-color 0.2s, box-shadow 0.2s !important; } .master-input:focus { border-color: #00B050 !important; box-shadow: 0 0 0 3px rgba(0, 176, 80, 0.2) !important; } /* Кнопка быстрого действия */ .quick-action-btn { width: 32px; height: 32px; border-radius: 4px; border: 1px solid var(--border-color); background: var(--white); cursor: pointer; font-weight: 600; font-size: 14px; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .quick-action-btn:hover { background: var(--primary-blue); color: var(--white); border-color: var(--primary-blue); } /* Ярлык статуса сохранения */ .save-indicator { font-size: 12px; color: #10b981; animation: pulse 1.5s infinite; } @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }