Newer
Older
cortex-hub / ui / client-app / src / components / ChatWindow.css
/* Scoped to .assistant-message */

.assistant-message code {
    color: #333;
    font-size: 100%;
    font-weight: bold;
    background-color: #f4f4f4;
    border-radius: 0.25rem;
    padding: 0.125rem 0.25rem;
    font-family: monospace;
}

.assistant-message pre {
    font-family: 'Courier New', monospace;
    background-color: #f4f4f4;
    padding: 1em;
    border-radius: 5px;
    border: 1px solid #ddd;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
    color: #333;
}

.assistant-message .p-4 {
    padding: 1rem;
}

.assistant-message .rounded-lg {
    border-radius: 0.5rem;
}

.assistant-message .shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.assistant-message .w-full {
    width: 100%;
}

.assistant-message .bg-gray-200 {
    background-color: #e5e7eb;
}

.assistant-message .text-gray-900 {
    color: #111827;
}

.assistant-message .mb-2 {
    margin-bottom: 0.5rem;
}

.assistant-message .text-sm {
    font-size: 0.875rem;
}

.assistant-message .font-semibold {
    font-weight: 600;
}

.assistant-message .text-indigo-700 {
    color: #4338ca;
}

.assistant-message .hover\:text-indigo-800:hover {
    color: #3730a3;
}

.assistant-message .focus\:outline-none:focus {
    outline: 0;
}

.assistant-message .mt-2 {
    margin-top: 0.5rem;
}

.assistant-message .text-xs {
    font-size: 0.75rem;
}

.assistant-message .transition-max-h {
    transition-property: max-height;
}

.assistant-message .duration-500 {
    transition-duration: 500ms;
}

.assistant-message .ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.assistant-message .overflow-hidden {
    overflow: hidden;
}

.assistant-message .max-h-0 {
    max-height: 0;
}

.assistant-message .text-gray-700 {
    color: #374151;
}

.assistant-message h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.assistant-message h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.25rem;
}

.assistant-message p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.assistant-message ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.assistant-message li {
    margin-bottom: 0.25rem;
}

.assistant-message strong {
    font-weight: bold;
}