Spaces:
Sleeping
Sleeping
File size: 1,827 Bytes
c64ddd4 5eb443d c64ddd4 de8b5dc c64ddd4 5eb443d c64ddd4 f41486b c64ddd4 5eb443d f41486b c64ddd4 f41486b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | .App {
min-height: 100vh;
background: linear-gradient(135deg, #084477 0%, #0a5694 50%, #084477 100%);
padding: 40px 20px;
}
.container {
max-width: 1000px;
margin: 0 auto;
background: white;
border-radius: 12px;
padding: 40px;
box-shadow: 0 10px 40px rgba(8, 68, 119, 0.3);
}
h1 {
color:#333;
margin-bottom: 10px;
}
.subtitle {
color: #666;
margin-bottom: 30px;
}
.upload-section {
display: flex;
flex-direction: column;
gap: 20px;
}
.file-label {
display: inline-block;
padding: 12px 24px;
background: #084477;
color: white;
border-radius: 6px;
cursor: pointer;
text-align: center;
transition: background 0.3s;
}
.file-label:hover {
background: #0a5694;
}
.preview {
width: 100%;
max-height: 300px;
overflow: hidden;
border-radius: 8px;
border: 2px solid #eee;
}
.preview img {
width: 100%;
height: auto;
display: block;
}
.analyze-button {
padding: 14px 28px;
background: #084477;
color: white;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background 0.3s;
}
.analyze-button:hover:not(:disabled) {
background: #0a5694;
}
.analyze-button:disabled {
background: #ccc;
cursor: not-allowed;
}
.results {
margin-top: 30px;
padding: 20px;
background: #f7fafc;
border-radius: 8px;
border-left: 4px solid #084477;
}
.results h2 {
margin-top: 0;
color: #084477;
}
.results ul {
list-style: none;
padding: 0;
margin: 15px 0 0 0;
}
.results li {
padding: 12px;
margin-bottom: 8px;
background: white;
border-radius: 6px;
border: 1px solid #e2e8f0;
}
.part-name {
font-weight: 600;
color: #084477;
}
.error {
margin-top: 20px;
padding: 15px;
background: #fed7d7;
color: #c53030;
border-radius: 6px;
border-left: 4px solid #c53030;
} |