didi-lot3-frontend/extension/history.css
Top Clossers cec967f953 Livrare Lot 3 (Frontend): aplicație web, aplicație mobilă Android, extensie browser
- Surse complete web (React/Vite) + mobil (React Native/Expo) + extensie (MV3)
- Documentație de livrare: ghid utilizare, matrice trasabilitate cerințe, raport testare furnizor
- Artefacte binare: imagine Docker didi-frontend:lot3-1.0, APK, extensie v3.2.6 + SHA256SUMS
- Configurare adresă platformă externalizată (build args / .env / config.js)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 12:40:40 +03:00

385 lines
6 KiB
CSS

/* DIDI History - Purple Theme */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0d1424;
color: #FFFFFF;
padding: 40px 20px;
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.page-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 40px;
}
h1 {
font-size: 32px;
font-weight: 700;
margin-bottom: 12px;
background: linear-gradient(135deg, #009198 0%, #1fb6bd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
color: #9CA3AF;
}
.auth-info {
padding-top: 8px;
}
.auth-connected {
color: #1fb6bd;
font-size: 13px;
font-weight: 500;
}
.auth-disconnected {
color: #EF4444;
font-size: 13px;
}
.auth-disconnected a {
color: #1fb6bd;
text-decoration: none;
}
.auth-disconnected a:hover {
text-decoration: underline;
}
.history-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 24px;
}
.history-item {
background: #231832;
border-radius: 12px;
padding: 20px;
border: 1px solid rgba(0,145,152, 0.1);
transition: all 0.3s;
cursor: pointer;
}
.history-item:hover {
border-color: #009198;
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0,145,152, 0.2);
}
/* Risk Badge */
.risk-badge {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-radius: 10px;
border: 1px solid;
margin-bottom: 16px;
}
.risk-score {
font-size: 28px;
font-weight: 700;
}
.risk-category {
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Item Preview */
.item-preview {
color: #D1D5DB;
font-size: 13px;
line-height: 1.5;
margin-bottom: 16px;
padding: 10px;
background: rgba(255, 255, 255, 0.03);
border-radius: 6px;
border-left: 2px solid rgba(0,145,152, 0.3);
}
/* Stats Row */
.item-stats {
display: flex;
gap: 12px;
margin-bottom: 16px;
}
.stat {
flex: 1;
text-align: center;
padding: 8px;
background: rgba(255, 255, 255, 0.03);
border-radius: 6px;
}
.stat-label {
display: block;
font-size: 10px;
color: #6B7280;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 4px;
}
.stat-value {
display: block;
font-size: 16px;
font-weight: 700;
color: #FFFFFF;
}
/* Item Actions */
.item-actions {
display: flex;
gap: 8px;
margin-bottom: 8px;
}
.view-details-btn {
flex: 1;
padding: 8px 16px;
background: linear-gradient(135deg, #009198 0%, #1fb6bd 100%);
border: none;
border-radius: 6px;
color: white;
font-weight: 600;
cursor: pointer;
font-size: 13px;
transition: all 0.2s;
}
.view-details-btn:hover {
opacity: 0.9;
transform: scale(1.02);
}
.delete-btn {
padding: 8px 12px;
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 6px;
color: #EF4444;
font-weight: 500;
cursor: pointer;
font-size: 13px;
transition: all 0.2s;
}
.delete-btn:hover {
background: rgba(239, 68, 68, 0.2);
border-color: #EF4444;
}
.timestamp {
color: #6B7280;
font-size: 12px;
}
/* Modal styles */
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.8);
z-index: 99999;
align-items: center;
justify-content: center;
animation: fadeIn 0.3s ease;
}
.modal-overlay.active {
display: flex;
}
.modal-content {
background: #231832;
border-radius: 16px;
max-width: 800px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
animation: slideUp 0.3s ease;
}
.modal-header {
padding: 24px;
border-bottom: 1px solid rgba(0,145,152, 0.15);
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
background: #231832;
z-index: 10;
}
.modal-header h2 {
margin: 0;
font-size: 20px;
font-weight: 700;
color: #FFFFFF;
}
.modal-close {
background: rgba(255, 255, 255, 0.1);
border: none;
color: #FFFFFF;
font-size: 24px;
width: 32px;
height: 32px;
border-radius: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.modal-close:hover {
background: rgba(0,145,152, 0.3);
}
.modal-body {
padding: 24px;
}
/* Analysis Result Styles */
.verdict-box {
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
}
.verdict-label {
font-size: 14px;
color: #9CA3AF;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 1px;
}
.verdict-value {
font-size: 24px;
font-weight: 700;
margin-bottom: 8px;
}
.section {
margin-bottom: 20px;
}
.section-title {
font-size: 14px;
font-weight: 600;
color: #1fb6bd;
margin-bottom: 8px;
}
.section-content {
font-size: 14px;
color: #D1D5DB;
line-height: 1.6;
}
.badge {
display: inline-block;
padding: 6px 12px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
}
.claims-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.claim-item {
background: rgba(255, 255, 255, 0.05);
border-left: 3px solid #6B7280;
padding: 12px;
border-radius: 6px;
}
.claim-text {
color: #D1D5DB;
font-size: 14px;
line-height: 1.6;
}
.claim-sources {
margin-top: 4px;
font-size: 12px;
color: #9CA3AF;
}
.tags-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tag {
display: inline-block;
padding: 6px 12px;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
}
.empty-state {
text-align: center;
padding: 60px 20px;
color: #6B7280;
grid-column: 1 / -1;
}
.empty-state h3 {
margin-bottom: 12px;
color: #9CA3AF;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}