DocGPT-Prod / static /styles.css
akhil-vaidya's picture
Upload 48 files
4304dd8 verified
/* CSS styles will be added here */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-style: normal;
}
body {
display: flex;
height: 100vh;
background: #85aebf;
}
.sidenav {
width: 280px;
background-color: #f1f1f1;
padding-top: 20px;
height: calc(100% - 10px);
overflow-y: auto;
margin: 5px;
border: none;
border-radius: 10px;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.sidenav-head {
padding: 0px 15px 15px;
border: none;
border-bottom: 1px solid rgb(212, 212, 212);
}
.sidenav a {
padding: 10px 15px;
text-decoration: none;
font-size: 18px;
color: #333;
display: flex;
width: 100%;
flex-direction: row;
transition: 0.3s;
}
.sidenav a .img-section {
margin-right: 15px;
}
#logoutLink {
position: absolute;
bottom: 0;
margin-bottom: 5px;
border: none;
border-top: 1px solid rgb(212, 212, 212);
width: 280px;
border-radius: 0px 0px 10px 10px;
}
.sidenav a .text-section h4 {
margin-top: 4px;
font-size: 12px;
color: gray;
font-weight: 300;
}
.sidenav a:hover {
background-color: #ddd;
}
.main-content {
flex-grow: 1;
padding: 20px;
overflow-y: auto;
background: #85aebf;
}
.container {
max-width: 800px;
margin: 0 auto;
}
h1,
h2 {
color: #333;
}
input[type="text"],
input[type="password"],
input[type="file"] {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ddd;
border-radius: 4px;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="file"]:focus {
outline: 1px solid gray;
}
#chatSection .chat-input {
display: flex;
flex-direction: row;
border: 1px solid #ddd;
border-radius: 4px;
margin-top: 0px;
margin-bottom: 0px;
}
#chatSection .chat-input button {
background: none;
color: black;
padding: 0px 20px 0px 20px !important;
box-shadow: none;
}
#chatSection .chat-input button:hover {
background: rgb(200, 200, 200);
}
#chatSection .chat-input input {
border: none;
}
#chatSection .chat-input input:focus {
outline: none;
}
button {
background-color: #4caf50;
color: white;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
button:hover {
background-color: #45a049;
}
#chatHistory {
height: 300px;
overflow-y: auto;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
display: flex;
flex-direction: column;
}
.bandar {
position: absolute;
right: 40px;
bottom: 40px;
}
.flip-horizontal {
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
-ms-filter: fliph; /*IE*/
filter: fliph; /*IE*/
}
.chat-message {
margin-bottom: 10px;
}
.user-message {
background: blue;
padding: 5px 10px;
border-radius: 10px 10px 0px 10px;
max-width: 70%;
align-self: flex-end;
color: white;
}
.assistant-message {
background-color: #f0f0f0;
padding: 5px 10px;
border-radius: 10px 10px 10px 0px;
max-width: 70%;
align-self: flex-start;
}
.login-container {
width: 70%;
background-color: white;
border: none;
border-radius: 10px;
display: flex;
flex-direction: column;
padding: 20px;
gap: 20px;
margin-top: 20px;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.login-container h4 {
color: gray;
font-weight: 300;
}
.upload-doc-main {
display: flex;
align-items: center;
justify-content: center;
}
.fileUpload {
height: 100px;
display: flex;
align-items: center;
justify-content: center;
border: 1px dashed #c6c6c6;
}
.chat-history-interaction {
display: flex;
width: 100%;
flex-direction: column;
}
.user-msg {
position: relative;
float: right;
max-width: 80%;
margin: 10px;
padding: 10px;
background: blue;
border: none;
border-radius: 10px 10px 0px 10px;
color: white;
}
.chatbot-msg {
max-width: 80%;
margin: 10px;
padding: 10px;
background: rgb(184, 184, 184);
border: none;
border-radius: 10px 10px 10px 0px;
color: black;
}
.timestamp-msg {
font-size: 8px;
color: gray;
}
.chat-history-send {
display: flex;
flex-direction: row;
width: 600px;
/* width: 300px; */
gap: 15px;
}
.chat-history-btn {
margin: 10px 0px 10px 0px;
}
.history-section-opt {
height: 600px !important;
overflow: scroll !important;
}
.chat-history-list {
height: 600px;
overflow-y: scroll;
margin-top: 20px;
background-color: white;
}
.chat-history-interaction {
border-bottom: 1px solid #ccc;
padding: 10px;
}
.username-msg {
font-weight: bold;
}
.user-msg, .chatbot-msg, .timestamp-msg {
margin: 5px 0;
}
/*scroll bar*/
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
-webkit-border-radius: 10px;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
-webkit-border-radius: 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.3);
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(255, 255, 255, 0.3);
}