| @@ -3153,194 +3153,4 @@ | ||
| 3153 | 3153 | margin-left: 0; |
| 3154 | 3154 | justify-content: center; |
| 3155 | 3155 | } |
| 3156 | 3156 | } |
| 3157 | - | |
| 3158 | -/* ── Edit Default Prompt Button & Modal ────────────────────── */ | |
| 3159 | -.mxch-cg-edit-prompt-btn { | |
| 3160 | - display: inline-flex; | |
| 3161 | - align-items: center; | |
| 3162 | - gap: 5px; | |
| 3163 | - background: none; | |
| 3164 | - border: none; | |
| 3165 | - color: #8a8f98; | |
| 3166 | - font-size: 12px; | |
| 3167 | - cursor: pointer; | |
| 3168 | - padding: 4px 0; | |
| 3169 | - margin-top: 2px; | |
| 3170 | - transition: color 0.2s; | |
| 3171 | -} | |
| 3172 | -.mxch-cg-edit-prompt-btn:hover { | |
| 3173 | - color: #c5c9d1; | |
| 3174 | -} | |
| 3175 | -.mxch-cg-edit-prompt-btn.mxch-cg-prompt-modified { | |
| 3176 | - color: #7c6ee8; | |
| 3177 | -} | |
| 3178 | -.mxch-cg-edit-prompt-btn.mxch-cg-prompt-modified:hover { | |
| 3179 | - color: #9d92f0; | |
| 3180 | -} | |
| 3181 | - | |
| 3182 | -/* Modal overlay + container */ | |
| 3183 | -.mxch-cg-prompt-modal { | |
| 3184 | - position: fixed; | |
| 3185 | - top: 0; | |
| 3186 | - left: 0; | |
| 3187 | - right: 0; | |
| 3188 | - bottom: 0; | |
| 3189 | - z-index: 100100; | |
| 3190 | - display: flex; | |
| 3191 | - align-items: center; | |
| 3192 | - justify-content: center; | |
| 3193 | - overflow: hidden; | |
| 3194 | -} | |
| 3195 | -.mxch-cg-prompt-modal-overlay { | |
| 3196 | - position: absolute; | |
| 3197 | - top: 0; | |
| 3198 | - left: 0; | |
| 3199 | - right: 0; | |
| 3200 | - bottom: 0; | |
| 3201 | - background: rgba(0, 0, 0, 0.6); | |
| 3202 | -} | |
| 3203 | -.mxch-cg-prompt-modal-content { | |
| 3204 | - position: relative; | |
| 3205 | - background: #1e1e2e; | |
| 3206 | - border: 1px solid rgba(255, 255, 255, 0.08); | |
| 3207 | - border-radius: 12px; | |
| 3208 | - width: 90%; | |
| 3209 | - max-width: 760px; | |
| 3210 | - height: 75vh; | |
| 3211 | - max-height: 600px; | |
| 3212 | - display: flex; | |
| 3213 | - flex-direction: column; | |
| 3214 | - box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); | |
| 3215 | - overflow: hidden; | |
| 3216 | -} | |
| 3217 | - | |
| 3218 | -/* Header */ | |
| 3219 | -.mxch-cg-prompt-modal-header { | |
| 3220 | - display: flex; | |
| 3221 | - align-items: center; | |
| 3222 | - justify-content: space-between; | |
| 3223 | - padding: 18px 24px; | |
| 3224 | - border-bottom: 1px solid rgba(255, 255, 255, 0.06); | |
| 3225 | -} | |
| 3226 | -.mxch-cg-prompt-modal-header h3 { | |
| 3227 | - margin: 0; | |
| 3228 | - font-size: 15px; | |
| 3229 | - font-weight: 600; | |
| 3230 | - color: #e2e4e9; | |
| 3231 | -} | |
| 3232 | -.mxch-cg-prompt-modal-close { | |
| 3233 | - background: none; | |
| 3234 | - border: none; | |
| 3235 | - color: #8a8f98; | |
| 3236 | - font-size: 22px; | |
| 3237 | - cursor: pointer; | |
| 3238 | - padding: 0 4px; | |
| 3239 | - line-height: 1; | |
| 3240 | - transition: color 0.2s; | |
| 3241 | -} | |
| 3242 | -.mxch-cg-prompt-modal-close:hover { | |
| 3243 | - color: #fff; | |
| 3244 | -} | |
| 3245 | - | |
| 3246 | -/* Body */ | |
| 3247 | -.mxch-cg-prompt-modal-body { | |
| 3248 | - padding: 16px 24px; | |
| 3249 | - overflow: hidden; | |
| 3250 | - flex: 1; | |
| 3251 | - display: flex; | |
| 3252 | - flex-direction: column; | |
| 3253 | - min-height: 0; | |
| 3254 | -} | |
| 3255 | -.mxch-cg-prompt-modal-desc { | |
| 3256 | - margin: 0 0 12px; | |
| 3257 | - font-size: 13px; | |
| 3258 | - color: #8a8f98; | |
| 3259 | - line-height: 1.5; | |
| 3260 | - flex-shrink: 0; | |
| 3261 | -} | |
| 3262 | -.mxch-cg-system-prompt-editor { | |
| 3263 | - width: 100%; | |
| 3264 | - flex: 1; | |
| 3265 | - min-height: 200px; | |
| 3266 | - background: #13131f; | |
| 3267 | - border: 1px solid rgba(255, 255, 255, 0.06); | |
| 3268 | - border-radius: 8px; | |
| 3269 | - color: #c5c9d1; | |
| 3270 | - font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; | |
| 3271 | - font-size: 12.5px; | |
| 3272 | - line-height: 1.7; | |
| 3273 | - padding: 14px 16px; | |
| 3274 | - resize: none; | |
| 3275 | - box-sizing: border-box; | |
| 3276 | - overflow-y: auto; | |
| 3277 | -} | |
| 3278 | -.mxch-cg-system-prompt-editor:focus { | |
| 3279 | - outline: none; | |
| 3280 | - border-color: rgba(124, 110, 232, 0.4); | |
| 3281 | - box-shadow: 0 0 0 2px rgba(124, 110, 232, 0.1); | |
| 3282 | -} | |
| 3283 | -/* Custom scrollbar for prompt editor */ | |
| 3284 | -.mxch-cg-system-prompt-editor::-webkit-scrollbar { | |
| 3285 | - width: 6px; | |
| 3286 | -} | |
| 3287 | -.mxch-cg-system-prompt-editor::-webkit-scrollbar-track { | |
| 3288 | - background: transparent; | |
| 3289 | - border-radius: 3px; | |
| 3290 | -} | |
| 3291 | -.mxch-cg-system-prompt-editor::-webkit-scrollbar-thumb { | |
| 3292 | - background: rgba(124, 110, 232, 0.3); | |
| 3293 | - border-radius: 3px; | |
| 3294 | -} | |
| 3295 | -.mxch-cg-system-prompt-editor::-webkit-scrollbar-thumb:hover { | |
| 3296 | - background: rgba(124, 110, 232, 0.5); | |
| 3297 | -} | |
| 3298 | - | |
| 3299 | -/* Footer */ | |
| 3300 | -.mxch-cg-prompt-modal-footer { | |
| 3301 | - display: flex; | |
| 3302 | - align-items: center; | |
| 3303 | - justify-content: space-between; | |
| 3304 | - padding: 14px 24px; | |
| 3305 | - border-top: 1px solid rgba(255, 255, 255, 0.06); | |
| 3306 | -} | |
| 3307 | -.mxch-cg-prompt-modal-footer-right { | |
| 3308 | - display: flex; | |
| 3309 | - gap: 8px; | |
| 3310 | -} | |
| 3311 | -.mxch-cg-prompt-modal-footer .button { | |
| 3312 | - background: #2a2a3d; | |
| 3313 | - border: 1px solid rgba(255, 255, 255, 0.08); | |
| 3314 | - color: #c5c9d1; | |
| 3315 | - border-radius: 6px; | |
| 3316 | - padding: 6px 14px; | |
| 3317 | - font-size: 13px; | |
| 3318 | - cursor: pointer; | |
| 3319 | - transition: background 0.2s, border-color 0.2s; | |
| 3320 | -} | |
| 3321 | -.mxch-cg-prompt-modal-footer .button:hover { | |
| 3322 | - background: #333350; | |
| 3323 | - border-color: rgba(255, 255, 255, 0.14); | |
| 3324 | -} | |
| 3325 | -.mxch-cg-prompt-modal-footer .button-primary { | |
| 3326 | - background: #7c6ee8; | |
| 3327 | - border-color: #7c6ee8; | |
| 3328 | - color: #fff; | |
| 3329 | -} | |
| 3330 | -.mxch-cg-prompt-modal-footer .button-primary:hover { | |
| 3331 | - background: #6b5dd3; | |
| 3332 | - border-color: #6b5dd3; | |
| 3333 | -} | |
| 3334 | - | |
| 3335 | -@media (max-width: 600px) { | |
| 3336 | - .mxch-cg-prompt-modal-content { | |
| 3337 | - width: 96%; | |
| 3338 | - max-height: 90vh; | |
| 3339 | - } | |
| 3340 | - .mxch-cg-prompt-modal-header, | |
| 3341 | - .mxch-cg-prompt-modal-body, | |
| 3342 | - .mxch-cg-prompt-modal-footer { | |
| 3343 | - padding-left: 16px; | |
| 3344 | - padding-right: 16px; | |
| 3345 | - } | |
| 3346 | -} | |