formha/static/h_tmp_user/text_editor.css

73 lines
1.3 KiB
CSS

/* Input responsivo */
.form-control {
width: 90% !important;
max-width: 800px;
margin: 1em auto !important;
display: block;
}
/* Editor Summernote responsivo */
.note-editor {
width: 90% !important;
max-width: 800px;
margin: 2rem auto !important;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
border-radius: 8px;
background-color: #fff;
}
/* Área editable con estilos similares a .bd_post */
.note-editable {
font-size: 1.1rem;
line-height: 1.8;
color: #333;
font-family: Arial, sans-serif;
padding: 2rem;
min-height: 65vh !important;
word-wrap: break-word;
hyphens: auto;
border-radius: 8px;
}
/* Herramientas con fondo fijo */
.note-toolbar {
background-color: #e9ecef;
padding: 1em !important;
position: sticky;
top: 0;
z-index: 999;
}
/* Fondo del área de edición */
div.note-editing-area {
background-color: white !important;
}
/* Botón cancelar */
#btn-cancel {
margin-left: 1em !important;
}
/* AOS interfiere con modales de Summernote */
div.note-modal-backdrop {
z-index: 1 !important;
display: none !important;
}
/* Responsive editor */
@media (min-width: 768px) {
.note-editable {
padding: 2.5rem;
}
}
@media (max-width: 576px) {
.note-editor {
width: 95% !important;
}
.note-editable {
padding: 1.5rem;
}
}