Text copy

This commit is contained in:
2025-12-27 20:41:08 +00:00
parent 1a44f868ca
commit 99ca118fe2
6 changed files with 145 additions and 4 deletions

View File

@@ -759,6 +759,11 @@ body {
border-right: none !important;
border-bottom: 1px solid var(--office-border);
}
.editor-paper {
padding: 1rem !important;
font-size: 9pt;
}
}
/* Écrans larges : mêmes insets pour nav-tabs et content-area */
@@ -952,7 +957,7 @@ li i { margin-right:10px; color:#007bff; }
border-radius: 2px; /* Office style is more rectangular */
}
#div_police .card-header {
#div_police .card-header, #div_texte_cp .card-header {
border-bottom: 1px solid var(--office-border) !important;
background-color: white;
color: var(--office-dark);
@@ -1058,3 +1063,47 @@ li i { margin-right:10px; color:#007bff; }
border-left: 3px solid var(--office-primary) !important;
font-weight: bold;
}
/* Styles spécifiques à l'éditeur de texte CP */
/* Effet "Feuille de papier" pour le textarea */
.editor-paper {
background-color: #ffffff !important;
background-image:
linear-gradient(#f1f1f1 1px, transparent 1px);
background-size: 100% 2.5rem; /* Simule des lignes d'écriture si besoin */
line-height: 2.5rem;
padding: 2rem !important;
border: 1px solid var(--office-border) !important;
border-radius: 0;
font-family: 'Consolas', 'Monaco', 'Courier New', monospace; /* Police technique et lisible */
color: var(--office-dark);
resize: vertical;
transition: all 0.3s ease;
}
.editor-paper:focus {
outline: none;
box-shadow: 0 0 15px rgba(0,0,0,0.1) !important;
border-color: var(--office-secondary) !important; /* Focus bleu Office */
}
/* Bouton Enregistrer - Style Bleu Office */
#div_texte_cp .btn-secondary {
background-color: var(--office-secondary) !important;
border-color: var(--office-secondary) !important;
border-radius: 2px;
transition: transform 0.2s;
}
#div_texte_cp .btn-secondary:hover {
background-color: #1e4275 !important;
transform: translateY(-1px);
}
/* Conteneur de l'éditeur */
.editor-container {
background: white;
border-radius: 2px;
position: relative;
}