Docxpert / static /style.css
Rahul-Samedavar's picture
f
d793405
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background: #f4f4f4;
}
nav {
height: 60px;
padding: 0 20px;
background: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: space-between;
}
nav img {
height: 90%;
transition: transform 0.3s ease-in-out;
}
nav img:hover {
transform: scale(1.1);
}
#exportButton, #clearButton {
font-size: 1.5rem;
font-weight: 600;
background: #007bff;
padding: 5px 15px;
border-radius: 2rem;
border: none;
color: white;
cursor: pointer;
}
#clearButton{
background: #ff007b;
}
.source{
color: #007bff;
cursor: pointer;
}
.container {
display: flex;
height: calc(100vh - 60px);
gap: 20px;
padding: 20px;
}
.left-section {
flex: 1;
display: flex;
flex-direction: column;
background: #fff;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
padding: 20px;
overflow: hidden;
transition: 0.3s;
}
.chat-container {
flex: 1;
overflow-y: auto;
padding: 15px;
border: 1px solid #ccc;
border-radius: 10px;
background: #f9f9f9;
display: flex;
flex-direction: column;
}
.chat-container::-webkit-scrollbar {
width: 8px;
}
.chat-container::-webkit-scrollbar-thumb {
background: #bbb;
border-radius: 10px;
}
.chat-message {
display: flex;
flex-direction: column;
padding: 12px 18px;
border-radius: 18px;
margin: 10px 0;
max-width: 75%;
line-height: 1.6;
font-size: 16px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
transition: 0.3s;
}
.user-message {
background: #007bff;
color: #fff;
align-self: flex-end;
text-align: right;
transition: 0.3s;
}
.user-message:hover, .bot-message:hover {
transform: scale(1.05);
}
.bot-message {
background: #f1f1f1;
color: #333;
text-align: left;
}
.source-info {
margin-top: 5px;
font-size: 12px;
color: #888;
}
.chat-form {
display: flex;
align-items: center;
border: 1px solid #ccc;
border-radius: 25px;
padding: 5px;
background: #fff;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
margin-top: 10px;
}
.chat-form input {
flex: 1;
padding: 10px;
border: none;
font-size: 16px;
outline: none;
color: #333;
}
.chat-form button {
padding: 10px 20px;
border: none;
background: #28a745;
color: white;
cursor: pointer;
border-radius: 25px;
transition: 0.3s;
}
.chat-form button:hover {
background: #218838;
transform: scale(1.1);
}
.upload-btn {
cursor: pointer;
font-size: 26px;
transition: 0.3s;
color: #555;
}
.upload-btn:hover {
color: #007bff;
transform: scale(1.1);
}
.right-section {
flex: 1;
background: #fff;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
padding: 20px;
overflow-y: auto;
transition: 0.3s;
}
.right-section:hover {
transform: scale(1.01);
}
.right-section > h2 {
text-align: center;
font-size: 24px;
color: #555;
}
iframe {
width: 100%;
height: 90%;
border: none;
margin: 0;
padding: 0;
transition: 0.3s;
}
iframe:hover {
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.chat-message {
animation: fadeIn 0.5s;
}