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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
/* :root {
|
| 3 |
+
--user-image: url('https://ih1.redbubble.net/image.4776899543.6215/st,small,507x507-pad,600x600,f8f8f8.jpg');
|
| 4 |
+
} */
|
| 5 |
+
|
| 6 |
+
.warning-box {
|
| 7 |
+
background-color: #fff3cd;
|
| 8 |
+
border: 1px solid #ffeeba;
|
| 9 |
+
border-radius: 4px;
|
| 10 |
+
padding: 15px 20px;
|
| 11 |
+
font-size: 14px;
|
| 12 |
+
color: #856404;
|
| 13 |
+
display: inline-block;
|
| 14 |
+
margin-bottom: 15px;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
.tip-box {
|
| 19 |
+
background-color: #f0f9ff;
|
| 20 |
+
border: 1px solid #80d4fa;
|
| 21 |
+
border-radius: 4px;
|
| 22 |
+
margin-top:20px;
|
| 23 |
+
padding: 15px 20px;
|
| 24 |
+
font-size: 14px;
|
| 25 |
+
display: inline-block;
|
| 26 |
+
margin-bottom: 15px;
|
| 27 |
+
width: auto;
|
| 28 |
+
color:black !important;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
body.dark .warning-box * {
|
| 32 |
+
color:black !important;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
body.dark .tip-box * {
|
| 37 |
+
color:black !important;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
.tip-box-title {
|
| 42 |
+
font-weight: bold;
|
| 43 |
+
font-size: 14px;
|
| 44 |
+
margin-bottom: 5px;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.light-bulb {
|
| 48 |
+
display: inline;
|
| 49 |
+
margin-right: 5px;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.gr-box {border-color: #d6c37c}
|
| 53 |
+
|
| 54 |
+
#hidden-message{
|
| 55 |
+
display:none;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.message{
|
| 59 |
+
font-size:14px !important;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
a {
|
| 64 |
+
text-decoration: none;
|
| 65 |
+
color: inherit;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.card {
|
| 69 |
+
background-color: white;
|
| 70 |
+
border-radius: 10px;
|
| 71 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 72 |
+
overflow: hidden;
|
| 73 |
+
display: flex;
|
| 74 |
+
flex-direction: column;
|
| 75 |
+
margin:20px;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.card-content {
|
| 79 |
+
padding: 20px;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.card-content h2 {
|
| 83 |
+
font-size: 14px !important;
|
| 84 |
+
font-weight: bold;
|
| 85 |
+
margin-bottom: 10px;
|
| 86 |
+
margin-top:0px !important;
|
| 87 |
+
color:#dc2626!important;;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.card-content p {
|
| 91 |
+
font-size: 12px;
|
| 92 |
+
margin-bottom: 0;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.card-footer {
|
| 96 |
+
background-color: #f4f4f4;
|
| 97 |
+
font-size: 10px;
|
| 98 |
+
padding: 10px;
|
| 99 |
+
display: flex;
|
| 100 |
+
justify-content: space-between;
|
| 101 |
+
align-items: center;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.card-footer span {
|
| 105 |
+
flex-grow: 1;
|
| 106 |
+
text-align: left;
|
| 107 |
+
color: #999 !important;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.pdf-link {
|
| 111 |
+
display: inline-flex;
|
| 112 |
+
align-items: center;
|
| 113 |
+
margin-left: auto;
|
| 114 |
+
text-decoration: none!important;
|
| 115 |
+
font-size: 14px;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
.message.user{
|
| 121 |
+
/* background-color:#7494b0 !important; */
|
| 122 |
+
border:none;
|
| 123 |
+
/* color:white!important; */
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.message.bot{
|
| 127 |
+
/* background-color:#f2f2f7 !important; */
|
| 128 |
+
border:none;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
/* .gallery-item > div:hover{
|
| 132 |
+
background-color:#7494b0 !important;
|
| 133 |
+
color:white!important;
|
| 134 |
+
}
|
| 135 |
+
.gallery-item:hover{
|
| 136 |
+
border:#7494b0 !important;
|
| 137 |
+
}
|
| 138 |
+
.gallery-item > div{
|
| 139 |
+
background-color:white !important;
|
| 140 |
+
color:#577b9b!important;
|
| 141 |
+
}
|
| 142 |
+
.label{
|
| 143 |
+
color:#577b9b!important;
|
| 144 |
+
} */
|
| 145 |
+
|
| 146 |
+
/* .paginate{
|
| 147 |
+
color:#577b9b!important;
|
| 148 |
+
} */
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
/* span[data-testid="block-info"]{
|
| 153 |
+
background:none !important;
|
| 154 |
+
color:#577b9b;
|
| 155 |
+
} */
|
| 156 |
+
|
| 157 |
+
/* Pseudo-element for the circularly cropped picture */
|
| 158 |
+
/* .message.bot::before {
|
| 159 |
+
content: '';
|
| 160 |
+
position: absolute;
|
| 161 |
+
top: -10px;
|
| 162 |
+
left: -10px;
|
| 163 |
+
width: 30px;
|
| 164 |
+
height: 30px;
|
| 165 |
+
background-image: var(--user-image);
|
| 166 |
+
background-size: cover;
|
| 167 |
+
background-position: center;
|
| 168 |
+
border-radius: 50%;
|
| 169 |
+
z-index: 10;
|
| 170 |
+
}
|
| 171 |
+
*/
|
| 172 |
+
|
| 173 |
+
label.selected{
|
| 174 |
+
background:none !important;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
#submit-button{
|
| 178 |
+
padding:0px !important;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
|
| 182 |
+
@media screen and (min-width: 1024px) {
|
| 183 |
+
div#tab-examples{
|
| 184 |
+
height:calc(100vh - 190px) !important;
|
| 185 |
+
overflow-y: auto;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
div#sources-textbox{
|
| 189 |
+
height:calc(100vh - 190px) !important;
|
| 190 |
+
overflow-y: auto !important;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
div#tab-config{
|
| 194 |
+
height:calc(100vh - 190px) !important;
|
| 195 |
+
overflow-y: auto !important;
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
div#chatbot-row{
|
| 199 |
+
height:calc(100vh - 90px) !important;
|
| 200 |
+
}
|
| 201 |
+
|
| 202 |
+
div#chatbot{
|
| 203 |
+
height:calc(100vh - 170px) !important;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
.max-height{
|
| 207 |
+
height:calc(100vh - 90px) !important;
|
| 208 |
+
overflow-y: auto;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
/* .tabitem:nth-child(n+3) {
|
| 212 |
+
padding-top:30px;
|
| 213 |
+
padding-left:40px;
|
| 214 |
+
padding-right:40px;
|
| 215 |
+
} */
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
footer {
|
| 219 |
+
visibility: hidden;
|
| 220 |
+
display:none !important;
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
@media screen and (max-width: 767px) {
|
| 225 |
+
/* Your mobile-specific styles go here */
|
| 226 |
+
|
| 227 |
+
div#chatbot{
|
| 228 |
+
height:500px !important;
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
#submit-button{
|
| 232 |
+
padding:0px !important;
|
| 233 |
+
min-width: 80px;
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
/* This will hide all list items */
|
| 237 |
+
div.tab-nav button {
|
| 238 |
+
display: none !important;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
/* This will show only the first list item */
|
| 242 |
+
div.tab-nav button:first-child {
|
| 243 |
+
display: block !important;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
/* This will show only the first list item */
|
| 247 |
+
div.tab-nav button:nth-child(2) {
|
| 248 |
+
display: block !important;
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
#right-panel button{
|
| 252 |
+
display: block !important;
|
| 253 |
+
}
|
| 254 |
+
|
| 255 |
+
/* ... add other mobile-specific styles ... */
|
| 256 |
+
}
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
body.dark .card{
|
| 260 |
+
background-color: #374151;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
body.dark .card-content h2{
|
| 264 |
+
color:#f4dbd3 !important;
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
body.dark .card-footer {
|
| 268 |
+
background-color: #404652;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
body.dark .card-footer span {
|
| 272 |
+
color:white !important;
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
.doc-ref{
|
| 277 |
+
color:#dc2626!important;
|
| 278 |
+
margin-right:1px;
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
.tabitem{
|
| 282 |
+
border:none !important;
|
| 283 |
+
}
|
| 284 |
+
|
| 285 |
+
.other-tabs > div{
|
| 286 |
+
padding-left:40px;
|
| 287 |
+
padding-right:40px;
|
| 288 |
+
padding-top:10px;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.gallery-item > div{
|
| 292 |
+
white-space: normal !important; /* Allow the text to wrap */
|
| 293 |
+
word-break: break-word !important; /* Break words to prevent overflow */
|
| 294 |
+
overflow-wrap: break-word !important; /* Break long words if necessary */
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
span.chatbot > p > img{
|
| 298 |
+
margin-top:40px !important;
|
| 299 |
+
max-height: none !important;
|
| 300 |
+
max-width: 80% !important;
|
| 301 |
+
border-radius:0px !important;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
|
| 305 |
+
.chatbot-caption{
|
| 306 |
+
font-size:11px;
|
| 307 |
+
font-style:italic;
|
| 308 |
+
color:#508094;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
.ai-generated{
|
| 312 |
+
font-size:11px!important;
|
| 313 |
+
font-style:italic;
|
| 314 |
+
color:#73b8d4 !important;
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
.card-image > .card-content{
|
| 318 |
+
background-color:#f1f7fa !important;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
.tab-nav > button.selected{
|
| 324 |
+
color:#4b8ec3;
|
| 325 |
+
font-weight:bold;
|
| 326 |
+
border:none;
|
| 327 |
+
}
|
| 328 |
+
|
| 329 |
+
.tab-nav{
|
| 330 |
+
border:none !important;
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
+
#input-textbox > label > textarea{
|
| 334 |
+
border-radius:40px;
|
| 335 |
+
padding-left:30px;
|
| 336 |
+
resize:none;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
#input-message > div{
|
| 340 |
+
border:none;
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
#dropdown-samples{
|
| 344 |
+
/*! border:none !important; */
|
| 345 |
+
/*! border-width:0px !important; */
|
| 346 |
+
background:none !important;
|
| 347 |
+
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
#dropdown-samples > .container > .wrap{
|
| 351 |
+
background-color:white;
|
| 352 |
+
}
|
| 353 |
+
|
| 354 |
+
|
| 355 |
+
#tab-examples > div > .form{
|
| 356 |
+
border:none;
|
| 357 |
+
background:none !important;
|
| 358 |
+
}
|
| 359 |
+
|
| 360 |
+
.a-doc-ref{
|
| 361 |
+
text-decoration: none !important;
|
| 362 |
+
}
|