Spaces:
Sleeping
Sleeping
Download frontend/src/components/common/BugReportButton.css from chowdary1/ai-interviewer-version-2: direct link, hf CLI and curl.
- Browser
- Download file 5.68 kB
-
https://huggingface.co/spaces/chowdary1/ai-interviewer-version-2/resolve/main/frontend/src/components/common/BugReportButton.css
- Command line
-
hf download hf://spaces/chowdary1/ai-interviewer-version-2/frontend/src/components/common/BugReportButton.css
-
curl -L -o BugReportButton.css https://huggingface.co/spaces/chowdary1/ai-interviewer-version-2/resolve/main/frontend/src/components/common/BugReportButton.css
5.68 kB
| /** | |
| * Bug Report Button Styles | |
| */ | |
| /* Floating Button */ | |
| .bug-report-float-btn { | |
| position: fixed; | |
| bottom: 24px; | |
| right: 24px; | |
| width: 56px; | |
| height: 56px; | |
| border-radius: 50%; | |
| background: linear-gradient(135deg, #6366f1, #8b5cf6); | |
| border: none; | |
| color: white; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); | |
| transition: all 0.3s ease; | |
| z-index: 99999; | |
| } | |
| .bug-report-float-btn:hover { | |
| transform: scale(1.1); | |
| box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5); | |
| } | |
| .bug-report-float-btn:active { | |
| transform: scale(0.95); | |
| } | |
| /* Modal Overlay */ | |
| .bug-report-overlay { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: rgba(0, 0, 0, 0.6); | |
| backdrop-filter: blur(4px); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| z-index: 100000; | |
| padding: 20px; | |
| } | |
| /* Modal */ | |
| .bug-report-modal { | |
| background: var(--bg-secondary, #1f2937); | |
| border-radius: 16px; | |
| width: 100%; | |
| max-width: 500px; | |
| max-height: 90vh; | |
| overflow-y: auto; | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); | |
| border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)); | |
| } | |
| /* Header */ | |
| .bug-report-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 20px 24px; | |
| border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)); | |
| } | |
| .bug-report-header h3 { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| margin: 0; | |
| font-size: 1.25rem; | |
| color: var(--text-primary, #f3f4f6); | |
| } | |
| .bug-report-header .close-btn { | |
| background: none; | |
| border: none; | |
| color: var(--text-secondary, #9ca3af); | |
| cursor: pointer; | |
| padding: 8px; | |
| border-radius: 8px; | |
| transition: all 0.2s ease; | |
| } | |
| .bug-report-header .close-btn:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: var(--text-primary, #f3f4f6); | |
| } | |
| /* Form */ | |
| .bug-report-form { | |
| padding: 24px; | |
| } | |
| .bug-report-form .form-group { | |
| margin-bottom: 20px; | |
| } | |
| .bug-report-form .form-row { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 16px; | |
| } | |
| .bug-report-form label { | |
| display: block; | |
| margin-bottom: 8px; | |
| font-size: 0.9rem; | |
| color: var(--text-secondary, #9ca3af); | |
| font-weight: 500; | |
| } | |
| .bug-report-form input, | |
| .bug-report-form select, | |
| .bug-report-form textarea { | |
| width: 100%; | |
| padding: 12px 16px; | |
| border-radius: 10px; | |
| border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)); | |
| background: var(--bg-tertiary, rgba(0, 0, 0, 0.2)); | |
| color: var(--text-primary, #f3f4f6); | |
| font-size: 0.95rem; | |
| transition: all 0.2s ease; | |
| } | |
| .bug-report-form input:focus, | |
| .bug-report-form select:focus, | |
| .bug-report-form textarea:focus { | |
| outline: none; | |
| border-color: #6366f1; | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); | |
| } | |
| .bug-report-form textarea { | |
| resize: vertical; | |
| min-height: 100px; | |
| } | |
| .bug-report-form input::placeholder, | |
| .bug-report-form textarea::placeholder { | |
| color: var(--text-muted, #6b7280); | |
| } | |
| /* Form Actions */ | |
| .form-actions { | |
| display: flex; | |
| gap: 12px; | |
| justify-content: flex-end; | |
| margin-top: 24px; | |
| padding-top: 20px; | |
| border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)); | |
| } | |
| .form-actions .cancel-btn { | |
| padding: 12px 24px; | |
| border-radius: 10px; | |
| border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)); | |
| background: transparent; | |
| color: var(--text-secondary, #9ca3af); | |
| font-size: 0.95rem; | |
| cursor: pointer; | |
| transition: all 0.2s ease; | |
| } | |
| .form-actions .cancel-btn:hover { | |
| background: rgba(255, 255, 255, 0.05); | |
| color: var(--text-primary, #f3f4f6); | |
| } | |
| .form-actions .submit-btn { | |
| padding: 12px 24px; | |
| border-radius: 10px; | |
| border: none; | |
| background: linear-gradient(135deg, #6366f1, #8b5cf6); | |
| color: white; | |
| font-size: 0.95rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| transition: all 0.2s ease; | |
| } | |
| .form-actions .submit-btn:hover:not(:disabled) { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); | |
| } | |
| .form-actions .submit-btn:disabled { | |
| opacity: 0.7; | |
| cursor: not-allowed; | |
| } | |
| /* Success State */ | |
| .bug-report-success { | |
| padding: 48px 24px; | |
| text-align: center; | |
| color: var(--text-primary, #f3f4f6); | |
| } | |
| .bug-report-success svg { | |
| color: #10b981; | |
| margin-bottom: 16px; | |
| } | |
| .bug-report-success h4 { | |
| font-size: 1.5rem; | |
| margin: 0 0 8px; | |
| } | |
| .bug-report-success p { | |
| color: var(--text-secondary, #9ca3af); | |
| margin: 0; | |
| } | |
| /* Error */ | |
| .bug-report-error { | |
| padding: 12px 16px; | |
| background: rgba(239, 68, 68, 0.1); | |
| border: 1px solid rgba(239, 68, 68, 0.3); | |
| border-radius: 10px; | |
| color: #ef4444; | |
| font-size: 0.9rem; | |
| margin-bottom: 16px; | |
| } | |
| /* Spinning animation */ | |
| .spinning { | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } | |
| /* Dark theme variables fallback */ | |
| :root { | |
| --bg-secondary: #1f2937; | |
| --bg-tertiary: rgba(0, 0, 0, 0.2); | |
| --text-primary: #f3f4f6; | |
| --text-secondary: #9ca3af; | |
| --text-muted: #6b7280; | |
| --border-color: rgba(255, 255, 255, 0.1); | |
| } | |
| /* Responsive */ | |
| @media (max-width: 480px) { | |
| .bug-report-modal { | |
| max-height: 100vh; | |
| border-radius: 16px 16px 0 0; | |
| } | |
| .bug-report-form .form-row { | |
| grid-template-columns: 1fr; | |
| } | |
| .bug-report-float-btn { | |
| bottom: 16px; | |
| right: 16px; | |
| width: 48px; | |
| height: 48px; | |
| } | |
| } | |