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 {

View File

@@ -11,6 +11,11 @@ $notification-text: #cdd6f4;
$notification-labelicon: #b4befe;
$notification-close_button-background: #f38ba8;
$notification-close_button-label: #11111b;
$bar-floating: false;
$bar-margin_top: 0.5em;
$bar-margin_bottom: 0em;
$bar-margin_sides: 0.5em;
$bar-border_radius: 0.4em;
$bar-transparent: false;
$bar-background: #11111b;
$bar-buttons-monochrome: false;