-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c493f14
commit fe9ddc1
Showing
1 changed file
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
/* styles.css */ | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #1e1e2f; | ||
margin: 0; | ||
padding: 0; | ||
height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
color: #fff; | ||
} | ||
|
||
.chat-container { | ||
width: 100%; | ||
height: 100%; | ||
background-color: #2a2a40; | ||
border-radius: 10px; | ||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | ||
overflow: hidden; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.chat-header { | ||
background-color: #6200ea; | ||
color: #fff; | ||
padding: 15px; | ||
text-align: center; | ||
} | ||
|
||
.chat-header .logo { | ||
width: 40px; | ||
height: 40px; | ||
vertical-align: middle; | ||
margin-right: 10px; | ||
} | ||
|
||
.chat-box { | ||
flex: 1; | ||
padding: 15px; | ||
overflow-y: auto; | ||
border-bottom: 1px solid #444; | ||
} | ||
|
||
.message { | ||
margin-bottom: 15px; | ||
display: flex; | ||
align-items: flex-start; | ||
} | ||
|
||
.message img { | ||
width: 30px; | ||
height: 30px; | ||
border-radius: 50%; | ||
margin-right: 10px; | ||
} | ||
|
||
.message.user img { | ||
background-color: #6200ea; | ||
} | ||
|
||
.message.bot img { | ||
background-color: #03dac6; | ||
} | ||
|
||
.message-content { | ||
background-color: #444; | ||
padding: 10px; | ||
border-radius: 10px; | ||
max-width: 70%; | ||
word-wrap: break-word; | ||
} | ||
|
||
.message.user .message-content { | ||
background-color: #6200ea; | ||
color: #fff; | ||
margin-left: auto; | ||
} | ||
|
||
.chat-input { | ||
display: flex; | ||
padding: 10px; | ||
background-color: #1e1e2f; | ||
} | ||
|
||
.chat-input textarea { | ||
flex: 1; | ||
padding: 10px; | ||
border: 1px solid #444; | ||
border-radius: 5px; | ||
resize: none; | ||
margin-right: 10px; | ||
background-color: #2a2a40; | ||
color: #fff; | ||
} | ||
|
||
.chat-input button { | ||
background-color: #6200ea; | ||
color: #fff; | ||
border: none; | ||
padding: 10px 15px; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
.chat-input button:hover { | ||
background-color: #3700b3; | ||
} | ||
|
||
.message-actions { | ||
margin-top: 5px; | ||
display: flex; | ||
gap: 5px; | ||
} | ||
|
||
.message-actions button { | ||
background: none; | ||
border: none; | ||
color: #fff; | ||
cursor: pointer; | ||
font-size: 12px; | ||
} | ||
|
||
.message-actions button:hover { | ||
color: #03dac6; | ||
} |