Plugin Directory


Ignore:
Timestamp:
10/17/2026 01:47:11 PM (12 days ago)
Author:
mxchat
Message:

Release 3.2.26 - security hardening, new models (GPT-6.1 Sol, Claude 5.5 family, Grok 4.7, Gemini 4 Argon, DeepSeek Flash), automatic moves off discontinued models, token usage in Transcripts, page-builder and ACF Blocks imports

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mxchat-basic/trunk/css/chat-style.css

    r3738408 r3751971  
    413413}
    414414
     415/* The code block chrome (wrapper, header, language label, Copy) is tinted from the bubble's own
     416   text colour, so it reads on every bot bubble: dark text on a light theme, light text on a dark
     417   one. Each colour is declared twice: a neutral grey first for browsers without color-mix(),
     418   then the currentColor tint, which those browsers skip. The pre and code colours below are
     419   unchanged. */
    415420.mxchat-code-block-container {
    416421    margin: 16px 0;
    417422    border-radius: 8px;
    418     background: rgba(255, 255, 255, 0.1);
    419     border: 1px solid rgba(255, 255, 255, 0.2);
     423    background: rgba(128, 128, 128, 0.08);
     424    background: color-mix(in srgb, currentColor 8%, transparent);
     425    border: 1px solid rgba(128, 128, 128, 0.25);
     426    border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    420427    overflow: hidden;
    421428    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Courier New', monospace;
    … …  
    426433    justify-content: space-between;
    427434    align-items: center;
    428     background: rgba(255, 255, 255, 0.15);
     435    background: rgba(128, 128, 128, 0.08);
     436    background: color-mix(in srgb, currentColor 8%, transparent);
    429437    padding: 8px 12px;
    430     border-bottom: 1px solid rgba(255, 255, 255, 0.2);
     438    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
     439    border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    431440    font-size: 11px;
    432441    min-height: 36px;
    … …  
    434443
    435444.mxchat-code-language {
    436     color: rgba(255, 255, 255, 0.8);
     445    color: inherit;
     446    opacity: 0.85;
    437447    font-weight: 600;
    438448    text-transform: uppercase;
    … …  
    442452
    443453.mxchat-copy-button {
    444     background: rgba(255, 255, 255, 0.2);
    445     color: white;
    446     border: 1px solid rgba(255, 255, 255, 0.3);
     454    background: rgba(128, 128, 128, 0.12);
     455    background: color-mix(in srgb, currentColor 10%, transparent);
     456    color: inherit;
     457    border: 1px solid rgba(128, 128, 128, 0.4);
     458    border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    447459    padding: 4px 8px;
    448460    border-radius: 4px;
    … …  
    455467
    456468.mxchat-copy-button:hover {
    457     background: rgba(255, 255, 255, 0.3);
    458     border-color: rgba(255, 255, 255, 0.4);
     469    background: rgba(128, 128, 128, 0.2);
     470    background: color-mix(in srgb, currentColor 16%, transparent);
     471    border-color: rgba(128, 128, 128, 0.5);
     472    border-color: color-mix(in srgb, currentColor 40%, transparent);
    459473}
    460474
    461475.mxchat-copy-button:active {
    462     background: rgba(255, 255, 255, 0.4);
     476    background: rgba(128, 128, 128, 0.28);
     477    background: color-mix(in srgb, currentColor 22%, transparent);
    463478}
    464479
Note: See TracChangeset for help on using the changeset viewer.