<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Style pour l'Ã©diteur de texte enrichi */

/*
   IMPORTANT: Les tailles de plusieurs Ã©lÃ©ments sont donnÃ©es en unitÃ© 'em' (ou 'rem')
              car ils sont placÃ©s relativement aux lignes du texte en cours d'Ã©criture.
              Leur position dÃ©pend donc de la police utilisÃ©e par le navigateur et
              de sa taille.
*/

article.text-editor [contenteditable=true] {
	cursor: text;
}

form.edit fieldset label.text-editor {
	padding-bottom: 0;
}

form.edit fieldset textarea.text-editor,
form.edit article.text-editor {
	width: 100%;
	background-color: var(--editor-bg);
	font-weight: normal;	
}

form.edit fieldset textarea.text-editor {
	height: 30em;
	margin: 15px 0;
	padding: 0 1em;
}

form.edit article.text-editor {
	margin: 0 0 1em 0;
	padding: 0 4em;
}

/* On masque la recherche dans les menus contextuels.
   Ã‡a prend de la place et Ã§a ne sert pas vraiment. */
.ce-popover .cdx-search-field {
	display: none;
}

.cdx-block {
	margin: 0.5em; /* Sans Ã§a, certains boutons des tableaux dÃ©bordent sur les autres Ã©lÃ©ments. */
}

form.edit article.text-editor .tc-table {
	margin: 0.2em 0;
	background-color: whitesmoke; /* pour avoir le mÃªme fond que les tables. */
}

form.edit article.text-editor .tc-row,
form.edit article.text-editor .tc-add-column {
	border: none;
}

form.edit article.text-editor .tc-row:nth-child(odd) {
	background-color: var(--table-row-bg-odd);
}

form.edit article.text-editor .tc-row:nth-child(even) {
	background-color: var(--table-row-bg-even);
}

form.edit article.text-editor .tc-row:hover {
	background-color: var(--table-row-bg-hov);
}

form.edit article.text-editor .tc-cell {
	text-align: center;
	padding: 0.25em;
	border: 1px solid var(--editor-bg);
}

form.edit article.text-editor .tc-cell[ heading='Heading' ] {
	/* On change le fond (par rapport aux tables du site),
	   d'abord parce que sinon on ne ferait pas la diffÃ©rence
	   avec celui de l'Ã©diteur, ensuite parce que ce ne sont pas
	   des colonnes triables par les lecteurs. */
	color: white;
	background-color: black;
}

div#win-image-selection {
	top: 75px;
	width: 50vw;
	transform: translate(50%, 75px);
}

form#frm-image-selection &gt; fieldset {
	border: solid 1px darkgray;
	margin-top: 1rem;
}

form#frm-image-selection &gt; fieldset &gt; input[type="radio"] + label {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

form#frm-image-selection &gt; fieldset &gt; input[type="radio"] + label:hover {
	background-color: darkgray;
}

form#frm-image-selection &gt; fieldset &gt; input[type="radio"]:not(:checked) + label + div#img-upload,
form#frm-image-selection &gt; fieldset &gt; input[type="radio"]:not(:checked) + label + div#img-gallery {
	display: none;
}

form#frm-image-selection div#img-upload &gt; label,
form#frm-image-selection div#img-upload &gt; div {
	float: left;
	margin-top: 1rem;
	min-width: 146px; /* pour changer les positions a partir du mode bobby. */
}

form#frm-image-selection div#img-upload &gt; div {
	width: 100%;
}

form#frm-image-selection div#img-upload &gt; label &gt; textarea,
form#frm-image-selection div#img-upload &gt; label &gt; input {
	display: block;
	width: 90%;
}

form#frm-image-selection div#img-upload &gt; label &gt; input[type=checkbox] {
	width: auto;
	display: inline;
}

form#frm-image-selection div#img-upload &gt; label {
	width: 70%;
}

form#frm-image-selection div#img-upload &gt; label + label {
	width: 30%;
}

form#frm-image-selection div#img-drop-zone {
	width: 80%;
	margin: auto;
	padding: 1rem;
	text-align: center;
	color: darkgray;
	background-color: whitesmoke;
}

form#frm-image-selection div#img-drop-zone.drop-enabled {
	background-color: aliceblue;
}

form#frm-image-selection div#img-drop-zone &gt; p {
	display: block;
	text-align: center;
	font-weight: bold;
}

form#frm-image-selection div#img-drop-zone &gt; span {
	font-size: 120px;
	font-weight: bold;
}

form#frm-image-selection div#img-drop-zone img#img-upload-preview {
	max-width: 50%;
	max-height: 200px;
}

form#frm-image-selection div#img-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, auto));
	margin: 1em auto;
	padding: 0.5rem;
	max-height: 425px;
	overflow-y: auto;
	background-color: whitesmoke;
}

form#frm-image-selection div#img-gallery &gt; input[type="radio"] {
	display: none;
}

form#frm-image-selection div#img-gallery &gt; label {
	margin: 0.5rem;
	padding: 0.5rem;
	/* Evite le dÃ©calage vertical avec le label adjacent lorsque ce dernier
	   est sÃ©lectionnÃ©. */
	border: solid 2px transparent;
}

form#frm-image-selection div#img-gallery &gt; label:hover {
	border: solid 2px rgba(114, 159, 207, 0.5); /* couleur du golfe */
}

form#frm-image-selection div#img-gallery &gt; input:checked + label {
	border: solid 2px rgba(114, 159, 207, 1); /* couleur du golfe */
}

form#frm-image-selection div#img-gallery &gt; label &gt; i {
	font-weight: normal;
	font-size: small;
}

form#frm-image-selection div.action-set {
	margin-bottom: 0;
}

form.edit article.text-editor div.map div.ol-grab {
	cursor: grab;
}

form.edit article.text-editor div.map div.ol-grabbing {
	cursor: grabbing;
}


@media (max-width: 1100px) and (min-width: 700px) {

	div#win-image-selection {
		width: 80%;
		right: 50%;
	}
}


@media (pointer:coarse), (max-width:700px) {

	form.edit article.text-editor {
		padding: 0;
	}

	div#win-image-selection {
		top: 40px;
		max-height: calc(100vh - 40px);
		width: 96%;
		right: 50%;
		padding-top: 0;
		transform: translate(50%, 40px);
	}

	form#frm-image-selection div#img-upload &gt; label {
		width: 100%;
	}

	form#frm-image-selection div#img-drop-zone {
		display: none;
	}

	form#frm-image-selection div#img-gallery {
		max-height: 50vh;
	}
	
	form#frm-image-selection div.action-set {
		margin-top: 0;
		margin-bottom: 0;
	}
}
</pre></body></html>