0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-18 05:42:48 +00:00

Fix some nesting of styles

The values from nav.less were mistakenly nested inside each other which was adding too much specificity.
This commit is contained in:
Trevor Buckner
2024-03-01 01:24:50 -05:00
parent 16c37d8d76
commit 50f069e688

View File

@@ -29,9 +29,12 @@
z-index : 2; z-index : 2;
display : flex; display : flex;
justify-content : space-between; justify-content : space-between;
}
.navSection { .navSection {
display : flex; display : flex;
align-items : center; align-items : center;
&:last-child .navItem { border-left : 1px solid #666666; }
}
// "NaturalCrit" logo // "NaturalCrit" logo
.navLogo { .navLogo {
display : block; display : block;
@@ -62,7 +65,6 @@
} }
} }
} }
&:last-child .navItem { border-left : 1px solid #666666; }
.navItem { .navItem {
#backgroundColorsHover; #backgroundColorsHover;
.animate(background-color); .animate(background-color);
@@ -328,11 +330,10 @@
} }
} }
} }
} }
}
// this should likely be refactored into .navDropdownContainer // this should likely be refactored into .navDropdownContainer
.save-menu { .save-menu {
.dropdown { z-index : 1000; } .dropdown { z-index : 1000; }
.navItem i.fa-power-off { .navItem i.fa-power-off {
color : red; color : red;
@@ -341,10 +342,4 @@
filter : drop-shadow(0 0 2px rgba(0, 182, 52, 0.765)); filter : drop-shadow(0 0 2px rgba(0, 182, 52, 0.765));
} }
} }
}
} }