Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +7 -52
static/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
/*
|
| 2 |
-
|
| 3 |
font-family: Arial, sans-serif;
|
| 4 |
background-color: #f8f9fa;
|
| 5 |
margin: 0;
|
|
@@ -10,9 +10,9 @@ body {
|
|
| 10 |
height: 100vh;
|
| 11 |
}
|
| 12 |
|
| 13 |
-
|
| 14 |
width: 400px;
|
| 15 |
-
background-color:
|
| 16 |
border-radius: 10px;
|
| 17 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 18 |
overflow: hidden;
|
|
@@ -20,20 +20,12 @@ body {
|
|
| 20 |
|
| 21 |
.chat-header {
|
| 22 |
background-color: #3b82f6;
|
| 23 |
-
color: #ffffff;
|
| 24 |
padding: 10px;
|
|
|
|
| 25 |
text-align: center;
|
| 26 |
}
|
| 27 |
|
| 28 |
-
.
|
| 29 |
-
padding: 15px;
|
| 30 |
-
max-height: 300px;
|
| 31 |
-
overflow-y: auto;
|
| 32 |
-
background-color: #f0f4f8;
|
| 33 |
-
}
|
| 34 |
-
|
| 35 |
-
.bot-message,
|
| 36 |
-
.user-message {
|
| 37 |
background-color: #e0e0e0;
|
| 38 |
padding: 10px;
|
| 39 |
margin: 5px 0;
|
|
@@ -42,52 +34,15 @@ body {
|
|
| 42 |
}
|
| 43 |
|
| 44 |
.user-message {
|
| 45 |
-
background-color: #3b82f6;
|
| 46 |
-
color: #ffffff;
|
| 47 |
-
align-self: flex-end;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
.user-input {
|
| 51 |
-
display: flex;
|
| 52 |
-
padding: 10px;
|
| 53 |
-
background-color: #ffffff;
|
| 54 |
-
border-top: 1px solid #e0e0e0;
|
| 55 |
-
}
|
| 56 |
-
|
| 57 |
-
.user-input input {
|
| 58 |
-
flex: 1;
|
| 59 |
-
padding: 10px;
|
| 60 |
-
border: 1px solid #ddd;
|
| 61 |
-
border-radius: 8px;
|
| 62 |
-
margin-right: 10px;
|
| 63 |
-
}
|
| 64 |
-
|
| 65 |
-
.user-input button {
|
| 66 |
-
padding: 10px 20px;
|
| 67 |
background-color: #3b82f6;
|
| 68 |
color: white;
|
| 69 |
-
border: none;
|
| 70 |
-
border-radius: 8px;
|
| 71 |
-
cursor: pointer;
|
| 72 |
-
}
|
| 73 |
-
|
| 74 |
-
.user-input button:hover {
|
| 75 |
-
background-color: #2563eb;
|
| 76 |
-
}
|
| 77 |
-
|
| 78 |
-
.dropdown {
|
| 79 |
-
width: 100%;
|
| 80 |
-
padding: 10px;
|
| 81 |
-
border-radius: 8px;
|
| 82 |
-
margin-top: 10px;
|
| 83 |
}
|
| 84 |
|
| 85 |
#submit-btn {
|
| 86 |
-
|
| 87 |
background-color: #3b82f6;
|
| 88 |
color: white;
|
| 89 |
border: none;
|
| 90 |
-
padding: 10px;
|
| 91 |
border-radius: 8px;
|
| 92 |
cursor: pointer;
|
| 93 |
}
|
|
|
|
| 1 |
+
/* Chat Container */
|
| 2 |
+
.chat-container {
|
| 3 |
font-family: Arial, sans-serif;
|
| 4 |
background-color: #f8f9fa;
|
| 5 |
margin: 0;
|
|
|
|
| 10 |
height: 100vh;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
#chatbox-container {
|
| 14 |
width: 400px;
|
| 15 |
+
background-color: white;
|
| 16 |
border-radius: 10px;
|
| 17 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 18 |
overflow: hidden;
|
|
|
|
| 20 |
|
| 21 |
.chat-header {
|
| 22 |
background-color: #3b82f6;
|
|
|
|
| 23 |
padding: 10px;
|
| 24 |
+
color: white;
|
| 25 |
text-align: center;
|
| 26 |
}
|
| 27 |
|
| 28 |
+
.bot-message, .user-message {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
background-color: #e0e0e0;
|
| 30 |
padding: 10px;
|
| 31 |
margin: 5px 0;
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
.user-message {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
background-color: #3b82f6;
|
| 38 |
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
#submit-btn {
|
| 42 |
+
padding: 10px 20px;
|
| 43 |
background-color: #3b82f6;
|
| 44 |
color: white;
|
| 45 |
border: none;
|
|
|
|
| 46 |
border-radius: 8px;
|
| 47 |
cursor: pointer;
|
| 48 |
}
|