Plugin Directory


Ignore:
Timestamp:
10/24/2026 11:12:46 AM (5 days ago)
Author:
mxchat
Message:

Release 3.2.27 - security hardening, lead auto-delete, xAI image generation, Complianz consent for embedded chats, transcript, model, sync and layout fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mxchat-basic/trunk/css/admin-sidebar.css

    r3751971 r3763174  
    7070    display: flex;
    7171    height: calc(100vh - 32px);
    72     margin-left: -20px;
     72    /* No negative margin: the shell is fixed, so #wpcontent's 20px padding
     73       never applies to it, and -20px slid it under the admin menu (plan 70d9ad). */
     74    margin-left: 0;
    7375    background: var(--mxch-content-bg);
    7476    overflow: hidden;
    … …  
    8385.folded .mxch-admin-wrapper {
    8486    left: 36px;
     87}
     88
     89/* The shell is a fixed panel filling the screen, so WordPress's footer line
     90   ("Thank you for creating with WordPress", the version) would paint over its
     91   bottom wherever the admin menu is short enough to leave it on screen (the
     92   folded menu, 783-960px). It has nothing to show on these pages (plan 70d9ad). */
     93body:has(.mxch-admin-wrapper) #wpfooter {
     94    display: none;
    8595}
    8696
    … …  
    111121    right: 160px; /* WordPress admin menu width (now on the right) */
    112122    margin-left: 0;
    113     margin-right: -20px;
     123    margin-right: 0;
    114124}
    115125
    … …  
    949959    width: 100%;
    950960    max-width: 100%;
     961    /* WordPress gives inputs a small side margin (3px on phones); at full width
     962       that pushed the field past its cell (plan 70d9ad). */
     963    margin-left: 0;
     964    margin-right: 0;
    951965    padding: 10px 14px;
    952966    font-size: 14px;
    … …  
    10791093}
    10801094
     1095/* The Custom Provider (OpenAI-compatible) block shares the api-key-wrapper
     1096   class but is a stack of labelled rows, not one key + button: keep it a block
     1097   (the two-column grid pushed its Azure quick start and half its fields past
     1098   the card), and let long URLs and example addresses wrap (plan 70d9ad). */
     1099.mxch-card-body .form-table .api-key-wrapper.mxchat-cp {
     1100    display: block;
     1101}
     1102
     1103.mxch-card-body .form-table .api-key-wrapper.mxchat-cp .mxchat-cp-row > .description {
     1104    margin: 6px 0 0;
     1105}
     1106
     1107.mxch-admin-wrapper .mxchat-cp .mxchat-cp-azure code,
     1108.mxch-admin-wrapper .mxchat-cp .description,
     1109.mxch-admin-wrapper .mxchat-cp .mxchat-cp-intro {
     1110    overflow-wrap: anywhere;
     1111}
     1112
    10811113/* Checkbox styling */
    10821114.mxch-card-body .form-table input[type="checkbox"] {
    … …  
    13721404    gap: var(--mxch-spacing-sm);
    13731405    margin-top: var(--mxch-spacing-sm);
     1406}
     1407
     1408/* Settings > Optimization: one row per page-cache plugin (name + status pill,
     1409   then the exclusion string and its Copy button). The column is
     1410   minmax(0, 1fr) so a long exclusion scrolls inside its code box instead of
     1411   widening the card (plan 70d9ad). */
     1412.mxch-cache-compat-grid {
     1413    display: grid;
     1414    grid-template-columns: minmax(0, 1fr);
     1415    gap: 12px;
     1416    margin-top: var(--mxch-spacing-md);
     1417}
     1418
     1419.mxch-cache-compat-row {
     1420    display: flex;
     1421    align-items: center;
     1422    justify-content: space-between;
     1423    gap: 12px;
     1424    min-width: 0;
     1425    padding: 12px 14px;
     1426    background: #f8fafc;
     1427    border: 1px solid var(--mxch-card-border);
     1428    border-radius: var(--mxch-radius-md);
     1429}
     1430
     1431.mxch-cache-compat-name {
     1432    display: flex;
     1433    align-items: center;
     1434    gap: 10px;
     1435    flex: 0 0 auto;
     1436    min-width: 0;
     1437}
     1438
     1439.mxch-cache-compat-label {
     1440    font-weight: 500;
     1441}
     1442
     1443.mxch-cache-compat-exclusion {
     1444    display: flex;
     1445    align-items: center;
     1446    gap: var(--mxch-spacing-sm);
     1447    flex: 1 1 auto;
     1448    min-width: 0;
     1449}
     1450
     1451.mxch-cache-compat-exclusion code {
     1452    flex: 1 1 auto;
     1453    min-width: 0;
     1454    overflow-x: auto;
     1455    white-space: nowrap;
     1456    padding: 4px 8px;
     1457    background: #fff;
     1458    border: 1px solid var(--mxch-card-border);
     1459    border-radius: var(--mxch-radius-sm);
     1460    font-size: 12px;
     1461    color: var(--mxch-text-secondary);
     1462}
     1463
     1464.mxch-cache-compat-exclusion .mxch-btn {
     1465    flex: 0 0 auto;
     1466}
     1467
     1468/* On a phone the exclusion string gets its own line under the name. */
     1469@media screen and (max-width: 600px) {
     1470    .mxch-cache-compat-row {
     1471        flex-wrap: wrap;
     1472    }
     1473
     1474    .mxch-cache-compat-exclusion {
     1475        flex-basis: 100%;
     1476    }
     1477}
     1478
     1479/* WordPress admin notices moved into the content column by admin-sidebar.js
     1480   (plan bf8e9e): full column width, spaced like a card above the page
     1481   header instead of WordPress's 15px side margins. */
     1482.mxch-content > div.notice,
     1483.mxch-content > div.updated,
     1484.mxch-content > div.error,
     1485.mxch-content > div.update-nag {
     1486    margin: 0 0 var(--mxch-spacing-lg);
     1487    box-sizing: border-box;
     1488    max-width: 100%;
     1489}
     1490
     1491.mxch-content > div.update-nag {
     1492    display: block;
    13741493}
    13751494
    … …  
    19852104    }
    19862105
    1987     /* Card headers stack on mobile */
     2106    /* Card headers stack on mobile. Each item keeps its own width (a status
     2107       pill or a button stays its natural size, the title still wraps) instead of
     2108       stretching to the card's width (plan 70d9ad). */
    19882109    .mxch-card-header {
    19892110        flex-direction: column;
    1990         align-items: stretch;
     2111        align-items: flex-start;
    19912112        gap: 12px;
     2113    }
     2114
     2115    .mxch-card-header > * {
     2116        max-width: 100%;
    19922117    }
    19932118
    … …  
    19992124    .mxch-content-title {
    20002125        font-size: 20px;
     2126    }
     2127}
     2128
     2129/* 783-960px: WordPress keeps its admin menu on screen, folded to 36px, so the
     2130   shell starts right of it instead of under it (plan 70d9ad). */
     2131@media screen and (min-width: 783px) and (max-width: 960px) {
     2132    .mxch-admin-wrapper {
     2133        left: 36px;
     2134        margin-left: 0;
     2135    }
     2136
     2137    body.rtl .mxch-admin-wrapper {
     2138        left: 0;
     2139        right: 36px;
     2140        margin-right: 0;
     2141    }
     2142
     2143    /* The admin bar is still 32px tall here (46px only at 782px and below):
     2144       the slide-in menu and its overlay open flush under it. */
     2145    .mxch-mobile-overlay,
     2146    .mxch-mobile-menu {
     2147        top: 32px;
    20012148    }
    20022149}
    … …  
    21562303.mxch-admin-wrapper .mxch-field-control {
    21572304    position: relative;
     2305}
     2306
     2307/* A textarea printed with cols="50" is 398px wide; on a phone that runs past
     2308   the card. Never wider than its field (plan 70d9ad). */
     2309.mxch-admin-wrapper .mxch-field-control textarea {
     2310    max-width: 100%;
     2311    box-sizing: border-box;
    21582312}
    21592313
Note: See TracChangeset for help on using the changeset viewer.