@font-face {
font-family: 'Reenie Beanie';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(../../assets/fonts/reenie-beanie-latin-400.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.frs-section-libre__contenu:has(.frs-annotation),
.frs-colonne__contenu:has(.frs-annotation) {
position: relative;
}
.frs-clim__grille:has(.frs-annotation) {
overflow: visible;
}
.frs-clim__grille:has(.frs-annotation) .frs-clim__canvas {
clip-path: inset(0);
}
.frs-annotation.frs-annotation {
position: absolute;
top: calc(var(--frs-annotation-y, 50%) + var(--frs-annotation-decalage-y, 0px));
left: calc(var(--frs-annotation-x, 50%) + var(--frs-annotation-decalage-x, 0px));
width: max-content;
color: var(--frs-color-accent);
pointer-events: none;
z-index: 1;
}
.frs-annotation.frs-annotation {
--frs-annotation-x: var(--frs-annotation-x-d, 50%);
--frs-annotation-decalage-x: var(--frs-annotation-dx-d, 0px);
--frs-annotation-y: var(--frs-annotation-y-d, 50%);
--frs-annotation-decalage-y: var(--frs-annotation-dy-d, 0px);
--frs-annotation-fleche-rotation: var(--frs-annotation-fleche-rotation-d, 0deg);
--frs-annotation-rotation: var(--frs-annotation-rotation-d, -3deg);
--frs-annotation-miroir: var(--frs-annotation-miroir-d, 1);
--frs-annotation-texte-align-self: var(--frs-annotation-texte-align-self-d, center);
--frs-annotation-texte-align: var(--frs-annotation-texte-align-d, center);
--frs-annotation-texte-largeur: var(--frs-annotation-texte-largeur-d, none);
--frs-annotation-texte-nowrap: var(--frs-annotation-texte-nowrap-d, nowrap);
--frs-annotation-flex-direction: var(--frs-annotation-flex-direction-d, column);
--frs-annotation-fleche-echelle: var(--frs-annotation-fleche-echelle-d, 1);
--frs-annotation-texte-echelle: var(--frs-annotation-texte-echelle-d, 1);
--frs-annotation-texte-decalage: var(--frs-annotation-texte-decalage-d, 0%);
--frs-annotation-texte-decalage-y: var(--frs-annotation-texte-decalage-y-d, 0%);
}
@media (max-width: 960px) {
.frs-annotation.frs-annotation {
--frs-annotation-x: var(--frs-annotation-x-t, var(--frs-annotation-x-d, 50%));
--frs-annotation-decalage-x: var(--frs-annotation-dx-t, var(--frs-annotation-dx-d, 0px));
--frs-annotation-y: var(--frs-annotation-y-t, var(--frs-annotation-y-d, 50%));
--frs-annotation-decalage-y: var(--frs-annotation-dy-t, var(--frs-annotation-dy-d, 0px));
--frs-annotation-fleche-rotation: var(--frs-annotation-fleche-rotation-t, var(--frs-annotation-fleche-rotation-d, 0deg));
--frs-annotation-rotation: var(--frs-annotation-rotation-t, var(--frs-annotation-rotation-d, -3deg));
--frs-annotation-miroir: var(--frs-annotation-miroir-t, var(--frs-annotation-miroir-d, 1));
--frs-annotation-texte-align-self: var(--frs-annotation-texte-align-self-t, var(--frs-annotation-texte-align-self-d, center));
--frs-annotation-texte-align: var(--frs-annotation-texte-align-t, var(--frs-annotation-texte-align-d, center));
--frs-annotation-texte-largeur: var(--frs-annotation-texte-largeur-t, var(--frs-annotation-texte-largeur-d, none));
--frs-annotation-texte-nowrap: var(--frs-annotation-texte-nowrap-t, var(--frs-annotation-texte-nowrap-d, nowrap));
--frs-annotation-flex-direction: var(--frs-annotation-flex-direction-t, var(--frs-annotation-flex-direction-d, column));
--frs-annotation-fleche-echelle: var(--frs-annotation-fleche-echelle-t, var(--frs-annotation-fleche-echelle-d, 1));
--frs-annotation-texte-echelle: var(--frs-annotation-texte-echelle-t, var(--frs-annotation-texte-echelle-d, 1));
--frs-annotation-texte-decalage: var(--frs-annotation-texte-decalage-t, var(--frs-annotation-texte-decalage-d, 0%));
--frs-annotation-texte-decalage-y: var(--frs-annotation-texte-decalage-y-t, var(--frs-annotation-texte-decalage-y-d, 0%));
--frs-annotation-reduction: 0.9;
}
}
@media (max-width: 767px) {
.frs-annotation.frs-annotation {
--frs-annotation-x: var(--frs-annotation-x-m, var(--frs-annotation-x-t, var(--frs-annotation-x-d, 50%)));
--frs-annotation-decalage-x: var(--frs-annotation-dx-m, var(--frs-annotation-dx-t, var(--frs-annotation-dx-d, 0px)));
--frs-annotation-y: var(--frs-annotation-y-m, var(--frs-annotation-y-t, var(--frs-annotation-y-d, 50%)));
--frs-annotation-decalage-y: var(--frs-annotation-dy-m, var(--frs-annotation-dy-t, var(--frs-annotation-dy-d, 0px)));
--frs-annotation-fleche-rotation: var(--frs-annotation-fleche-rotation-m, var(--frs-annotation-fleche-rotation-t, var(--frs-annotation-fleche-rotation-d, 0deg)));
--frs-annotation-rotation: var(--frs-annotation-rotation-m, var(--frs-annotation-rotation-t, var(--frs-annotation-rotation-d, -3deg)));
--frs-annotation-miroir: var(--frs-annotation-miroir-m, var(--frs-annotation-miroir-t, var(--frs-annotation-miroir-d, 1)));
--frs-annotation-texte-align-self: var(--frs-annotation-texte-align-self-m, var(--frs-annotation-texte-align-self-t, var(--frs-annotation-texte-align-self-d, center)));
--frs-annotation-texte-align: var(--frs-annotation-texte-align-m, var(--frs-annotation-texte-align-t, var(--frs-annotation-texte-align-d, center)));
--frs-annotation-texte-largeur: var(--frs-annotation-texte-largeur-m, var(--frs-annotation-texte-largeur-t, var(--frs-annotation-texte-largeur-d, none)));
--frs-annotation-texte-nowrap: var(--frs-annotation-texte-nowrap-m, var(--frs-annotation-texte-nowrap-t, var(--frs-annotation-texte-nowrap-d, nowrap)));
--frs-annotation-flex-direction: var(--frs-annotation-flex-direction-m, var(--frs-annotation-flex-direction-t, var(--frs-annotation-flex-direction-d, column)));
--frs-annotation-fleche-echelle: var(--frs-annotation-fleche-echelle-m, var(--frs-annotation-fleche-echelle-t, var(--frs-annotation-fleche-echelle-d, 1)));
--frs-annotation-texte-echelle: var(--frs-annotation-texte-echelle-m, var(--frs-annotation-texte-echelle-t, var(--frs-annotation-texte-echelle-d, 1)));
--frs-annotation-texte-decalage: var(--frs-annotation-texte-decalage-m, var(--frs-annotation-texte-decalage-t, var(--frs-annotation-texte-decalage-d, 0%)));
--frs-annotation-texte-decalage-y: var(--frs-annotation-texte-decalage-y-m, var(--frs-annotation-texte-decalage-y-t, var(--frs-annotation-texte-decalage-y-d, 0%)));
--frs-annotation-reduction: 0.75;
}
}
@media (max-width: 960px) {
.frs-annotation.frs-annotation {
display: none;
}
.editor-styles-wrapper .frs-annotation.frs-annotation {
display: block;
}
}
.frs-annotation__contenu {
display: flex;
flex-direction: var(--frs-annotation-flex-direction, column);
align-items: flex-start;
}
.editor-styles-wrapper .frs-annotation {
margin-inline: 0;
pointer-events: auto;
}
.frs-annotation__dessin {
display: block;
width: calc(60px * var(--frs-annotation-fleche-echelle, 1) * var(--frs-annotation-reduction, 1));
height: calc(60px * var(--frs-annotation-fleche-echelle, 1) * var(--frs-annotation-reduction, 1));
transform-origin: calc(var(--frs-annotation-ancrage-x, 0.5) * 100%) calc(var(--frs-annotation-ancrage-y, 0.5) * 100%);
transform:
translate(
calc(var(--frs-annotation-ancrage-x, 0.5) * -100%),
calc(var(--frs-annotation-ancrage-y, 0.5) * -100%)
)
rotate(var(--frs-annotation-fleche-rotation, 0deg))
scaleX(var(--frs-annotation-miroir, 1));
}
.frs-annotation__dessin svg {
width: 100%;
height: 100%;
display: block;
}
.frs-annotation__texte {
margin: 0;
font-family: var(--frs-annotation-font-family);
font-size: calc(1.1rem * var(--frs-annotation-texte-echelle, 1) * var(--frs-annotation-reduction, 1));
line-height: 1.3;
color: var(--frs-annotation-texte-couleur, currentColor);
text-align: var(--frs-annotation-texte-align, center);
align-self: var(--frs-annotation-texte-align-self, center);
max-width: var(--frs-annotation-texte-largeur, none);
transform:
translate(
var(--frs-annotation-texte-decalage, 0%),
var(--frs-annotation-texte-decalage-y, 0%)
)
rotate(var(--frs-annotation-rotation, -3deg));
white-space: var(--frs-annotation-texte-nowrap, nowrap);
}
