Plugin Directory


Ignore:
Timestamp:
10/10/2026 05:08:54 PM (3 weeks ago)
Author:
mxchat
Message:

Release 3.2.25 - per-site license on/off, Gemini safety-filter fix, chat styles scoped to the widget, link and PDF-detection fixes, import and Gemini 3 search improvements

File:
1 edited

Legend:

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

    r3670236 r3738408  
    785785   CORE CHATBOT UI
    786786   ======================================== */
    787 .invisible {
     787/* This stylesheet loads on every page where the widget shows, so generic class names must
     788   stay inside MxChat's own containers: a bare .invisible hit the site's own elements (and
     789   Bootstrap / Tailwind give that class the opposite meaning, visibility hidden with the layout
     790   kept). :where() keeps the specificity of the bare class. */
     791:where(.floating-chatbot, .mxchat-chatbot-wrapper) .invisible {
    788792    display: none;
    789793    opacity: 0;
    … …  
    12061210    background: rgba(255, 255, 255, 0.12);
    12071211}
    1208 .visible {
     1212/* The floating window is the only element MxChat toggles .visible on (core, the Trigger
     1213   and Multi-Bot add-ons and MxChat Anywhere all use .floating-chatbot). Unscoped, this turned
     1214   any site element with class "visible" into a flex container. */
     1215:where(.floating-chatbot).visible {
    12091216    display: flex;
    12101217}
    … …  
    16051612
    16061613
    1607 pre {
     1614/* Code blocks inside the chat only (a bare pre turned every code sample on the site black with
     1615   white text). :where() keeps the specificity of the bare element selector, so .mxchat-code-block
     1616   still wins where it sets a property and the look inside the chat is unchanged. */
     1617:where(.mxchat-chatbot-wrapper) pre {
    16081618    background-color: #000;
    16091619    border: 1px solid #ddd;
    … …  
    16211631    display: block;
    16221632    word-wrap: break-word;
    1623 }
    1624 
    1625 .copy-btn {
    1626     padding: 10px 20px;
    1627     border: none;
    1628     border-radius: 4px;
    1629     background-color: #9e7aff;
    1630     transition: background-color 0.3s;
    1631     color: #fff;
    1632     font-size: 1rem;
    1633     cursor: pointer;
    1634     font-weight: 700;
    1635     margin-bottom: 10px;
    1636 }
    1637 
    1638 .copy-btn:hover {
    1639     opacity: 0.8;
    16401633}
    16411634
Note: See TracChangeset for help on using the changeset viewer.