Closes #18 - Implemented the ability to make the bar float with configurable spacing. (#19)

This commit is contained in:
Jas Singh
2024-07-28 02:28:31 -07:00
committed by GitHub
parent 033fbe6947
commit 44bdb46346
5 changed files with 65 additions and 33 deletions

View File

@@ -2,11 +2,22 @@
@import "../../variables";
.bar {
background: if($bar-transparent, transparent, $bar-background);
.transparent {
background: transparent;
}
.bar-panel-container {
margin-top: if($bar-floating, $bar-margin_top, 0em);
margin-bottom: if($bar-floating, $bar-margin_bottom, 0em);
margin-left: if($bar-floating, $bar-margin_sides, 0em);
margin-right: if($bar-floating, $bar-margin_sides, 0em);
}
.bar-panel {
background: if($bar-transparent, transparent, $bar-background);
border-radius: if($bar-floating, $bar-border_radius, 0em);
}
}
.bar_item_box_visible {