FEATURE Ajout de la gestion des onglets dans le wrapper de contenu

This commit is contained in:
Nonimart 2025-06-24 16:22:12 +02:00
parent 4ef786e01c
commit 83a3733a85

View File

@ -3,6 +3,42 @@
.content-wrapper {
@apply container mx-auto grid grid-cols-12 gap-12 py-12 items-start;
grid-template-columns: 1fr 2fr;
&[data-active-tab='article'] {
.sidebar .search-field,
.table-matieres {
@apply hidden;
}
}
&[data-active-tab='authors'] {
.article-informations,
.article-content,
.sidebar .index-panel,
.table-matieres {
@apply hidden;
}
}
&[data-active-tab='references'] {
.article-informations,
.article-content,
.sidebar .index-panel,
.table-matieres {
@apply hidden;
}
}
&[data-active-tab='table-of-contents'] {
.article-informations,
.article-content,
.sidebar .index-panel {
@apply hidden;
}
}
&[data-active-tab='informations'] {
.article-content,
.table-matieres,
.sidebar .index-panel {
@apply hidden;
}
}
}
.sidebar {
@ -77,4 +113,8 @@
#cite-reference {
@apply hidden;
}
.content-tab__title {
@apply text-4xl uppercase font-thin mb-12;
}
}