kuzco-cli/gui/css/styles.css

94 lines
1.6 KiB
CSS
Raw Normal View History

2024-03-09 02:15:01 -05:00
body {
background-color: #2c3e50;
color: #ecf0f1;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
#chatHistory {
height: 300px;
flex-grow: 1;
overflow-y: auto;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #34495e;
border-radius: 5px;
}
#sendButton {
padding: 10px 20px;
font-size: 1rem;
color: white;
background-color: #007BFF;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.2s;
}
#sendButton:hover {
background-color: #0056b3;
}
#sendButton:disabled {
background-color: #6c757d;
cursor: not-allowed;
}
2024-03-09 02:15:01 -05:00
.message {
font-size: 0.9em;
padding: 5px 10px;
margin-bottom: 15px;
padding: 10px;
background-color: #34495e;
border-radius: 5px;
}
.userMessage {
align-self: flex-end;
background-color: #2980b9;
}
.assistantMessage {
align-self: flex-start;
background-color: #16a085;
}
#chatForm {
display: flex;
gap: 10px;
}
#promptInput {
flex-grow: 1;
padding: 10px;
border: 1px solid #34495e;
border-radius: 5px;
color: inherit;
background-color: #2c3e50;
}
#sendPrompt {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: #2980b9;
color: #ecf0f1;
}
2024-03-09 03:20:24 -05:00
@keyframes ellipsis {
0%, 20% {
content: '';
}
40% {
content: '.';
}
60% {
content: '..';
}
80%, 100% {
content: '...';
}
}
.ellipsis::after {
content: '';
animation: ellipsis 2s infinite;
}