FEATURE Introducing toolbar button styling

This commit is contained in:
Nonimart 2025-06-24 15:21:17 +02:00
parent b0c67d96f8
commit 9bc2bc2bf5
2 changed files with 24 additions and 0 deletions

View File

@ -30,6 +30,7 @@
@import './components/sommaire-index.css'; @import './components/sommaire-index.css';
@import './components/index-panel.css'; @import './components/index-panel.css';
@import './components/footnotes-index.css'; @import './components/footnotes-index.css';
@import './components/article-toolbar.css';
/* ########### PAGES ############ */ /* ########### PAGES ############ */
@import './pages/singles.css'; @import './pages/singles.css';

View File

@ -0,0 +1,23 @@
#article-toolbar {
@apply col-span-2;
.tablist {
@apply flex gap-12 border-b border-primary;
button {
@apply text-xl mt-8 nunito pb-4 flex items-center gap-4;
.icon {
@apply w-8 h-8 block;
}
&[aria-selected='true'] {
@apply text-primary border-b-4 border-primary;
.icon {
@apply filter-primary;
}
}
&[aria-selected='false'] {
@apply text-black opacity-40;
}
}
}
}