Files
interkollektives-micro-website/editor/wysiwyg-editor.css

121 lines
1.9 KiB
CSS

.ce-toolbar {
position: fixed;
right: 16px;
bottom: 16px;
z-index: 99999;
background: #1f2937;
color: #fff;
padding: 10px 12px;
border-radius: 10px;
display: flex;
align-items: center;
gap: 8px;
font-family: sans-serif;
font-size: 13px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.ce-toolbar button {
border: 0;
border-radius: 6px;
background: #2563eb;
color: #fff;
padding: 6px 10px;
cursor: pointer;
font-size: 12px;
}
.ce-status {
color: #d1d5db;
min-width: 120px;
}
.ce-inline-text {
outline: 1px dashed transparent;
outline-offset: 2px;
}
.ce-inline-text:hover {
outline-color: #60a5fa;
cursor: text;
}
.ce-text-editing {
outline-color: #f59e0b !important;
background: rgba(245, 158, 11, 0.12);
}
.ce-image-target {
outline: 2px solid transparent;
outline-offset: 2px;
}
.ce-image-target:hover {
outline-color: #34d399;
cursor: pointer;
}
.ce-image-overlay {
position: fixed;
inset: 0;
z-index: 100000;
background: rgba(17, 24, 39, 0.45);
display: flex;
align-items: center;
justify-content: center;
}
.ce-image-overlay-card {
width: min(460px, calc(100vw - 40px));
background: #fff;
border-radius: 10px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
font-family: sans-serif;
}
.ce-image-overlay-card h4 {
margin: 0;
font-size: 16px;
}
.ce-image-overlay-card label {
font-size: 12px;
color: #374151;
display: flex;
flex-direction: column;
gap: 6px;
}
.ce-image-overlay-card input {
padding: 8px;
border: 1px solid #d1d5db;
border-radius: 6px;
font-size: 13px;
}
.ce-image-overlay-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.ce-image-overlay-actions button {
border: 0;
border-radius: 6px;
padding: 8px 10px;
cursor: pointer;
}
.ce-image-overlay-actions [data-ce-cancel] {
background: #e5e7eb;
color: #111827;
}
.ce-image-overlay-actions [data-ce-apply] {
background: #059669;
color: #fff;
}