This repository has been archived on 2026-02-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
breakpilot-pwa/backend/frontend/static/css/modules/components/editor.css
BreakPilot Dev 19855efacc
Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed
feat: BreakPilot PWA - Full codebase (clean push without large binaries)
All services: admin-v2, studio-v2, website, ai-compliance-sdk,
consent-service, klausur-service, voice-service, and infrastructure.
Large PDFs and compiled binaries excluded via .gitignore.
2026-02-11 13:25:58 +01:00

168 lines
2.8 KiB
CSS

/* ==========================================
RICH TEXT EDITOR STYLES
WYSIWYG Editor Components
========================================== */
.editor-container {
border: 1px solid var(--bp-border);
border-radius: 8px;
background: var(--bp-surface-elevated);
overflow: hidden;
}
.editor-toolbar {
display: flex;
flex-wrap: wrap;
gap: 4px;
padding: 8px 12px;
border-bottom: 1px solid var(--bp-border);
background: var(--bp-surface);
}
.editor-toolbar-group {
display: flex;
gap: 2px;
padding-right: 8px;
margin-right: 8px;
border-right: 1px solid var(--bp-border);
}
.editor-toolbar-group:last-child {
border-right: none;
margin-right: 0;
padding-right: 0;
}
.editor-btn {
padding: 6px 10px;
border: none;
background: transparent;
color: var(--bp-text);
cursor: pointer;
border-radius: 4px;
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
min-width: 32px;
}
.editor-btn:hover {
background: var(--bp-border-subtle);
}
.editor-btn.active {
background: var(--bp-primary);
color: white;
}
.editor-btn-upload {
background: var(--bp-primary);
color: white;
padding: 6px 12px;
}
.editor-btn-upload:hover {
filter: brightness(1.1);
}
.editor-content {
min-height: 300px;
max-height: 500px;
overflow-y: auto;
padding: 16px;
color: var(--bp-text);
line-height: 1.6;
}
.editor-content:focus {
outline: none;
}
.editor-content[contenteditable="true"] {
cursor: text;
}
.editor-content h1 {
font-size: 24px;
font-weight: 700;
margin: 0 0 16px 0;
}
.editor-content h2 {
font-size: 20px;
font-weight: 600;
margin: 24px 0 12px 0;
}
.editor-content h3 {
font-size: 17px;
font-weight: 600;
margin: 20px 0 10px 0;
}
.editor-content p {
margin: 0 0 12px 0;
}
.editor-content ul, .editor-content ol {
margin: 0 0 12px 0;
padding-left: 24px;
}
.editor-content li {
margin-bottom: 4px;
}
.editor-content strong {
font-weight: 600;
}
.editor-content em {
font-style: italic;
}
.editor-content a {
color: var(--bp-primary);
text-decoration: underline;
}
.editor-content blockquote {
border-left: 3px solid var(--bp-primary);
margin: 16px 0;
padding: 8px 16px;
background: var(--bp-surface);
font-style: italic;
}
.editor-content hr {
border: none;
border-top: 1px solid var(--bp-border);
margin: 20px 0;
}
.word-upload-input {
display: none;
}
.editor-status {
padding: 8px 12px;
font-size: 12px;
color: var(--bp-text-muted);
border-top: 1px solid var(--bp-border);
background: var(--bp-surface);
}
/* Light Mode Overrides */
[data-theme="light"] .editor-container {
border-color: var(--bp-border);
}
[data-theme="light"] .editor-toolbar {
background: var(--bp-bg);
border-color: var(--bp-border);
}
[data-theme="light"] .editor-content {
background: var(--bp-surface);
}