200 lines
2.5 KiB
CSS
200 lines
2.5 KiB
CSS
body.dark {
|
|
background: #121212;
|
|
color: #eee;
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.tabs button {
|
|
margin: 5px;
|
|
padding: 8px 12px;
|
|
background: #1f1f1f;
|
|
color: #eee;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.chat-container {
|
|
margin-top: 20px;
|
|
max-height: 60vh;
|
|
overflow-y: auto;
|
|
border: 1px solid #333;
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.msg {
|
|
display: flex;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.avatar {
|
|
margin-right: 10px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.bubble {
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
max-width: 70%;
|
|
}
|
|
|
|
.msg.user .bubble {
|
|
background: #2962ff;
|
|
color: #fff;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.msg.assistant .bubble {
|
|
background: #1e1e1e;
|
|
color: #eee;
|
|
}
|
|
|
|
.input-bar {
|
|
margin-top: 20px;
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
|
|
.cursor {
|
|
display: inline-block;
|
|
margin-left: 4px;
|
|
animation: blink 1s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0% { opacity: 1; }
|
|
50% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background: #f5f5f5;
|
|
padding: 40px;
|
|
max-width: 800px;
|
|
margin: auto;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
|
|
textarea {
|
|
width: 100%;
|
|
height: 150px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
|
|
select, button {
|
|
padding: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#output {
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
|
|
#app {
|
|
max-width: 800px;
|
|
margin: 40px auto;
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
#messages {
|
|
min-height: 300px;
|
|
border: 1px solid #ddd;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
overflow-y: auto;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.message {
|
|
margin-bottom: 8px;
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.message.user {
|
|
background: #d0eaff;
|
|
text-align: right;
|
|
}
|
|
|
|
.message.assistant {
|
|
background: #e8e8e8;
|
|
}
|
|
|
|
#quick-actions button {
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
padding: 6px 10px;
|
|
border: none;
|
|
background: #007bff;
|
|
color: white;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#quick-actions button:hover {
|
|
background: #005fcc;
|
|
}
|
|
|
|
#input {
|
|
width: 100%;
|
|
height: 80px;
|
|
margin-bottom: 10px;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
#send {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background: #28a745;
|
|
border: none;
|
|
color: white;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#send:hover {
|
|
background: #1e7e34;
|
|
}
|
|
|
|
|
|
#chat div {
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.user {
|
|
background: #d0eaff;
|
|
text-align: right;
|
|
}
|
|
|
|
.assistant {
|
|
background: #f0f0f0;
|
|
}
|