Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +82 -40
static/styles.css
CHANGED
|
@@ -1,55 +1,97 @@
|
|
| 1 |
-
/*
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
| 14 |
}
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
max-height: 400px;
|
| 22 |
-
overflow-y: auto;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
word-wrap: break-word;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
text-align: right;
|
| 43 |
}
|
| 44 |
|
| 45 |
-
.
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
padding: 10px 20px;
|
| 51 |
}
|
| 52 |
|
| 53 |
-
.
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|
|
|
|
| 1 |
+
/* General Styles */
|
| 2 |
+
body {
|
| 3 |
+
font-family: Arial, sans-serif;
|
| 4 |
+
background-color: #f8f9fa;
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 0;
|
| 7 |
+
display: flex;
|
| 8 |
+
justify-content: center;
|
| 9 |
+
align-items: center;
|
| 10 |
+
height: 100vh;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
.chat-container {
|
| 14 |
+
width: 400px;
|
| 15 |
+
background-color: #ffffff;
|
| 16 |
+
border-radius: 10px;
|
| 17 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 18 |
+
overflow: hidden;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
+
.chat-header {
|
| 22 |
+
background-color: #3b82f6;
|
| 23 |
+
color: #ffffff;
|
| 24 |
+
padding: 10px;
|
| 25 |
+
text-align: center;
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
|
| 28 |
+
.chat-box {
|
| 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;
|
| 40 |
+
border-radius: 8px;
|
| 41 |
+
max-width: 80%;
|
| 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 |
+
width: 100px;
|
| 87 |
+
background-color: #3b82f6;
|
| 88 |
+
color: white;
|
| 89 |
+
border: none;
|
| 90 |
+
padding: 10px;
|
| 91 |
+
border-radius: 8px;
|
| 92 |
+
cursor: pointer;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
#submit-btn:hover {
|
| 96 |
+
background-color: #2563eb;
|
| 97 |
}
|