/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
core/templates/base-components/feedback-modal.component.css
314 строк
5 KB
NITISH KUMAR
[GSoC 2026] M1.7 - Fix part of #24716: Added Feedback modals file and reverted code related to old CUJs. (#26397)
25 июн 2026, 10:08
Не верифицирован
25 июн 2026, 10:08
6a9422d
Код
Авторство
О чём код?
.oppia-feedback-modal { display: flex; flex-direction: column; max-height: 80vh; } .oppia-lesson-feedback-header { border-bottom: 1px solid #e8f5f4; color: #00645c; display: flex; flex-direction: column; font-size: 22px; font-weight: 500; gap: 6px; padding-bottom: 12px; } .oppia-lesson-feedback-text { color: #666; font-size: 15px; font-weight: 400; line-height: 1.5; margin: 0; } .oppia-feedback-body { display: flex; flex: 1; flex-direction: column; overflow-y: auto; padding: 16px 24px; } .oppia-guest-feedback-body { display: flex; gap: 10px; margin: 12px 0; } .oppia-guest-signup-btn { align-items: center; background-color: #00645c; border: 1.5px solid transparent; border-radius: 6px; color: #fff; cursor: pointer; display: flex; font-size: 15px; font-weight: 500; gap: 10px; justify-content: center; padding: 11px 20px; width: 100%; } .oppia-guest-signup-btn:hover { background-color: #004f48; box-shadow: 0 2px 8px rgba(0, 100, 92, 0.25); } .oppia-guest-continue-btn { background-color: transparent; border: 1.5px solid #d0d0d0; border-radius: 6px; color: #555; cursor: pointer; font-size: 14px; font-weight: 400; padding: 10px 20px; width: 100%; } .oppia-guest-continue-btn:hover { background-color: #f5f5f5; border-color: #aaa; } .oppia-flag-lesson-header { align-items: flex-start; display: flex; flex-shrink: 0; justify-content: space-between; padding: 20px 24px 16px; } .oppia-flag-lesson-header-left { align-items: flex-start; display: flex; gap: 12px; } .oppia-flag-lesson-header-icon { align-items: center; background: #e9f6f3; border-radius: 50%; color: #00645c; display: flex; flex-shrink: 0; height: 32px; justify-content: center; margin-top: 2px; width: 32px; } .oppia-flag-lesson-header-icon mat-icon { font-size: 16px; height: 16px; line-height: 16px; width: 16px; } .oppia-flag-lesson-header h3 { color: #00645c; font-size: 16px; font-weight: 500; margin: 0 0 4px; } .oppia-flag-lesson-header p { color: #666; font-size: 13px; line-height: 1.45; margin: 0; } .oppia-lesson-feedback-microcopy { color: #666; font-size: 13px; font-weight: 400; line-height: 1.5; margin: 0 0 16px; } .oppia-feedback-label { color: #333; font-size: 13px; font-weight: 500; margin-bottom: 8px; } .oppia-feedback-label-optional { color: #999; font-weight: 400; } .oppia-flag-category-chips { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-bottom: 20px; } .oppia-flag-category-chip { align-items: center; background: #fff; border: 1px solid #ddd; border-radius: 8px; color: #444; cursor: pointer; display: flex; font-size: 13px; gap: 7px; padding: 9px 12px; text-align: left; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; } .oppia-flag-category-chip mat-icon { font-size: 16px; height: 16px; line-height: 16px; opacity: 0.7; width: 16px; } .oppia-flag-category-chip:hover { background: #f0faf8; border-color: #00645c; color: #00645c; } .oppia-flag-category-chip.selected { background: #e9f6f3; border-color: #00645c; border-width: 1.5px; color: #00645c; } .oppia-flag-lesson-label { color: #333; display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; } .oppia-feedback-textarea { background-color: #fff; border: 1.5px solid #c8e6e4; border-radius: 6px; box-sizing: border-box; color: #333; font-size: 14px; line-height: 1.5; margin-bottom: 6px; margin-top: 12px; min-height: 160px; outline: none; padding: 10px 12px; resize: vertical; transition: border-color 0.2s ease, box-shadow 0.2s ease; width: 100%; } .oppia-feedback-textarea:hover { border-color: #00645c; } .oppia-feedback-textarea:focus { border-color: #00645c; box-shadow: 0 0 0 3px rgba(0, 100, 92, 0.12); } .oppia-feedback-error-text { color: #b00020; font-size: 13px; margin-top: 4px; } .oppia-flag-character-count { color: #999; font-size: 12px; margin: 5px 0 10px; text-align: right; } .oppia-feedback-section { margin-bottom: 16px; } .oppia-flag-technical-logs-checkbox { align-items: flex-start; color: #444; cursor: pointer; display: flex; font-size: 13px; font-weight: 400; gap: 9px; line-height: 1.5; margin-bottom: 0; } .oppia-flag-technical-logs-checkbox input[type="checkbox"] { accent-color: #00645c; flex-shrink: 0; height: 15px; margin-top: 2px; width: 15px; } .oppia-feedback-screenshot-preview { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; position: relative; } .oppia-feedback-screenshot-preview img { display: block; max-height: 180px; max-width: 100%; object-fit: contain; width: 100%; } .oppia-feedback-screenshot-remove-button { align-items: center; background: rgba(0, 0, 0, 0.55); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; height: 26px; justify-content: center; position: absolute; right: 8px; top: 8px; width: 26px; } .oppia-feedback-screenshot-remove-button mat-icon { font-size: 15px; height: 15px; line-height: 15px; width: 15px; } .oppia-feedback-screenshot-remove-button:hover { background: rgba(0, 0, 0, 0.75); } .oppia-feedback-upload-text { align-items: center; color: #666; display: flex; font-size: 13px; gap: 7px; margin-top: 6px; } .oppia-feedback-captcha-section { margin-top: 5px; }