Spaces:
Runtime error
Runtime error
File size: 2,978 Bytes
3f4d0b1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
body {
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8f9fa;
}
.container {
background-color: #ff0000;
padding: 10px;
text-align: center;
color: white;
}
.chat_window {
position: absolute;
width: 80%;
max-width: 800px;
border-radius: 10px;
background-color: #fff;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
.top_menu {
background-color: #007bff;
width: 100%;
padding: 15px;
box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
}
.top_menu .title {
text-align: center;
color: white;
font-size: 24px;
margin: 0;
}
.messages {
list-style: none;
padding: 20px 10px 0 10px;
margin: 0;
height: 347px;
overflow-y: scroll;
}
.messages::-webkit-scrollbar {
width: 8px;
}
.messages::-webkit-scrollbar-thumb {
background-color: #007bff;
border-radius: 10px;
}
.bottom_wrapper {
width: 100%;
background-color: #f8f9fa;
padding: 20px 20px;
display: flex;
flex-direction: column;
align-items: stretch;
}
.message_input_wrapper {
display: inline-block;
height: 50px;
border-radius: 25px;
border: 1px solid #bcbdc0;
width: calc(100% - 20px);
position: relative;
padding: 0 20px;
margin-bottom: 10px;
}
.send_message {
width: 100%;
height: 50px;
border-radius: 50px;
background-color: #007bff;
border: 2px solid #007bff;
color: #fff;
cursor: pointer;
transition: all 0.2s linear;
text-align: center;
margin-bottom: 10px;
}
.message_input {
border: none;
height: 100%;
box-sizing: border-box;
width: calc(100% - 40px);
position: absolute;
outline-width: 0;
color: gray;
}
.send_message:hover {
color: #007bff;
background-color: #fff;
}
.send_message .text {
font-size: 18px;
font-weight: 300;
display: inline-block;
line-height: 48px;
}
.message_template {
text-align: center;
}
.text_wrapper {
display: inline-block;
text-align: left;
}
.user-message {
background-color: #007bff;
color: #fff;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
text-align: left;
float: right;
clear: both;
}
.bot-message {
background-color: #28a745;
color: #fff;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
text-align: left;
float: left;
clear: both;
}
.upload_wrapper {
display: flex;
justify-content: space-between;
width: 100%;
margin-top: 10px;
}
#fileUpload {
width: calc(50% - 10px);
margin-right: 20px;
}
#uploadBtn {
width: calc(50% - 10px);
height: 50px;
border-radius: 50px;
background-color: #007bff;
border: 2px solid #007bff;
color: #fff;
cursor: pointer;
transition: all 0.2s linear;
text-align: center;
}
|