add submenu for inventory categories

This commit is contained in:
Jon Eugster
2024-05-03 16:30:36 +02:00
parent b9112bfb09
commit 5765c78a1d
2 changed files with 34 additions and 11 deletions
+17 -1
View File
@@ -55,7 +55,7 @@
.tab-bar {
border-bottom: 0.1em solid var(--clr-dark-gray);
margin-bottom: 0.5em;
margin-bottom: 1em;
}
.tab {
@@ -70,6 +70,22 @@
display: inline-block;
}
.tab-bar.major {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: .5em;
font-weight: bold;
}
.tab-bar.major .tab {
flex: 1;
text-align: center;
font-size: 1.2em;
padding-left: 0;
padding-right: 0;
}
.tab-bar.current .tab.active {
color: black;
border-bottom: 0.3em solid var(--clr-primary);