Spaces:
Sleeping
Sleeping
/* General page styling */ | |
body { | |
background-color: #002d4d; /* Dark blue background */ | |
color: #ffffff; /* White text */ | |
font-family: 'Century Gothic', 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
padding: 20px; | |
} | |
/* Dashboard styling */ | |
#dashboard { | |
border-right: 2px solid #d9d9d9; | |
padding-right: 20px; | |
} | |
#dashboard h2 { | |
background-color: #032d42; /* Dark blue background for headings */ | |
color: #ffffff; /* White text */ | |
text-align: center; | |
padding: 10px; | |
border-radius: 5px; | |
} | |
.table-responsive { | |
background-color: #ffffff; | |
color: #333333; | |
border: 1px solid #d9d9d9; | |
border-radius: 5px; | |
padding: 10px; | |
} | |
/* Chatbot styling */ | |
#chatbot { | |
padding-left: 20px; | |
display: flex; | |
flex-direction: column; | |
height: 100vh; | |
} | |
#chatbot h2 { | |
background-color: #032d42; /* Dark blue background for headings */ | |
color: #ffffff; /* White text */ | |
text-align: center; | |
padding: 10px; | |
border-radius: 5px; | |
} | |
#upload-form { | |
margin-bottom: 20px; | |
display: flex; | |
align-items: center; | |
} | |
#upload-form .form-control-file { | |
flex: 1; | |
} | |
#chatbot-messages { | |
flex: 1; | |
overflow-y: auto; | |
background-color: #ffffff; | |
color: #333333; | |
border: 1px solid #d9d9d9; | |
border-radius: 5px; | |
padding: 10px; | |
} | |
.user-message, .bot-message { | |
margin-bottom: 10px; | |
padding: 10px; | |
border-radius: 5px; | |
} | |
.user-message { | |
text-align: left; | |
background-color: #d9eaff; | |
border: 1px solid #0052cc; | |
} | |
.bot-message { | |
text-align: right; | |
background-color: #e1e1e1; | |
border: 1px solid #b1b1b1; | |
color: #0052cc; | |
} | |
#chat-input, #chat-form button { | |
margin-top: 10px; | |
} | |
#chat-input { | |
border-radius: 5px; | |
border: 1px solid #d9d9d9; | |
padding: 10px; | |
width: calc(80% - 20px); /* Adjusted width to fit Send button */ | |
display: inline-block; | |
} | |
#chat-form button, #upload-form button { | |
background-color: #032d42; /* Dark blue background */ | |
color: #ffffff; /* White text */ | |
border: none; | |
border-radius: 5px; | |
padding: 10px 20px; | |
display: inline-block; | |
vertical-align: top; | |
margin-left: 10px; /* Add some space between the buttons */ | |
} | |
#chat-form button:hover, #upload-form button:hover { | |
background-color: #021a2b; | |
} | |
/* Answer panel styling */ | |
#answer-panel { | |
margin-top: 20px; | |
display: flex; | |
flex-direction: column; | |
} | |
#answer-text { | |
margin-bottom: 20px; | |
} | |
#answer-content { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
#answer-justification { | |
flex: 1; | |
padding-right: 20px; | |
} | |
#answer-image { | |
flex: 1; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
#answer-image img { | |
max-width: 100%; | |
height: auto; | |
} | |
.panel { | |
margin-top: 20px; | |
padding: 10px; | |
border: 1px solid #d9d9d9; | |
border-radius: 5px; | |
background-color: #ffffff; | |
} | |
.panel h3 { | |
background-color: #032d42; /* Dark blue background for headings */ | |
color: #ffffff; /* White text */ | |
text-align: center; | |
padding: 10px; | |
border-radius: 5px; | |
} | |