sravni-dva-dokumenta-i-sdela/style.css

367 lines
5.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
color: #333;
}
.container {
max-width: 1600px;
margin: 0 auto;
background: white;
border-radius: 16px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
color: white;
padding: 40px;
text-align: center;
}
.header h1 {
font-size: 32px;
margin-bottom: 12px;
font-weight: 700;
}
.subtitle {
font-size: 16px;
opacity: 0.9;
margin-bottom: 24px;
}
.download-btn {
display: inline-block;
background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
color: white;
padding: 14px 28px;
border-radius: 10px;
text-decoration: none;
font-weight: 600;
font-size: 16px;
margin-bottom: 24px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}
.download-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}
.summary {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.summary-item {
background: rgba(255, 255, 255, 0.15);
padding: 12px 24px;
border-radius: 8px;
backdrop-filter: blur(10px);
}
.summary-item strong {
display: block;
font-size: 24px;
margin-bottom: 4px;
}
.summary-item span {
font-size: 13px;
opacity: 0.9;
}
.filters {
display: flex;
gap: 12px;
padding: 24px 40px;
background: #f8f9fa;
border-bottom: 2px solid #e9ecef;
flex-wrap: wrap;
}
.filter-btn {
padding: 10px 20px;
border: 2px solid #dee2e6;
background: white;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
color: #495057;
}
.filter-btn:hover {
border-color: #3498db;
color: #3498db;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}
.filter-btn.active {
background: #3498db;
border-color: #3498db;
color: white;
}
.table-wrapper {
overflow-x: auto;
max-height: 70vh;
overflow-y: auto;
}
.comparison-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.comparison-table thead {
position: sticky;
top: 0;
z-index: 10;
background: #2c3e50;
color: white;
}
.comparison-table th {
padding: 16px 12px;
text-align: left;
font-weight: 600;
border-right: 1px solid rgba(255, 255, 255, 0.2);
white-space: nowrap;
}
.comparison-table th:last-child {
border-right: none;
}
.comparison-table td {
padding: 14px 12px;
border-bottom: 1px solid #e9ecef;
vertical-align: top;
line-height: 1.5;
}
.comparison-table tbody tr {
transition: all 0.2s ease;
}
.comparison-table tbody tr:hover {
background: #f8f9fa;
transform: scale(1.005);
}
.col-id {
width: 50px;
text-align: center;
font-weight: 700;
color: #2c3e50;
}
.col-problem {
width: 20%;
min-width: 250px;
}
.col-recommendation {
width: 20%;
min-width: 250px;
}
.col-decision-zam {
width: 18%;
min-width: 220px;
background: #fff3cd;
}
.col-decision-sf {
width: 18%;
min-width: 220px;
background: #d4edda;
}
.col-status {
width: 120px;
text-align: center;
}
.status-badge {
display: inline-block;
padding: 6px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.status-fully {
background: #d4edda;
color: #155724;
}
.status-partially {
background: #fff3cd;
color: #856404;
}
.status-added {
background: #cce5ff;
color: #004085;
}
.summary-block {
padding: 40px;
background: #f8f9fa;
border-top: 2px solid #e9ecef;
}
.summary-block h2 {
font-size: 24px;
margin-bottom: 24px;
color: #2c3e50;
}
#summary-details {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.summary-card {
background: white;
padding: 24px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
border-left: 4px solid #3498db;
}
.summary-card h3 {
font-size: 16px;
margin-bottom: 12px;
color: #2c3e50;
}
.summary-card ul {
list-style: none;
padding-left: 0;
}
.summary-card li {
padding: 8px 0;
border-bottom: 1px solid #f1f3f5;
font-size: 13px;
display: flex;
align-items: flex-start;
gap: 10px;
}
.summary-card li:last-child {
border-bottom: none;
}
.summary-card li::before {
content: "✓";
color: #27ae60;
font-weight: 700;
flex-shrink: 0;
}
.changes-highlight {
background: #e8f5e9;
padding: 12px;
border-radius: 6px;
margin-top: 8px;
font-size: 12px;
border-left: 3px solid #27ae60;
}
.changes-highlight strong {
color: #27ae60;
display: block;
margin-bottom: 6px;
}
.changes-highlight ul {
list-style: disc;
padding-left: 20px;
margin: 0;
}
.changes-highlight li {
padding: 4px 0;
border: none;
}
@media (max-width: 1200px) {
.comparison-table {
font-size: 12px;
}
.col-problem,
.col-recommendation {
min-width: 200px;
}
}
@media (max-width: 768px) {
body {
padding: 10px;
}
.header {
padding: 24px 20px;
}
.header h1 {
font-size: 24px;
}
.filters {
padding: 16px 20px;
}
.table-wrapper {
max-height: 60vh;
}
.comparison-table th,
.comparison-table td {
padding: 10px 8px;
}
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}