UNPKG

monaco-editor-vue3

Version:

![npm](https://img.shields.io/npm/v/monaco-editor-vue3) ![npm](https://img.shields.io/npm/dt/monaco-editor-vue3) ![NPM](https://img.shields.io/npm/l/monaco-editor-vue3) ![npm bundle size](https://img.shields.io/bundlephobia/min/format-rmb)

179 lines (174 loc) 3.73 kB
.monaco-loading-container[data-v-5ca71790] { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 200px; background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 4px; } .monaco-loading-content[data-v-5ca71790] { text-align: center; color: #6c757d; } .monaco-loading-spinner[data-v-5ca71790] { margin-bottom: 16px; } .spinner[data-v-5ca71790] { width: 32px; height: 32px; border: 3px solid #e9ecef; border-top: 3px solid #0066cc; border-radius: 50%; animation: spin-5ca71790 1s linear infinite; margin: 0 auto; } @keyframes spin-5ca71790 { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .monaco-loading-text[data-v-5ca71790] { font-size: 14px; margin-bottom: 16px; } .monaco-loading-progress[data-v-5ca71790] { width: 200px; margin: 0 auto; } .progress-bar[data-v-5ca71790] { width: 100%; height: 4px; background-color: #e9ecef; border-radius: 2px; overflow: hidden; margin-bottom: 8px; } .progress-fill[data-v-5ca71790] { height: 100%; background-color: #0066cc; border-radius: 2px; transition: width 0.3s ease; } .progress-text[data-v-5ca71790] { font-size: 12px; color: #868e96; } .monaco-error-boundary[data-v-885d6cf3] { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 200px; background-color: #fff5f5; border: 1px solid #feb2b2; border-radius: 4px; padding: 20px; } .monaco-error-content[data-v-885d6cf3] { text-align: center; max-width: 500px; } .monaco-error-icon[data-v-885d6cf3] { margin-bottom: 16px; } .monaco-error-title[data-v-885d6cf3] { font-size: 18px; font-weight: 600; color: #c53030; margin-bottom: 12px; } .monaco-error-message[data-v-885d6cf3] { font-size: 14px; color: #4a5568; margin-bottom: 16px; line-height: 1.5; } .monaco-error-details[data-v-885d6cf3] { margin-bottom: 20px; text-align: left; } .monaco-error-details summary[data-v-885d6cf3] { cursor: pointer; font-weight: 500; color: #4a5568; margin-bottom: 8px; } .monaco-error-details pre[data-v-885d6cf3] { background-color: #f7fafc; border: 1px solid #e2e8f0; border-radius: 4px; padding: 12px; font-size: 12px; color: #2d3748; overflow-x: auto; white-space: pre-wrap; word-break: break-word; } .monaco-error-actions[data-v-885d6cf3] { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; } .monaco-error-button[data-v-885d6cf3] { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: none; border-radius: 4px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .monaco-error-button.retry[data-v-885d6cf3] { background-color: #3182ce; color: white; } .monaco-error-button.retry[data-v-885d6cf3]:hover { background-color: #2c5aa0; } .monaco-error-button.reload[data-v-885d6cf3] { background-color: #38a169; color: white; } .monaco-error-button.reload[data-v-885d6cf3]:hover { background-color: #2f855a; } .monaco-error-button.report[data-v-885d6cf3] { background-color: #a0aec0; color: white; } .monaco-error-button.report[data-v-885d6cf3]:hover { background-color: #718096; } .monaco-error-code[data-v-885d6cf3] { font-size: 12px; color: #a0aec0; font-family: monospace; } .monaco-code-editor[data-v-bfb941e9] { position: relative; width: 100%; height: 100%; } .monaco-editor-container[data-v-bfb941e9] { width: 100%; height: 100%; } .monaco-diff-editor[data-v-5035138c] { position: relative; width: 100%; height: 100%; } .monaco-editor-container[data-v-5035138c] { width: 100%; height: 100%; }