2023-12-19 12:51:30 +01:00
|
|
|
@import "constants";
|
|
|
|
|
2023-11-15 09:53:07 +01:00
|
|
|
#attestation-edit {
|
2024-01-10 18:17:12 +01:00
|
|
|
.attestation-schema {
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 3em;
|
2024-01-25 13:20:43 +01:00
|
|
|
top: 3em;
|
|
|
|
position: sticky;
|
2024-01-10 18:17:12 +01:00
|
|
|
}
|
|
|
|
|
2023-11-15 09:53:07 +01:00
|
|
|
.tiptap {
|
2023-12-19 12:51:30 +01:00
|
|
|
padding: $default-spacer;
|
2023-11-28 11:44:32 +01:00
|
|
|
overflow-y: scroll;
|
2024-01-25 13:20:43 +01:00
|
|
|
min-height: 400px;
|
2023-12-19 12:51:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor {
|
|
|
|
// Visual zones
|
|
|
|
.header .flex-1,
|
2024-01-25 13:20:43 +01:00
|
|
|
h1 {
|
2024-01-10 11:59:08 +01:00
|
|
|
border: 1px solid var(--background-contrast-grey-hover);
|
2023-12-19 12:51:30 +01:00
|
|
|
padding: $default-spacer / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
margin-bottom: $default-spacer;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Styles
|
|
|
|
.header {
|
|
|
|
align-content: center;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 0rem;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2024-01-25 13:20:43 +01:00
|
|
|
font-size: 1.15rem;
|
2023-12-19 12:51:30 +01:00
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
li p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tags
|
2023-12-21 11:21:14 +01:00
|
|
|
.fr-menu__list {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fr-tag:not(.fr-menu .fr-tag) {
|
2023-12-19 12:51:30 +01:00
|
|
|
// style span rendered by tiptap like a button/link tag
|
|
|
|
color: var(--text-action-high-blue-france);
|
|
|
|
background-color: var(--background-action-low-blue-france);
|
|
|
|
}
|
2023-11-15 09:53:07 +01:00
|
|
|
}
|
|
|
|
}
|