182 lines
3.0 KiB
CSS
182 lines
3.0 KiB
CSS
:root {
|
|
--vscode-background: var(--vscode-editor-background);
|
|
--vscode-foreground: var(--vscode-editor-foreground);
|
|
--vscode-border: var(--vscode-editorWidget-border);
|
|
--vscode-button-bg: var(--vscode-button-background);
|
|
--vscode-button-fg: var(--vscode-button-foreground);
|
|
--vscode-button-hover-bg: var(--vscode-button-hoverBackground);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: var(--vscode-background);
|
|
color: var(--vscode-foreground);
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
pre {
|
|
background-color: #f1f1f1;
|
|
overflow: auto;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#chat-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
}
|
|
|
|
.code-block {
|
|
background-color: #f1f1f1;
|
|
color: #000000;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
overflow-y: auto;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
display: block;
|
|
margin: 10px 0;
|
|
padding: 10px;
|
|
background-color: #f1f1f1;
|
|
border-radius: 5px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.context-menu {
|
|
position: absolute;
|
|
display: none;
|
|
background-color: white;
|
|
border: 1px solid #ccc;
|
|
padding: 8px;
|
|
z-index: 10;
|
|
}
|
|
.context-menu-item {
|
|
cursor: pointer;
|
|
margin-bottom: 4px;
|
|
}
|
|
.context-menu-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.copy-button {
|
|
background-color: #007acc;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.copy-button:hover {
|
|
background-color: #005b8e;
|
|
}
|
|
|
|
|
|
#messages-container {
|
|
flex-grow: 1;
|
|
overflow-y: auto;
|
|
padding: 10px;
|
|
}
|
|
|
|
.message-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin: 20px 0;
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
border-bottom: 1px solid var(--vscode-border);
|
|
}
|
|
|
|
.message-item.user-message {
|
|
background-color: #007acc;
|
|
color: white;
|
|
}
|
|
|
|
.message-content {
|
|
margin-left: 30px;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.message-item .message-content {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.new-message-textarea {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
background-color: transparent;
|
|
padding: 0;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
color: inherit;
|
|
overflow: hidden;
|
|
resize: none;
|
|
}
|
|
|
|
.message-item .message-content code {
|
|
background-color: #ddd;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.message-item .sender-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.message-item .action-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#input-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.input-resize-handle {
|
|
width: 100%;
|
|
height: 5px;
|
|
cursor: ns-resize;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
|
|
#message-input {
|
|
flex-grow: 1;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
padding: 5px;
|
|
outline: none;
|
|
resize: none;
|
|
}
|
|
|
|
#send-button {
|
|
margin-top: 10px;
|
|
background-color: var(--vscode-button-bg);
|
|
color: var(--vscode-button-fg);
|
|
border: 1px solid var(--vscode-border);
|
|
border-radius: 4px;
|
|
padding: 5px 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#send-button:hover {
|
|
background-color: var(--vscode-button-hover-bg);
|
|
}
|