Add new ThunderAI summary functionality that generates concise summaries for email messages using the existing ThunderAI infrastructure. Includes a new content script that creates a summary pane in the message display, associated CSS styling, and backend integration for AI summary generation. The feature shows a loading indicator while generating the summary and falls back to showing truncated message content if the AI generation fails.
20 lines
No EOL
348 B
CSS
20 lines
No EOL
348 B
CSS
.thunderai-summary-pane {
|
|
background-color: #f0f0f0;
|
|
color: #333;
|
|
font-weight: 400;
|
|
padding: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
border-radius: 4px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.thunderai-summary-title {
|
|
font-weight: bold;
|
|
margin-bottom: 0.5rem;
|
|
color: #d70022;
|
|
}
|
|
|
|
.thunderai-summary-content {
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
} |