Spaces:
Running
Running
File size: 3,394 Bytes
74b9839 e8f82d2 a8e3b62 74b9839 e8f82d2 68bdae8 5e56126 e8f82d2 0939acc e8f82d2 0939acc e8f82d2 5e56126 a8e3b62 014c091 a8e3b62 014c091 a8e3b62 5e56126 a8e3b62 05917e9 a8e3b62 05917e9 a8e3b62 05917e9 a8e3b62 e8f82d2 74b9839 0939acc e8f82d2 5e56126 e8f82d2 74b9839 a63bf2f e8f82d2 74b9839 e8f82d2 74b9839 e8f82d2 a63bf2f e8f82d2 5e56126 e8f82d2 f18760e e8f82d2 74b9839 e8f82d2 5e56126 e8f82d2 a8e3b62 5e56126 c3e7024 a8e3b62 c3e7024 a8e3b62 c3e7024 5e56126 c3e7024 a8e3b62 0a709d2 9fff17d 23edac7 9fff17d 23edac7 9fff17d 23edac7 9fff17d 23edac7 9fff17d 5e56126 9fff17d 23edac7 9e28f68 fd7c52a 3f81f6d 42a453f 3f81f6d |
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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100vh;
width: 100vw;
font-family: sans-serif;
background-color: white;
display: flex;
flex-direction: column;
}
/* Drag & Drop Feedback */
.drag-active {
background-color: rgba(0, 150, 255, 0.1) !important;
border: 2px dashed #1ec9f3 !important;
}
header {
flex: 0 0 17vh;
display: flex;
align-items: center;
gap: 20px;
padding: 0 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header img {
height: 18vh;
width: 5vw;
object-fit: cover;
}
header span {
font-size: 30px;
}
em {
color: rgb(42, 42, 248);
}
.convo {
height: 70vh;
overflow-y: auto;
padding: 10px;
display: flex;
flex-direction: column;
gap: 10px;
scroll-behavior: smooth;
flex: 1;
}
.bubble {
max-width: 90%;
padding: 16px;
font-size: 1.05rem;
border-radius: 14px;
word-wrap: break-word;
white-space: pre-wrap;
}
.bubble .label {
font-size: 0.9rem;
font-weight: bold;
margin-bottom: 6px;
}
.bubble.left {
align-self: flex-start;
background-color: #a7e9af;
color: black;
border: 2px solid #3b7a57;
}
.bubble.right {
align-self: flex-end;
background-color: #1ec9f3;
color: white;
border: 2px solid #0080c0;
}
.qtdoc {
flex: 0 0 auto;
padding: 40px 80px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 -1px 3px rgba(0,0,0,0.1);
}
.qt {
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #b5b4b4;
border-radius: 10px;
margin-right: 10px;
padding: 0 10px;
height: 50px;
}
.qt input {
width: 70%;
height: 70%;
border: none;
background-color: #b5b4b4;
color: white;
font-size: 16px;
}
.qt input::placeholder {
color: white;
}
.qt input:focus {
outline: none;
}
.icons {
display: flex;
gap: 40px;
font-size: 20px;
color: white;
align-items: center;
cursor: pointer;
}
.sendingQA {
background-color: #3b82f6;
color: white;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
border: none;
font-size: 16px;
}
.sendingQA:hover {
background-color: #2563eb;
}
.audio-toggle {
margin-left: 10px;
cursor: pointer;
color: #007BFF;
}
.audio-toggle:hover {
color: #0056b3;
}
.answer-block {
background-color: #e1f7e1;
border-radius: 10px;
padding: 1rem;
margin: 1rem;
}
.file-preview-bubble {
align-self: flex-start;
background-color: #f2f2f2;
color: #444;
font-size: 0.8rem;
padding: 6px 10px;
border-radius: 10px;
max-width: 50%;
font-family: monospace;
box-shadow: inset 0 0 2px #aaa;
margin: -5px 0 6px 0;
opacity: 0.9;
}
.audio-toggle {
margin-left: 10px;
cursor: pointer;
color: #007BFF;
}
.audio-toggle:hover {
color: #0056b3;
}
.reset-chat {
background-color: #ef4444;
color: white;
padding: 8px 16px;
border: none;
border-radius: 8px;
margin-bottom: 10px;
cursor: pointer;
font-size: 14px;
}
.reset-chat:hover {
background-color: #dc2626;
}
/* Optional: Highlight drop area */
.convo.drag-over {
outline: 2px dashed #3b82f6;
background-color: #e0f2fe;
}
.return i{
font-size: 35px;
cursor: pointer;
} |