Implement the Inventory tab's sub-navigation (closes #97)
This commit is contained in:
parent
2065596686
commit
5f09f92790
12 changed files with 90 additions and 23 deletions
|
|
@ -1,4 +1,5 @@
|
|||
@use "../vars" as *;
|
||||
@use "./material" as material;
|
||||
|
||||
@mixin input-generic {
|
||||
border-width: 2px;
|
||||
|
|
@ -12,4 +13,14 @@
|
|||
&:active {
|
||||
transform: scale(103%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin sub-nav($parent, $group, $display) {
|
||||
nav.#{$group} {
|
||||
@include material.elevate(1);
|
||||
display: none;
|
||||
}
|
||||
&:has(nav.#{$parent} .active[data-tab="#{$group}"]) nav.#{$group} {
|
||||
display: #{$display};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue