Spaces:
Sleeping
Sleeping
File size: 1,941 Bytes
5cd3431 |
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 122 123 124 125 126 127 128 129 130 131 132 133 |
.App {
text-align: center;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
padding: 20px;
color: white;
margin-bottom: 30px;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.App-main {
display: flex;
flex-direction: column;
gap: 30px;
}
.upload-section,
.query-section,
.results-section {
background-color: #f5f5f5;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
input[type="file"],
input[type="text"] {
padding: 10px;
margin: 10px 0;
width: 100%;
max-width: 400px;
border: 1px solid #ddd;
border-radius: 4px;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}
.message {
padding: 10px;
margin: 10px 0;
border-radius: 4px;
background-color: #f8f9fa;
color: #333;
}
.llm-response {
background-color: #e8f5e9;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
text-align: left;
}
.llm-response h3 {
color: #2e7d32;
margin-bottom: 10px;
}
.relevant-chunks {
text-align: left;
}
.relevant-chunks h3 {
color: #1976d2;
margin-bottom: 10px;
}
.result-item {
background-color: white;
padding: 15px;
margin: 10px 0;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.result-text {
margin-bottom: 5px;
font-size: 16px;
line-height: 1.5;
}
.result-score {
color: #666;
font-size: 14px;
font-style: italic;
}
|