FEATURE Introducing toolbar button styling
This commit is contained in:
parent
b0c67d96f8
commit
9bc2bc2bf5
|
|
@ -30,6 +30,7 @@
|
|||
@import './components/sommaire-index.css';
|
||||
@import './components/index-panel.css';
|
||||
@import './components/footnotes-index.css';
|
||||
@import './components/article-toolbar.css';
|
||||
|
||||
/* ########### PAGES ############ */
|
||||
@import './pages/singles.css';
|
||||
|
|
|
|||
23
resources/css/components/article-toolbar.css
Normal file
23
resources/css/components/article-toolbar.css
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user