PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.24
MxChat – AI Chatbot & Content Generation for WordPress v3.2.24
3.2.25 3.2.24 3.2.23 3.2.22 3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 All 156 releases
mxchat-basic / assets / editor-assistant / sidebar.css

sidebar.css in MxChat – AI Chatbot & Content Generation for WordPress 3.2.24, at assets/editor-assistant/sidebar.css

166 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * MxChat Editor Assistant — Gutenberg sidebar styles.
3 * Scoped to .mxchea-* class names; sits inside the standard PluginSidebar shell
4 * so we don't fight WP's editor chrome.
5 */
6
7 .mxchea-sidebar {
8 display: flex;
9 flex-direction: column;
10 gap: 12px;
11 }
12
13 .mxchea-actions-grid {
14 display: grid;
15 grid-template-columns: 1fr 1fr;
16 gap: 6px;
17 }
18
19 .mxchea-actions-grid .components-button.mxchea-action-button {
20 justify-content: center;
21 text-align: center;
22 height: auto;
23 min-height: 36px;
24 padding: 8px 10px;
25 line-height: 1.25;
26 white-space: normal;
27 font-size: 12px;
28 font-weight: 500;
29 }
30
31 .mxchea-actions-grid .components-button.mxchea-action-button:hover:not(:disabled) {
32 background: rgba(120, 115, 245, 0.08);
33 color: #7873f5;
34 border-color: #7873f5;
35 }
36
37 .mxchea-busy {
38 display: flex;
39 align-items: center;
40 gap: 8px;
41 color: #555;
42 font-size: 13px;
43 }
44
45 .mxchea-result {
46 border: 1px solid #ddd;
47 border-radius: 6px;
48 background: #fafbff;
49 padding: 12px;
50 display: flex;
51 flex-direction: column;
52 gap: 8px;
53 }
54
55 .mxchea-result-heading {
56 font-weight: 600;
57 font-size: 12px;
58 color: #1a1a2e;
59 text-transform: uppercase;
60 letter-spacing: 0.4px;
61 }
62
63 .mxchea-result .components-base-control {
64 margin-bottom: 0;
65 }
66
67 .mxchea-result-actions {
68 display: flex;
69 gap: 8px;
70 justify-content: flex-end;
71 }
72
73 .mxchea-result-actions .components-button[data-variant="primary"],
74 .mxchea-result-actions .components-button.is-primary {
75 background: #7873f5;
76 border-color: #7873f5;
77 }
78
79 .mxchea-result-actions .components-button.is-primary:hover {
80 background: #5e58e0;
81 border-color: #5e58e0;
82 }
83
84 /* ── v0.2: streaming preview ───────────────────────────────────────────── */
85 .mxchea-result.mxchea-streaming .mxchea-result-heading {
86 display: flex;
87 align-items: center;
88 gap: 8px;
89 text-transform: none;
90 letter-spacing: 0;
91 color: #7873f5;
92 }
93
94 .mxchea-stream-text {
95 white-space: pre-wrap;
96 word-break: break-word;
97 font-size: 13px;
98 line-height: 1.5;
99 color: #1a1a2e;
100 min-height: 1.5em;
101 border-left: 2px solid #7873f5;
102 padding-left: 10px;
103 }
104
105 .mxchea-stream-text::after {
106 content: '▋';
107 color: #7873f5;
108 animation: mxchea-caret 1s steps(2, start) infinite;
109 margin-left: 1px;
110 }
111
112 @keyframes mxchea-caret {
113 to { opacity: 0; }
114 }
115
116 /* ── v0.2: multi-block progress rows ───────────────────────────────────── */
117 .mxchea-result.mxchea-multi {
118 gap: 10px;
119 }
120
121 .mxchea-job-row {
122 border: 1px solid #e5e7f0;
123 border-radius: 6px;
124 background: #fff;
125 padding: 8px 10px;
126 display: flex;
127 flex-direction: column;
128 gap: 6px;
129 }
130
131 .mxchea-job-head {
132 display: flex;
133 align-items: center;
134 gap: 6px;
135 flex-wrap: wrap;
136 font-size: 12px;
137 }
138
139 .mxchea-job-label {
140 font-weight: 600;
141 color: #1a1a2e;
142 }
143
144 .mxchea-job-type {
145 font-size: 11px;
146 background: #f0f2f5;
147 border-radius: 3px;
148 padding: 1px 5px;
149 color: #64748b;
150 }
151
152 .mxchea-job-status {
153 margin-left: auto;
154 font-size: 11px;
155 font-weight: 600;
156 padding: 1px 8px;
157 border-radius: 10px;
158 white-space: nowrap;
159 }
160
161 .mxchea-job-status.is-pending { background: #f0f2f5; color: #64748b; }
162 .mxchea-job-status.is-working { background: rgba(120, 115, 245, 0.12); color: #5e58e0; }
163 .mxchea-job-status.is-done { background: rgba(34, 197, 94, 0.14); color: #15803d; }
164 .mxchea-job-status.is-failed { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
165 .mxchea-job-status.is-skipped { background: #f0f2f5; color: #94a3b8; }
166