Changeset 3751971 for mxchat-basic/trunk/css/chat-transcripts.css
- Timestamp:
- 10/17/2026 01:47:11 PM (12 days ago)
- File:
-
- 1 edited
-
mxchat-basic/trunk/css/chat-transcripts.css (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mxchat-basic/trunk/css/chat-transcripts.css
r3670236 r3751971 1243 1243 color: #9ca3af; 1244 1244 margin-top: 4px; 1245 } 1246 1247 /* Token usage of an AI reply (plan 705b6c): sits on the time's line, quieter 1248 than the reply, wraps under the time on narrow screens. */ 1249 .mxch-message-foot { 1250 display: flex; 1251 flex-wrap: wrap; 1252 align-items: baseline; 1253 gap: 2px 12px; 1254 margin-top: 4px; 1255 max-width: 80%; 1256 } 1257 1258 .mxch-message-foot .mxch-message-time { 1259 margin-top: 0; 1260 } 1261 1262 .mxch-message-usage { 1263 font-size: 11px; 1264 line-height: 1.4; 1265 color: var(--mxch-text-muted, #94a3b8); 1266 font-variant-numeric: tabular-nums; 1267 overflow-wrap: anywhere; 1268 } 1269 1270 .mxch-message-usage-model { 1271 color: var(--mxch-text-secondary, #64748b); 1272 font-weight: 500; 1273 } 1274 1275 /* The chat's token total in the conversation header (plan 705b6c). */ 1276 .mxch-conversation-usage { 1277 display: flex; 1278 flex-direction: column; 1279 align-items: flex-end; 1280 gap: 1px; 1281 flex-shrink: 0; 1282 max-width: 45%; 1283 text-align: right; 1284 } 1285 1286 .mxch-conversation-usage[hidden] { 1287 display: none; 1288 } 1289 1290 .mxch-conversation-usage-label { 1291 font-size: 11px; 1292 color: var(--mxch-text-muted, #94a3b8); 1293 } 1294 1295 .mxch-conversation-usage-value { 1296 font-size: 13px; 1297 font-weight: 500; 1298 color: var(--mxch-text-secondary, #64748b); 1299 font-variant-numeric: tabular-nums; 1300 white-space: nowrap; 1301 overflow: hidden; 1302 text-overflow: ellipsis; 1303 max-width: 100%; 1245 1304 } 1246 1305 … … 1479 1538 padding: 12px 16px; 1480 1539 flex-shrink: 0; 1540 flex-wrap: wrap; 1541 } 1542 1543 /* Token total drops to its own row under the visitor (plan 705b6c). */ 1544 .mxch-conversation-usage { 1545 order: 10; 1546 flex-basis: 100%; 1547 max-width: 100%; 1548 flex-direction: row; 1549 align-items: baseline; 1550 gap: 6px; 1551 text-align: left; 1552 } 1553 1554 .mxch-conversation-usage-value { 1555 font-size: 12px; 1556 } 1557 1558 .mxch-message-foot { 1559 max-width: 100%; 1481 1560 } 1482 1561 … … 2534 2613 .mxch-leads-table-wrap { 2535 2614 overflow-x: auto; 2615 container: mxch-leads / inline-size; 2536 2616 } 2537 2617 … … 2579 2659 .mxch-leads-table { table-layout: fixed; } 2580 2660 2581 .mxch-leads-col-check { width: 40px; }2582 .mxch-leads-col-lead { width: auto; min-width: 280px;}2661 .mxch-leads-col-check { width: 28px; } 2662 .mxch-leads-col-lead { width: auto; } 2583 2663 .mxch-leads-col-count { width: 130px; text-align: left; } 2584 2664 .mxch-leads-col-last { width: 110px; white-space: nowrap; } 2585 2665 .mxch-leads-col-page { width: 180px; max-width: 180px; } 2666 .mxch-leads-col-consent { width: 96px; } 2586 2667 .mxch-leads-col-actions { width: 170px; white-space: nowrap; text-align: right; } 2587 2668 … … 2752 2833 } 2753 2834 2754 /* Responsive: tablet */ 2755 @media (max-width: 1024px) { 2835 /* Responsive: the columns follow the width the table actually gets, not the 2836 window's (M7b). Lead takes the room the fixed columns leave; at a 1280 px 2837 window the two sidebars leave the table about 814 px, and window rules let 2838 the fixed columns squeeze Lead to 22 px. Top page steps out first, then 2839 Last seen and Conversations, then Consent; on a phone the address wraps. */ 2840 @container mxch-leads (max-width: 1140px) { 2841 .mxch-leads-col-count { width: 110px; } 2756 2842 .mxch-leads-col-page { width: 140px; max-width: 140px; } 2757 .mxch-leads-col-actions { width: 140px; } 2843 .mxch-leads-col-consent { width: 64px; } 2844 .mxch-leads-col-actions { width: 88px; } 2758 2845 .mxch-leads-col-actions .mxch-leads-view span { display: none; } 2846 } 2847 2848 @container mxch-leads (max-width: 960px) { 2849 .mxch-leads-col-page { display: none; } 2850 } 2851 2852 @container mxch-leads (max-width: 800px) { 2853 .mxch-leads-col-count, 2854 .mxch-leads-col-last { display: none; } 2855 } 2856 2857 @container mxch-leads (max-width: 520px) { 2858 .mxch-leads-col-consent { display: none; } 2859 .mxch-leads-table thead th { padding: 8px 10px; font-size: 10px; } 2860 .mxch-leads-table tbody td { padding: 10px; font-size: 12px; } 2861 .mxch-leads-lead-email, 2862 .mxch-leads-lead-name { white-space: normal; overflow-wrap: anywhere; } 2759 2863 } 2760 2864 2761 2865 /* Responsive: phone */ 2762 2866 @media (max-width: 768px) { 2763 .mxch-leads-col-page,2764 .mxch-leads-col-last {2765 display: none;2766 }2767 2867 .mxch-leads-filters { 2768 2868 padding: var(--mxch-spacing-sm); … … 2775 2875 padding: var(--mxch-spacing-sm); 2776 2876 } 2777 .mxch-leads-table thead th { padding: 8px 10px; font-size: 10px; }2778 .mxch-leads-table tbody td { padding: 10px; font-size: 12px; }2779 2877 } 2780 2878 2781 2879 @media (max-width: 480px) { 2782 .mxch-leads-col-count { display: none; }2783 2880 .mxch-leads-toppages-list { grid-template-columns: 1fr; } 2784 2881 } … … 2877 2974 font-style: italic; 2878 2975 } 2976 2977 /* Read-only transcripts role (plan 93999a). The note sits in the sidebar and 2978 mobile-menu footer, the slot the upgrade link uses for administrators, in the 2979 sidebar's own quiet colours. */ 2980 .mxch-readonly-note { 2981 display: flex; 2982 flex-direction: column; 2983 gap: var(--mxch-spacing-xs); 2984 padding: 10px 12px; 2985 border: 1px solid var(--mxch-sidebar-border); 2986 border-radius: var(--mxch-radius-md); 2987 color: var(--mxch-sidebar-text); 2988 font-size: 12px; 2989 line-height: 1.5; 2990 } 2991 2992 .mxch-readonly-note-title { 2993 display: inline-flex; 2994 align-items: center; 2995 gap: 6px; 2996 color: var(--mxch-sidebar-text-hover); 2997 font-size: 13px; 2998 font-weight: 500; 2999 } 3000 3001 .mxch-readonly-note-title svg { 3002 width: 14px; 3003 height: 14px; 3004 flex-shrink: 0; 3005 } 3006 3007 /* A reader's WordPress menu is two items long, so the page is short enough for 3008 WordPress's footer line to paint over the bottom of the shell. An 3009 administrator's long menu pushes that footer below the screen; for a reader it 3010 is hidden on this screen. */ 3011 body:has(.mxch-transcripts-readonly) #wpfooter { 3012 display: none; 3013 } 3014 3015 /* The Moderation add-on injects its Ban button into the conversation actions 3016 for anyone who can open this page; a reader cannot ban, so it is not shown. */ 3017 .mxch-transcripts-readonly #mxch-ban-user-btn, 3018 .mxch-transcripts-readonly .mxch-btn-ban { 3019 display: none !important; 3020 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)