PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.0.5
MxChat – AI Chatbot & Content Generation for WordPress v2.0.5
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 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
mxchat-basic / css / intent-style.css

intent-style.css in MxChat – AI Chatbot & Content Generation for WordPress 2.0.5, at css/intent-style.css

366 lines 7.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Intent Manager Specific Styles */
2 .mxchat-intent-documentation {
3 background: rgba(120, 115, 245, 0.05);
4 border-left: 4px solid #7873f5;
5 padding: 15px 20px;
6 margin-bottom: 30px;
7 border-radius: 0 8px 8px 0;
8 }
9
10 .mxchat-intent-documentation a {
11 color: #7873f5;
12 text-decoration: none;
13 font-weight: 500;
14 }
15
16 .mxchat-intent-documentation a:hover {
17 color: #fa73e6;
18 }
19
20 /* Form Elements */
21 .mxchat-intent-input,
22 .mxchat-intent-select,
23 .mxchat-intent-textarea {
24 width: 100%;
25 padding: 12px 15px;
26 border: 2px solid rgba(120, 115, 245, 0.2);
27 border-radius: 8px;
28 font-size: 14px;
29 transition: all 0.3s ease;
30 background: white;
31 }
32
33 .mxchat-intent-textarea {
34 min-height: 120px;
35 resize: vertical;
36 }
37
38 .mxchat-intent-input:focus,
39 .mxchat-intent-select:focus,
40 .mxchat-intent-textarea:focus {
41 border-color: #7873f5;
42 box-shadow: 0 0 0 3px rgba(120, 115, 245, 0.1);
43 outline: none;
44 }
45
46 /* Slider Styling */
47 .mxchat-intent-slider {
48 -webkit-appearance: none;
49 width: 100%;
50 height: 6px;
51 border-radius: 3px;
52 background: rgba(120, 115, 245, 0.1);
53 outline: none;
54 margin: 10px 0;
55 }
56
57 .mxchat-intent-slider::-webkit-slider-thumb {
58 -webkit-appearance: none;
59 appearance: none;
60 width: 18px;
61 height: 18px;
62 border-radius: 50%;
63 background: linear-gradient(135deg, #fa73e6, #7873f5);
64 cursor: pointer;
65 border: 2px solid white;
66 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
67 }
68
69 .mxchat-intent-slider::-moz-range-thumb {
70 width: 18px;
71 height: 18px;
72 border-radius: 50%;
73 background: linear-gradient(135deg, #fa73e6, #7873f5);
74 cursor: pointer;
75 border: 2px solid white;
76 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
77 }
78
79 /* Threshold Form and Slider Group */
80 .mxchat-threshold-form {
81 display: flex;
82 align-items: center;
83 gap: 10px;
84 position: relative;
85 }
86
87 .mxchat-slider-group {
88 display: flex;
89 align-items: center;
90 gap: 15px;
91 width: 100%;
92 position: relative;
93 }
94
95 .mxchat-slider-group .dashicons-saved {
96 position: absolute;
97 bottom: -20px;
98 left: 50%;
99 transform: translateX(-50%);
100 color: #00a32a;
101 }
102
103 .mxchat-intent-output {
104 min-width: 60px;
105 text-align: center;
106 padding: 4px 8px;
107 background: rgba(120, 115, 245, 0.1);
108 border-radius: 4px;
109 font-size: 14px;
110 color: #7873f5;
111 }
112
113 /* Modal Styling */
114 .mxchat-modal {
115 display: none;
116 position: fixed;
117 top: 0;
118 left: 0;
119 width: 100%;
120 height: 100%;
121 background: rgba(0, 0, 0, 0.5);
122 z-index: 100000;
123 opacity: 0;
124 transition: opacity 0.3s ease;
125 }
126
127 .mxchat-modal.active {
128 display: flex;
129 align-items: center;
130 justify-content: center;
131 opacity: 1;
132 }
133
134 .mxchat-modal-content {
135 background: white;
136 padding: 30px;
137 border-radius: 16px;
138 width: 90%;
139 max-width: 600px;
140 position: relative;
141 transform: translateY(-20px);
142 transition: transform 0.3s ease;
143 box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
144 }
145
146 .mxchat-card-header {
147 margin: -30px -30px 30px -30px;
148 padding: 30px;
149 border-bottom: 1px solid rgba(120, 115, 245, 0.1);
150 }
151
152 .mxchat-modal.active .mxchat-modal-content {
153 transform: translateY(0);
154 }
155
156 .mxchat-modal-close {
157 position: absolute;
158 right: 20px;
159 top: 20px;
160 font-size: 24px;
161 color: #666;
162 cursor: pointer;
163 width: 30px;
164 height: 30px;
165 display: flex;
166 align-items: center;
167 justify-content: center;
168 border-radius: 50%;
169 transition: all 0.2s ease;
170 }
171
172 .mxchat-modal-close:hover {
173 background: rgba(120, 115, 245, 0.1);
174 color: #7873f5;
175 }
176
177 .mxchat-modal-actions {
178 display: flex;
179 gap: 10px;
180 justify-content: flex-end;
181 margin-top: 20px;
182 padding-top: 20px;
183 border-top: 1px solid rgba(120, 115, 245, 0.1);
184 }
185
186 /* Loading Spinner - Completely Isolated Styles */
187 .mxchat-intent-loading {
188 position: fixed;
189 top: 50%;
190 left: 50%;
191 transform: translate(-50%, -50%);
192 background: rgba(255, 255, 255, 0.95);
193 padding: 30px;
194 border-radius: 16px;
195 box-shadow: 0 4px 20px rgba(120, 115, 245, 0.15);
196 display: flex;
197 flex-direction: column;
198 align-items: center;
199 justify-content: center;
200 z-index: 100001;
201 min-width: 200px;
202 text-align: center;
203 }
204
205 .mxchat-intent-loading-spinner {
206 width: 40px;
207 height: 40px;
208 border-radius: 50%;
209 border: 3px solid transparent;
210 border-top-color: #7873f5;
211 border-right-color: #7873f5;
212 animation: mxchatIntentSpin 0.8s linear infinite;
213 margin-bottom: 15px;
214 }
215
216 .mxchat-intent-loading-text {
217 color: #333;
218 font-weight: 500;
219 font-size: 14px;
220 margin: 0;
221 padding: 0;
222 }
223
224 @keyframes mxchatIntentSpin {
225 to {
226 transform: rotate(360deg);
227 }
228 }
229
230 .mxchat-loading-text {
231 margin-top: 15px;
232 color: #333;
233 font-weight: 500;
234 }
235
236 /* Table Specific */
237 .mxchat-content-cell {
238 max-width: 300px;
239 overflow: hidden;
240 text-overflow: ellipsis;
241 white-space: nowrap;
242 }
243
244 /* Search and Filter */
245 .mxchat-search-form {
246 display: flex;
247 gap: 15px;
248 align-items: center;
249 }
250
251 .mxchat-intent-filter {
252 min-width: 200px;
253 }
254
255 /* Delete Form Button */
256 .mxchat-delete-form {
257 display: inline-block;
258 }
259
260 .mxchat-delete-form .mxchat-button-icon {
261 color: #ff4d4d;
262 }
263
264 .mxchat-delete-form .mxchat-button-icon:hover {
265 background: #fff5f5;
266 }
267
268 /* General Spacing */
269 .mxchat-form-group {
270 margin-bottom: 25px;
271 }
272
273 .mxchat-form-group label {
274 display: block;
275 margin-bottom: 8px;
276 font-weight: 500;
277 color: #333;
278 }
279
280 .mxchat-intent-slider {
281 min-width: 100px;
282 }
283
284 /* Responsive Adjustments */
285 @media screen and (max-width: 782px) {
286 .mxchat-modal-content {
287 width: 95%;
288 margin: 10px;
289 padding: 20px;
290 }
291
292 .mxchat-card-header {
293 margin: -20px -20px 20px -20px;
294 padding: 20px;
295 }
296
297 .mxchat-threshold-form {
298 flex-direction: column;
299 align-items: stretch;
300 gap: 5px;
301 padding: 10px 0;
302 }
303
304 .mxchat-slider-group {
305 display: grid;
306 grid-template-columns: 1fr auto;
307 gap: 10px;
308 margin: 0;
309 }
310
311 .mxchat-slider-group .dashicons-saved {
312 bottom: -15px;
313 }
314
315 .mxchat-intent-slider {
316 height: 8px;
317 margin: 5px 0;
318 }
319
320 .mxchat-intent-slider::-webkit-slider-thumb {
321 width: 24px;
322 height: 24px;
323 }
324
325 .mxchat-intent-slider::-moz-range-thumb {
326 width: 24px;
327 height: 24px;
328 }
329
330 .mxchat-intent-output {
331 min-width: 50px;
332 font-size: 13px;
333 padding: 6px 10px;
334 }
335
336 .mxchat-records-table {
337 display: block;
338 width: 100%;
339 overflow-x: auto;
340 -webkit-overflow-scrolling: touch;
341 }
342
343 .mxchat-content-cell {
344 max-width: 200px;
345 }
346
347 .mxchat-modal-actions {
348 flex-direction: column-reverse;
349 gap: 10px;
350 margin-top: 20px;
351 }
352
353 .mxchat-modal-actions button {
354 width: 100%;
355 padding: 12px;
356 }
357
358 .mxchat-search-form {
359 flex-direction: column;
360 width: 100%;
361 }
362
363 .mxchat-intent-filter {
364 width: 100%;
365 }
366 }