UNPKG

user-feedback-mcp

Version:

mcp server to request user feedback via an UI instead of normal chat

125 lines (109 loc) 2.05 kB
* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 600px; margin: 0 auto; padding: 20px; } .prompt-container { background-color: #fff; border-radius: 5px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .feedback-form { background-color: #fff; border-radius: 5px; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .feedback-input { width: 100%; min-height: 150px; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; font-family: inherit; font-size: 14px; margin-bottom: 15px; } .image-preview-container { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; } .image-preview { position: relative; width: 100px; height: 100px; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; } .image-preview img { width: 100%; height: 100%; object-fit: cover; } .image-preview .remove-image { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; background-color: rgba(255, 255, 255, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12px; font-weight: bold; color: #ff4d4d; } .button-container { display: flex; justify-content: flex-end; } .submit-button { background-color: #4a90e2; color: white; border: none; border-radius: 4px; padding: 10px 20px; cursor: pointer; font-size: 14px; transition: background-color 0.3s; } .submit-button:hover { background-color: #357ab8; } .status-message { margin-top: 15px; padding: 10px; border-radius: 4px; display: none; } .status-message.success { background-color: #dff0d8; color: #3c763d; display: block; } .status-message.error { background-color: #f2dede; color: #a94442; display: block; }